mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
Method StlAPI_Writer::Write() is reimplemented to write triangulation directly, without conversion to StlMesh_Mesh. New DRAW command "tessellate" is added to generate rapidly triangulation of prescribed size (on surface). Command "tricheck" is protected to deal correctly with triangulation without UV data. New tests added: perf de bug26338_1 and _2; bugs stlvrml bug26338 Correction of testing environment
17 lines
401 B
Plaintext
17 lines
401 B
Plaintext
puts "========"
|
|
puts "0026338: STL export (especially binary) needs a lot of time if selected export path is not local"
|
|
puts "========"
|
|
puts ""
|
|
|
|
pload MODELING XSDRAW
|
|
|
|
# make sphere triangulated with 2M triangles
|
|
sphere s 10
|
|
tessellate result s 1000 1000
|
|
trinfo result
|
|
|
|
# write to ascii STL
|
|
chrono s reset; chrono s start
|
|
writestl result $imagedir/${casename}-ascii.stl 0
|
|
chrono s stop; chrono s show
|