Import BOM information from KiCad and match it with existing parts in PartsBox with a CSV file that is generated by this python script.
git clone git@github.com:hutscape/kicad-partsbox-import.git
-
Ensure your KiCad project has
*.xml
file -
Run the python script
$ python main.py PATH_TO_KICAD_XML.xml OUTPUT_FILENAME.csv
-
Ensure
OUTPUT_FILENAME.csv
has the header as the following:"Id";"Designator";"Package";"Quantity";"Designation";"Supplier and ref";
-
Ensure the column Designation (from KiCad) is the same as column Part in PartsBox. E.g. MPN is matched here:
"Id";"Designator";"Package";"Quantity";"Designation";"Supplier and Ref" "7";"D4, D5, ";"Passives_0805:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder";"2";"17-215UYC/S530-A3/TR8";"LED: Light emitting diode"