← Back to team overview

kicad-developers team mailing list archive

Re: Back annotate references from PCB

 

Brian here.

My utility is up on GitHub as a standalone app. I learned enough c++ and wxWidgets so porting it to Kicad should be useful.

I set porting it to Kicad itself to the side for a few months so I could catch up with life and since it is destined for V6 (IIRC) I have some time.  While there is a lot of code in Kicad and lots of moving parts I have a clear path to porting it over using Kiway, etc.. Essentially this means 

1) Replacing my homebrew parsing of PCB, Schematic, and netlist files to calls to internal Kicad functions/methods in the respective apps;
2) Once this is done I’ll use Kiway to communicate the changes between eeSchema and PCBNew.

As near as I can determine, everything I need to extract from the files is already in Kicad.

When I set things aside I was trying to figure out what I needed to do in order to add a toolbar call in Tools to access my code. Since there seems to be numerous files associated with such a change I found it rather daunting.

If anybody wants to help they are welcome to reach out to me directly. 

Brian


From: Ian McInerney
Sent: November 6, 2019 9:08 AM
To: KiCad Developers; jasuramme@xxxxxxxxx
Cc: Brian Piccioni
Subject: Re: [Kicad-developers] Back annotate references from PCB

I thought that was part of the connectivity stuff that Jon was working on (it certainly wasn't me, and I don't know if there is another Ian contributing code right now). I remember seeing some email threads on real-time updates to the information in Eeschema.

The wishlist item that Wayne mentioned is [1]. Brian filed that a while ago because he had created a tool to do the back annotation based on the geography of the board. I don't know where he is with porting it into the KiCad codebase right now, but you should definitely reach out to him and coordinate work so that you don't duplicate effort.

-Ian

[1] https://bugs.launchpad.net/kicad/+bug/1748205

On Wed, Nov 6, 2019 at 1:47 PM Simon Richter <Simon.Richter@xxxxxxxxxx> wrote:
Hi,

On Wed, Nov 06, 2019 at 08:26:52AM -0500, Wayne Stambaugh wrote:

> > May I implement some back annotation feature from PCB to schematic?

> You are welcome to contribute to KiCad.  I suspect it will not be as
> easy as you think it will be.  Complex schematic hierarchies (using the
> same schematic more than once in a design) always trips up new developers.

I dimly remember that there was some work (Ian did that IIRC) to make the
netlist the master document and attach the schematic and PCB information to
that, with a first patch to keep the netlist up-to-date continuously.

It would probably make sense to join that effort, because any other
solution would conflict heavily with that.

   Simon

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Follow ups

References