0031939: Coding - correction of spelling errors in comments [part 7]
[occt.git] / tests / perf / modalg / bug10160_6
1 puts "TODO OCC11111 ALL: Error :  is WRONG because number of "
2 puts "============"
3 puts "OCC10160"
4 puts "============"
5 puts ""
6 #######################################################################
7 # BOP performance improvement
8 #######################################################################
9
10 set BugNumber OCC10160
11
12 restore [locate_data_file OCC10160-1.brep] b1 
13 restore [locate_data_file OCC10160-3.brep] b2 
14
15 set NbTests 3
16
17 puts "Prepare boolean operation ..."
18 dchrono h0 restart
19 bop b1 b2
20 dchrono h0 stop counter bop
21
22 puts "Start boolean operation ..."
23 dchrono h restart
24 #
25 # BOOLEAN OPERATION ----- START
26 #
27 for {set i 1} {$i <= ${NbTests}} {incr i} {
28    bopfuse result
29 }
30 #
31 # BOOLEAN OPERATION ----- FINISH
32 #
33 dchrono h stop counter bopfuse
34
35 checkprops result -s 3.65961e+07
36 checkshape result
37
38 # Analysis of "nbshapes res"
39 checknbshapes result -vertex 121 -edge 178 -wire 65 -face 59 -shell 3 -solid 2 -compsolid 0 -compound 1 -shape 429
40 checkview -display result -2d -path ${imagedir}/${test_image}.png
41
42