# Path: dpAutoRigSystem/Modules/dpBaseClass.py
# class RigType(object):
#     biped = "biped"
#     quadruped = "quadruped"
#     default = "unknown" #Support old guide system


from maya import cmds
from maya import mel
from ..Modules.dpBaseClass import RigType
            cmds.setAttr(backLegBaseGuide+".translateZ", -6.5)
            cmds.setAttr(backLegBaseGuide+".rotateX", 0)
            
            # edit before, main and corners:
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".translateX", 1)
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".translateY", 0,5)
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".translateZ", -2.5)
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".rotateX", 20)
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".rotateY", 10)
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".rotateZ", -105)
            cmds.setAttr(backLegLimbInstance.cvMainLoc+".rotateY", 25)
            cmds.setAttr(backLegLimbInstance.cvCornerLoc+".translateX", 0.7)
            cmds.setAttr(backLegLimbInstance.cvCornerLoc+".translateZ", -0.7)
            
            # edit location of back leg ankle guide:
            cmds.setAttr(backLegLimbInstance.cvExtremLoc+".translateZ", 8)

            # edit location of double back leg joint:
            cmds.setAttr(backLegLimbInstance.cvCornerBLoc+".translateX", -2)

            # parent back leg guide to spine base guide:
            cmds.parent(backLegBaseGuide, spineInstance.moduleGrp, absolute=True)
            # setting X mirror:
            backLegLimbInstance.changeMirror("X")
            
            # Update progress window
            progressAmount += 1
            cmds.progressWindow(edit=True, maxValue=maxProcess, progress=progressAmount, status=(doingName+': ' + repr(progressAmount) + ' '+footName))
            
            # create BACK FOOT (B) module instance:

# Path: dpAutoRigSystem/Modules/dpBaseClass.py
# class RigType(object):
#     biped = "biped"
#     quadruped = "quadruped"
#     default = "unknown" #Support old guide system


# Path: dpAutoRigSystem/Scripts/dpQuadruped.py
from maya import cmds
from maya import mel
from ..Modules.dpBaseClass import RigType

            cmds.setAttr(backLegBaseGuide+".translateZ", -6.5)
            cmds.setAttr(backLegBaseGuide+".rotateX", 0)
            
            # edit before, main and corners:
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".translateX", 1)
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".translateY", 0,5)
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".translateZ", -2.5)
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".rotateX", 20)
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".rotateY", 10)
            cmds.setAttr(backLegLimbInstance.cvBeforeLoc+".rotateZ", -105)
            cmds.setAttr(backLegLimbInstance.cvMainLoc+".rotateY", 25)
            cmds.setAttr(backLegLimbInstance.cvCornerLoc+".translateX", 0.7)
            cmds.setAttr(backLegLimbInstance.cvCornerLoc+".translateZ", -0.7)
            
            # edit location of back leg ankle guide:
            cmds.setAttr(backLegLimbInstance.cvExtremLoc+".translateZ", 8)

            # edit location of double back leg joint:
            cmds.setAttr(backLegLimbInstance.cvCornerBLoc+".translateX", -2)

            # parent back leg guide to spine base guide:
            cmds.parent(backLegBaseGuide, spineInstance.moduleGrp, absolute=True)
            # setting X mirror:
            backLegLimbInstance.changeMirror("X")
            
            # Update progress window
            progressAmount += 1
            cmds.progressWindow(edit=True, maxValue=maxProcess, progress=progressAmount, status=(doingName+': ' + repr(progressAmount) + ' '+footName))
            
            # create BACK FOOT (B) module instance:

            backFootInstance = dpUIinst.initGuide('dpFoot', guideDir, RigType.quadruped)