paya.lib.layouttools#
Interactive layout helpers.
- locatorAtComponentCentre()#
Creates a locator at the center of selected mesh components.
- Instructions
Select some components.
Run.
- Returns
The generated locator transform.
- Return type
- locatorBetweenTwoObjects()#
Creates a locator at the midpoint between two other objects.
- Instructions
Select two objects. These can be transforms, or any Paya type that implements
getWorldPosition()
.Run.
- Returns
The generated locator transform.
- Return type
- distributePositions()#
Distributes transform positions. The start and end transform positions won’t be edited at all.
- Instructions
Select three or more transforms, in the order you want them distributed.
Run.
- aimObject()#
Orients a transform using an ‘aim’ and ‘up’ interest. Aim and up axes are derived from initial orientation.
- Instructions
Roughly orient the ‘slave’ transform.
Select the ‘aim’ interest. This can be a transform, or any Paya type that implements
getWorldPosition()
.Add-select the ‘up’ interest. This can be a transform, or any Paya type that implements that implements
getWorldPosition()
.Add-select the ‘slave’ transform.
Run.