Add Body Rig Chain
tb.ops.bodyrig.chain_add(
*,
role: Literal["arm", "leg", "hindLeg", "frontLeg", "spiderLeg", "neck", "tail", "chain"],
start: str,
end: str,
side: Literal["L", "R", "C"] = ...,
name: str = ...,
) -> Result
Add a chain to the body rig's chain setup from its start joint down to its end joint. Its role sets its solver and settings (arm and leg: Two-Bone; hind leg: Spring with the Z fold; front leg: Spring riding its paw; spider leg: Two-Bone with rigid skips, its effector offset derived from the leg; neck: Curve to the head; tail: Curve riding the body until weighted; chain: FABRIK). Side L, R or C (default: from where the start joint sits) and a name (default from the role and side). Its goals appear at once (<id>/end, a pole on hinged limbs). One undo step.
Remove Body Rig Chain
tb.ops.bodyrig.chain_remove(*, chain: str) -> Result
Remove a chain the artist added to the body rig (its posed goals go with it). A chain from the rig's modules or the naming preset stays: set its Mode to FK to let it follow its animation. One undo step.
Reset Body Rig Chain
tb.ops.bodyrig.chain_reset(*, chain: str) -> Result
Give one chain back its preset: a chain from the rig's modules or the naming preset its declared joints and settings, an added chain its role's settings (its joints stay). One undo step.
Set Body Rig Chain
tb.ops.bodyrig.chain_set(
*,
chain: str,
settings: Any = ...,
start: str = ...,
end: str = ...,
knee: str = ...,
hip: str = ...,
) -> Result
Change one chain of the body rig's chain setup. Its settings: chainMode (ik or fk: an FK chain keeps its incoming pose, its goals do nothing and are hidden, its girdle is held, and an FK spine moves only as one block; keyed it steps), its solver mode (auto, twoBone, rigidTwoBone: Two-Bone with rigid skips, spring, chain or curve), stretch, soft pop and soft fold (distances before full reach and full fold that ease in; soft pop 0 = the built-in 1 %, soft fold 0 = a hard stop), the default goal weights (position / rotation / bend / top weight), ankle follow (a hind leg: how far the hock follows the leg's flex), ankle parallel bias (the Z fold), ankle offset (degrees), parent raise aim (a two-bone limb's clavicle follows the raised arm), parent auto aim (how much a goal past reach swings the clavicle or scapula, times Pull), root blend and root swing (a spring spider's first bone), effector offset (on a riding leg, the bones up from the tip where the leg ends; the bones after it are the reverse foot), skip stiffness (Two-Bone rigid skips: 1 keeps the skipped joints rigid out of range), autoAnkle (0-1, a two-bone leg with a planted ball: the shin and the foot turn as one piece so the ankle follows the shin's aim), startAtParent (a curve starts at the joint its chain hangs from, leaving along its bone), autoTwist (0-1, a curve: 1 each bone rolls with the curve's frame, gradually from the base, 0 every bone takes the end's whole roll), footEffector (hock or toe: a quadruped leg's second foot effector on its hock / wrist, or on its toe so the paw rolls over the planted toe). Each goal's own Pull, Hard Pull and the rest are bodyrig.effector_set's. Its joints by name: start, end, knee (a Two-Bone chain's middle joint, a rigid-skip leg's knee) and hip (a rigid-skip leg's); "" puts one back to the preset's or the derived one. Unlisted settings keep their values. One undo step; scrubs coalesce.
Body Rig Debug
tb.ops.bodyrig.debug() -> Result
World-space debug geometry of the goal pose's solve: the body point, each limb's solved points, girdle pivot, end target, bend side and goal, how far it missed, its hard-pull share and soft-reach band; the boxes; the spine; the joints their limits clamped. Read-only.
Body Rig Dry Run
tb.ops.bodyrig.dry_run(*, template: str, options: Any = ...) -> Result
For the New Rig wizard's Review step: the chains and solver modes a rig template will give the body rig, without building anything.
Set Body Rig Goal Settings
tb.ops.bodyrig.effector_set(*, goal: str, settings: Any) -> Result
Change one goal's own settings (owner 2026-10-28: each goal has its own values; its chain's Mode, solver and shape are bodyrig.chain_set's). pull (0-1: past its reach, how much it drags what its limb hangs from and the body; on the hips or chest, how firmly it holds where the spine cannot span it and the other box: the goal with the higher Pull holds), hardPull (0-1: the share of what is still missing the body moves to land it; on the hips or chest last on the body, outranking the limbs), hardPullFalloff (0-1: 0 only the box it acts on moves, 1 the torso as one block), hardPullLimit (a distance in scene units, 0 none: the most Hard Pull moves the body for it), push and pushBody (a squeezed limb pushes its top away, and that much of it the body; not on the hips or chest), keepEnd (0-1: at Rotate Weight 0 the joint keeps its world turn; the hips or chest below Rotate Weight 1 keep their turn instead of their limbs'), parentTranslate (0-1, a shoulder goal: 0 swings its clavicle or scapula toward it, 1 slides the girdle with it keeping its angle, turned it still turns; Parent Raise Aim and Parent Auto Aim fade out as it rises). An end goal has them all but Parent Translate, a foot effector all but Keep End unless it is a ball, a shoulder Pull, Hard Pull, its Falloff and Parent Translate, the hips and chest all but Push and Push Body, a pole none (its weight is bodyrig.goal_set's). One undo step; scrubs coalesce.
Pose Body Rig Goal
tb.ops.bodyrig.goal_set(
*,
goal: str = ...,
position: Vec3Like = ...,
rotation: Vec3Like = ...,
position_weight: float = ...,
rotation_weight: float = ...,
goals: Any = ...,
) -> Result
Move, turn or weight goals of the goal pose (Skeleton Rig mode): position (world), rotation (world Euler degrees, XYZ), position and rotation weight (0-1, a foot effector's Reach). Goals include each leg's second foot effector (<chain>/foot: a biped's ball, a quad's hock or wrist); a hind leg's hock effector adds its offset to the automatic Z at Reach 0 and pins the hock at 1; a shoulder goal (<chain>/top) moves its clavicle or scapula by its position weight and turns it by its rotation weight. One goal by goal and its fields, or several in one undo step by goals (a list of the same fields, each with its goal). A drag coalesces into one undo step.
Reset Body Rig Pose
tb.ops.bodyrig.pose_reset(*, goals: Any = ...) -> Result
Put the goal pose back to bind: every goal, or the listed ones. One undo step.
Body Rig Report
tb.ops.bodyrig.report() -> Result
The body-rig characterization as data: chains (joints, requested and used solver mode, why it fell back, source module or preset slot), limbs, boxes, spine, goals with their stable ids, riders and problems. No solve.
Set Body Rig Solver
tb.ops.bodyrig.solver_set(*, settings: Any) -> Result
The solver-wide settings: iterations (1-10), spine push (0-1), the body head start (vertical and horizontal, -1..1), and Weight Mode (weightMode static or dynamic: limbs pulling past their reach lower the hips and chest goals' weights; weightModeStrength 0-1, how far; weightModeFalloff 0-1, 0 a limb yields only the box it hangs from, 1 every box below it alike). One undo step.
Body Rig Status
tb.ops.bodyrig.status() -> Result
Whether the skeleton has a full-body IK body (and why not, in plain words), with its chain and goal counts and any warnings.