| puts "============" | |
| puts "OCC10160" | |
| puts "============" | |
| puts "" | |
| ####################################################################### | |
| # BOP performance improvement | |
| ####################################################################### | |
| set BugNumber OCC10160 | |
| restore [locate_data_file OCC10160-2.brep] b1 | |
| restore [locate_data_file OCC10160-3.brep] b2 | |
| set NbTests 3 | |
| puts "Prepare boolean operation ..." | |
| dchrono h0 restart | |
| bop b1 b2 | |
| dchrono h0 stop counter bop | |
| puts "Start boolean operation ..." | |
| dchrono h restart | |
| # | |
| # BOOLEAN OPERATION ----- START | |
| # | |
| for {set i 1} {$i <= ${NbTests}} {incr i} { | |
| bopcut result | |
| } | |
| # | |
| # BOOLEAN OPERATION ----- FINISH | |
| # | |
| dchrono h stop counter bopcut | |
| checkprops result -s 3.05154e+07 | |
| checkshape result | |
| # Analysis of "nbshapes res" | |
| checknbshapes result -vertex 96 -edge 143 -wire 51 -face 48 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 341 | |
| checkview -display result -2d -path ${imagedir}/${test_image}.png |