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