| 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 ..." | |
| bopcommon result | |
| checkshape result | |
| puts "Finish boolean operation ..." | |
| checkprops result -s 585.072 | |
| # Analysis of "nbshapes res" | |
| checknbshapes result -vertex 6 -edge 12 -wire 5 -face 5 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 31 | |
| checkview -display result -2d -path ${imagedir}/${test_image}.png |