0027126: Create command checktrinfo to verify meshes
[occt.git] / tests / bugs / mesh / bug23650
CommitLineData
2b21c641 1puts "=========="
2puts "OCC23650"
3puts "=========="
4puts ""
5##################################################################
6# Slow mesher: one bspline surface, 80 seconds for 132 triangles
7##################################################################
8
9restore [locate_data_file bug23650_slowmesh.brep] result
10tclean result
11dchrono h reset
12dchrono h start
13incmesh result 0.2
14dchrono h stop
15set info [dchrono h show]
16regexp {CPU user time: ([-0-9.+eE]+) seconds} $info full cpu_time
17if { $cpu_time > 5. } {
18 puts "Error : meshing is slow"
19} else {
20 puts "OK: meshing is quite fast"
21}
22vinit
23vdisplay result
24vfit
25vsetdispmode 1
26
5747059b 27checkview -screenshot -3d -path ${imagedir}/${test_image}.png
2b21c641 28
29
30
31