Files

README.md

BOM tool

This folder contains a single file, bom2groupedCsv.xsl. It can be run through tools->Generate Bill of Materials

Use the command line: xsltproc -o "%O.csv" "C:\Github\SparkFun-KiCad-Libraries\Tools\PROD_ID_Bom_Plugin\bom2groupedCsv.xsl" "%I"

The BOM file will be exported as a .csv to the project folder. When opening this file, use commas as delimiters. If a .csv isn't generated, but a .xml is, make sure that none of your files have any spaces in their names.

The information originally came from a comment by fritsjan, referenced by ContextualElectronics in a video: <![CDATA[]]>https://www.youtube.com/watch?v=9yFZ6PUwKL8<![CDATA[]]>

The file came from this zip:

<![CDATA[]]>KicadBom.zip<![CDATA[]]>

You don't need to install the zip contents as described in the video, just execute the .xsl file with the changed command line. I suspect xsltproc wasn't distribued with earlier versions of KiCad.

Report a bug