Coding New Parts In Eagle

chip

Making new parts in Eagle CAD isn’t the easiest thing in the world, especially if you’re dealing with a package that isn’t in one of the default libraries. Usually, making a new part means digging out a datasheet and drawing a new part in Eagle. A better solution would be to generate new parts with code – define the number of pads, the shape of the pads, the symmetry of the chip, and so forth. [Joost]’s madparts does just that, allowing anyone to create new parts in Eagle by entering numbers instead of drawing lines.

The idea behind madparts is to code new entries in Eagle libraries with Coffeescript. It has instant graphical feedback for the part you’re designing, and is able to import from and export to Eagle libraries. A KiCAD-enabled release is coming soon, but until then, madparts looks like a great way to create your own parts in weird packages in Eagle.

9 thoughts on “Coding New Parts In Eagle

    1. Here you have an actual programming language you are defining your footprint in instead of the plaintext used by make-symbol-device-package-bsdl.ulp.

      This allows you to make mods & calculation in your footprint script meaning you get a self-documenting effect.

      Also you get immediate visual feedback during coding.

      The footprint in coffeescript is supposed to be the base format, not just something you use once. Need an adjustment, just adapt the coffeescript, press ctrl-e, refresh the library in eagle, and done. Need an adjustment as a separate footprint, clone the script, adjust, export to cad, done.

      [disclaimer: I wrote the program]

  1. Kicad.
    After 15 years of using proprietary packages professionally, I am glad to say that the new Kicad is now my package of choice. A lot of time is spend familiarizing yourself with packages and I’d recommend to any newcomers and old timers looking to change their existing systems to have a look at this open source, multi platform package. Open source has finally produced a good PCB package,, much better than the ones I use to use.

  2. Awesome, I’ll give this program a shot the next time I need a new part (which is becoming more and more frequent…). My biggest headache though is mislabeling pins on the symbol, and/or mapping it to the wrong pad on the package :( no matter how many times I doublecheck, I always seem to have something wrong that only becomes apparent 3 seconds after I send the PCB off for fab :P

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.