Houdini 22.0 Nodes APEX nodes

component::PlaceSpline

Places the control transforms of a spline based on the curvature of a joint chain.

On this page
Since 22.0

Derives a control spline (Bezier or B-Spline) from the world space transforms of an underlying skeleton chain and resamples the spline to fit the number of given control transforms. This is a common pattern for creating stable, auto-generated control rig poses, for example, for IK/FK matching spine controls or initializing the control positions for a spline rig setup.

Inputs

control_xforms: Matrix4Array

An array of existing 4×4 control transforms that are updated with the new spline positions. The length of this array determines the number of resampling segments.

skeleton_xforms: Matrix4Array

An array of 4×4 world space transforms that represent the joints whose curvature dictates the new spline shape.

splinetype: Int

The type of control spline to generate. 0: B-Spline (default), 1: Bezier.

order: Int

The order of the generated spline. Default is 3 (Cubic).

Outputs

xforms: Matrix4Array

The updated control transforms positioned along the generated spline.

arclen: Float

The total arc rest length of the driven spline.

See also

APEX nodes