weld
Merge vertices closer than a given distance to fix doubled vertices and seams after joining parts; optionally restrict to a region.
Instructions
Merge vertices closer than distance metres (empty: 0.0001 m, less on objects under 0.3 m; optionally only those inside where: x, y, z, box). Fixes doubled
vertices and seams after joining parts. For a broken mesh with holes and junk use repair_mesh. A distance wider
than the thinnest faces collapses them and opens the mesh: the call then fails, changes nothing, and names the new
boundary and non-manifold edges, their world box and a smaller distance that is safe. allow_open=true welds anyway
and puts the same report into warning.
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": "weld"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| where | No | ||
| object | Yes | ||
| distance | No | ||
| allow_open | No |