1 puts "TODO OCC11111 ALL: Error : Result shape is WRONG"
7 #######################################################################
8 # BOP perfomance improvemen
9 #######################################################################
11 set BugNumber OCC10160
13 restore [locate_data_file OCC10160-1.brep] b1
14 restore [locate_data_file OCC10160-3.brep] b2
18 puts "Prepare boolean operation ..."
19 dchrono h0 reset; dchrono h0 start
21 dchrono h0 stop; set CPU_time0_List [dchrono h0 show]
22 regexp {CPU user time: ([-0-9.+eE]+) seconds} $CPU_time0_List full CPU_user_time0
23 puts "CPU_user_time0=${CPU_user_time0}"
25 puts "Start boolean operation ..."
26 dchrono h reset; dchrono h start
28 # BOOLEAN OPERATION ----- START
30 for {set i 1} {$i <= ${NbTests}} {incr i} {
34 # BOOLEAN OPERATION ----- FINISH
36 dchrono h stop; set CPU_time_List [dchrono h show]
37 regexp {CPU user time: ([-0-9.+eE]+) seconds} $CPU_time_List full CPU_user_time
38 puts "Finish boolean operation ..."
39 puts "CPU_user_time=${CPU_user_time}"
40 set CPU_user_time [expr ${CPU_user_time} / ${NbTests}]
41 puts "CPU_user_time=${CPU_user_time}"
43 set square 3.05118e+07
45 # Analysis of "nbshapes res"
53 set nb_compound_good 1