How-to: Export parts from Eagle libraries

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.

Join the Conversation

1 Comment

  1. 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 comment

Your email address will not be published. Required fields are marked *

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