0032717: Modeling Algorithms - BRepBuilderAPI_Copy should not remove triangulation...
[occt.git] / tests / bugs / modalg_7 / bug32717
diff --git a/tests/bugs/modalg_7/bug32717 b/tests/bugs/modalg_7/bug32717
new file mode 100644 (file)
index 0000000..6c91e34
--- /dev/null
@@ -0,0 +1,17 @@
+puts "================================================="
+puts "0032717: Modeling Algorithms - BRepBuilderAPI_Copy should not remove triangulation from surface-less faces"
+puts "================================================="
+puts ""
+
+pload XDE MODELING
+box b 1 2 3
+incmesh b 1
+checktrinfo b -tri 12 -nod 24
+tclean -geom b
+trinfo b
+checktrinfo b -tri 12 -nod 24
+
+# check that copied triangulation-only shape is copied with triangulation
+tcopy b bb
+trinfo bb
+checktrinfo bb -tri 12 -nod 24