0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / modalg_4 / bug823_1
CommitLineData
f1aa2b62 1pload QAcommands
2
3puts "============"
4puts "OCC823"
5puts "============"
6puts ""
7################################
8## BRepAlgoAPI_Fuse fails on two cylinders
9################################
10##
11## Note: test for old topology
12##
13################################
14
15if { [ catch { set info_result [OCC823 a1 a2 a3] } ] } {
16 puts "Faulty : exception was caught"
17} else {
352ffd73 18 checkshape a1
19 checkshape a2
f1aa2b62 20 bfuse result a1 a2
21
22 set ExplodeList [explode result]
23 if {[llength ${ExplodeList}] < 1} {
24 puts "Faulty : Resulting shape is empty COMPOUND"
25 }
26}
27
28set square 23189.5
29set 2dviewer 0
30