Public command
fab
Generate analytic Gerber X2/X1, Excellon NC drill, IPC-2581 Rev B, Pick-and-Place, BOM, pure-Python Micro-STEP, and all 17 virtual fab layers from KiCadFabView.
Usage
kicad-cruncher fab board.kicad_pcb
kicad-cruncher gerbz board.kicad_pcb --virtual-layers CUTOUTS,PIN1_TOP,DIODES_TOP
kicad-cruncher ipc2581 board.kicad_pcb -o output/ipc2581
kicad-cruncher fab board.kicad_pcb --micro-step --pnp --bomArguments
file accepts .kicad_pcb or .kicad_pro (auto-detected when omitted in a directory containing a single board/project). Aliases gerbz and ipc2581 select Gerber/Drill or IPC-2581B workflows directly. When no sibling fab.jsonc exists, kcr fab writes a commented default template beside the board. The shared virtual_layers block in fab.jsonc is also inherited by sibling kcr vdoc, kcr pcb-svg, and kcr toon runs.
Output
Writes Gerbers and Excellon NC drills under output/fab/gerbers/, IPC-2581B .cvg under output/fab/ipc2581/, PnP/BOM CSV under output/fab/assembly/, Micro-STEP under output/fab/step/, and a structured <stem>.fab-report.json summary.