mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-16 06:25:04 +08:00
16 lines
348 B
Plaintext
16 lines
348 B
Plaintext
# Read brep file
|
|
restore [locate_data_file bug28840_6.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 2398 -nod 1201
|
|
|
|
# Visual check
|
|
checkview -display res -2d -path ${imagedir}/${test_image}.png
|