Ivaylo Posted July 23, 2017 Report Share Posted July 23, 2017 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! Quote Link to comment Share on other sites More sharing options...
dudleybenton Posted January 15, 2020 Report Share Posted January 15, 2020 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.