0022981: BRepOffsetAPI_ThruSections fails to build a surface from closed wires
authorapn <apn@opencascade.com>
Tue, 12 Mar 2013 13:02:56 +0000 (17:02 +0400)
committerapn <apn@opencascade.com>
Fri, 15 Mar 2013 08:30:59 +0000 (12:30 +0400)
Added test case for issue 22981.

tests/bugs/modalg_5/bug22981 [new file with mode: 0644]

diff --git a/tests/bugs/modalg_5/bug22981 b/tests/bugs/modalg_5/bug22981
new file mode 100644 (file)
index 0000000..12738b0
--- /dev/null
@@ -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
+
+
+