From b284dc42dc5c9e8270b0d8052c4a7964fa990ab1 Mon Sep 17 00:00:00 2001 From: akaftasev Date: Wed, 29 Jun 2022 10:33:37 +0300 Subject: [PATCH] 0032446: BRepOffsetAPI_MakePipeShell crash when using -DT mode and DT_ShapeDivide on the spine Added test case --- tests/bugs/modalg_7/bug32446 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/bugs/modalg_7/bug32446 diff --git a/tests/bugs/modalg_7/bug32446 b/tests/bugs/modalg_7/bug32446 new file mode 100644 index 0000000000..a7921fb54a --- /dev/null +++ b/tests/bugs/modalg_7/bug32446 @@ -0,0 +1,28 @@ +puts "============================================" +puts "0032446: BRepOffsetAPI_MakePipeShell crash when using -DT mode and DT_ShapeDivide on the spine" +puts "============================================" +puts "" + +restore [locate_data_file bug32446_spine.brep] s +restore [locate_data_file bug32446_profile_1.brep] p1 +restore [locate_data_file bug32446_profile_2.brep] p2 +restore [locate_data_file bug32446_profile_3.brep] p3 +restore [locate_data_file bug32446_profile_4.brep] p4 +restore [locate_data_file bug32446_profile_5.brep] p5 +restore [locate_data_file bug32446_profile_6.brep] p6 + +DT_ShapeDivide s s 0.05 + +mksweep s +setsweep -DT +addsweep p1 +addsweep p2 +addsweep p3 +addsweep p4 +addsweep p5 +addsweep p6 + +buildsweep r -C -S + +checkshape r +checkview -display r -2d -path ${imagedir}/${test_image}.png