v3.1.1: Text diff output and a scrolling project list
Most of the 3.1 line came from suggestions by Reddit user /u/FunDeckHermit: zip import, the command line, and now plain-text diff output and a project list that scrolls.
A change table you can paste into a commit
--format text prints the per-layer change table instead of building a report:
gerbdiff -o summary.txt --format text --a rev_a.zip --b rev_b.zip
git commit -F summary.txt
GerbDiff: rev_a vs rev_b
15 layers: 15 changed
Layer Status Change
------------------ --------- --------
Top Copper changed 42.60%
Top Solder Mask changed 23.63%
Bottom Copper changed 39.21%
Drill (PTH) changed 4.88%
Board Outline changed 1.71%
Same breakdown as the Diff Summary pane in the app. No images are rendered, which is most of the cost of a report, so it returns far faster than the HTML export. Use - as the output path to write to stdout instead.
The recent projects list scrolls
It stopped at ten entries with no way to reach anything older, so working through a run of revisions kept pushing the ones you wanted off the end. It now remembers thirty and scrolls.
Thanks to /u/FunDeckHermit, who also suggested a self-contained HTML result in the spirit of KiCad's Interactive BOM, and a KiCad plugin. Both are on the list. If something would make GerbDiff fit your workflow better, [email protected] reaches us directly.