Kicad Export
kicad_exportExport KiCad schematics and PCBs to PDF, SVG, netlist, BOM, gerbers, drill, STEP, or DXF via kicad-cli; set target, layers, and outdir for fab and docs.
Instructions
Export a KiCad file via kicad-cli. For .kicad_sch: target in {pdf, svg, netlist (kicadxml), bom}. For .kicad_pcb: target in {gerbers, drill, pdf, svg, step, dxf}. layers: optional comma-separated layer list for pcb svg/gerbers (e.g. 'F.Cu,F.SilkS,Edge.Cuts'; gerbers defaults to the standard fab stack). pcb svg uses --mode-single --fit-page-to-board --exclude-drawing-sheet. gerbers/drill write files into outdir (directory); other targets write into outdir. Returns the export command result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| layers | No | ||
| outdir | No | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |