Export Sch Hpgl
export_sch_hpglExport KiCad schematic pages to HPGL plot files using kicad-cli. Specify schematic path, output directory, page selection, pen size, and drawing sheet options for precise plotting.
Instructions
Export a schematic to HPGL via kicad-cli (sch export hpgl), one plot per page into a directory. Exposes drawing-sheet override, exclude-drawing-sheet, default-font, page selection, pen size, and the origin/scale mode. schematicPath is REQUIRED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Comma list of page numbers to print (blank = all pages) | |
| origin | No | Origin and scale: 0 bottom left, 1 centered, 2 page fit, 3 content fit | |
| penSize | No | Pen size in mm (default 0.5) | |
| defineVar | No | Project variable overrides as 'KEY=VALUE' strings | |
| outputDir | Yes | Output directory for the HPGL files | |
| defaultFont | No | Default font name | |
| drawingSheet | No | Path to a drawing sheet override | |
| schematicPath | Yes | Path to the .kicad_sch (required) | |
| excludeDrawingSheet | No | No drawing sheet |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |