Export STEP (a job)
export_stepExport a SAVED project as STEP — real B-rep, not a mesh, for CAD interchange. OCCT takes minutes, so this runs as a JOB: call with projectId to get a jobId, then call again with that jobId alone until status is "done", waiting retryAfterMs between polls (polling faster burns your call budget). A poll reports waitingMs; a job still "queued" after a few minutes is stuck, so stop polling and start a new one. Needs a saved project — run save_project first; it cannot export an inline tree. Pro accounts only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | Fit analytic curved surfaces (cylinders, cones, spheres, tori) instead of flat facets. Default false. | |
| jobId | No | A handle from an earlier call. Send it ALONE to poll. | |
| projectId | No | The saved project to export. Omit when polling. | |
| keepFacets | No | Keep a SET facet count as flat faces: a cylinder, cone, tube or sphere whose side count was set (a hexagonal nut trap, a .scad sphere($fn=8)) exports with the flat faces its STL has, while an automatic count stays a true curved surface. Default true, as in the editor; false exports every round shape curved. |