def make_control_widget(self): ctrl = self.bones.ctrl.master self.get_bone(ctrl).custom_shape_transform = self.get_bone( self.bones.org) create_bone_widget(self.obj, ctrl, r1=0.25, l1=0.1, r2=0.2, l2=0.8)
def make_middle_ik_control_widget(self, i, ctrl): if i == 0: create_bone_widget(self.obj, ctrl, r1=0.2, r2=0.1, l2=0.75) else: create_bone_widget(self.obj, ctrl, r1=0.3, r2=0.2, l1=0.2, l2=0.6)
def make_fk_control_widgets(self): if self.make_fk: for fk in self.bones.ctrl.fk: create_bone_widget(self.obj, fk)