export_part_studio
Exports Onshape Part Studio parts to STL, STEP, PARASOLID, GLTF, or OBJ. Blocks until translation finishes, downloads the file, and returns the local path, size, and status.
Instructions
Export a Part Studio to STL, STEP, PARASOLID, GLTF, or OBJ. Blocks until Onshape finishes the translation, downloads the bytes, and writes them to /tmp/onshape-mcp-exports/. Returns the on-disk path, size, and final state so the user can open the file. Raises an explicit error on FAILED or timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Export format | STL |
| partId | No | Optional specific part ID to export | |
| elementId | Yes | Part Studio element ID | |
| documentId | Yes | Document ID | |
| workspaceId | Yes | Workspace ID | |
| timeoutSeconds | No | Max seconds to wait for translation | |
| pollIntervalSeconds | No | Seconds between status polls |