From: bugmaster Date: Wed, 14 Sep 2016 11:22:59 +0000 (+0300) Subject: 0022037: Exception (Construction Error) during splitting face with hole by another... X-Git-Tag: V7_1_0_beta~137 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=46f4a251a0e4c9362dfcedf6c69debcada7b9614;p=occt-copy.git 0022037: Exception (Construction Error) during splitting face with hole by another face Adding test case --- diff --git a/tests/bugs/modalg_6/bug22037 b/tests/bugs/modalg_6/bug22037 new file mode 100644 index 0000000000..0f73550cf4 --- /dev/null +++ b/tests/bugs/modalg_6/bug22037 @@ -0,0 +1,27 @@ +puts "============" +puts "OCC22037" +puts "============" +puts "" +################################################################################# +# Exception (Construction Error) during splitting face with hole by another face +################################################################################# + +restore [locate_data_file bug22037a.brep] a +restore [locate_data_file bug22037b.brep] b + +bop a b +bopsection edges + +explode edges + +splitshape result b edges_1 edges_2 + +checkshape result + +tolerance result + +donly result + +checknbshapes result -face 2 + +checkview -display result -2d -path ${imagedir}/${test_image}.png