I am trying to write a Grasshopper script for Stairs made out of two curves. I loft the 2 curves then divide the curves and use the points to get lines which split the surface. After that i want to move the single surfaces with a series along the Z vector. But somehow the order of the Surfaces got messed up after the Surface Split so the series doesn’t work well. I tried a lot of shifting and culling but couldn’t get a good result - Would be realy nice if you guys could help me fixing the order
I have done it like that befor and it works well for a lot of different stairs but when you got a inner circle sourrended by a square both are divided in equal length with the konsequent that the stairs aren’t perpendicular to the circle - thats why i want to use lines to divide.
For the lines which divide to loft i used offset and and closest point to get those perpendicular lines on the loft.
Johannespetersen7,
So I approached it a little differently. Because the lines are in order, I picked line index 0 and index 1, then index 1 and index 2 etc. I then used those pairs to loft a surface which you can then move in the Z directions as needed. Not the cleanest solution, however it appears to work. Hope this helps.
Billmy version Treppen.gh (18.8 KB)
That works well for this particular situation but it would be nice to have a more general solution. I could probably creat such a solution with more operation for curves…
Do you guys know a plugin with more curve operation beside pufferfish?