tpRigToolkit.tools.controlrig.core.controldata module¶
Module that contains data definition for CV based controls
-
class
tpRigToolkit.tools.controlrig.core.controldata.ControlData(name='', control_data=None, parent=None)¶ Bases:
objectBasic storage class for controls
-
property
data¶
-
property
name¶
-
property
parent¶
-
property
shapes¶
-
property
-
class
tpRigToolkit.tools.controlrig.core.controldata.ControlPool(*args, **kwargs)¶ Bases:
setSet object that contains all controls loaded by the ControlManager
-
remove(target)¶ Remove an element from a set; it must be a member.
If the element is not a member, raise a KeyError.
-
-
class
tpRigToolkit.tools.controlrig.core.controldata.ControlShape(cvs=None, degree=1, periodic=False)¶ Bases:
objectBase class that handles control shapes as a sequences of points in space
-
apply_transform()¶ Apply the transforms to the current shape
-
property
cvs¶
-
property
degree¶
-
get_cvs()¶
-
get_degree()¶
-
get_periodic()¶
-
get_smooth()¶
-
get_transformed_cvs()¶
-
property
periodic¶
-
set_cvs(cvs)¶
-
set_smooth(smooth)¶
-
set_transformed_cvs(cvs)¶
-
property
smooth¶
-
transform(offset, scale, axis, mirror)¶ Stores the new transform of the curve shape :param offset: position offset :param scale: scale factor :param axis: axis order :param mirror:
-
property
transformed_cvs¶
-