I’m drawing at the moment a few pcbs with KiCad and there I have to set for each part the manufacturer number to get a BOM. This is really anoying especially for resistors and capacitors. Therefore I wrote a script to assign to create for each resistor the partnumber with the value in the component and a specific Line of resistors (From a specific manufacturer).
How are you doing something like this?
Maybe we can collect all ideas in this Thread and then I have an idea how the tool should look like.
The idea is to specify the line of resistors (later we can specify properties and all series are checked where the most properties which are selected match) and then the script assigns to each resistor a partnumber if not manually specified (because there migth some resistors which have special requirements).
- How to determine all available resistor lines?
- from digkey, mouser, …?
- How to determine all available resistors in one line?
I found kifield for python with which it is possible to parse the schematic (after v6 is release it can be changed to the official api)