0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / modalg_2 / bug22361
1 puts "============"
2 puts "OCC22361"
3 puts "============"
4 puts ""
5 ################################################################################################################################
6 # Incorrect result of BRepOffsetAPI_MakePipeShell algorithm: it tries to build conical surface between two non-coaxial circles
7 ################################################################################################################################
8 set BugNumber 22361
9
10 circle c1 0 0 0 7
11 circle c2 5.28270543795374 13.2067635948844 26.4135271897687 21
12 polyline pp 0 0 0  5.28270543795374 13.2067635948844 26.4135271897687
13 mkedge c1 c1
14 wire c1 c1
15 mkedge c2 c2
16 wire c2 c2
17 fit
18
19 mksweep pp
20 addsweep c1
21 addsweep c2
22
23 buildsweep result
24
25 checkprops result -s 2745.88 
26 checkshape result
27
28 checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 8
29 checkview -display result -3d -path ${imagedir}/${test_image}.png