decimate
Reduce triangle count of a 3D model by collapsing vertices or dissolving planar faces to optimize geometry for rendering or export.
Instructions
Reduce the triangle count. collapse: merges vertices to reach ratio (0..1 of the current triangles) or
target_tris; it can distort shapes and UVs, so check with compare_view afterwards. planar: dissolves flat faces
whose neighbours differ less than angle degrees (cleans up subdivided flat surfaces without changing the shape).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"object": "<object>"
},
"name": "decimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | collapse | |
| angle | No | ||
| ratio | No | ||
| object | Yes | ||
| target_tris | No |