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