Handrail script from curve

Hey all,

I am working on a handrail script to help speed up my modeling capabilities. My problem is that a curve drawn using the curve/line tools works great - when there are minimum control points - but when I try to use a curve that has been projected onto a surface it throws everything out of wack… I’m not sure what the issue is at this point, but thought I would post here for some help! please let me know if i can clarify my issue any further. Also attached is the rhino and grasshopper file.

Thanks in advance for any and all help!


Please see corrected Grasshopper file.

Handrails (curvilinear).gh (35.9 KB)

I just rebuild curves and it seems to work !!!

1 Like

Thanks, i tried simplify curve and should have thought to try rebuild curve!