export_gcode
Slice the current plate and export G-code to a specified file path, bypassing the file dialog for headless automation. Completion is detected when the G-code file appears on disk.
Instructions
Slice the current plate and export G-code to an absolute path.
Sends a single orca-cmd:export:<path> command over the single-instance
DBus channel. Inside OrcaSlicer this slices the current plate and writes the
G-code straight to (Plater::export_gcode_to), bypassing the file
dialog entirely. Completion is detected by the G-code file appearing on
disk. Returns a summary parsed from the generated G-code header.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |