From fd1d4871697858e54e7ee5ad47d35bffda708194 Mon Sep 17 00:00:00 2001 From: mkv Date: Fri, 21 Jul 2017 18:55:57 +0300 Subject: [PATCH] Test for 0027553: BRepFeat_SplitShape returns self-intersecting result since OCC 7.0.0 --- tests/bugs/modalg_7/bug27553 | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 tests/bugs/modalg_7/bug27553 diff --git a/tests/bugs/modalg_7/bug27553 b/tests/bugs/modalg_7/bug27553 new file mode 100644 index 0000000000..e74c4b625b --- /dev/null +++ b/tests/bugs/modalg_7/bug27553 @@ -0,0 +1,44 @@ +puts "TODO OCC27553 ALL: Faulty shapes in variables" + +puts "============" +puts "OCC27553" +puts "============" +puts "" +###################################################### +# BRepFeat_SplitShape returns self-intersecting result since OCC 7.0.0 +###################################################### + +restore [locate_data_file bug27648_simple.brep] s + +whatis s +explode s + +whatis s_1 +whatis s_2 + +tolerance s_1 +tolerance s_2 + +checkshape s_1 +checkshape s_2 + +explode s_2 + +brunparallel 1 + +bop s_1 s_2 + +bopsection r + +explode r +explode s_2 + +splitshape r1 s_2_1 s_2_1 r_4 +splitshape r2 s_2_2 s_2_2 r_2 +splitshape r3 s_2_3 s_2_3 r_1 +splitshape r4 s_2_4 s_2_4 r_3 + +checkshape r1 +checkshape r2 +checkshape r3 +checkshape r4 -- 2.39.5