| 1 | puts "========" |
| 2 | puts "OCC28393" |
| 3 | puts "========" |
| 4 | puts "" |
| 5 | ################################### |
| 6 | # Boolean cut produce wrong result. |
| 7 | ################################### |
| 8 | |
| 9 | restore [locate_data_file bug28393_o.brep] o |
| 10 | restore [locate_data_file bug28393_t.brep] t |
| 11 | |
| 12 | # object is self-interfering shape |
| 13 | bopcheck o |
| 14 | |
| 15 | bcut result o t |
| 16 | |
| 17 | checkshape result |
| 18 | |
| 19 | # the self-interfering part of the object is not affected |
| 20 | # by the tool, and passed into result as is |
| 21 | bopcheck result |
| 22 | |
| 23 | checkprops result -s 70266.5 -v 979408 |
| 24 | checknbshapes result -solid 1 -shell 1 -face 42 -wire 44 |
| 25 | |
| 26 | checkview -display result -2d -path ${imagedir}/${test_image}-result.png |