Create curve on surface through two points with different heights

In order to create a sloped ramp, how do I create a curve on the surface that goes through the point at the bottom left to the elevated point on the right? This curve has to maintain the curvature of the basecurve in plan view (in short be on the surface), but should be a “lineair” curve between the points in elevation (so a continuous slope).
Don’t mind the units, this script is a simplified example :wink:

Curve through point.gh (16.2 KB)

CrvSrf (Curve On Surface)


Curve through point_2020Oct6a.gh (18.1 KB)

I forgot the ramp.


Curve through point_2020Oct6b.gh (16.9 KB)

1 Like

Thanks, that’s both a cleaner and easier solution than I expected!