SplineIKConstraint(Constraint)

base classes — bpy_struct, Constraint

class bpy.types.SplineIKConstraint(Constraint)

Align ‘n’ bones along a curve

chain_count

How many bones are included in the chain

Type :int in [1, 255], default 0
joint_bindings

(EXPERIENCED USERS ONLY) The relative positions of the joints along the chain, as percentages

Type :float array of 32 items in [0, 1], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
target

Curve that controls this relationship

Type :Object
use_chain_offset

Offset the entire chain relative to the root joint

Type :boolean, default False
use_curve_radius

Average radius of the endpoints is used to tweak the X and Z Scaling of the bones, on top of XZ Scale mode

Type :boolean, default False
use_even_divisions

Ignore the relative lengths of the bones when fitting to the curve

Type :boolean, default False
use_y_stretch

Stretch the Y axis of the bones to fit the curve

Type :boolean, default False
xz_scale_mode

Method used for determining the scaling of the X and Z axes of the bones

  • NONE None, Don’t scale the X and Z axes (Default).
  • BONE_ORIGINAL Bone Original, Use the original scaling of the bones.
  • VOLUME_PRESERVE Volume Preservation, Scale of the X and Z axes is the inverse of the Y-Scale.
Type :enum in [‘NONE’, ‘BONE_ORIGINAL’, ‘VOLUME_PRESERVE’], default ‘NONE’

Inherited Properties

Inherited Functions

Previous topic

SplineBezierPoints(bpy_struct)

Next topic

SplinePoint(bpy_struct)