compare_mesh_versions
Compare two mesh files to quantify geometric changes—volume, surface area, dimensions, center of mass, and Hausdorff distance—and verify whether repairs or rescaling improved the model.
Instructions
Compare two mesh files and report geometric differences.
Computes volume change, surface area change, dimension deltas,
center-of-mass shift, the mesh-check delta, and an approximate
Hausdorff distance showing how far the meshes differ spatially.
Useful for verifying that a repair, rescale, or regeneration
actually improved the model.
:param file_a: Path to the reference (original) mesh.
:param file_b: Path to the modified mesh.
:returns: Dict with comparison metrics and ``meshes_identical`` flag.
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": {
"file_a": "<file_a>",
"file_b": "<file_b>"
},
"name": "compare_mesh_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_a | Yes | Path to the reference (original) mesh. | |
| file_b | Yes | Path to the modified mesh. |