Export CAD format
onshape_exportExport Onshape CAD documents to STEP, IGES, 3MF, PARASOLID, SOLIDWORKS, and other formats using server-side translation. Use when you need precise CAD exchange instead of STL.
Instructions
Export through Onshape's translation service: STEP, IGES, 3MF, PARASOLID, SOLIDWORKS and others. Slower than STL because the translation is queued server-side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ws | Yes | Workspace id — the <ws> segment of the document URL. | |
| doc | Yes | Document id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>. | |
| out | No | Output file path (default onshape-<timestamp>.<format> in the output directory). | |
| elem | Yes | Element id (tab) — the <elem> segment of the document URL. | |
| kind | No | Element kind being exported (default partstudios). | |
| format | No | Format name, e.g. STEP, IGES, 3MF, PARASOLID (default STEP). | |
| configuration | No | Encoded configuration string. |