From a1cd0db66f498d9b1f3c1b4430f273499d242956 Mon Sep 17 00:00:00 2001 From: apn Date: Tue, 12 Mar 2013 15:57:07 +0400 Subject: [PATCH] 0023366: Cut operation produces invalid shape Added test case for issue 23366. --- tests/bugs/modalg_5/bug23366 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/bugs/modalg_5/bug23366 diff --git a/tests/bugs/modalg_5/bug23366 b/tests/bugs/modalg_5/bug23366 new file mode 100644 index 0000000000..79f01cd1d8 --- /dev/null +++ b/tests/bugs/modalg_5/bug23366 @@ -0,0 +1,17 @@ +puts "============" +puts "OCC23366" +puts "============" +puts "" +###################################################### +# Cut operation produces invalid shape +###################################################### + +restore [locate_data_file bug23366_finalTool.brep] s1 +restore [locate_data_file bug23366_IntersectionSegment.brep] s2 + +bop s1 s2 +bopcut result + +set square 173.098 +set 2dviewer 0 +