From d483647d5d20a198f40175c05fc2e95a874089d4 Mon Sep 17 00:00:00 2001 From: apv Date: Tue, 25 Jul 2017 13:03:24 +0300 Subject: [PATCH] Test for 0024145: OCCT fails to project a wire onto BSplineSurface using BRepAlgo_NormalProjection --- tests/bugs/modalg_7/bug24145_1 | 17 +++++++++++++++++ tests/bugs/modalg_7/bug24145_2 | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 tests/bugs/modalg_7/bug24145_1 create mode 100644 tests/bugs/modalg_7/bug24145_2 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