From: apv Date: Tue, 25 Jul 2017 10:03:24 +0000 (+0300) Subject: Test for 0024145: OCCT fails to project a wire onto BSplineSurface using BRepAlgo_Nor... X-Git-Tag: V7_2_0_beta~21 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=d483647d5d20a198f40175c05fc2e95a874089d4;p=occt.git Test for 0024145: OCCT fails to project a wire onto BSplineSurface using BRepAlgo_NormalProjection --- 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