Parabola Elevated Curve from a planar NURBS-curve

Hey there,

I have a random NURBS-curve. How do I create an elevated curve Grasshopper script from this initial NURBS-curve? The end points are specific input values, e.g 4000 and 6000 mm in Z-direction. The curve starts from a 4000 mm elevation than dips down as the parabola would and then ends with a 6000 mm elevation. Also, this curve, must follow the original planar curve on the XY-plane, so that when looking from above they look identical. Tried using graph mapper with parabola but could not managed to make sure that the end points are specific values. Original curve is attached in .gh file in case you need it.

Thank you in advance

curve-2.gh (1.8 KB)

You could do something like this - you’ll just need to calculate the parabola equation based on the points you need it to go through (my file was in mm so the numbers are pretty large - probably makes more sense to do it in meters to have fewer significant figures)

1 Like

if you want to just play with a (curvature slider) while keeping P1 and P2 fixed points at given heights, this might also work:

curve-2_inno.gh (16.9 KB)

2 Likes

thank you for your response. This is an intresting approach.

You’ve gone full lavendar… you never go full lavendar. You turn the world magenta.

1 Like

Start wearing purple!

1 Like