0027693: BRepMesh: fine edge tessellation leads to excess number of triangles along...
authornbv <nbv@opencascade.com>
Tue, 6 Nov 2018 11:22:14 +0000 (14:22 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 9 Nov 2018 14:32:41 +0000 (17:32 +0300)
Adding test case for the problem.
The issue has been fixed by a patch for #26106.

tests/bugs/mesh/bug27693 [new file with mode: 0644]

diff --git a/tests/bugs/mesh/bug27693 b/tests/bugs/mesh/bug27693
new file mode 100644 (file)
index 0000000..930af54
--- /dev/null
@@ -0,0 +1,21 @@
+puts "======="
+puts "0027693: BRepMesh: fine edge tessellation leads to excess number of triangles along the whole U or V stripes"
+puts "======="
+puts ""
+
+pload XDE
+
+stepread [locate_data_file bug27693_cornetta-step.stp] a *
+renamevar a_1 a
+
+explode a f
+copy a_4 f
+don f
+incmesh f 0.01 -a 90
+isos f 0
+triangles f
+
+checktrinfo f -tri 2220 -nod 1232 -defl 0.0093553610383019445
+smallview +X+Y
+fit
+checkview -screenshot -2d -path ${imagedir}/${test_image}.png