Export Sch Dxf
export_sch_dxfExport each page of a KiCad schematic to a separate DXF file, with options for theme, drawing sheet, fonts, and page selection.
Instructions
Export a schematic to DXF via kicad-cli (sch export dxf), one DXF per page into a directory. Exposes drawing-sheet override, theme, black-and-white, exclude-drawing-sheet, default-font, and page selection. schematicPath is REQUIRED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Comma list of page numbers to print (blank = all pages) | |
| theme | No | Color theme to use (default: schematic settings) | |
| defineVar | No | Project variable overrides as 'KEY=VALUE' strings | |
| outputDir | Yes | Output directory for the DXF files | |
| defaultFont | No | Default font name | |
| drawingSheet | No | Path to a drawing sheet override | |
| blackAndWhite | No | Black and white only | |
| schematicPath | Yes | Path to the .kicad_sch (required) | |
| excludeDrawingSheet | No | No drawing sheet |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |