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

checkprops result -l 50. 
checkshape result 
checksection result

checkview -display result -2d -path ${imagedir}/${test_image}.png



