validate_mesh_invariants
Validates 3D triangular mesh invariants (C1–C10)—watertightness, 2-manifoldness, sliver threshold, winding, genus, and body count—to catch geometry defects before downstream use.
Instructions
Deterministic validation of 3D triangular mesh invariants (checks C1-C10) including watertightness, 2-manifoldness, quantum sliver threshold, and normal winding.
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": {
"vertices": "<vertices>",
"faces": "<faces>"
},
"name": "validate_mesh_invariants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| faces | Yes | List of [i0, i1, i2] vertex index triplets. | |
| genus | No | Expected genus/through-holes (default: 0). | |
| bodies | No | Expected number of disjoint bodies (default: 1). | |
| vertices | Yes | List of [x, y, z] coordinate triplets. |