Note: I tried installing plugin into C:\Users\xxxxx\AppData\Roaming\kicad\scripting\plugins and also C:\Program Files\KiCad\share\kicad\scripting\plugins but getting same result in both cases.
Fantastic plugin, I just wish I had discovered it when I started a year ago!
I have come across an error when I try to use with a complex board shape imported from a dxf, if I delete the external outline it is fine so I think it must be related. Looks similar to the error above but I have just updated and it is still present. Iâm on Win 10 x64 & KiCAD 5.1.10 as well. Let me know if there is anything I can do to help debug.
Hi @qu1ck,
thanks for the great plugin. Here are my thoughts after using it a bit:
The character â/â in fields will be stored as â{slash}â in KiCad. The value â100n/50Vâ shows up in the interactive BOM as â100n{slash}50Vâ. Any chance to do a replace before generating the HTML? There are probably more characters that are handled like this in KiCad.
The copy-to-clipboard functionality is handy. Can you extend this feature to only copy the content of a single cell? As of now, I am unable to copy only the part number from the interactive BOM, because selecting (and therefore ctrl+c) the text of a cell seems not possible.
This question was originally posed by #187 anishkgt.
My boards contain both surface mount and through hole components. Of course, I place and reflow all of the surface mount components before placing any through hole ones. I only use iBom while placing the surface mount components and then all of the through hole components in the BOM are a distraction.
An almost equivalent implementation would be to allow SMT and THT components to be black listed at iBom generation time, the way that virtual components are.
Since a footprint is designated as SMT, THT or virtual in the footprint editor, the data should be readily accessible.
Iâve had some reports about this error but it doesnât seem repeatable. If you rerun the plugin does the same error pop up? If you do import wx.grid in scripting console, exit kicad and restart, does the issue still happen?
Kicad restart was needed. This is a weird error, something funky going on in wxpython. The remedy is to ignore it on first use, restart kicad and you shouldnât see it anymore.
I forgot to bump the version in one of the filesâŚ
Add a custom field in eeschema with some different values on different components. Then generate netlist file, open ibom and in fields tab make sure the netlist file is picked up, select the field you added as variant field. You will see the different values you used in the whitelist/blacklist windows. If you select whitelist only components with variant field value on the whitelist will be included in the bom. If you select blacklist, only components with variant field not on the blacklist will be included in the bom.
Iâm trying to give some custom functionality to your plugin and unfortunately I donât know program without a debugger close to me. So I try to run outside kiCad but Iâm becoming crazy with the relative imports ( from . import dialog) and similar things related with packaging.
Do you could give an advice about how you debug the tool?
Thx!
Use CLI mode to debug and add the root of InteractiveHtmlBom module to the classpath of your ide.
IDEA/PyCharm does it automatically if you open the project. You shouldnât have issues with relative imports that way.