From 129d6e8cc4b6c66e6be9b3b556ba5ee2fbfb92a0 Mon Sep 17 00:00:00 2001 From: emv Date: Wed, 2 Sep 2020 14:02:34 +0300 Subject: [PATCH] 0026534: Boolean Cut returns empty result Integrating test case only as the problem is not reproduced anymore. --- tests/bugs/modalg_6/bug26534 | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tests/bugs/modalg_6/bug26534 diff --git a/tests/bugs/modalg_6/bug26534 b/tests/bugs/modalg_6/bug26534 new file mode 100644 index 0000000000..82b02babd9 --- /dev/null +++ b/tests/bugs/modalg_6/bug26534 @@ -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