Export STL
onshape_export_stlExport the Part Studio as STL, for 3D printing. The file is in millimetres by default, which is what slicers assume; STL carries no unit, so only change units if the consumer expects otherwise. Measure the model before exporting it.
Instructions
Export the Part Studio as STL, for 3D printing. The file is in millimetres by default, which is what slicers assume; STL carries no unit, so only change units if the consumer expects otherwise. 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 millimeter). | |
| resolution | No | Tessellation quality (default medium). | |
| configuration | No | Encoded configuration string. |