Grab n and n+1 item through end of list

I’m trying to make parametric stairs that offset down from a platform:



unnamed-partial.gh (13.3 KB)

@ct.rhino here’s the fixed gh definition for that

unnamed-partial _fixed.gh (10.9 KB)

Thank you for the help. Is it possible to revise this to accommodate for variation in length of curve list? For example, if I change the vertical step down to a smaller value.



unnamed-partial _fixed.gh (9.5 KB)’

I also have to remove the first extrusion that is flush with the existing brown surface, as you can see.

you have a slider called platform height. create another one called count → pass that into series “count”
calculate -(platform_height / count) → pass that into series “step”

to remove any brep, use Cull Index