Offset curve // stairing

Hi! I need to generate the blue stairing in every curve and then repeat the curves through the end points. Can anyone help me, please?

It should be able to adapt when i vary the other sliders and not break. The lines that start in the end points should be perpendicular to the next line (22.8 KB) rhino 6 indexado forum.3dm (187.6 KB)

If you are attempting to create a seating layout of some sort this is NOT the way to do it because visibility/sight clearance (per row) dictates a different approach (plus the paramount regional building regulations blah, blah).

Since the thread is posted in this coding related category … notify if you want an indicative (minus some sensitive internal things) C# that does that by the book (spot the sight lines clearance that yield a convex section):