7 ###################################
8 ## BRepAlgoAPI_Fuse fails on revolved and sphere
9 ###################################
10 ## Now this test uses BOPAlgo.
11 ## Intersection of cylinder and sphere. At that,
12 ## the intersection line goes near to the pole
13 ## of the sphere (near, but not through).
14 ## Walking-line has a point in the seam of
15 ## the sphere and neighbour point. Both sections of the
16 ## sphere (through every of these points and parallel to
17 ## equatorial plane) are circles with small radii. As result,
18 ## in 2D-space U-coordinates of these points are too different
19 ## (may be even ~60 degrees) in spite of its neighbourhood.
20 #####################################
22 if { [ catch { set result [OCC826 a1 a2 a3] } ] } {
23 puts "Faulty : an exception was caught"
29 set ExplodeList [explode result]
30 if {[llength ${ExplodeList}] < 1} {
31 puts "Faulty : Resulting shape is empty COMPOUND"
35 checkprops result -s 272935
37 checkview -display result -2d -path ${imagedir}/${test_image}.png