| Electronics > Projects, Designs, and Technical Stuff |
| Eagle CAD 7.7 - purge? |
| << < (3/3) |
| Renate:
I guess some people don't like bloat for a personal reason and some don't care. My personal taste goes for lean and mean. --- Code: ---C:\>eglpurge test.sch Found 9 parts devices 236 packages 236 --- End code --- (That's 236 devices and packages removed. Quite a bit for a circuit with 9 parts.) Sure, I'll release this utility. I've just got to give it some spit and polish. Erm, I mean, wipe it down with isopropyl alcohol. Oh, since size doesn't matter, did I mention that this utility is 230 Megs, reguires 2 different versions of .NET and uses 11 extra DLLs? It requires registration, will only work when you are online and continually sends analytics to me? :-DD |
| Renate:
So, here it is: http://www.temblast.com/download/eglpurge.exe --- Code: ---C:\>eglpurge /? Usage C:\>eglpurge test.sch Check, but don't modify anything C:\>eglpurge test.sch mod.sch Purge, write to other file C:\>eglpurge test.sch /r Purge, write back to original file C:\>eglpurge test.sch /r /v Purge, write back to original file, verbose --- End code --- After doing a bunch of experimenting, it looks like Eagle does try to get rid of superfluous things. It's just that it never purges devicesets correctly. eglpurge.exe will also work on .brd files. It's just that I could never find a way to pollute a board file. |
| nigelwright7557:
--- Quote from: Renate on June 04, 2020, 01:02:09 am ---After doing a bunch of experimenting, it looks like Eagle does try to get rid of superfluous things. It's just that it never purges device sets correctly. --- End quote --- The PCBCAD software I wrote holds component definitions in with the schematic and pcb. It throws out any that are no longer used as it goes along so no need for a purge. All this keep memory and hard disc usage down. I also have a component update command that updates the component and its definition from the library. A more powerful command updates the whole sch or pcb in one go. |
| Navigation |
| Message Index |
| Previous page |