trigger.objects.ribbon
Creates a ribbon joint chain between given nodes
Classes
Module Contents
- class Ribbon(start_node=None, end_node=None, name=None, ribbon_resolution=5, joint_resolution=5, controller_count=1, controller_list=None, dropoff=2.0, connect_start_aim=True, up_vector=(0, 1, 0), scaleable=True)
Bases:
object- create()
- orient(node_a, node_b=None, switch_a=None, switch_b=None)
Orients the start aim of the ribbon to given controller(s)
- Args:
node_a: (String) The first controller that the end will be oriented to node_b: (String) If defined, the end will be oriented to both nodes switch_a: (String) Attribute that will drive the first switch. Optional switch_b: (String) Attribute that will drive the first switch. Optional
- Returns:
(String) Parent Constraint (translates skipped)
- pin_end(node_a, node_b=None, switch_a=None, switch_b=None)
Connects the end of the ribbon to given controller(s)
- Args:
node_a: (String) The first controller that the end will be pinned to node_b: (String) If defined, the end will be pinned to both nodes switch_a: (String) Attribute that will drive the first switch. Optional switch_b: (String) Attribute that will drive the first switch. Optional
- Returns:
(String) Parent Constraint
- pin_start(node_a, node_b=None, switch_a=None, switch_b=None)
Connects the start of the ribbon to given controller(s)
- Args:
node_a: (String) The first controller that the start will be pinned to node_b: (String) If defined, the start will be pinned to both nodes switch_a: (String) Attribute that will drive the first switch. Optional switch_b: (String) Attribute that will drive the first switch. Optional
- Returns:
(String) Parent Constraint
- property connect_start_aim
- property controller_count
- property controller_list
- property controllers
- property deformer_joints
- property dropoff
- property end_aim
- property end_node
- property end_plug
- property end_up
- property joint_resolution
- property name
- property nonscale_grp
- property ribbon_grp
- property ribbon_resolution
- property scale_grp
- property scaleable
- property start_aim
- property start_node
- property start_plug
- property start_up
- property to_hide
- property up_vector