threads / discuss / 43970

Request for advice: visual diffing kicad EDA schematics

Subject: Request for advice: visual diffing kicad EDA schematics

## tl;dr

One message between Aug 31, 2016 and Aug 31, 2016.

replies: 0people: 1as markdown or json

Jean-Noël AVILA· Aug 31, 2016, 17:05 UTC · lore
Hi all,

I would like to be able to visually see the differences between two versions of schematic sheets of a kicad project.

Kicad file format is ascii based, which allows to generate text diff between versions of schematic files. However, except for adding and removing components, when the modified lines refer to drawing primitives, it isn't obvious what has changed.

Schematic file format differs from text picture formats (e.g. svg, pnm) in that the schematics is made of an assembly of lines, texts and references to electronic parts whose symbols are stored in external library files. Hopefully, for each project, Kicad stores a local cache library of all the parts used in the project, so the project directory is self contained.

But of course, to be able to plot a schematic sheet, you need the schematic sheet file and the project cache library at the same version, which defeats the custom diff mechanics of git that can be used for plain pictures.

My questions:
 * Does this sound familiar to any body ?
 * Is there some hook in git to deal with this or will I have to roll my own 
utility? In which case, would you advise to use git porcelain or libgit binded 
to a favorite script language?
Thanks in advance for all information.
Jean-Noël

← back to recent threads