merge_vertices
Merge vertices in an STL file that are closer than a specified tolerance to reduce file size and improve mesh quality.
Instructions
Merge vertices in an STL file closer than the specified tolerance
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": {
"stl_path": "<stl_path>"
},
"name": "merge_vertices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stl_path | Yes | Path to the STL file | |
| tolerance | No | Max distance to merge (mm, default: 0.01) |