Export Odb
export_odbExports PCB designs to ODB++ format for CAM, MES, and assembly. Creates a single archive with copper, drill, placement, components, nets, and outline from the saved board file.
Instructions
Export the PCB in ODB++ format via kicad-cli. Single job archive (copper, drill, placement, components, nets, outline) widely used by CAM/MES/assembly. Reads the last SAVED state of the .kicad_pcb.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Units (default mm) | |
| boardPath | No | Path to the .kicad_pcb (default: current board) | |
| defineVar | No | Project variable overrides as 'KEY=VALUE' strings | |
| precision | No | Coordinate precision (default 2) | |
| outputPath | Yes | Output file path (archive or directory per compression) | |
| compression | No | Output container/compression mode (default zip) | |
| drawingSheet | No | Path to a drawing sheet override |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |