Centerline between two 3D lines

Centerline between two 3D lines

k_l_raghava
Participant Participant
2,097 Views
6 Replies
Message 1 of 7

Centerline between two 3D lines

k_l_raghava
Participant
Participant

Hi,

 

Need Help in getting Centerlines between 3D polylines(road edge lines).

 

Annotate-> Centerline command not recognizing the 3D polylines as a line (even tried flatten command on those but still same issue).

 

form my knowledge the option i have made is making lines joining the vertices of selected (parallel/non parallel) lines and drawing the perpendicular to second one in the pair and then joining the center points to get center line.

 

Can any one suggest a lisp - as my total polylines length is about 400 kms (800 kms of road edge lines).

 

attached is a sample bit of problem drawing.

 

Thanks in advance.

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

dlanorh
Advisor
Advisor

This may be helpful. Follow the link in the last post HERE

I am not one of the robots you're looking for

Message 3 of 7

ВeekeeCZ
Consultant
Consultant

Just tested quickly. 

 

You still need to flat them, explode and rejoin to get lwpolylines.

btw the routine was also posted HERE 

0 Likes
Message 4 of 7

k_l_raghava
Participant
Participant

is there no option without converting to LWpolylines ??

 

as i explained, my drawing is covering a big city roads, if i explode-flatten-join it is almost impossible task.

 

can there be a routine to average the verticies z value and average them to give the z value in center line vertex.

 

 

0 Likes
Message 5 of 7

ВeekeeCZ
Consultant
Consultant

You know what... better get some better computer because converting polylines it's a piece of cake comparing to processing algorithm finding their centrelines.

 

The truth is, that rather than exploding and rejoining workflow would be more efficient to do the job directly - maybe THIS  routine by _gile.

0 Likes
Message 6 of 7

vladimir_michl
Advisor
Advisor

If I understand the question, it is not about a centerline symbol but rather about an axis curve (an average curve between 2 existing curves). The CurveAxis LISP tool (freeware) supports also 3D curves.

See CAD Forum - How to create an axis of two curves? (average curve)

 

Vladimir Michl, www.cadstudio.cz - www.cadforum.cz

 

0 Likes
Message 7 of 7

Kent1Cooper
Consultant
Consultant
Accepted solution

See the accepted solution in the other thread in which this is one part of the topic.

Kent Cooper, AIA
0 Likes