Miscellaneous utilities for Kicad
The kicad_unified_bom_xyrs.py
script generates a unified bill of materials that reads MFR and MPN fields from schematic components (via XML netlist) and puts them on the same line as XYRS placement data read from PCB file.
This has been tested with PCB:NG to create a one shot BOM + Placement file to upload with gerbers in the same zip file.
- Place
MFN
(manufacturer) andMPN
(manufacturer part number) fields in each and every schematic part. - (Optional) Add a
Config
field and set it toDNF
for parts you don't want fitted (aka Do Not Fit) - Generate a netlist, import the net list and layout the PCB as you normally would.
- Set the
Normal+Insert
property on parts you want placed or they won't have XYRS data. - Add a BOM plugin specifying the path to
kicad_unified_bom_xyrs.py
file. - Automagically find a unified BOM + XYRS in the gerber
output_directory
set in the PCB file.