a4eba920 |
1 | puts "TODO OCC11111 ALL: Error : is WRONG because number of " |
61c421bf |
2 | |
3 | puts "============" |
4 | puts "OCC10160" |
5 | puts "============" |
6 | puts "" |
7 | ####################################################################### |
8 | # BOP perfomance improvemen |
9 | ####################################################################### |
10 | |
11 | set BugNumber OCC10160 |
12 | |
13 | restore [locate_data_file OCC10160-1.brep] b1 |
14 | restore [locate_data_file OCC10160-2.brep] b2 |
15 | |
16 | set NbTests 3 |
17 | |
18 | puts "Prepare boolean operation ..." |
44fae8b1 |
19 | dchrono h0 restart |
61c421bf |
20 | bop b1 b2 |
44fae8b1 |
21 | dchrono h0 stop counter bop |
61c421bf |
22 | |
23 | puts "Start boolean operation ..." |
44fae8b1 |
24 | dchrono h restart |
61c421bf |
25 | # |
26 | # BOOLEAN OPERATION ----- START |
27 | # |
28 | for {set i 1} {$i <= ${NbTests}} {incr i} { |
29 | bopfuse result |
30 | } |
31 | # |
32 | # BOOLEAN OPERATION ----- FINISH |
33 | # |
44fae8b1 |
34 | dchrono h stop counter bopfuse |
61c421bf |
35 | |
58cf74e0 |
36 | checkprops result -s 4.75218e+07 |
37 | checkshape result |
61c421bf |
38 | |
39 | # Analysis of "nbshapes res" |
a4eba920 |
40 | checknbshapes result -vertex 32 -edge 60 -wire 32 -face 29 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 156 |
5747059b |
41 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
61c421bf |
42 | |