From: nbv Date: Tue, 6 Nov 2018 14:22:34 +0000 (+0300) Subject: 0029205: BRepMesh skips some edges and generates invalid triangulation for the face X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=86f8494db33b63f69e5b7fdf2974df90b0a8581b;p=occt-copy.git 0029205: BRepMesh skips some edges and generates invalid triangulation for the face Adding test case for the problem. The issue has been fixed by a patch for #26106. --- diff --git a/tests/bugs/mesh/bug29205 b/tests/bugs/mesh/bug29205 new file mode 100644 index 0000000000..74ae63ffd2 --- /dev/null +++ b/tests/bugs/mesh/bug29205 @@ -0,0 +1,24 @@ +puts "==========" +puts "0029205: BRepMesh skips some edges and generates invalid triangulation for the face" +puts "==========" +puts "" + +restore [locate_data_file bug29205_face.brep] result +incmesh result 0.4 + +vinit +vsetdispmode 1 +vdefaults -autoTriang 0 +vdisplay result +vviewparams -scale 67.9853 -proj 0.680425 -0.732509 -0.0212714 -up -0.0316277 -0.0583539 0.997795 -at 10.7708 -10.3962 6.25 -eye 18.2017 -18.3959 6.01769 + +checkview -screenshot -3d -path ${imagedir}/${test_image}.png + +checktrinfo result -tri 8 -nod 10 -defl 6.8481042509220045e-05 + +set log [tricheck result] +if { [llength $log] != 0 } { + puts "Error : Invalid mesh" +} else { + puts "Mesh is OK" +}