0026493: BRepProj_Projection failed to project a wire on a shell
authoremv <emv@opencascade.com>
Wed, 25 Apr 2018 06:33:50 +0000 (09:33 +0300)
committerabv <abv@opencascade.com>
Thu, 24 May 2018 12:36:21 +0000 (15:36 +0300)
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 [new file with mode: 0644]

diff --git a/tests/bugs/modalg_6/bug26493 b/tests/bugs/modalg_6/bug26493
new file mode 100644 (file)
index 0000000..fb07a46
--- /dev/null
@@ -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