Changing elevation of a curve but maintain its curvature

Hi all,

Is there any method to change the elevation of a curve but keep its projection on xy-plane? In other words, I only want to change the z value of the curve.

I attempted to extract the start and end point. Then change their z coordinates and join them back together, but this fail to maintain the curvature.

Will be glad if someone could help me. Thanks! :slight_smile:

Hey,

Just wondering if you had tried Geometry.Translate on the curve itself, rather than the start and end points?

Hope that helps,

Mark

Hi Mark,

Thanks for your suggestion, but this method seems couldn’t assign different translation to start and end point separately. For example, start point translate only 2000 upward and end point translate 5000 upward.

Hey,

Oh ok, how about making a plane or surface and using ‘Curve.PullOntoPlane / Surface’?

You could do something similar by using ‘Extrude’ on the curve to the surface and ‘Intersect’ the 2… that would probably be more correct…

Hope that helps,

Mark

I’d go this route - no deformation and faster calculation.