1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00
Files
occt/tests/bugs/modalg/bug23367_14
2012-10-24 13:37:23 +04:00

27 lines
598 B
Plaintext
Executable File

puts "============"
puts "CR23367"
puts "============"
puts ""
##########################################################################################################
# New functionality restoring the middle path of pipe-like shape
##########################################################################################################
polyline pp 0 0 0 10 -10 0 20 0 0 10 10 0 0 0 0
polyline sp 0 0 0 0 0 50 -100 0 0 -50 0 -50 0 0 0
mksweep sp
addsweep pp
buildsweep a -R
explode a e
wire ww a_11 a_8 a_5 a_2
donly a ww
fit
middlepath result a ww ww
set length 365.161
set 2dviewer 1