From e2a37a80f6734d824338899be5412c0090506519 Mon Sep 17 00:00:00 2001 From: emv Date: Thu, 27 Oct 2016 17:52:34 +0300 Subject: [PATCH] 0027244: Test case with workaround for issue 0027240 Test case for issue CR27404 --- tests/bugs/modalg_6/bug27240_1 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/bugs/modalg_6/bug27240_1 diff --git a/tests/bugs/modalg_6/bug27240_1 b/tests/bugs/modalg_6/bug27240_1 new file mode 100644 index 0000000000..1a2498d8a9 --- /dev/null +++ b/tests/bugs/modalg_6/bug27240_1 @@ -0,0 +1,30 @@ +puts "========" +puts "OCC27240" +puts "========" +puts "" +########################################################################### +# Boolean operation fails for a case with edge tangential to axis of revolution +########################################################################### + +restore [locate_data_file bug27240_vent2-trim.brep] b +explode b + +# workaround - increate the tolerance value of the vertex to fill the gap between section curves +explode b_1 v +settolerance b_1_1 0.005 + +bclearobjects +bcleartools + +baddobjects b_1 +baddtools b_2 + +bfillds +bbop result 0 + +checkshape result +checknbshapes result -solid 1 +checkprops result -s 622894 +checkprops result -v 2.24142e+007 + +checkview -display result -2d -path ${imagedir}/${test_image}.png