Interpolate 3D polyline with different elevations

Interpolate 3D polyline with different elevations

Ingrid91
Advocate Advocate
1,251 Views
6 Replies
Message 1 of 7

Interpolate 3D polyline with different elevations

Ingrid91
Advocate
Advocate

Hi,

 

So I've received a file that is a mixture of 2D- and 3D-polylines. My task is to convert these into 3D-polylines with either a) using the elevation from the model or b) using a standard elevation with regards to the surface model.

 

The problem is that along the 3D-polylines there are vertices with elevation 0. I'm not sure how it was modeled but the end result is very jagged. It'd be easy to draw a 3D-polylines between the vertices with an elevation, but the lines don't go in a straight line in plan view.

 

Is there a way to get a 3D-polyline or a feature line to snap to the location of a 2D (elevation 0) vertex without gaining its elevation, and make it so that the rest of the height is interpolated?

 

As it is I've tried to: draw 3D-poly between to points. Made it into a feature line. Added PI to the feature line roughly corresponding in distance to where the vertices are located on the 2D/3D-poly. Turned SNAP on/off to find the vertex but not gain its elevation. It's doable, but it's not exact as I can't snap to the line and it feels time consuming.

 

See pictures below for clarification.

 

Ingrid91_0-1717509801956.png

 

Ingrid91_1-1717509812704.png

 

Ingrid91_2-1717510191293.png

 

 

0 Likes
Accepted solutions (1)
1,252 Views
6 Replies
Replies (6)
Message 2 of 7

VincentSheehan
Advisor
Advisor
Accepted solution

If I'm understanding, something like this?

 

The red line is a feature line at different elevations. The white line is a polyline at 0 elevation. I set the view to ISO. I add PIs to the feature line while snapping to the polyline.

 

Vincent Sheehan

Sr. Civil Designer
Poly In 3D Blog

0 Likes
Message 3 of 7

Joe-Bouza
Mentor
Mentor

.XY in the osnap options may be what you want

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 4 of 7

brian.strandberg
Advisor
Advisor

OSNAPZ=1, when you snap to an object with OSNAPZ = 1, you will only get the XY point.  The Z will become the current ELEV (usually 0).

Check out my Civil 3d blog at: http://c3dk.com/
Favorite Posts: Use Dynamo For Surface Analysis: https://youtu.be/eJNdX6guMP8
Fast Track your site grading with the new Corridor Workflow: https://youtu.be/Gg7u9-LgIL0
0 Likes
Message 5 of 7

Ingrid91
Advocate
Advocate
I've googled to try to find what you mean but don't see anything specific regarding .XY
0 Likes
Message 6 of 7

Ingrid91
Advocate
Advocate
Unfortunately that won't help, as the elevation that I want the added vertices to receive is the interpolated one. So having it set to =0 means that it would take the 0 elevation, and having it set to =1 means that it would take the current ELEV which is also 0.
0 Likes
Message 7 of 7

Ingrid91
Advocate
Advocate
Such a simple solution! Thank you for the clear video 🙂
0 Likes