Convert a 3D file
convert_fileStarts a conversion. Give the target (to: a format name such as glb, fbx, obj, stl, ply, dae, usdz, 3mf, or a mesh tool kind from list_tools such as mesh-decimate) and the file as an https link (file_url) or as the file attached to the chat (file). The source format is read from the file name; pass from for a .zip. options are the mesh tool's parameters (for example { targetFaces: 10000, format: "glb" }). Answers with a job id to poll with job_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target format name, or a mesh tool kind from list_tools | |
| file | No | The file attached to the chat | |
| from | No | Source format name; required when the file is a .zip | |
| options | No | Mesh tool parameters | |
| file_url | No | An https link to the file | |
| file_name | No | The file's name with its extension, when the link does not end in one |