Adding test cases from chl grid
[occt.git] / tests / bugs / modalg / bug11565_2
diff --git a/tests/bugs/modalg/bug11565_2 b/tests/bugs/modalg/bug11565_2
new file mode 100755 (executable)
index 0000000..3a2358b
--- /dev/null
@@ -0,0 +1,27 @@
+puts "============"
+puts "OCC11565"
+puts "============"
+puts ""
+#######################################################################
+# Boolean operation "Cut" in 2d cannot cut the hole from the rectangle
+#######################################################################
+
+restore [locate_data_file OCC11565.brep] a
+explode a
+
+bop a_1 a_3
+bopcut result
+
+set square 28.6438
+set nb_v_good 12
+set nb_e_good 12
+set nb_w_good 2
+set nb_f_good 1
+set nb_sh_good 1
+set nb_sol_good 0
+set nb_compsol_good 0
+set nb_compound_good 1
+set nb_shape_good 29
+
+set 2dviewer 0
+