git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Request for advice: visual diffing kicad EDA schematics

From
Jean-Noël AVILA <jn.avila@free.fr>
Date
Aug 31, 2016, 17:05 UTC
Message-ID
<1557694.5M8WYtoMm1@cayenne>
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
Message 1 of 1 in “Request for advice: visual diffing kicad EDA schematics”
  1. Jean-Noël AVILAAug 31, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.