Module Expr Str ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareNotIn NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index Str body If CompareIs NameLoad NameLoad body If CompareLt SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num orelse If CompareGt SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpSub Num NameLoad For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index Str body AugAssignAdd SubscriptStore NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index Str body If CompareIs NameLoad NameLoad body If CompareLt SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num orelse If CompareGt SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpSub Num NameLoad For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index Str body AugAssignAdd SubscriptStore NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index Str body If CompareIs NameLoad NameLoad body If CompareLt SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num orelse If CompareGt SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpSub Num NameLoad For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index Str body AugAssignAdd SubscriptStore NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Num Num Num For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareNotEq NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad BinOpMult NameLoad SubscriptLoad NameLoad Index NameLoad Return Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index Str body AugAssignMult SubscriptStore NameLoad Index Num AttributeLoad NameLoad attr AugAssignMult SubscriptStore NameLoad Index Num AttributeLoad NameLoad attr AugAssignMult SubscriptStore NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Num AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Num AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index Str body AugAssignAdd SubscriptStore NameLoad Index Num AttributeLoad NameLoad attr AugAssignAdd SubscriptStore NameLoad Index Num AttributeLoad NameLoad attr AugAssignAdd SubscriptStore NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr If CompareIsNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A Kraken - objects.Controls.Control module.

