]> OCCT Git - occt.git/commitdiff
Test for 0024145: OCCT fails to project a wire onto BSplineSurface using BRepAlgo_Nor...
authorapv <apv@opencascade.com>
Tue, 25 Jul 2017 10:03:24 +0000 (13:03 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 27 Jul 2017 10:59:28 +0000 (13:59 +0300)
tests/bugs/modalg_7/bug24145_1 [new file with mode: 0644]
tests/bugs/modalg_7/bug24145_2 [new file with mode: 0644]

diff --git a/tests/bugs/modalg_7/bug24145_1 b/tests/bugs/modalg_7/bug24145_1
new file mode 100644 (file)
index 0000000..8f94faa
--- /dev/null
@@ -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 (file)
index 0000000..4cdf554
--- /dev/null
@@ -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