compare_mesh_versions
Compare two mesh files to identify geometric differences. Reports volume change, surface area, dimension deltas, and Hausdorff distance to verify model improvements.
Instructions
Compare two mesh files and report geometric differences.
Computes volume change, surface area change, dimension deltas,
center-of-mass shift, printability 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_a | Yes | ||
| file_b | Yes |