| puts "============" | |
| puts "OCC10604" | |
| puts "============" | |
| puts "" | |
| ####################################################################### | |
| # Fuse Fails | |
| ####################################################################### | |
| set BugNumber OCC10604 | |
| puts "Load first shape ..." | |
| restore [locate_data_file OCC10604-1.brep] b1 | |
| puts "Load second shape ..." | |
| restore [locate_data_file OCC10604-2.brep] b2 | |
| puts "Prepare boolean operation ..." | |
| bop b1 b2 | |
| puts "Start boolean operation ..." | |
| bopcut result | |
| checkshape result | |
| puts "Finish boolean operation ..." | |
| checkprops result -s 893.394 | |
| # Analysis of "nbshapes res" | |
| checknbshapes result -vertex 7 -edge 15 -wire 6 -face 5 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 36 | |
| checkview -display result -2d -path ${imagedir}/${test_image}.png |