Comments (4)
The CLI help has some info (it's also on the wiki in usage page).
In short, that feature is used for board variants. You choose a field that contains variant name and the whitelist/blacklist will get populated with various values that your variant field has. You can then choose whitelisted variants (only components that have field set to one of the whitelisted values will be in the bom) or blacklisted variants (only components that don't have one of the blacklisted values will be in the bom).
You can also use it for other things like filtering out the tht/smd if you add a field for that and select it as variant.
from interactivehtmlbom.
OOOoooh... I get it now. Somehow I didn't realize this was associated with the Variant feature (which I had not previously tried).
I now see that if I establish a particular field on components, and provide it with a value from some limited set of values, then this feature can filter those components.
OK, checkmark that value in the whitelist to include, checkmark blacklist to exclude.
Is there some particular logic when a value has a checkmark for both whitelist and blacklist. Or neither?
I see that filtering applies to the BOM table, but it does not seem to operate on the board image, where all components seem to appear regardless, is this right?
Here's our use case: we highly favor the image of the board showing only the footprints of components pertaining to a selected variant, and omitting any other components.
One particular problem where that clarity is important is when the components of alternative variants occupy the same space on the board. For example we have a number of boards that contain alternative power supplies (say for Mains input, or 12VDC etc) that should be populated with one or another set of components.
The two (or more) sets of components occupy different sets of footprints, but those footprints all occupy the same board region, with one set of footprints overlapping the other set of footprints. Part of the point of a variant-specific BOM and board image (which we currently make partly manually) is to make absolutely clear which footprints are to be populated, and which not. Graphics from the other overlapping components irrelevant to the particular build are a significant distraction.
Anyhow, hopefully this use case provides some input for future consideration. Thanks.
from interactivehtmlbom.
Is there some particular logic when a value has a checkmark for both whitelist and blacklist. Or neither?
Whitelist takes precedence. There is no reason to use whitelist and blacklist at the same time.
I see that filtering applies to the BOM table, but it does not seem to operate on the board image, where all components seem to appear regardless, is this right?
Yes, that is intentional, like I mentioned in the other issue, board render is supposed to always show what the board actually looks like. Use "mark when checked" and "dnp outlined" features in html to affect rendering.
from interactivehtmlbom.
OK, thanks for your answer.
from interactivehtmlbom.
Related Issues (20)
- User Header Misalignment HOT 3
- Adding "kicad_dnp" for --show-fields creates exception in ibom.py line 166
- CLI Execution for Eagle Board Files HOT 3
- Add setup.cfg/.py and post to PyPi HOT 1
- UX issue: Mousover highlighting parts of row. HOT 1
- Show when parts are populated HOT 1
- problem with HTML BOM plug-in, when I use it on the V7.99 version HOT 2
- Feature Request: Clear all Sourced / Placed flags at once HOT 2
- Include tracks/zones not working. HOT 3
- Ibom is summarizing components with the same value, but different part number HOT 5
- Filter on multiple schematic sheets HOT 1
- Configurable keyboard bindings HOT 1
- Support for Altium Designer is recommended 建议对Altium Designer支持 HOT 1
- IBOM isn't rendering correctly on iOS devices HOT 2
- Feature Request: Additional fields in the board image HOT 5
- kicad: dnp has no effect on Fab layers HOT 3
- Board Heatmap Feature HOT 2
- "Highlight first pin" option is cluttered in macOS HOT 2
- render.js function calls HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from interactivehtmlbom.