export_schematic
Export KiCad schematics to PDF, SVG, or DXF for documentation and sharing. Specify a .kicad_sch file and output directory; SVG creates one file per sheet.
Instructions
Export schematic to PDF, SVG, or DXF format.
pdf and dxf produce one file, so path names it and size_bytes is filled.
svg produces one file per sheet, so path names the directory. files and
count are filled either way.
Args:
format: Output format - "pdf", "svg", or "dxf"
schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.
output_dir: Directory for output files. Optional; omit to use the configured default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ||
| output_dir | No | ||
| schematic_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| count | Yes | ||
| files | Yes | ||
| format | Yes | ||
| size_bytes | No |