@Helvetosaur wrote:
Hi,
I'm just trying to script something simple and I'm running into a problem with rs.AddPipe() if the two end radii are different, the pipes fail... If the two end radii are the same, it works. Am I missing something stupid here?
import rhinoscriptsyntax as rs def TestPipe(s_rad,e_rad,blend,cap): crvs=rs.GetObjects("Select curves",4,preselect=True) for crv in crvs: rs.AddPipe(crv,rs.CurveDomain(crv),[s_rad,e_rad],blend,cap,False) TestPipe(0.5,1.0,0,1) #fails #TestPipe(1.0,1.0,0,1) #works
Thanks, --Mitch
Posts: 6
Participants: 3