1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/stlvrml/bug27622
aml e1d576bf31 0033046: Modeling algorithms - improve performance of per-facet shape construction
Add new class (BRepBuilderAPI_MakeShapeOnMesh) to reconstruct shape from triangulation on per-facet basis.
2022-07-07 19:26:22 +03:00

26 lines
679 B
Plaintext

puts "========"
puts "OCC27622"
puts "========"
puts ""
########################################################################
# Data Exchange - STL file having less than 4 triangles cannot be read
########################################################################
readstl result [locate_data_file bug27622_Design1.stl] -brep
set nbshapes_expected "
Number of shapes in result
VERTEX : 4
EDGE : 5
WIRE : 2
FACE : 2
SHELL : 0
SOLID : 0
COMPSOLID : 0
COMPOUND : 1
SHAPE : 14
"
checknbshapes result -ref ${nbshapes_expected} -t -m "Result of STL-reading operation"
checkview -display result -2d -path ${imagedir}/${test_image}.png