Adding test cases for chl grid
[occt.git] / tests / bugs / modalg / bug823
1 pload QAcommands
2
3 puts "======="
4 puts "OCC823"
5 puts "======="
6 puts ""
7 ###############################
8 ## BRepAlgoAPI_Fuse fails on two cylinders
9 ###############################
10 ## (old topology)
11 #####################################
12
13 if { [ catch { set info_result [OCC823 a1 a2 result] } ] } {
14     puts "Faulty OCC823"
15 } else {
16     if { [regexp {FAILED} $info_result] } {
17         puts "Faulty OCC823"
18     }
19
20     set ExplodeList [explode result]
21     if {[llength ${ExplodeList}] < 1} {
22         puts "Faulty OCC823 : Resulting shape is empty COMPOUND"
23     }
24 }
25 set square 23189.5
26 set 2dviewer 1