Need to use splinedit and PLDiet 7 3 s commands in autocad 2000

Need to use splinedit and PLDiet 7 3 s commands in autocad 2000

jimschmidt
Enthusiast Enthusiast
4,896 Views
7 Replies
Message 1 of 8

Need to use splinedit and PLDiet 7 3 s commands in autocad 2000

jimschmidt
Enthusiast
Enthusiast

How do I load & apply these commands in autocad 2000? (Or what version do the work in?)

 

EXPLODE, JOIN, PLDIET 7 3 S

and 

SPLINEDIT, FLATTEN

 

They solved my problems when someone else applied them to my drawings but he didn't tell me which Autocad version he used or how/if there is a LSP/app to load them into my autocad 2000. 

0 Likes
4,897 Views
7 Replies
Replies (7)
Message 2 of 8

Kent1Cooper
Consultant
Consultant

@jimschmidt wrote:

How do I load & apply these commands in autocad 2000? (Or what version do the work in?)

 

EXPLODE, JOIN, PLDIET 7 3 S

and 

SPLINEDIT, FLATTEN

.... 


Have you tried PLD manually?  [That's the command name -- PLDiet.lsp is the file name.]  I wrote it under Acad2004, and some versions are available that have certain things updated, including the one on the Cadalyst CAD Tips website where it was originally posted, so the original is no longer available there.  So I'm curious to know whether whichever version you have actually works as far back as in Acad2000.  If not, even I don't still have the most original version any more, if that would have worked.

Kent Cooper, AIA
0 Likes
Message 3 of 8

jimschmidt
Enthusiast
Enthusiast

Yes PLDiet works in AutoCad 2000 but I don't know how to tell what effect it has and I have not confirmed that is solves the problem for my machinist.  How do you tell how many vertices have been removed and if it has cleaned up the tool path for the CNC machine?

0 Likes
Message 4 of 8

Kent1Cooper
Consultant
Consultant

@jimschmidt wrote:

....  How do you tell how many vertices have been removed ...?


Select the Polyline before PLD-ing it, and in the Properties palette, under Geometry, pick in the Current vertex slot.  A white X will appear at the start vertex.  At the right end of the vertex number space where it says 1 are little up and down arrows, with which you can move that X around the Polyline.  Pick on the down arrow once, and you'll see the number of the last vertex.

 

After PLD-ing, do the same, and if your choices were appropriate [e.g. a long-enough maximum distance compared to the segment lengths, and enough of a bend-angle allowance, that it was able to remove some vertices], that last vertex number will be smaller.

Kent Cooper, AIA
0 Likes
Message 5 of 8

Kent1Cooper
Consultant
Consultant

@jimschmidt wrote:

....  How do you tell ... if it has cleaned up the tool path for the CNC machine?


For that question, it depends on what "cleaned up" means in relation to CNC machining.  Be aware that PLD eliminates vertices and results in straight-line segments between the vertices that remain [except it will leave arc segments alone if you choose that option].  It can turn the top Polyline here [with 100 segments] into the middle one [with 23 segments], but also into the bottom one [with 6 segments], or any in-between results.

Kent1Cooper_0-1615896800921.png

Is that what you mean by "cleaned up"?

 

Kent Cooper, AIA
Message 6 of 8

marko_ribar
Advisor
Advisor

https://www.theswamp.org/index.php?topic=58030.0 

 

HTH.

M.R.

Marko Ribar, d.i.a. (graduated engineer of architecture)
0 Likes
Message 7 of 8

john.uhden
Mentor
Mentor

@jimschmidt ,

@Kent1Cooper 's offering is very very good.

But did you want to retain the curveyness with arced segments?

I can post my ancient WEEDEM program for you to try.  It was made to reduce the data created by contour polylines with myriad vertices, but those days are long gone since Land Desktop and Civil 3D.

OR, Kent could modify his to pick up a point between retained vertices to compute the required bulge.

John F. Uhden

0 Likes
Message 8 of 8

RayM2305
Participant
Participant

Your lisp routine was exactly what I was looking for. Helped me reduce a 25MB lidar data down to 8MB by removing unnecessary vertices. Thank you so much for creating it!

0 Likes