-
Notifications
You must be signed in to change notification settings - Fork 92
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
Generate BOM with all parts except those with 'dnp' in fit field #167
Comments
@SchrodingersGat Oh, I forgot to mention. The .ini file I am using has fit_field = fit_field, not like in the default configuration with fit_field=Config. |
Ah, ok. Can you test with the default "Config" field? It should work, independent of what the field (column) is actually called, but perhaps there's a bug there... |
@SchrodingersGat |
Hi @EeEmDee ! Try: You'll see only R1, R2 and R3 are included. Most of the excluded components uses This example doesn't need a .ini file, uses the default |
Hi @set-soft, same problem. I have attached a minimal working example. There is no config file attached, so kibom will execute with default settings. When you execute |
Hi @EeEmDee ! Ok, now I see what you want. You want to disable the variants mechanism and only filter by DNP. Here are some ways to do it:
|
Hi @set-soft, thanks for the response. The solutions seem reasonable, though for me they are not viable, because there is a certain infrastructure already built and if I would apply the changes as you proposed, then everything would go to hell lol. I'm hoping that maybe the maintainer (@SchrodingersGat) could add the feature? Maybe as a setting in the config file. If not, then maybe I will fork the repo and code it myself. |
Hello there,
I want to generate a BOM where basically all parts are included, except those which are marked with 'dnp'.
As an example lets say we have some parts defined as follows:
In my BOM I would like to get R2, R3, R4 and R5. Only R1 and R6 would be left out.
As of now I tried to play with the config file, but there is only the option to include all parts and the dnp parts or to exclude anything, that doesn't have an empty fit_field.
I also wrote a script, where I had the idea to just use the -r option and put all available variants on the schematic in there, but then parts marked with a '-' would be also excluded. In the example above it would be R5.
What would be the a good way to get the desired behaviour?
Help would be appreciated :)
The text was updated successfully, but these errors were encountered: