Model - Bounds functions
Every function callable as Bounds.* inside an expression — an argument input, a parameter binding, a table cell. Pure: no side effects, no async.
| Function | Returns | Description | Arg | Type | Meaning |
|---|---|---|---|---|---|
Bounds.center(target) | point | Center of the target's world bounding box. | target | entity | entity[] | a node reference (curve/face/point entity, or a container's entities) |
Bounds.point(target, sx, sy, sz) | point | Point at a normalized position in the target's world bounding box — 0/0.5/1 is the canonical 27-point lattice (corners, edge/face midpoints, center). | target | entity | entity[] | a node reference (curve/face/point entity, or a container's entities) |
sx | number | normalized X position in the bbox (0=min, 0.5=center, 1=max) | |||
sy | number | normalized Y position in the bbox (0=min, 0.5=center, 1=max) | |||
sz | number | normalized Z position in the bbox (0=min, 0.5=center, 1=max) | |||
Bounds.size(target) | vector | Size (dx, dy, dz) of the target's world bounding box. | target | entity | entity[] | a node reference (curve/face/point entity, or a container's entities) |