measure
Calculate point-to-point or face-to-face distances, or probe along an axis to list crossed faces and gaps for room widths and wall thicknesses.
Instructions
Measure distances. Three modes (provide exactly one): (1) point_a + point_b: straight-line distance. (2) face_id_a + face_id_b (persistent_id values): perpendicular distance from face B's centroid to face A's plane, plus centroid-to-centroid distance. (3) axis + at (+ optional group): a probe line along 'axis' at the given fixed coordinates on the other two axes. Returns every face the line crosses, in order (coordinate, containing group, normal_sign, material), plus the gaps between consecutive crossings — which are room widths and wall thicknesses directly. With 'group', groups nested inside it are scanned too, and each crossing names the innermost group it belongs to, which may be one of those nested groups. All lengths and coordinates are in metres.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Fixed coordinates (metres) on the two axes other than 'axis', e.g. {"y": Y, "z": Z} for axis:"x" | |
| axis | No | Probe direction | |
| group | No | Probe mode only: restrict the scan to this group (recursively); omit to scan the whole model. Found at any nesting depth: a top-level group with this name wins, otherwise the name must be unique in the model (an ambiguous name is refused, listing the matches). | |
| point_a | No | ||
| point_b | No | ||
| face_id_a | No | persistent_id of the reference face | |
| face_id_b | No | persistent_id of the other face |