mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-20 12:45:50 +03:00
Add new class (BRepBuilderAPI_MakeShapeOnMesh) to reconstruct shape from triangulation on per-facet basis.
17 lines
528 B
Plaintext
17 lines
528 B
Plaintext
puts "========"
|
|
puts "0033046: Modeling algorithms - improve performance of per-facet shape construction"
|
|
puts "Checks execution time of new shape construction method from STL file."
|
|
puts "========"
|
|
|
|
cpulimit 25
|
|
|
|
# Run stl loading and translation to the shape.
|
|
chrono c reset; chrono c start;
|
|
readstl m [locate_data_file model_stl_025.stl] -brep
|
|
chrono c stop; chrono c show;
|
|
|
|
# Check that model is converted succesfully.
|
|
checknbshapes m -face 54337;
|
|
|
|
# Visual check
|
|
checkview -display m -2d -path ${imagedir}/${test_image}.png |