0028974: Test cases for STL reader/writer
[occt.git] / tests / de_mesh / shape_write_stl / A10
diff --git a/tests/de_mesh/shape_write_stl/A10 b/tests/de_mesh/shape_write_stl/A10
new file mode 100644 (file)
index 0000000..49e1f03
--- /dev/null
@@ -0,0 +1,15 @@
+# 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