From 8bca7d76a54048cf0849dd000868540899e0c4bb Mon Sep 17 00:00:00 2001 From: emv Date: Wed, 25 Apr 2018 09:33:50 +0300 Subject: [PATCH] 0026493: BRepProj_Projection failed to project a wire on a shell Problem is fixed by the fix for the issue #0028599 (porting of the BRepProj_Projection to modern Boolean Operations algorithm) Thus, only test case is integrated here. --- tests/bugs/modalg_6/bug26493 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/bugs/modalg_6/bug26493 diff --git a/tests/bugs/modalg_6/bug26493 b/tests/bugs/modalg_6/bug26493 new file mode 100644 index 0000000000..fb07a46ad0 --- /dev/null +++ b/tests/bugs/modalg_6/bug26493 @@ -0,0 +1,20 @@ +puts "============" +puts "OCC26493" +puts "============" +puts "" +####################################################################### +# BRepProj_Projection failed to project a wire on a shell +####################################################################### + +restore [locate_data_file bug26493_plate.brep] plate +restore [locate_data_file bug26493_wire.brep] wire + +prj res wire plate 0 0 -1 + +checkprops res_1 -l 1189.91 +checknbshapes res_1 -vertex 3 -edge 2 -wire 1 + +smallview +donly plate wire res_1 +fit +checkview -screenshot -2d -path ${imagedir}/${test_image}.png -- 2.20.1