Curve - Unchanged xy coordinates / only z-axis transformed

Grasshopper Help!
There are open or closed curves on the XY plane. When I draw a specific line (the red one), I want a new smooth curve to be created where the original curve’s XY coordinates remain unchanged, but the intersection area rise along the Z-axis. (i want dashed curve)

Rebuild the curve with the desired point count and then soft transform

251013_only z-axis transformed_NL.gh (15.4 KB)

Thanks every time!!

Thank you! Very much!!

Sorry I missed that you needed this in Grasshopper.

Happy to help.