I’ve been working on creating a little tkinter app that does a variety of things, including generating a couple of different BOMs that we need for stocking info and assembly. I’ve hit a bit of a roadblock with netlist generation in Python, as while it seems like Legacy BOM Generator creates the necessary XML, I’ll need to do it myself since I’m trying to run the BOM scripts using a subprocess command. Is there no way to do this currently in Windows (Kicad 8.0)?
I’ve seen some older posts that indicated that this is the case, but I wanted to see if there were any updates that have made it possible to generate netlists without actually going into the schematic editor GUI
I use the Netlist Reader (python code) and my own GUI/Python. I don’t use v8 (I use v7) but, that shouldn’t matter - a quick viewing of the reader-code tells me it is independent of Kicad Version. EDIT: There are a couple of ‘Kicad Time-Stamp’ items in the Reader but, you can easily deal with them…
You should be able to make a Stand-Alone App (I do that) - perhaps you’ve seen my posts…
Certainly, you can review the reader and see elements needed if you want to Hack/Add/Modify it…
If the reader is no longer included in v8, then grab a copy of v7 and you’ll find it in the Scripting folder…
Oh, wow, I think I got a little confused by the CLI documentation. This appears to do exactly what I’ve been hunting for. Gotta implement it, but looks viable. I was under the impression that the command line interface had only been fleshed out for Mac, but I see that I misunderstood and possibly was looking at outdated stuff. Thanks!