Rebuild crv in z

Hi,
Im trying to rebuild a crv in z directions and would like to add a sort of landing ( one segment becomes longer) every set of points (lets say every 10 segment) but I am having difficulty in this last step, this is where i get so far…

rebuild crv in z.3dm (36.3 KB) rebuild curve in Z direction.gh (15.0 KB)

Moved to the Grasshopper forum.

Something like this?


rebuild curve in Z direction_re.gh (14.2 KB)

Yes that s what I had in mind, thank you!