1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
aml 1428d37a1a 0028974: Test cases for STL reader/writer
Add new test grid for STL read/write.
2017-08-08 18:10:17 +03:00

16 lines
346 B
Plaintext

# Read brep file
restore [locate_data_file bug28840_10.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 130 -nod 67
# Visual check
checkview -display res -2d -path ${imagedir}/${test_image}.png