From cb492860f1ffe88334112e2a8f324f19abd67ad5 Mon Sep 17 00:00:00 2001 From: msv <msv@opencascade.com> Date: Fri, 11 Mar 2016 16:28:31 +0300 Subject: [PATCH] 0027253: Boolean cut produces invalid result shape Add test case for this bug. --- tests/bugs/modalg_6/bug27253 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/bugs/modalg_6/bug27253 diff --git a/tests/bugs/modalg_6/bug27253 b/tests/bugs/modalg_6/bug27253 new file mode 100644 index 0000000000..cc203d60d5 --- /dev/null +++ b/tests/bugs/modalg_6/bug27253 @@ -0,0 +1,16 @@ +puts "============" +puts "OCC27253" +puts "============" +puts "" +####################################################################### +# Boolean cut produces invalid result shape +####################################################################### + +restore [locate_data_file bug27253_lhs_rhs.brep] a +explode a + +bcut result a_1 a_2 + +checkshape result +checkprops result -v 6.05895e+006 +checkview -display result -2d -path ${imagedir}/${test_image}.png