×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Thinning out excessive vertices

Thinning out excessive vertices

Thinning out excessive vertices

(OP)
Hello all,

I have a 2d drawing that I am trying to import into another program.  The polylines have an excessive amount of vertices.  Is there a way to thin out these vertices without losing the contour of the line?  I tried breaking the drawing into pieces to no avail, either ACAD or the program I am trying to import into will crash.  Any help would be appreciated.

Thanks.

RE: Thinning out excessive vertices

If these are individual pieces of a polyline that make up a large contour, you may try joining the lines into one large polyline or create a block out of them. I have seen some programs handle these a little differently.

"Everybody is ignorant, only on different subjects." — Will Rogers

RE: Thinning out excessive vertices

You're looking for a "weeding" process.  Removes vertices based on input paramaters, such as maximium spacing between vertices, maximum angle change along polyline.  I've seen lots of weeding lisp routines.  Try a search for "weed.lsp".  This topic was discussed at http://theswamp.org/phpBB2/viewtopic.php?t=2171
   

RE: Thinning out excessive vertices

This was probably a PLine that was smoothed using Spline option of PLine, then edited by stretching or PEdit and Moving vertices.  When you edit a Splined PLine, the PLine will have many many points.  Always DeCurve the PLine, edit it and then re Spline it.  That way, only the "control" points of the PLine remain.  Can you Decurve the PLine, Import it then re-curve it (smooth, Spline, etc) ?

RE: Thinning out excessive vertices

Opps.  Sorry.  I was wrong.  It's not editing the Splined PLine but Exploding it that adds the points.  Once a SPlined PLine is Exploded, you can not go backwards and make a polyline out of it without getting all the vertexes.

RE: Thinning out excessive vertices

(OP)
Thanks for all the help.  I believe I have found a solution to the problem - at least for now I hope.  I blocked it as suggested and so far that seems to be working.  Again, thanks all and have a nice weekend.
JD

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources