bgdev.utils.joints

Utility methods about joints.

created

13/02/2018

author

Benoit GIELLY <benoit.gielly@gmail.com>

add_joints(number=None)[source]

Add joints inbetween.

Parameters

number (int) – amount of joints to add. If none given, a prompt will ask the user.

Raises
  • TypeError – If given type is not a number.

  • RuntimeError – If no joints are selected, or only one is but has no children.

show_joint_orient(state=True)[source]

Toggle jointOrient and preferredAngle attributes in channelBox.

Applies to all joints in the scene.

Parameters

state (bool) – True if you want to display jointOrients in channelbox.