measure_distance
Calculate the minimum distance in millimeters between two entities or points, returning the closest points on each for dimension checks and clearance analysis.
Instructions
Minimum distance between two entities or points, in mm.
Each operand is a ref from another tool or a point [x, y, z] in mm. Returns {"distance_mm", "point_a_mm", "point_b_mm"}: the closest points on each operand (null when Fusion does not report them).
Example: measure_distance(a="", b="") -> height.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | An entity ref (e.g. a face, edge, vertex, body, origin:XY) or a point [x, y, z] in mm | |
| b | Yes | An entity ref (e.g. a face, edge, vertex, body, origin:XY) or a point [x, y, z] in mm |