feat: add export_gerber_single tool (kicad-cli, single-file Gerber)

New MCP tool `export_gerber_single` wrapping `kicad-cli pcb export gerber`:
plots the selected layers to a SINGLE Gerber file (singular sibling of
export_gerbers). Exposes the full single-file Plot option set (X2, netlist
attributes, the four DNP fab-layer modes, soldermask subtraction, aperture
macros, drill-file origin, precision, Protel extension). Reads the saved
.kicad_pcb. Note: this subcommand is deprecated in KiCad 9.0 (still exits 0).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Gavin Colonese
2026-06-12 10:57:35 -04:00
parent ce6cff1b39
commit 0faef07650
3 changed files with 169 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ export const toolCategories: ToolCategory[] = [
"export_pcb_pdf",
"export_pcb_svg",
"export_pcb_dxf",
"export_gerber_single",
"export_pdf",
"export_svg",
"export_3d",