The EAGLE Schematic/PCB editor keeps up to 10 backups of your board and schematics, reflecting the board start at the last times you saved you work.  This can be very valuable if you screw something up, but I've always been a bit frustrated that it isn't easier to look at those files to see what changed in which revision.  (EAGLE won't directly open the backup files, so you have to rename each backup before you can look at it.  And EAGLE won't open multiple files at one time, so that you can compare them side-by-side, either.)

Now, one way to look at a PCB is to generate gerbers (the standard "plotter format" for PCBs), and use one of the gerber viewers to look at those.  This has the advantage of simplifying the "picture", AND most gerber viewers will load up multiple layers of a PCB so that you can see them all together.  I realized that it would also let you display multiple copies of the same layer, so that you could "flip" through them and (hopefully) notice changes.  In fact, the gerber viewer I use (gerbv, an open-source utility that runs on Windows, Macs, and Linuxes), has a display mode where the layer are displayed with their colors XORed together.  (In theory, this is an option to allow you to look at multiple layers at once, although in reality how well it works depends on the actual bit patterns of the colors used for each layer.)

However, if you DO pick your layer colors carefully, you can display two (or more) layers that are almost the same, and have the differences HIGHLIGHTED for you!  This seemed close to ideal for visualizing the changes in a PCB design.  Well, for small changes, anyway.  We'll have to see how the community feels about its usefulness.

All it needed was some sort of script that would go through all the backup files, generate appropriate gerber files, and then load up the gerber viewer having given each file an appropriate set of color, color mixing mode, and other display parameters.  It seems to be somewhat useful.  Here are some examples of how it works.

Step 1: The Original PCB and its Changes

Here's screenshot collecting the actual EAGLE PCB view of the board I was experimenting with.  This is the SparkFun Arduno PRO board.  Nice and simple, with some room to do stuff.

As examples of the sort of think I might do in the course of final editing of a PCB,  I increased the width of some tracks, and then switched one of the tiny SMT LEDs that I don't have for a larger SMT LED that I do have.  This over a period of several edit sessions, so several backup files are created.  In the next step we'll see what is done to them, and what the results look like.

The folks at Evil Mad Scientist Labs have published a more extensive overview of some of the options for &quot;visual diffs&quot;: <a>http://www.evilmadscientist.com/article.php/visdiff</a>
There is a trick to open multiple .brd files at the same time: simply open multiple instances of eagle, each one can open one .brd file.<br><br>but i like your trick. thanks for that!
that's a cool trick<br><br>I'd like to see plain-text styled CAD file formats so source control software can show differences between versions of a schematic, looking maybe something like<br><br>R12<br>+10 kilo ohm<br>-100 kilo ohm

About This Instructable


13 favorites


Bio: Middle aged geek username also works at yahoo.com, mac.com, comcast.net, wharton-10.arpa
More by westfw: Visualizing EAGLE Edits with a Gerber Viewer Make a Double CD/DVD Case From a Single Sheet of Paper Single Sided Really Bare Bones Board Arduino in EAGLE.
Add instructable to: