1 puts "========================"
3 puts "========================"
5 ######################################################
6 ## It's impossible to fuse the two shapes in the file attached. #2740, SAM1493
7 ######################################################
9 restore [locate_data_file OCC469.brep] a
10 # remove small edges from the shape
11 fixsmalledges a a 0.002
13 # explode to get two arguments
16 # use fuzzy value to treat misalignment of the arguments
19 # perform Boolean operation
22 # restoring fuzzy value to zero
25 # check the obtained result
27 checkprops result -s 30523.3 -v 22730.1
28 checknbshapes result -shell 1 -solid 1
30 checkview -display result -2d -path ${imagedir}/${test_image}.png