Using grasshopper to create helix?

unhandled

(Joe Babb) #1

So I’d like to use GH to study a problem I have with the twist in a spiral handrail. In Rhino I would just go Curve->helix, create that, then create a cross section of my hand rail and do a sweep 1 rail using roadlike top.
I could not find a helix under the Curve set on GH. Do I create the helix with parametric equations like
x=rcos(t)
y=r
sin(t)
z=c*t with t in radians. ? Or is there a better way?

Since I wrote the above, I did the parametric thing and found the Sweep1 rail component but it looks like it does the freeform thing and I don’t see a way to make it work differently.Function_spiral.ghx (95.0 KB)