0023472: BRepAlgoAPI_Section algorithm fails with exception while intersecting two...
[occt.git] / tests / bugs / modalg / bug23367_14
CommitLineData
7416e83c 1puts "============"
2puts "CR23367"
3puts "============"
4puts ""
5##########################################################################################################
6# New functionality restoring the middle path of pipe-like shape
7##########################################################################################################
8
9polyline pp 0 0 0 10 -10 0 20 0 0 10 10 0 0 0 0
10polyline sp 0 0 0 0 0 50 -100 0 0 -50 0 -50 0 0 0
11mksweep sp
12addsweep pp
13buildsweep a -R
14explode a e
15wire ww a_11 a_8 a_5 a_2
16donly a ww
17fit
18middlepath result a ww ww
19
20set length 1.
21
22set 2dviewer 1
23
24
25
26