compute_cloud_to_mesh_distances
Compute signed distances from a point cloud to a reference mesh to evaluate the deviation between a scan and a CAD model. Outputs a labelled point cloud for inspection.
Instructions
Compute signed distances from a point cloud to a reference mesh (C2M distance). Useful for comparing a scan to a CAD model.
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": {
"mesh_path": "<mesh_path>",
"cloud_path": "<cloud_path>",
"output_path": "<output_path>"
},
"name": "compute_cloud_to_mesh_distances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mesh_path | Yes | Absolute path to the reference mesh (OBJ, PLY, etc.). | |
| cloud_path | Yes | Absolute path to the compared point cloud. | |
| output_path | Yes | Absolute path for the labelled output cloud. |