コード例 #1
0
ファイル: hierarchy.py プロジェクト: RyugasakiHu/AT_Rigging
    def __init__(self,side = 'm',size = 1,characterName = None):
        '''
        Constructor
        '''
#         self.baseName = baseName
        self.side = side
        self.size = size
        self.characterName = characterName
        
        #get papare for class
        self.ALL = None
        self.TRS_cc = None
        self.TRS = None
        self.PP = None
        self.SKL = None
        self.CC = None
        self.IK = None
        self.LOC = None
        self.GEO = None
        self.XTR = None
        self.CSG = None
        self.GUD = None
        
        #setGuides
        self.visGuides = None
        
        #set ctrl
        self.visCtrl = None
        self.cogCtrl = None
        self.bodyCtrl = None
        
        #create Meta
        self.meta = metaUtils.createMeta(self.side,self.characterName,1)
コード例 #2
0
ファイル: spineModule.py プロジェクト: RyugasakiHu/AT_Rigging
 def __init__(self,side = 'm',bodySize = 1,ctrlAxis = 'y',ikSize = 1,baseName = None,segment = 5,metaMain = None):
     
     #self para
     self.side = side
     self.baseName = baseName 
     self.segment = segment[0]
     self.bodySize = bodySize
     self.ikSize = ikSize
     
     #guide para
     self.trvPosList = None
     self.guideCc = None
     self.guideTrv = None
     self.guideGrp = None        
     self.fkGuides = None
     self.revFkGuides = None
     self.ikJj = None
     
     #ctrl
     self.ctrlAxis = ctrlAxis
     self.ribbonJc = None
     self.spineCc = None
     self.bodyCtrl = None
     self.chestGrp = None
     self.folGrp = None
     
     #incoming value
     self.length  = None
     self.spineFkBlendChain = None
     self.spineIkBlendJoint = None
     self.spineFkRevBlendChain = None 
     self.spineFkGrp = None
     self.spineIkGrp = None        
     
     #stretch
     self.stretchLength = None
     self.stretchStartLoc = None
     self.stretchEndLoc = None
     self.stretchCube = None
     
     #nameList
     self.nameList = ['Hip','Mid','Chest']
     
     #meta
     self.meta = metaUtils.createMeta(self.side,self.baseName,0)
     self.metaMain = metaMain