0e94a94e |
1 | |
2 | puts "=========" |
3 | puts " OCC488 " |
4 | puts "=========" |
5 | puts "" |
6 | ######################################################## |
7 | ## Boolean operation returns invalid result, it lead to regression on test cfe/002/C1 |
8 | ######################################################## |
9 | |
10 | restore [locate_data_file OCC488a.brep] a_1 |
352ffd73 |
11 | checkshape a_1 |
0e94a94e |
12 | |
13 | restore [locate_data_file OCC488b.brep] a_2 |
352ffd73 |
14 | checkshape a_2 |
0e94a94e |
15 | |
16 | if [catch {bcommon result a_1 a_2 } catch_result] { |
17 | puts "Faulty OCC488: command COMMON works wrongly" |
18 | } else { |
19 | puts "OCC488 OK: function COMMON works properly " |
20 | } |
58cf74e0 |
21 | checkprops result -s 92466.8 |
22 | checkshape result |
5747059b |
23 | checkview -display result -2d -path ${imagedir}/${test_image}.png |