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