0033315: Mesh - BRepMesh_IncrementalMesh takes forever to finish (ends up with system...
[occt.git] / tests / bugs / mesh / bug33315
1 puts "========"
2 puts "0033315: Mesh - BRepMesh_IncrementalMesh takes forever to finish (ends up with system memory, etc)"
3 puts "========"
4 puts ""
5
6 restore [locate_data_file bug33315.brep] result
7
8 incmesh result 3.5 -a 20
9 checktrinfo result -tri 1516 -nod 1118
10
11 vinit
12 vsetdispmode 1
13 vdefaults -autoTriang 0
14 vdisplay result
15 vfit
16
17 checkview -screenshot -3d -path ${imagedir}/${test_image}.png
18
19 set log [tricheck result]
20 if { [llength $log] != 0 } {
21   puts "Error : Invalid mesh"
22 } else {
23   puts "Mesh is OK"
24 }