9026dea8 |
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 | |
d3578357 |
12 | # object is self-interfering shape |
13 | bopcheck o |
14 | |
9026dea8 |
15 | bcut result o t |
16 | |
17 | checkshape result |
d3578357 |
18 | |
19 | # the self-interfering part of the object is not affected |
20 | # by the tool, and passed into result as is |
9026dea8 |
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 |