0021762: Integration of new Boolean Operation algorithm to OCCT.
[occt.git] / tests / bugs / modalg_4 / bug825_2
1 pload QAcommands
2 puts "TODO OCC12345 ALL: Error : The command is not valid. The square is"
3 puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_"
4 puts "TODO OCC12345 ALL: Faulty : Resulting shape is empty COMPOUND"
5
6 puts "========"
7 puts "OCC825"
8 puts "========"
9 puts ""
10 ######################################
11 ## BRepAlgoAPI_Cut fails on sphere and b-spline face
12 ######################################
13 ##
14 ## Note: test for old topology
15 ##
16 ################################
17
18 if { [ catch { set info_result [OCC825 a1 a2 a3 a4 a5] } ] } {
19     puts "Faulty : an exception was caught"
20 } else {
21     checkshape a1
22     checkshape a3
23
24     bcut result a3 a1
25
26     set ExplodeList [explode result]
27     if {[llength ${ExplodeList}] < 1} {
28         puts "Faulty : Resulting shape is empty COMPOUND"
29     }
30 }
31
32 set square 0
33 set 2dviewer 0