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 + + +