0024122: Hang-up during a topological operation.
[occt.git] / tests / bugs / modalg_2 / bug23367_15
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
11mksweep sp
12addsweep pp
13buildsweep a -R
14explode a e
15wire w1 a_11 a_8 a_5 a_2
16wire w2 a_34 a_36 a_28 a_31
17donly a w1 w2
18fit
19middlepath result a w1 w2
20
1027626d 21set length 270.149
7416e83c 22
23set 2dviewer 1
24
25
26
27