0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / modalg_4 / bug825_1
1 pload QAcommands
2
3 puts "======="
4 puts "OCC825"
5 puts "======="
6 puts ""
7 ######################################
8 ## BRepAlgoAPI_Cut fails on sphere and b-spline face
9 ######################################
10 ##
11 ## Note: test for old topology
12 ##
13 ################################
14
15 if { [ catch { set info_result [OCC825 a1 a2 a3 a4 a5] } ] } {
16     puts "Faulty : an exception was caught"
17 } else {
18     bcut result a2 a1
19         
20     set ExplodeList [explode result]
21     if {[llength ${ExplodeList}] < 1} {
22           puts "Faulty : Resulting shape is empty COMPOUND"
23     }
24 }
25
26 set square 5890.46
27 set 2dviewer 1