1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
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

16 lines
336 B
Plaintext

# Read brep file
restore [locate_data_file bug28840_12.brep] m
# Mesh it
incmesh m 1.0
# Save, read and delete file
writestl m $imagedir/${casename}
readstl res $imagedir/${casename}
file delete $imagedir/${casename}
checktrinfo res -tri 4396 -nod 2200
# Visual check
checkview -display res -2d -path ${imagedir}/${test_image}.png