Open Psirus opened 3 months ago
It appears there is a shortcoming in the kinet2pcb utility/library: it only processes a few part fields (like ref and value) when generating a PCB. I'll have to take a look at it.
I don't know if PCBNEW will allow you to update an existing PCB with the netlist having all your custom fields. You may just have to go with generate_netlist()
and then import it into PCBNEW rather than using generate_pcb()
.
I faced the same issue. I think it would be a great feature to have. I am pretty familiar with kinet2pcb code. I can take a look as well and see if I can get it working that way. Let me know Dave. I don't want to do something if you are working on it already.
That would be a great help! If you do this, make your changes to the development
branch of kinet2pcb
.
When I add a field to a part as in the documentation (
lm35.fields['new_field'] = 'new value'
), the field will get exported to the netlist withgenerate_netlist()
, but not to the PCB generated withgenerate_pcb()
.Is there an option I am missing? Alternatively, do you know of a way to update the netlist with the pcbnew python API if I simply export both PCB and netlist from skidl?
By the way,
module 'skidl' has no attribute '__version__'
, but pip says I have version 1.2.3 installed.Lastly, thanks for your work, this is such a cool project.