Hi Visualarq team or grasshopper buffs.
I am trying to build a grasshopper definition for staircases with railings. I honestly struggle with the Varq railing on stairs and I thought the Varq railing could be faster.
I have created a staircase from a curve GH definition. I set the curve in Rhino.
What I need to get is the curve generated by the staircase.
I can get the Z points by taking the number of steps and multiply by the step rise. This gives me my first sequence.
I then take my original curve and divide it by the number of steps.
Now I have X, Y and Z coordinates, do I merge the two number series
And then I will use numbers to points and fit line. Based on this line (with a bit of tweaking, as the railing will need to be in the middle of the step) I will have a curve for my railing?
Then offset curve by stair width and presto double bannister staircase from a curve.
See file attached.