Convert a 3D file to GLB, STL or OBJ
convert3dConvert a 3D file to GLB, STL or OBJ. Converts STL, OBJ, PLY, GLB/GLTF, 3MF, STEP or IGES to GLB (metres, Y-up, textures kept; lighter display and preview GLBs for models over 50,000 triangles), binary STL and/or OBJ, re-reads every output and compares triangle count and bounding box with the source, and returns the model's dimensions, volume and parts. Use when: A model has to be shown on the web (GLB), printed (STL) or opened in another program (OBJ), e.g. STEP to STL or 3MF to GLB. Not for: Writing STEP/IGES (exact CAD surfaces); FBX; repairing broken meshes. File types: stl, obj, ply, glb, gltf, 3mf, step, stp, iges, igs. Max 30 MB.
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": "convert3d"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Tool options, if any (see the tool description). | |
| file_url | No | Public https URL of the file (preferred). | |
| filename | No | File name with its extension, e.g. part.step. | |
| file_base64 | No | The file as base64, for small files without a URL (give filename too). |