diff --git a/tests/bugs/modalg_7/bug24145_1 b/tests/bugs/modalg_7/bug24145_1 new file mode 100644 index 0000000000..8f94faa39b --- /dev/null +++ b/tests/bugs/modalg_7/bug24145_1 @@ -0,0 +1,17 @@ +puts "========" +puts "OCC24145" +puts "========" +puts "" +#################################################################################### +# OCCT fails to project a wire onto BSplineSurface using BRepAlgo_NormalProjection +#################################################################################### + +restore [locate_data_file bug24145_face.brep] f +restore [locate_data_file bug24145_wire1.brep] w + +nproject result w f + +checkshape result +checknbshapes result -vertex 1 -edge 1 -compound 1 -shape 3 + +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_7/bug24145_2 b/tests/bugs/modalg_7/bug24145_2 new file mode 100644 index 0000000000..4cdf55434c --- /dev/null +++ b/tests/bugs/modalg_7/bug24145_2 @@ -0,0 +1,17 @@ +puts "========" +puts "OCC24145" +puts "========" +puts "" +#################################################################################### +# OCCT fails to project a wire onto BSplineSurface using BRepAlgo_NormalProjection +#################################################################################### + +restore [locate_data_file bug24145_face.brep] f +restore [locate_data_file bug24145_wire2.brep] w + +nproject result w f + +checkshape result +checknbshapes result -vertex 1 -edge 1 -compound 1 -shape 3 + +checkview -display result -2d -path ${imagedir}/${test_image}.png