Skip to content

fxkr/eagle-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eagle-diff

Show differences between Cadsoft Eagle PCB layouts

Author: Felix Kaiser [email protected]
License: revised BSD (see LICENSE)
Version: 0.1.0

Usage

eagle-diff [-h] [-V] [-d DPI] [--eagle EAGLE] file1 file2 [output]

Show differences between Cadsoft Eagle files

positional arguments:
  file1              'old' version of the .brd file
  file2              'new' version of the .brd file
  output             output directory (will be created; default: eagle_diff)

optional arguments:
  -h, --help         show this help message and exit
  -V, --version      show program's version number and exit
  -d DPI, --dpi DPI  resolution of the generated images (default: 600)
  --eagle EAGLE      eagle binary to use (default: eagle)

Samples

Here are some low-resolution sample images of the bottom side of a simple PCB.

Individual images of the "new" version of the board:

copper-bottom.2 copper-bottom.2

Diffs, without and with background image:

copper-bottom.diff copper-bottom.diff_bg

As usual, additions are green and deletions are red. You can easily see that some traces and vias have been moved and the remaining traces have been made thicker.

Dependencies

Caveats

  • No cropping to dimension layer rectangle.
  • The old and new images are aligned based on the boundary box around everything on the dimension layer. If the size of that boundary box changes, the layouts will probably not be aligned correctly.

About

Show differences between Cadsoft Eagle PCB layouts

Resources

License

Stars

Watchers

Forks

Packages

No packages published