1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
puts "============"
puts "CR23367"
puts "============"
puts ""
##########################################################################################################
# New functionality restoring the middle path of pipe-like shape
##########################################################################################################
polyline pp 0 0 0 5 0 0 10 0 0 10 10 0 0 10 0 0 0 0
mkplane ff pp
prism a ff 0 0 50
explode a f
donly a a_6 a_7
fit
middlepath result a a_6 a_7
set length 50.
set 2dviewer 1
|