From fd0add651a8b4b2337394c90eeb0eb5a6771c0ed Mon Sep 17 00:00:00 2001 From: apn Date: Wed, 30 Mar 2016 12:36:41 +0300 Subject: [PATCH] 0027167: Boolean operations produce an invalid shape Added test case bugs/modalg_6/bug27167. Modified shape name in bugs/modalg_6/bug27190. --- tests/bugs/modalg_6/bug27167 | 14 ++++++++++++++ tests/bugs/modalg_6/bug27190 | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 tests/bugs/modalg_6/bug27167 diff --git a/tests/bugs/modalg_6/bug27167 b/tests/bugs/modalg_6/bug27167 new file mode 100644 index 0000000000..d851e42053 --- /dev/null +++ b/tests/bugs/modalg_6/bug27167 @@ -0,0 +1,14 @@ +puts "==========" +puts "OCC27167" +puts "==========" +puts "" +##################################################### +# Boolean operations produce an invalid shape +##################################################### + +restore [locate_data_file bug27167_pipe.brep] a1 +pcylinder a2 100 300 +bfuse result a1 a2 +checkshape result +checkprops result -s 295465 +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27190 b/tests/bugs/modalg_6/bug27190 index cd2837c118..c93004f9c5 100644 --- a/tests/bugs/modalg_6/bug27190 +++ b/tests/bugs/modalg_6/bug27190 @@ -9,7 +9,7 @@ puts "" set MaxTol 1.e-3 set GoodNbCurv 11 -restore [locate_data_file bug27167-pipe.brep] a1 +restore [locate_data_file bug27167_pipe.brep] a1 pcylinder a2 100 300 explode a1 f