Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fields are not exported to PCB #222

Open
Psirus opened this issue Aug 20, 2024 · 3 comments
Open

Fields are not exported to PCB #222

Psirus opened this issue Aug 20, 2024 · 3 comments
Labels

Comments

@Psirus
Copy link

Psirus commented Aug 20, 2024

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 with generate_netlist(), but not to the PCB generated with generate_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.

@Psirus Psirus added the bug label Aug 20, 2024
@devbisme
Copy link
Owner

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().

@tapegoji
Copy link

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.

@devbisme
Copy link
Owner

That would be a great help! If you do this, make your changes to the development branch of kinet2pcb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants