1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
puts "============"
puts "OCC11565"
puts "============"
puts ""
#######################################################################
# Boolean operation "Cut" in 2d cannot cut the hole from the rectangle
#######################################################################
restore [locate_data_file OCC11565.brep] a
explode a
bop a_1 a_3
bopcut result
set square 28.6438
set nb_v_good 12
set nb_e_good 12
set nb_w_good 2
set nb_f_good 1
set nb_sh_good 1
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 1
set nb_shape_good 29
set 2dviewer 0
|