export_assembly
Export an Onshape assembly to STL, STEP, or GLTF. Waits for the translation to complete, then saves the file locally and returns its path, size, and status.
Instructions
Export an Assembly to STL, STEP, or GLTF. Blocks until Onshape finishes the translation, downloads the bytes, and writes them to /tmp/onshape-mcp-exports/. Returns on-disk path, size, and final state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Export format | STL |
| elementId | Yes | Assembly element ID | |
| documentId | Yes | Document ID | |
| workspaceId | Yes | Workspace ID | |
| timeoutSeconds | No | Max seconds to wait for translation | |
| pollIntervalSeconds | No | Seconds between status polls |