Jump to content
Mechanical Engineering

How to reduce segments in DXF file


Recommended Posts

Hello! I am extracting points coordinates (X,Y) from DXF file. The problems is that there are tens of thousands of points extracted, but I need up to few hundred points. How can I reduce the number of points and segments. The files are exported from Eagle (PCB design) and it is not too complex. I can't export new files with smaller amount of points and lines, but I can work with the DXF files using AutoCAD. Thanks a lot!

Link to comment
Share on other sites

  • 2 years later...

Sorry to take so long to respond to this question. I have had to do the same thing on many occasions. Enormous AutoCAD files and lots of work to clean them up and get the data into a useful form for analysis. My plot program (TP2) will read a DXF file and optimize it (remove unnecessary stuff). It will also extract all the polygons and write them out to several different formats, including plain text. My polygon editor (PolyEdit) will cut, paste, copy, split, join, reverse, smooth, flip, mirror, shrink, grow, redistribute the points, and several other operations with a single keystroke. While you can do such operations with AutoCAD, it would take a lifetime. Both programs are free here http://dudleybenton.altervista.org/software/index.html TP2 can also create and display surfaces, 3D objects, and many other common graphical tasks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Join Mechanical Engineering network

    Join us (login) to get full access : Please sign up to connect and participate.

    To download files...please login

  • Who's Online   1 Member, 0 Anonymous, 12 Guests (See full list)

  • Create New...