pcb_export_layers
Export each PCB layer as a separate SVG file with board-area fit, returning file paths for downstream processing.
Instructions
Export one SVG per PCB layer (e.g. F.Cu,B.Cu,Edge.Cuts) and return the generated file paths. Defaults to board-area fit for downstream cropping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | Page sizing: board (board area only), page (framed page), or current | board |
| layers | Yes | Untranslated layer names, e.g. ['F.Cu','B.Cu','Edge.Cuts'] | |
| source | Yes | Board name from config OR path to .kicad_pcb (or sibling .kicad_sch) | |
| output_dir | No | Directory to write SVGs into (default: a per-run temp dir) | |
| black_and_white | No | Plot black and white only |