Convert flat curve in slope

Hi all,

I want to convert the flat curve into constant slope curve, attaching the screenshot for the same thank you for the help in advance. Attaching screenshots for the more reference and the rhino file as well.


Test_Staircase.3dm (370.8 KB)

Extrude the 2D curve, “fin” the 3d curve.

Can you help me with that? The results are inappropriate.

Messy because you have wiggly curves in plan view and uneven stair spacing.
Test_Staircase.3dm (420.2 KB)