puts "============"
puts "OCC23998"
puts "============"
puts ""
#######################################################################
# Bad result of intersection of two faces: curve has a loop
#######################################################################

restore [locate_data_file bug23998_m1s.brep] b

explode b

bop b_1 b_2

bopsection result b_1 b_2

checkshape result

set length 67.026

# Analysis of "nbshapes res"
set nb_v_good 1
set nb_e_good 1
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 3

set 2dviewer 0
