f1aa2b62 |
1 | pload QAcommands |
2 | |
3 | puts "=======" |
4 | puts "OCC823" |
5 | puts "=======" |
6 | puts "" |
7 | ############################### |
8 | ## BRepAlgoAPI_Fuse fails on two cylinders |
9 | ############################### |
10 | |
11 | if { [ catch { set info_result [OCC823 a1 a2 result] } ] } { |
352ffd73 |
12 | puts "Faulty OCC823" |
f1aa2b62 |
13 | } else { |
352ffd73 |
14 | if { [regexp {FAILED} $info_result] } { |
15 | puts "Faulty OCC823" |
f1aa2b62 |
16 | } |
17 | |
18 | set ExplodeList [explode result] |
19 | if {[llength ${ExplodeList}] < 1} { |
352ffd73 |
20 | puts "Faulty OCC823 : Resulting shape is empty COMPOUND" |
f1aa2b62 |
21 | } |
22 | } |
58cf74e0 |
23 | checkprops result -s 23189.5 |
24 | checkshape result |
5747059b |
25 | checkview -display result -2d -path ${imagedir}/${test_image}.png |