Difftool for schematic and pcb

Bug #1774887 reported by Thomas Pointhuber
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
KiCad
Triaged
Wishlist
Unassigned

Bug Description

To proper handle multi-user editing of schematics/pcb's/symbols/footprints it is important to have the possibility to review the changes.

One easy but still powerful approach to show geometric changes is the addition of a graphical diff. The most basic implementation would simply render layer-per-layer and checks for changed pixels. A more advanced approach would do a per-net diff I think, which would allow us to visualize for example tracks overlaying previous tracks way better.

Existing 3rd-party programs:

* https://github.com/Gasman2014/KiCad-Diff
* https://neo900.org/git/eeshow
* https://github.com/madworm/KiCad-Stuff/tree/master/scripts/visual-diffs_on_gerber-files
* https://jnavila.github.io/plotkicadsch

description: updated
Changed in kicad:
importance: Undecided → Wishlist
Revision history for this message
Jeff Young (jeyjey) wrote :

Big feature, but it would be really cool.

Changed in kicad:
status: New → Triaged
description: updated
Revision history for this message
Jeff Young (jeyjey) wrote :
Revision history for this message
Thomas Pointhuber (pointhi) wrote :

My diff tool implementation:

https://github.com/pointhi/kicad-python/blob/master/examples/pcbnew_diff/pcbnew_diff.py

in contrast to other difftools this is 100% KiCad based (no external dependencies for polygon operations) which makes it suitable as reference-implementation of an upstream diff-tool.

Revision history for this message
Leandro Heck (leoheck) wrote :

For schematics, I tested the https://github.com/jnavila/plotkicadsch
It works.

Thomas, that is cool. I want to give a try on yours too.

Also, I want to test something for the layout but I didn't have time yet.

Revision history for this message
Thomas Pointhuber (pointhi) wrote :
Revision history for this message
Thomas Pointhuber (pointhi) wrote :

And some blog post related to EDA diffs:

* https://www.evilmadscientist.com/2011/improving-open-source-hardware-visual-diffs/

I really like the way the pcb-diff looks in this post: https://www.flickr.com/photos/oskay/6193638191/in/photostream/

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.