puts "============"
puts "OCC22109"
puts "============"
puts ""
#######################################################################
# Boolean operation common fails. Appendix to the SALOME bug: 0021060 
#######################################################################

set BugNumber OCC22109

puts "Load first shape ..."
restore [locate_data_file bug22109_Solid_24.brep] b1 

puts "Load second shape ..."
restore [locate_data_file bug22109_tore.brep] b2 

puts "Prepare boolean operation ..."
bop b1 b2

puts "Start boolean operation ..."
bopcommon result
puts "Finish boolean operation ..."

set nb_v_good 0
set nb_e_good 0
set nb_w_good 0
set nb_f_good 0
set nb_sh_good 0
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 1
set nb_shape_good 1


set 2dviewer 0
