Categories

How-to: Export parts from Eagle libraries

Posted on Thursday, October 14th, 2010 in how-to, scripts by Ian

The Dangerous Prototypes Eagle parts library has most of the parts used in our projects. It’s got just about everything we use on a daily basis.  We keep it in SVN so everyone has the latest version.

Eagle stores footprints in a binary file, so SVN can’t merge differences if two people make changes at the same time. Lately we’ve lost a bunch of parts from conflicting updates.

To end the agony of lost parts, Sjaak whipped up a library export program. It exports all the parts in an Eagle library to individual script files. These scripts are text files that can be committed to SVN without fear of overwriting someone’s updates. A second program assembles the individual parts back into a library.

Download links and instructions.

This entry was posted on Thursday, October 14th, 2010 at 8:19 am and is filed under how-to, scripts. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “How-to: Export parts from Eagle libraries”

  1. Amos says:

    Wouldn’t it be easier just to use a pair of shell scripts to base64 encode/decode the binary files into/out of the SVN directory? Maybe SVN doesn’t play well with base64-encoded binaries? *shrug*

    At any rate, thanks for sharing your parts!

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Paul Campbell: I'm old enough that I started programming with punched cards .... each card had a sequence number in the last few characters. A friend once...
  • Ian: test comment on /blog/ page
  • ian: No, that's exactly how it should be :) Sorry about missing names on comments, the theme is being reworked as we speak.
  • J. Peterson: Nice writeup. It looks like some of the formatting for your command examples needs some missing newlines?
  • Geert Jordaens: I'm not sure what kind of licensing I have to add since it is a fairly straight forward implementation of the adaptive Huffman Decoding. For...