From 972bd4bfeb630ae36e26516a9d33e3a0e67cd60c Mon Sep 17 00:00:00 2001 From: apn Date: Tue, 12 Mar 2013 17:02:56 +0400 Subject: [PATCH] 0022981: BRepOffsetAPI_ThruSections fails to build a surface from closed wires Added test case for issue 22981. --- tests/bugs/modalg_5/bug22981 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/bugs/modalg_5/bug22981 diff --git a/tests/bugs/modalg_5/bug22981 b/tests/bugs/modalg_5/bug22981 new file mode 100644 index 0000000000..12738b02aa --- /dev/null +++ b/tests/bugs/modalg_5/bug22981 @@ -0,0 +1,19 @@ +puts "============" +puts "OCC22981" +puts "============" +puts "" +######################################################################### +# BRepOffsetAPI_ThruSections fails to build a surface from closed wires +######################################################################### + +restore [locate_data_file bug22981_Turb1.brep] t +explode t + +thrusections result 0 0 t_1 t_2 +thrusections result 0 0 t_2 t_3 t_4 t_5 t_6 t_7 t_8 t_9 t_10 t_11 + +set square 6733.76 +set 2dviewer 0 + + +