1 puts "TODO OCC11111 ALL: Error : Result shape is WRONG"
6 #######################################################################
7 # BOP perfomance improvemen
8 #######################################################################
10 set BugNumber OCC10160
12 restore [locate_data_file OCC10160-1.brep] b1
13 restore [locate_data_file OCC10160-3.brep] b2
17 puts "Prepare boolean operation ..."
18 dchrono h0 reset; dchrono h0 start
20 dchrono h0 stop; set CPU_time0_List [dchrono h0 show]
21 regexp {CPU user time: ([-0-9.+eE]+) seconds} $CPU_time0_List full CPU_user_time0
22 puts "CPU_user_time0=${CPU_user_time0}"
24 puts "Start boolean operation ..."
25 dchrono h reset; dchrono h start
27 # BOOLEAN OPERATION ----- START
29 for {set i 1} {$i <= ${NbTests}} {incr i} {
33 # BOOLEAN OPERATION ----- FINISH
35 dchrono h stop; set CPU_time_List [dchrono h show]
36 regexp {CPU user time: ([-0-9.+eE]+) seconds} $CPU_time_List full CPU_user_time
37 puts "Finish boolean operation ..."
38 puts "CPU_user_time=${CPU_user_time}"
39 set CPU_user_time [expr ${CPU_user_time} / ${NbTests}]
40 puts "CPU_user_time=${CPU_user_time}"
42 set square 3.65961e+07
44 # Analysis of "nbshapes res"
52 set nb_compound_good 1