Model - Axis functions
Every function callable as Axis.* inside an expression — an argument input, a parameter binding, a table cell. Pure: no side effects, no async.
| Function | Returns | Description | Arg | Type | Meaning |
|---|---|---|---|---|---|
Axis.direction(axis) | vector | The axis's unit direction. | axis | axis | the axis |
Axis.fromPointDirection(origin, direction) | axis | Directed half-line from origin along a unit direction. | origin | point | pointEntity | the axis's origin |
direction | vector | the axis's direction (normalized; magnitude dropped) | |||
Axis.fromTwoPoints(from, to) | axis | Axis from one point through another (direction normalized). | from | point | pointEntity | the axis's origin |
to | point | pointEntity | a second point the axis passes through | |||
Axis.origin(axis) | point | The axis's origin point. | axis | axis | the axis |
Axis.pointAt(axis, distance) | point | Point on the axis at a distance from the origin. | axis | axis | the axis |
distance | length | arc-length distance from the origin |