340054e1 |
1 | puts "========" |
2 | puts "OCC27683" |
3 | puts "========" |
4 | puts "" |
5 | ############################### |
6 | # Inaccurate result by bopcut |
7 | ############################### |
8 | |
9 | restore [locate_data_file bug27683_shell.brep] s |
10 | restore [locate_data_file bug27683_solidreverse.brep] b |
11 | |
12 | bop s b |
13 | bopcut result |
14 | |
b7cd7c2b |
15 | checkshape result |
16 | checknbshapes result -wire 93 -face 93 -shell 2 |
17 | checkprops result -s 268.23 |
18 | |
340054e1 |
19 | set bug_info [string trim [bopcheck result]] |
20 | if {$bug_info != "This shape seems to be OK."} { |
b7cd7c2b |
21 | puts "Error: the result is self-interfered." |
340054e1 |
22 | } |
23 | |
b7cd7c2b |
24 | checkview -display result -2d -path ${imagedir}/${test_image}.png |