]> OCCT Git - occt-copy.git/commitdiff
# Added test cases CR25589_1
authoroan <oan@opencascade.com>
Fri, 9 Aug 2019 08:40:09 +0000 (11:40 +0300)
committeroan <oan@opencascade.com>
Fri, 9 Aug 2019 08:40:09 +0000 (11:40 +0300)
tests/bugs/mesh/bug25589_1 [new file with mode: 0644]
tests/bugs/mesh/bug25589_2 [new file with mode: 0644]

diff --git a/tests/bugs/mesh/bug25589_1 b/tests/bugs/mesh/bug25589_1
new file mode 100644 (file)
index 0000000..006bad9
--- /dev/null
@@ -0,0 +1,19 @@
+puts "========="
+puts "0025589: BRepMesh_WireInterferenceChecker doesn't report all cases of self-intersecting wires"
+puts "========="
+puts ""
+
+restore [locate_data_file bug25589_face1507.brep] result
+
+tclean result
+incmesh result 0.005
+
+checktrinfo result -tri
+
+vinit
+vsetdispmode 1
+vdefaults -autoTriang 0
+vdisplay result
+vfit
+
+checkview -screenshot -3d -path ${imagedir}/${test_image}.png
diff --git a/tests/bugs/mesh/bug25589_2 b/tests/bugs/mesh/bug25589_2
new file mode 100644 (file)
index 0000000..cc4f3ab
--- /dev/null
@@ -0,0 +1,20 @@
+puts "========="
+puts "0025589: BRepMesh_WireInterferenceChecker doesn't report all cases of self-intersecting wires"
+puts "========="
+puts ""
+
+restore [locate_data_file bug25589_face3472.brep] result
+
+tclean result
+incmesh result 0.005
+
+checktrinfo result -tri
+
+vinit
+vsetdispmode 1
+vfront
+vdefaults -autoTriang 0
+vdisplay result
+vfit
+
+checkview -screenshot -3d -path ${imagedir}/${test_image}.png