0027126: Create command checktrinfo to verify meshes
[occt.git] / tests / bugs / mesh / bug25378_4_3
CommitLineData
74da0216 1puts "============"
2puts "CR25378"
3puts "============"
4puts ""
5###################################################################################
6# Building of triangulation for distored surfaces can take very long using BRepMesh_IncrementalMesh
7###################################################################################
8
9restore [locate_data_file bug25378_Blower_good.brep] b
10trinfo b
11
12tclean b
13set t_001 [expr [lindex [time {incmesh b 0.001 -min 1}] 0]/1000000]
14puts "t_001=${t_001}"
15trinfo b
16
17if { [regexp {Debug mode} [dversion]] } {
18 set max_t_001 5
19} else {
20 if { [regexp {Windows} [dversion]] } {
21 set max_t_001 2
22 } else {
23 set max_t_001 2
24 }
25}
26
27set tol_percent 0.05
28
29checktime ${t_001} ${max_t_001} ${tol_percent} "3. Time of building of triangulation "