| puts "============" | |
| puts "OCC22109" | |
| puts "============" | |
| puts "" | |
| ####################################################################### | |
| # Boolean operation common fails. Appendix to the SALOME bug: 0021060 | |
| ####################################################################### | |
| set BugNumber OCC22109 | |
| puts "Load first shape ..." | |
| restore [locate_data_file bug22109_Solid_24.brep] b1 | |
| puts "Load second shape ..." | |
| restore [locate_data_file bug22109_tore.brep] b2 | |
| puts "Prepare boolean operation ..." | |
| bop b1 b2 | |
| puts "Start boolean operation ..." | |
| bopcut result | |
| puts "Finish boolean operation ..." | |
| checkprops result -s 87443.6 | |
| checkshape result | |
| checknbshapes result -vertex 16 -edge 23 -wire 14 -face 10 -shell 2 -solid 1 -compsolid 0 -compound 1 -shape 67 | |
| checkview -display result -2d -path ${imagedir}/${test_image}.png |