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

Export doesn't support the “Exclude from BOM” and “Exclude from position files” options #9

Open
rhard opened this issue Oct 19, 2022 · 7 comments

Comments

@rhard
Copy link

rhard commented Oct 19, 2022

Please support the above-mentioned options so the BOM will not be populated with unneeded components. You can check the JLC repository for a solution: https://github.com/bennymeg/JLC-Plugin-for-KiCad/blob/master/plugins/process.py

 if not footprint.GetAttributes() & pcbnew.FP_EXCLUDE_FROM_POS_FILES:
 if not footprint.GetAttributes() & pcbnew.FP_EXCLUDE_FROM_BOM:

image

@pcbway
Copy link
Owner

pcbway commented Feb 15, 2023

Hi,We have updatd the plugin for version 7,the problem could be solved

@accsysorg
Copy link

I had the same issue, and have fixed it. I can't push the code change, but you just need to add the following at line 111 in process.py:

if placed == True:

Then include the for and if statement underneath in the conditional block.

@chibiconsulting
Copy link

Still an issue in KiCad v8.0.4 with plugin v1.0.0.

@pcbway
Copy link
Owner

pcbway commented Sep 3, 2024

Could you tell me the detail issue?

@chibiconsulting
Copy link

Sure, see T-1P17W321128A. Simple circuit, LED, Resistor & Pin header.
Pin header has "Exclude from bill of materials" checked.
Issue9-DNP
Pin header is included in BOM:

Designator Quantity Value Footprint Package
D1 1 LED LED_0603_1608Metric smt
J1 1 Conn_01x02 PinHeader_1x02_P2.54mm_Vertical tht
R1 1 100 R_0603_1608Metric_Pad0.98x0.95mm_HandSolder smt

@pcbway
Copy link
Owner

pcbway commented Sep 3, 2024

Hi
I get it,thanks very much. I have asked the engineer evalute it.
Now if you choose DNP,it will show in the bom.
But if choose exclude from bill of materials,it will not show it.Thanks for the feedback.

@pcbway
Copy link
Owner

pcbway commented Sep 5, 2024

Before we fix the problem,you could choose DNP,so our sale will not make quotation for the component

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

No branches or pull requests

4 participants