How do I generate a BOM?

Created by Dick Hollenbeck on on 2013-05-15
Keywords:
BOM
Last updated by:
Dick Hollenbeck on on 2013-05-15

How do I generate a BOM?

Read chapter 14 of this document:

http://bazaar.launchpad.net/~kicad-developers/kicad/doc/download/head:/1115%4016bec504-3128-0410-b3e8-8e38c2123bca:trunk%252Fkicad-doc%252Fdoc%252Fhelp%252Fen%252Feeschema.pdf/eeschema.pdf

It shows how to use the intermediate netlist and post-process it. It may be post-processed using any external tool. Currently the best supported tool is xsltproc and a stylesheet, as described in chapter 14. There are also a number of post-processing scripts written in Python which are distributed with the KiCad installation. Some may do database lookups as part of the BOM generation process.

You are free to use the basic xsltproc stylesheet as is, and this will create a CSV file suitable for loading into a spreadsheet. Or you can use a python script and extend it to meet your individual needs.