1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/stlvrml/bug27622
kgv 4c4420dfe9 0029868: Draw Harness - help message for readstl command is unclear
readstl syntax has been modified, so that it creates a single-face triangulation by default.
The argument "trinagulation" is no more supported.
The new argument "-brep" has been introduced to generate
a compound of per-triangle faces instead (old default behavior of the command).
2018-07-06 15:53:48 +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 : 1
SOLID : 0
COMPSOLID : 0
COMPOUND : 0
SHAPE : 14
"
checknbshapes result -ref ${nbshapes_expected} -t -m "Result of STL-reading operation"
checkview -display result -2d -path ${imagedir}/${test_image}.png