0031617: Export STEP in nonmanifold mode corrupts the shape
[occt.git] / tests / bugs / step / bug31617
diff --git a/tests/bugs/step/bug31617 b/tests/bugs/step/bug31617
new file mode 100644 (file)
index 0000000..b3ba1e2
--- /dev/null
@@ -0,0 +1,15 @@
+puts "============================================================"
+puts "OCC31617: Export STEP in nonmanifold mode corrupts the shape"
+puts "============================================================"
+puts ""
+
+brestore [locate_data_file bug31617.brep] a
+
+param write.step.nonmanifold 1
+
+testwritestep comp_nonmanifold.step a
+testreadstep comp_nonmanifold.step result
+
+checkshape result
+
+checknbshapes result -ref [lrange [nbshapes a] 11 16]