Export STEP
export_stepExports selected FreeCAD objects—or all Part objects—from a document to STEP format, accepting an optional output path inside the workspace.
Instructions
Export selected objects from a document to STEP format. If "object_names" are provided, only those objects are exported; otherwise all Part objects in the document are exported. The default output path is <workspace>/<document_id>.step, but a custom path may be supplied (must remain within the controlled workspace).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | Whether the export completed without error. | |
| step_path | Yes | Absolute path to the exported STEP file. | |
| document_id | Yes | Validated document identifier. | |
| exported_count | Yes | Number of objects exported. |