1puts "============" 2puts "OCC22306" 3puts "============" 4puts "" 5####################################################################### 6# Fuse between cylinder and sphere produces not valid result 7####################################################################### 8 9set BugNumber OCC22306 10 11puts "Load first shape ..." 12restore [locate_data_file OCC22306-cyl.brep] b1 13 14puts "Load second shape ..." 15restore [locate_data_file OCC22306-sph.brep] b2 16 17puts "Prepare boolean operation ..." 18bop b1 b2 19 20puts "Start boolean operation ..." 21bopcut result 22puts "Finish boolean operation ..." 23 24checkprops result -s 458.125 25checkshape result 26 27checknbshapes result -vertex 4 -edge 7 -wire 4 -face 4 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 22 28checkview -display result -3d -path ${imagedir}/${test_image}.png 29