Convert CAD file
convert_cadConvert a file opened with inspect_cad to STEP, STL or GLB and return a download link that expires in 30 minutes. STEP is a solid B-Rep when the source was read exactly; otherwise it is a triangulated STEP that CAD software cannot edit as a solid. STL and GLB are always triangulated meshes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The ref from an inspect_cad result. An upload_ticket is not a ref. | |
| target | Yes | Output format: step (CAD B-Rep or mesh STEP), stl (triangle mesh), or glb (glTF binary mesh). | |
| step_kind | No | Only for target=step: auto picks solid B-Rep when the source was exact else mesh STEP; solid forces B-Rep; mesh forces triangulated STEP. | auto |
| wait_seconds | No | Seconds to wait for conversion to finish before returning status=running, 0–20, default 15. |