Author Topic: GerbDiff - PCB Diff Tool  (Read 6165 times)

0 Members and 1 Guest are viewing this topic.

Offline benwoodruffTopic starter

  • Contributor
  • Posts: 11
  • Country: us
GerbDiff - PCB Diff Tool
« on: May 27, 2026, 03:08:37 am »
Hey all,

Long time lurker, first post. Sharing a tool I recently built in case it's useful here.

GerbDiff https://gerbdiff.com/ is a desktop app for diffing Gerber files between board revisions. I got burned too many times with unintended PCB changes making it to fab, so I made this tool to improve the process.

Example app screenshot below. Red is a legacy revision, blue is the new design. White is unchanged between revisions.
2828276-0

Quick feature rundown:
  • Local-only desktop app. Design IP never leaves the local computer.
  • In-house developed gerber parser. Needed to be bulletproof for design validation.
  • Automatic layer detection to make diff generation quick
  • Generate and export diff reports (PNG/HTML). Attach to reviews/PRs as design collateral.
  • Free Github Action so diff reports can be automatically added to PRs without running the tool.

Up front: it's my own commercial product (free 30 day trial). GitHub Action is free regardless.

Would appreciate any/all feedback. Cheers!

Ben
« Last Edit: May 27, 2026, 03:11:29 am by benwoodruff »
 
The following users thanked this post: johnboxall, thm_w, KE5FX

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 9056
  • Country: us
    • SiliconValleyGarage
Re: GerbDiff - PCB Diff Tool
« Reply #1 on: May 27, 2026, 03:58:49 am »
nice ! feature request : when zoomed in,  make the top or bottom silkscreen visible in 50% greyscale. That way we can see the designator of the part where changes happened.

when looking at top layer : show top silkscreen at 50% grey
when looking at bottom layer show bottom silkscreen at 50% grey

n and p cycle through issues. good. but selecting a different layer rests the viewport to "full view"

 Make + and - cycle through copper layers without recentering the viewport: scaling and location should not be altered.

show via holes. useful for via in pad

« Last Edit: May 27, 2026, 04:02:36 am by free_electron »
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 
The following users thanked this post: benwoodruff

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 9056
  • Country: us
    • SiliconValleyGarage
Re: GerbDiff - PCB Diff Tool
« Reply #2 on: May 27, 2026, 04:21:04 am »
bug : in chrome on win11 : when using the scroll-wheel the view zooms in and out , but the page also scrolls up/down ! (using your demo view on your website)

more ideas :

give shortcuts : I/O (in/out) and <HOME> for "view entire board"
Also allow to do rectangle zooming. Scrolling is now left and right mouse button. scrolling : right button only. left button allows to draw zoom rectangle
double-click : recenter viewport to clicked point ( do not alter scaling)

keep a crumbtrail for all operations. pgup/dn can go back to previous view in the stack. allow for like last 5 viewpoints.

or : show a list of differences. just like the layer view: have a list view of the changes. ( you already show a list of differences with a number ). allow user to name the differences. ( a text string adjacent to the number in the list and save that as a text file in the gerber folder.)
« Last Edit: May 27, 2026, 04:32:27 am by free_electron »
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline benwoodruffTopic starter

  • Contributor
  • Posts: 11
  • Country: us
Re: GerbDiff - PCB Diff Tool
« Reply #3 on: May 27, 2026, 04:28:28 am »
Appreciate you diving in and giving some awesome feedback.

Quote
when zoomed in, make the top or bottom silkscreen visible in 50% greyscale
Quote
show via holes. useful for via in pad
I was actually planning a more generic feature that would allow you to toggle visibility (and transparency) for all/individual layers. But I do like your idea of having a quick toggle for silkscreen and PTH/vias to save time.

Quote
Make + and - cycle through copper layers without recentering the viewport
Great idea! Kicking myself for not thinking of that myself.

I'll post back when these features land. Thanks again!
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 9056
  • Country: us
    • SiliconValleyGarage
Re: GerbDiff - PCB Diff Tool
« Reply #4 on: May 27, 2026, 04:33:38 am »
And also show drill changes ! it's not just gerber. sometimes a hole size has changed in an existing pad.

you export to PNG. can you export SVG  ? (scaleable vector) . gerber is already a vector format ... should be doable ...
SVG is easier to inject in publications while preserving quality vs raster images.

also check my bug post for some other ideas
« Last Edit: May 27, 2026, 04:35:20 am by free_electron »
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 9056
  • Country: us
    • SiliconValleyGarage
Re: GerbDiff - PCB Diff Tool
« Reply #5 on: May 27, 2026, 04:36:02 am »
oh .. and space navigator support please. (pan/zoom)
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline benwoodruffTopic starter

  • Contributor
  • Posts: 11
  • Country: us
Re: GerbDiff - PCB Diff Tool
« Reply #6 on: May 27, 2026, 04:41:08 am »
bug : in chrome on win11 : when using the scroll-wheel the view zooms in and out , but the page also scrolls up/down ! (using your demo view on your website)

Thanks for catching this. This is fixed now on the website, give it a hard refresh. Appreciate your further comments on the app features as well, lots of good UX ideas for me to ponder.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 9056
  • Country: us
    • SiliconValleyGarage
Re: GerbDiff - PCB Diff Tool
« Reply #7 on: May 27, 2026, 01:43:27 pm »
none of these should alter zoom level or position: i'm trying to pick letters that have "meaning" and are easy to memorise , or are close together on keyboard ( like Q and W )

T(op) : show top layer and top silkscreen (50%)
B(ottom) : show bottom layer and bottom silkscreen (50%)
X(flip aXis) : mirror view (good to look at bottom side and have the silkscreen not mirrored). No need for Yflip.
<SPACE> : toggle between current view and last view. allows for fast switching between positions.
Q : top mask inspection : show top layer with top soldermask at 50% and silkscreen at 25%
W : bottom mask inspection. show bottom layer with bottom mask at 50% and silkscreen at 25%
R : reset viewport to full screen (alternate for the <HOME> key. <HOME> doesn't work in browsers
* : jump to issue. hitting * and typing a number + <enter> jumps directly to issue #   that allows you to use numerical keypad. *22<enter>  : jump to issue 22

H : toggle holes display on/off

Function to bulk save PNG's. Every issue is saved as PNG. filename = [project filename]-<issue sequence number>-<comment>.PNG. Example P1234567-22-Mask Misalignment.PNG  Projectname was P1234567, issue 22, user provided string was "Mask Misalignment". For the comment see my request to be able to label issues.

Another function that is needed is silkscreen bleed detection. ( silkscreen that overlaps copper or soldermask.) Any silkscreen overlapping soldermask should be flagged.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline partycrashercasey

  • Newbie
  • Posts: 8
  • Country: us
Re: GerbDiff - PCB Diff Tool
« Reply #8 on: May 28, 2026, 04:54:24 am »
This looks pretty sweet, reminds me of some of the fancier features in Altium 360 suite.
Wish I had this back then when I was just dual wielding 2 instances of ViewMate on dual monitors and straining my eyes.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 9056
  • Country: us
    • SiliconValleyGarage
Re: GerbDiff - PCB Diff Tool
« Reply #9 on: June 10, 2026, 10:37:00 pm »
Any updates ?
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->