0025378: Building of triangulation for distored surfaces can take very long using...
[occt.git] / tests / bugs / mesh / bug25378_2_2
1 puts "============"
2 puts "CR25378"
3 puts "============"
4 puts ""
5 ###################################################################################
6 # Building of triangulation for distored surfaces can take very long using BRepMesh_IncrementalMesh
7 ###################################################################################
8
9 restore [locate_data_file bug25378_Blower_bad.brep] b
10 trinfo b
11
12 tclean b
13 set t_01 [expr [lindex [time {incmesh b 0.01 -min 0.1}] 0]/1000000]
14 puts "t_01=${t_01}"
15 trinfo b
16
17 if { [regexp {Debug mode} [dversion]] } {
18     set max_t_01 30
19 } else {
20   if { [regexp {Windows} [dversion]] } {
21     set max_t_01 10
22   } else {
23     set max_t_01 5
24   }
25 }
26
27 set tol_percent 0.05
28
29 checktime ${t_01} ${max_t_01} ${tol_percent} "2. Time of building of triangulation "