| 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 ..." | |
| bopsection result b1 b2 | |
| checkshape result | |
| puts "Finish boolean operation ..." | |
| checkprops result -l 88.9912 | |
| checksection result | |
| # Analysis of "nbshapes res" | |
| checknbshapes result -vertex 6 -edge 6 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 13 | |
| checkview -display result -2d -path ${imagedir}/${test_image}.png | |