3b6ffeac |
1 | puts "========" |
2 | puts "OCC28492" |
3 | puts "========" |
4 | puts "" |
5 | ########################################## |
6 | ## Boolean common does not produce expected result |
7 | ########################################## |
8 | |
9 | restore [locate_data_file bug28492_case1.brep] a |
10 | explode a |
11 | bcommon result a_1 a_2 |
12 | |
13 | checknbshapes result -wire 2 -face 1 -t |
14 | checkprops result -s 1882.29 |
15 | checkshape result |
16 | |
17 | if {! [regexp "to be valid for BOP" [bopargcheck result] ] } { |
18 | puts "Error: bopargcheck failed" |
19 | } |
20 | |
21 | checkview -display result -2d -path ${imagedir}/${test_image}.png |