Bipedal Leg Component

Code author: Jeremy Ernst

class ART_Leg_Biped(prefix='', suffix='', network_node=None)[source]

Bases: artv2_components.base_component.ART_Component

Class for defining a bipedal leg setup in ARTv2 with options for twist bones and toes.

Unique Properties

num_thigh_twists

This property holds the number (int) of thigh twist joints that the module will create or has.

Returns:Number of thigh twist joints the module has.
Return type:int
num_calf_twists

This property holds the number (int) of calf twist joints that the module will create or has.

Returns:Number of calf twist joints the module has.
Return type:int
side

This property holds the value of which side the leg module represents (left or right). As each side has a different joint mover file, changing this value will swap out the joint mover with the proper joint mover file for that side.

Returns:int, 0 or 1, representing left or right side.
has_ball_joint

This property holds a boolean value on whether or not a ball joint will be included in the setup.

Returns:bool