0e94a94e |
1 | |
2 | puts "========================" |
3 | puts "BUC61027" |
4 | puts " OCC368 " |
5 | puts "========================" |
6 | puts "" |
7 | ############################################## |
8 | ## Visualization is too slow. |
9 | ############################################## |
10 | |
11 | restore [locate_data_file OCC368.brep] result |
352ffd73 |
12 | checkshape result |
0e94a94e |
13 | |
14 | tclean result |
15 | isos result 0 |
16 | vinit |
17 | dchrono h2 reset |
18 | dchrono h2 start |
19 | vdisplay result |
20 | vsetdispmode result 1 |
21 | dchrono h2 stop |
22 | |
23 | regexp {CPU user time: +([-0-9.+eE]+)} [dchrono h2 show] full z2 |
24 | |
25 | if { $z2 > 30 } { |
26 | puts "Error : Elapsed time is more then 30 seconds" |
27 | } |
28 | |
29 | set 2dviewer 0 |
30 | |
31 | |
32 | |
33 | |