0026534: Boolean Cut returns empty result
authoremv <emv@opencascade.com>
Wed, 2 Sep 2020 11:02:34 +0000 (14:02 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 4 Sep 2020 15:14:21 +0000 (18:14 +0300)
Integrating test case only as the problem is not reproduced anymore.

tests/bugs/modalg_6/bug26534 [new file with mode: 0644]

diff --git a/tests/bugs/modalg_6/bug26534 b/tests/bugs/modalg_6/bug26534
new file mode 100644 (file)
index 0000000..82b02ba
--- /dev/null
@@ -0,0 +1,31 @@
+puts "========"
+puts "0026534: Boolean Cut returns empty result"
+puts "========"
+puts ""
+
+restore [locate_data_file bug26534_plate.brep] plate
+restore [locate_data_file bug26534_cutter.brep] cutter
+
+checkshape plate
+checkshape cutter
+
+bopargcheck plate
+bopargcheck cutter
+
+bclearobjects
+bcleartools
+baddobjects plate
+baddtools cutter
+bfillds
+
+bbop result 2
+checkshape result
+checknbshapes result -wire 6 -face 6 -shell 1
+checkprops result -s 5.41575e+06
+
+bbop rcommon 0
+checkshape rcommon
+checknbshapes rcommon -wire 3 -face 3 -shell 1
+checkprops rcommon -s 1.8493e+06
+
+checkview -display result -2d -path ${imagedir}/${test_image}.png