From: nbv Date: Wed, 7 Nov 2018 11:56:27 +0000 (+0300) Subject: 0023513: BRepMesh doesn't stop until out-of-memory X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=a5363e3218977f40a7ef8b612005dc49b3abc1a8;p=occt-copy.git 0023513: BRepMesh doesn't stop until out-of-memory Adding test case for the problem. The issue has been fixed by a patch for #26106. --- diff --git a/tests/bugs/mesh/bug23513 b/tests/bugs/mesh/bug23513 new file mode 100644 index 0000000000..5c46f1e1a7 --- /dev/null +++ b/tests/bugs/mesh/bug23513 @@ -0,0 +1,22 @@ +puts "==========" +puts "0023513: BRepMesh doesn't stop until out-of-memory" +puts "==========" +puts "" + +restore [locate_data_file bug23513_infface.brep] result + +vinit +vsetdispmode 1 +vdisplay result +vfit + +checkview -screenshot -3d -path ${imagedir}/${test_image}.png + +checktrinfo result -tri 323648 -nod 161865 -defl 0.00096399964870812682 + +set log [tricheck result] +if { [llength $log] != 0 } { + puts "Error : Invalid mesh" +} else { + puts "Mesh is OK" +}