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