Correction of testing case for issue 24374
[occt.git] / tests / bugs / modalg_2 / bug23367_13
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 0 0 20 10 0 20 20 0
10polyline sp 0 0 0 0 0 100 -50 50 200 -100 100 100
11mksweep sp
12addsweep pp
13buildsweep a -R
14explode a e
15wire w1 a_2 a_5 a_8
16wire w2 a_24 a_27 a_30
17donly a w1 w2
18fit
19middlepath result a w1 w2
20
1027626d 21set length 352.512
7416e83c 22
23set 2dviewer 1
24
25
26
27