Skip to content
Shapemetry

@huukhanhnguyen/model / nodeMethods/boundsValue

nodeMethods/boundsValue

center()

center(target): Point

Center of the target's world bbox — sugar for point(target, 0.5, 0.5, 0.5).

Parameters

target

unknown

Returns

Point


point()

point(target, sx, sy, sz): Point

Point at a normalized position within the target's world bbox: min + s * (max - min) per axis. s values are free reals but 0/0.5/1 are the canonical 27-point lattice (corners, edge/face midpoints, center).

Parameters

target

unknown

sx

number

sy

number

sz

number

Returns

Point


size()

size(target): Vector

Size (dx, dy, dz) of the target's world bbox.

Parameters

target

unknown

Returns

Vector

Last updated: 📖 1 min readEdit on GitHub