Classes:
Control - Base Control.

 kraken.core.configs.config Config kraken.core.maths AXIS_NAME_TO_TUPLE_MAP Euler Quat Vec3 Xfo kraken.core.maths Math_degToRad kraken.core.objects.curve Curve kraken.core.objects.ctrlSpace CtrlSpace Control N/A Curve N/A N/A Base Control object. __init__ N/A N/A self name parent shape N/A None null N/A N/A Initializes control object.

        Args:
            name (str): Name of the constraint.
            parent (Object): Parent object of this object.

         N/A N/A N/A N/A super Control self __init__ name parent parent N/A N/A self shape shape N/A N/A N/A self setShape shape N/A getShape N/A N/A self N/A N/A N/A Returns the shape that the control was set to.

        Returns:
            str: Name of the shape that was set.

         N/A N/A self shape N/A setShape N/A N/A self shape N/A N/A N/A Sets the shape of the control to the one specified.

        Args:
            shape (str): the desired shape of the control.

        Returns:
            bool: True if successful.

         N/A config N/A N/A Config getInstance N/A configShapes N/A N/A config getControlShapes N/A N/A shape N/A N/A configShapes keys N/A N/A N/A KeyError N/A N/A N/A N/A ' shape ' is not a valid shape in the loaded config of class [ N/A N/A config __class__ __name__ ] N/A N/A N/A self setCurveData N/A configShapes N/A shape N/A True N/A alignOnXAxis N/A N/A self negative N/A False N/A N/A Aligns the control shape on the X axis.

        Args:
            negative (bool): Whether to align the control on the negative X axis.

        Returns:
            bool: True if successful.

         N/A furthest 0.0 N/A curveData N/A list N/A N/A self getCurveData N/A eachSubCurve curveData N/A N/A eachPoint N/A eachSubCurve N/A points N/A N/A N/A negative False N/A N/A N/A N/A eachPoint N/A 0 furthest N/A N/A furthest N/A eachPoint N/A 0 N/A N/A N/A N/A eachPoint N/A 0 furthest N/A N/A furthest N/A eachPoint N/A 0 N/A offset N/A 0.0 furthest N/A eachSubCurve curveData N/A N/A eachPoint N/A eachSubCurve N/A points N/A N/A N/A eachPoint N/A 0 offset N/A N/A N/A self setCurveData curveData N/A True N/A alignOnYAxis N/A N/A self negative N/A False N/A N/A Aligns the control shape on the Y axis.

        Args:
            negative (bool): Whether to align the control on the negative Y axis.

        Returns:
            bool: True if successful.

         N/A furthest 0.0 N/A curveData N/A list N/A N/A self getCurveData N/A eachSubCurve curveData N/A N/A eachPoint N/A eachSubCurve N/A points N/A N/A N/A negative False N/A N/A N/A N/A eachPoint N/A 1 furthest N/A N/A furthest N/A eachPoint N/A 1 N/A N/A N/A N/A eachPoint N/A 1 furthest N/A N/A furthest N/A eachPoint N/A 1 N/A offset N/A 0.0 furthest N/A eachSubCurve curveData N/A N/A eachPoint N/A eachSubCurve N/A points N/A N/A N/A eachPoint N/A 1 offset N/A N/A N/A self setCurveData curveData N/A True N/A alignOnZAxis N/A N/A self negative N/A False N/A N/A Aligns the control shape on the Z axis.

        Args:
            negative (bool): Whether to align the control on the negative Z axis.

        Returns:
            bool: True if successful.

         N/A furthest 0.0 N/A curveData N/A list N/A N/A self getCurveData N/A eachSubCurve curveData N/A N/A eachPoint N/A eachSubCurve N/A points N/A N/A N/A negative False N/A N/A N/A N/A eachPoint N/A 2 furthest N/A N/A furthest N/A eachPoint N/A 2 N/A N/A N/A N/A eachPoint N/A 2 furthest N/A N/A furthest N/A eachPoint N/A 2 N/A offset N/A 0.0 furthest N/A eachSubCurve curveData N/A N/A eachPoint N/A eachSubCurve N/A points N/A N/A N/A eachPoint N/A 2 offset N/A N/A N/A self setCurveData curveData N/A True N/A scalePointsOnAxis N/A N/A self scale scaleAxis N/A POSX N/A N/A Scales the point positions from it's center along the given axis only.

        Args:
            scale: scale value to apply to the points.
            scaleAxis: which axes to scale and by what direction

        Returns:
            bool: True if successful.

         N/A axis N/A N/A AXIS_NAME_TO_TUPLE_MAP get scaleAxis N/A N/A axis None N/A N/A N/A KeyError N/A N/A N/A ' scaleAxis ' is not a valid axis. Valid axes are:  N/A N/A , join N/A N/A AXIS_NAME_TO_TUPLE_MAP keys N/A scaleList N/A 1.0 1.0 1.0 N/A N/A i x N/A enumerate axis N/A N/A N/A x 0 N/A N/A N/A scaleList N/A i N/A scale N/A axis N/A i N/A N/A N/A self scalePoints N/A Vec3 N/A scaleList N/A 0 N/A scaleList N/A 1 N/A scaleList N/A 2 N/A scalePoints N/A N/A self scaleVec N/A N/A N/A Scales the point positions from it's center.

        Args:
            scaleVec (Vec3): scale value to apply to the points.

        Returns:
            bool: True if successful.

         N/A curveData N/A list N/A N/A self getCurveData N/A eachSubCurve curveData N/A N/A eachPoint N/A eachSubCurve N/A points N/A N/A N/A eachPoint N/A 0 N/A scaleVec x N/A N/A eachPoint N/A 1 N/A scaleVec y N/A N/A eachPoint N/A 2 N/A scaleVec z N/A N/A N/A self setCurveData curveData N/A True N/A rotatePoints N/A N/A self xRot yRot zRot N/A N/A N/A Rotates the points by the input values.

        Args:
            xRot (float): Euler x rotate value.
            yRot (float): Euler y rotate value.
            zRot (float): Euler z rotate value.

        Returns:
            bool: True if successful.

         N/A curveData N/A list N/A N/A self getCurveData N/A quatRot N/A Quat N/A N/A N/A quatRot setFromEuler N/A Euler N/A Math_degToRad xRot N/A Math_degToRad yRot N/A Math_degToRad zRot N/A newPoints N/A N/A eachSubCurve curveData N/A N/A eachPoint N/A eachSubCurve N/A points N/A N/A pointVec N/A Vec3 N/A eachPoint N/A 0 N/A eachPoint N/A 1 N/A eachPoint N/A 2 N/A rotVec N/A N/A quatRot rotateVector pointVec N/A N/A eachPoint N/A 0 N/A rotVec x N/A N/A eachPoint N/A 1 N/A rotVec y N/A N/A eachPoint N/A 2 N/A rotVec z N/A N/A N/A self setCurveData curveData N/A True N/A translatePoints N/A N/A self translateVec N/A N/A N/A Translates the control points.

        Args:
            translateVec (Vec3): Translation values to apply to the points.

        Returns:
            bool: True if successful.

         N/A curveData N/A list N/A N/A self getCurveData N/A eachSubCurve curveData N/A N/A eachPoint N/A eachSubCurve N/A points N/A N/A N/A eachPoint N/A 0 N/A translateVec x N/A N/A eachPoint N/A 1 N/A translateVec y N/A N/A eachPoint N/A 2 N/A translateVec z N/A N/A N/A self setCurveData curveData N/A True N/A insertCtrlSpace N/A N/A self name N/A None N/A N/A Adds a CtrlSpace object above this object

        Args:
            name (string): optional name for this CtrlSpace, default is same as this object

        Returns:
            object: New CtrlSpace object

         N/A N/A name None N/A N/A name N/A N/A self getName N/A newCtrlSpace N/A CtrlSpace name parent N/A N/A self getParent N/A N/A N/A N/A self getParent None N/A N/A N/A N/A N/A N/A self getParent removeChild self N/A N/A N/A self setParent newCtrlSpace N/A N/A N/A newCtrlSpace addChild self N/A N/A newCtrlSpace xfo N/A Xfo N/A self xfo N/A newCtrlSpace N/A N/A