# Path: mayaLib/rigLib/utils/common.py
# def centerPivot(obj, targetPivot=None):
# def freezeTranform(obj):
# def deleteHistory(obj):
# def deleteNonDeformerHistory(obj):
# def deleteConnection(objAttrList):
# def setDrivenKey(driver, driverValueList, driven, drivenValueList, cvType='linear'):
# 
# Path: mayaLib/rigLib/utils/deform.py
# def blendShapeDeformer(base, blendshapeList, nodeName, defaultValue=[1, ], frontOfChain=False):
# def wrapDeformer(wrappedObjs, wrapperObj):
# def deltaMushDeformer(geo, smoothingIterations=10, smoothingStep=0.5):
# def shrinkWrapDeformer(wrappedObj, wrapperObj):
# def cMuscleSystemDeformer(obj, relativeSticky=True):
# def cMuscleConnectMuscle(muscleMainObj, muscleObjList):
# def softModDeformer(vertex):
# def meshCollision(deformer, deformed):


import pymel.core as pm
from mayaLib.rigLib.utils import common
from mayaLib.rigLib.utils import deform
        'hip': 'Hip',
        'head': 'Head',
        'display': 'Display',
        'ikfk': 'IKFK'
    }

    def __init__(self, name, scale, shape='circle', normalDirection=[0, 0, 0]):
        pass

        if shape in ['circle', 'circleX']:
            circleNormal = [1, 0, 0]
            ctrlObject = circleCtrlShape(name, normalDirection=circleNormal, scale=scale)

        elif shape == 'circleY':
            circleNormal = [0, 1, 0]
            ctrlObject = circleCtrlShape(name, normalDirection=circleNormal, scale=scale)

        elif shape == 'circleZ':
            circleNormal = [0, 0, 1]
            ctrlObject = circleCtrlShape(name, normalDirection=circleNormal, scale=scale)

        elif shape == 'sphere':
            ctrlObject = sphereCtrlShape(name=name, scale=scale)

        elif shape == 'move':
            ctrlObject = moveCtrlShape(name=name, scale=scale)

        elif shape == 'spine':
            ctrlObject = trapeziumCtrlShape(name=name, scale=scale)
            ctrlObject.translateY.set(3 * scale)

# Path: mayaLib/rigLib/utils/common.py
# def centerPivot(obj, targetPivot=None):
# def freezeTranform(obj):
# def deleteHistory(obj):
# def deleteNonDeformerHistory(obj):
# def deleteConnection(objAttrList):
# def setDrivenKey(driver, driverValueList, driven, drivenValueList, cvType='linear'):
# 
# Path: mayaLib/rigLib/utils/deform.py
# def blendShapeDeformer(base, blendshapeList, nodeName, defaultValue=[1, ], frontOfChain=False):
# def wrapDeformer(wrappedObjs, wrapperObj):
# def deltaMushDeformer(geo, smoothingIterations=10, smoothingStep=0.5):
# def shrinkWrapDeformer(wrappedObj, wrapperObj):
# def cMuscleSystemDeformer(obj, relativeSticky=True):
# def cMuscleConnectMuscle(muscleMainObj, muscleObjList):
# def softModDeformer(vertex):
# def meshCollision(deformer, deformed):


# Path: mayaLib/rigLib/utils/ctrlShape.py
import pymel.core as pm
from mayaLib.rigLib.utils import common
from mayaLib.rigLib.utils import deform

        'hip': 'Hip',
        'head': 'Head',
        'display': 'Display',
        'ikfk': 'IKFK'
    }

    def __init__(self, name, scale, shape='circle', normalDirection=[0, 0, 0]):
        pass

        if shape in ['circle', 'circleX']:
            circleNormal = [1, 0, 0]
            ctrlObject = circleCtrlShape(name, normalDirection=circleNormal, scale=scale)

        elif shape == 'circleY':
            circleNormal = [0, 1, 0]
            ctrlObject = circleCtrlShape(name, normalDirection=circleNormal, scale=scale)

        elif shape == 'circleZ':
            circleNormal = [0, 0, 1]
            ctrlObject = circleCtrlShape(name, normalDirection=circleNormal, scale=scale)

        elif shape == 'sphere':
            ctrlObject = sphereCtrlShape(name=name, scale=scale)

        elif shape == 'move':
            ctrlObject = moveCtrlShape(name=name, scale=scale)

        elif shape == 'spine':
            ctrlObject = trapeziumCtrlShape(name=name, scale=scale)
            ctrlObject.translateY.set(3 * scale)

            common.freezeTranform(ctrlObject)