| puts "============" | |
| puts "OCC21722" | |
| puts "============" | |
| puts "" | |
| ####################################################################### | |
| # The operation Section produces non-complete result. | |
| ####################################################################### | |
| set BugNumber OCC21722 | |
| puts "Load shape ..." | |
| restore [locate_data_file OCC21722.brep] g | |
| puts "Prepare first shape ..." | |
| explode g | |
| copy g_1 b1 | |
| puts "Prepare second shape ..." | |
| copy g_2 b2 | |
| puts "Prepare boolean operation ..." | |
| bop b1 b2 | |
| puts "Start boolean operation ..." | |
| bopsection result | |
| puts "Finish boolean operation ..." | |
| checkprops result -l 1.91376 | |
| checkshape result | |
| checksection result | |
| checknbshapes result -vertex 4 -edge 2 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 7 | |
| checkview -display result -2d -path ${imagedir}/${test_image}.png |