How to simplify polyline

How to simplify polyline

Anonymous
Not applicable
44,795 Views
9 Replies
Message 1 of 10

How to simplify polyline

Anonymous
Not applicable

Hello!

I have a problem with too many vertices on a 2d object. I want to lower down the number of vertices but still keep approximately the same shape.

File in the attachmentZajeta slika.PNG

0 Likes
Accepted solutions (1)
44,796 Views
9 Replies
Replies (9)
Message 2 of 10

Patchy
Mentor
Mentor
Message 3 of 10

Kent1Cooper
Consultant
Consultant
Accepted solution

@Patchy wrote:

This will do

http://cadtips.cadalyst.com/linear-objects/polyline-diet


 

Thanks for the recommendation [that's my PLDIET.lsp routine].  The PLD command there does this to that shape, given a maximum distance to straighten of 50 and accepting defaults for the rest, reducing it from 368 vertices to 82:

PLD.PNG

If that turns out kinkier than you want in areas of tigher curvature, use a smaller number than 50.

Kent Cooper, AIA
Message 4 of 10

Anonymous
Not applicable

Thanks! 

This really did the job and you can also decide how detailed is your object gonna be

0 Likes
Message 5 of 10

Kent1Cooper
Consultant
Consultant

@Patchy wrote:

This will do ....


... updated version >here<.

Kent Cooper, AIA
0 Likes
Message 6 of 10

cgh6VFSY
Explorer
Explorer

The link above is dead and the second link only takes me to the autodesk forum. Given how slow autocad is with polylines/splines it would be great if this could get sorted in one single software rather than fixing it elsewhere and import it back in.

Message 7 of 10

pendean
Community Legend
Community Legend

@cgh6VFSY wrote:

The link above is dead and the second link only takes me to the autodesk forum. Given how slow autocad is with polylines/splines it would be great if this could get sorted in one single software rather than fixing it elsewhere and import it back in.


https://cadtips.cadalyst.com/linear-objects/polyline-diet

pendean_0-1710255969594.png

 

https://forums.autodesk.com/t5/autocad-forum/reduce-polyline-points/m-p/8520844#M963796

pendean_1-1710256016432.png

 

 

Message 8 of 10

Kent1Cooper
Consultant
Consultant

Cadalyst CAD Tips are currently not downloadable, and I've told them about it, and they say they're working on it.  I don't know why the other link doesn't go to a specific message, other than the vagaries of the passage of time, but in any case, here's the routine.

Kent Cooper, AIA
Message 9 of 10

pascal
Observer
Observer

does PLDiet work on  3DPolylines in AutocadLt? I'm struggling with a survey plan that is way too detailed to import into sketchup

0 Likes
Message 10 of 10

pascal
Observer
Observer

sorry finally found a super simple solution from these guys.. you just have to sign up but it's free and it worked instantly. 

https://esurveying.net/free-lisp/reduce-polyline-vertices

 

0 Likes