puts "========"
puts "OCC28165"
puts "========"
puts ""
#################################################
# Improve performance of Boolean Operations
#################################################

restore [locate_data_file bug28165_shapes1.brep] c

explode c
# c_1 is a face
# c_2 is a set of edges

# split the face with the edges
bclearobjects
bcleartools
baddobjects c_1
baddctools c_2
bfillds
bbuild result

checknbshapes result -face 1600

checkview -display result -2d -path ${imagedir}/${test_image}.png