merge_vertices
Combine duplicate or near-coincident vertices in an STL file within a specified tolerance to repair mesh geometry before slicing or 3D printing.
Instructions
Merge vertices in an STL file that are 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 to modify. | |
| tolerance | No | Maximum distance between vertices to merge (in mm, default: 0.01). |