The default BOM generation script output scatters data into various unaffiliated columns.
In the schematic, not all parts have the same properties and for some parts, the value of the property is left blank.
• Is the default generation script not intended for actual use?
• Is there a standard or popular third-party script which doesn’t choke on parts with non-identical property lists?
After updating to Kicad 7, I was having various issues with the BOM scripts, too. And I’m always hesitant to rely on 3rd party plugins because I never know how long they’ll be supported, etc. I’m not against it, I just usually try to see if I can get by without it first.
Ultimately, I ended up modifying the following script:
At first it was giving problems like those described earlier in this thread (e.g. certain column headings did not match the actual data).
I found an error in line 147 that was causing the data in these columns to be offset by 1 column from the proper heading. Once I made the change shown below, I was able to get the BOM output I needed. Thankfully it was an easy find/fix, as I’m pretty inexperienced with Python.
I do wish the BOM scripts were easier to work with. It would be nice if you could easily select which columns to include & re-order them. I’m sure that’s what the intent was - and an intermediate Python programmer can probably handle it just fine. But a newbie like me can only go so far.