mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
16 lines
350 B
Plaintext
16 lines
350 B
Plaintext
# Read brep file
|
|
restore [locate_data_file bug28840_1.brep] m
|
|
|
|
# Mesh it
|
|
incmesh m 1.0
|
|
|
|
# Save, read and delete file
|
|
writestl m $imagedir/${casename}
|
|
readstl res $imagedir/${casename} triangulation
|
|
file delete $imagedir/${casename}
|
|
|
|
checktrinfo res -tri 22748 -nod 11376
|
|
|
|
# Visual check
|
|
checkview -display res -2d -path ${imagedir}/${test_image}.png
|