From 46f4a251a0e4c9362dfcedf6c69debcada7b9614 Mon Sep 17 00:00:00 2001 From: bugmaster Date: Wed, 14 Sep 2016 14:22:59 +0300 Subject: [PATCH] 0022037: Exception (Construction Error) during splitting face with hole by another face Adding test case --- tests/bugs/modalg_6/bug22037 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/bugs/modalg_6/bug22037 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