I’m wondering if you have an example Python script laying around that creates a PCB file? I need some basic stuff to get started. Like creating the PCB file, place a track with a certain net name and probably how to generate a net list.
Background is that I have a XML format of a PCB and want to convert the basic elements into a Kicad PCB.
I didn’t know about SKiDL but it does not help in my case as I want a Kicad PCB format, such that I can run all the native Kicad tools on the PCB. My questions is related to Is there a way to view XDFZ files? .