From: nbv Date: Thu, 8 Nov 2018 07:39:21 +0000 (+0300) Subject: 0027845: BRepMesh produces invalid result on spline cavity X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=539ce84c00ac0bbb09852120814a6b9ba5e1d3c2;p=occt-copy.git 0027845: BRepMesh produces invalid result on spline cavity Adding test case for the problem. The issue has been fixed by a patch for #26106. --- diff --git a/tests/bugs/mesh/bug27845 b/tests/bugs/mesh/bug27845 new file mode 100644 index 0000000000..d10d88b6e5 --- /dev/null +++ b/tests/bugs/mesh/bug27845 @@ -0,0 +1,24 @@ +puts "==========" +puts "0027845: BRepMesh produces invalid result on spline cavity" +puts "==========" +puts "" + +restore [locate_data_file bug27845_shape.brep] result +tclean result +incmesh result 10 -a 180 + +vinit +vsetdispmode 1 +vdefaults -autoTriang 0 +vdisplay result +vfit +checkview -screenshot -3d -path ${imagedir}/${test_image}.png + +checktrinfo result -tri 3006 -nod 4360 -defl 10 + +set log [tricheck result] +if { [llength $log] != 0 } { + puts "Error : Invalid mesh" +} else { + puts "Mesh is OK" +}