Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
3d097a032This file is pinned to the selected release. Download the original to open it in your design tool.
puts "TODO OCC11111 ALL: Error : is WRONG because number of "
puts "============"
puts "OCC10160"
puts "============"
puts ""
#######################################################################
# BOP performance improvement
#######################################################################
set BugNumber OCC10160
restore [locate_data_file OCC10160-1.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} {
boptuc result
}
#
# BOOLEAN OPERATION ----- FINISH
#
dchrono h stop counter boptuc
checkprops result -s 6.87093e+06
checkshape result
# Analysis of "nbshapes res"
checknbshapes result -vertex 113 -edge 166 -wire 59 -face 57 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 398
checkview -display result -2d -path ${imagedir}/${test_image}.png