Export STL
onshape_export_stlExport an Onshape Part Studio as an STL file for 3D printing. The tool measures the model before exporting to ensure correct dimensions.
Instructions
Export the Part Studio as STL, for 3D printing. Measure the model before exporting it.
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>.stl in the output directory). | |
| elem | Yes | Element id (tab) — the <elem> segment of the document URL. | |
| ascii | No | Write ASCII STL instead of binary. | |
| units | No | STL units (default inch). | |
| resolution | No | Tessellation quality (default medium). | |
| configuration | No | Encoded configuration string. |