export_fab
Generate Gerber, drill, and pick-and-place files from a KiCad board using kicad-cli, and list written outputs with sizes and hashes. Requires a saved .kicad_pcb file.
Instructions
Produce fabrication files with kicad-cli and list exactly what was written, with sizes and hashes. Reads the board file on disk: save in KiCad first if it has unsaved changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Multi-page PDF of copper, silkscreen and edge layers. | ||
| step | No | STEP 3D model; slow, needs resolvable 3D models. | |
| drill | No | ||
| layers | No | Gerber layers, e.g. F.Cu,B.Cu,Edge.Cuts; default is the board's plot settings. | |
| gerbers | No | ||
| position | No | Pick-and-place CSV in mm, both sides. | |
| board_path | Yes | A .kicad_pcb file, absolute or relative to the workspace. | |
| output_dir | No | Output directory; default 'fab' next to the board. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| skipped | No | ||
| commands | No | ||
| warnings | No | ||
| duration_s | Yes | ||
| output_dir | Yes |