From 8b301eb865ea82b0a86bdb7c34f7d4ccf818b23f Mon Sep 17 00:00:00 2001 From: oan Date: Mon, 16 Jan 2023 16:19:06 +0300 Subject: [PATCH] 0033315: Mesh - BRepMesh_IncrementalMesh takes forever to finish (ends up with system memory, etc) Added test case --- tests/bugs/mesh/bug33315 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/bugs/mesh/bug33315 diff --git a/tests/bugs/mesh/bug33315 b/tests/bugs/mesh/bug33315 new file mode 100644 index 0000000000..2faa13cd2f --- /dev/null +++ b/tests/bugs/mesh/bug33315 @@ -0,0 +1,24 @@ +puts "========" +puts "0033315: Mesh - BRepMesh_IncrementalMesh takes forever to finish (ends up with system memory, etc)" +puts "========" +puts "" + +restore [locate_data_file bug33315.brep] result + +incmesh result 3.5 -a 20 +checktrinfo result -tri 1516 -nod 1118 + +vinit +vsetdispmode 1 +vdefaults -autoTriang 0 +vdisplay result +vfit + +checkview -screenshot -3d -path ${imagedir}/${test_image}.png + +set log [tricheck result] +if { [llength $log] != 0 } { + puts "Error : Invalid mesh" +} else { + puts "Mesh is OK" +}