blob: 2100f55cc5872e190ad93569edc7c3aa737e2510 [file] [edit]
puts "========"
puts "OCC28017"
puts "========"
puts ""
#################################################
# Unexpected result of General Fuse operation
#################################################
restore [locate_data_file bug28017_shape.brep] a
explode a
bclearobjects
bcleartools
baddobjects a_1
baddtools a_2
bfillds
bbuild r
checkmaxtol r -min_tol 0.51
explode r So
checknbshapes r -solid 2
checkshape r_1
checkshape r_2
bopcheck r_1
bopcheck r_2
don r_1 r_2
smallview; fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png