Esempio n. 1
0
def copyMouthSDKs2Phosphor(sourceJoint,targetJoint):
    from cgm.lib import sdk
    attributes = ['mouthFB_txtCrv.mouthForward',
                  'mouthFB_txtCrv.mouthBack']
    for attr in attributes:
        if mc.objExists(attr):
            print ("on '%s'"%attr)
            sdk.copySetDrivenKey(attr,attr,sourceJoint,targetJoint)
Esempio n. 2
0
def copyMouthSDKs2Phosphor(sourceJoint,targetJoint):
    from cgm.lib import sdk
    attributes = ['mouthFB_txtCrv.mouthForward',
                  'mouthFB_txtCrv.mouthBack']
    for attr in attributes:
        if mc.objExists(attr):
            print ("on '%s'"%attr)
            sdk.copySetDrivenKey(attr,attr,sourceJoint,targetJoint)
Esempio n. 3
0
def copyBrowSDKsPhosphor(sourceJoint,targetJoint):
    from cgm.lib import sdk
    attributes = ['browInnerDn_txtCrv.browInnerDn',
                  'browInnerUp_txtCrv.browInnerUp',
                  'browOuterDn_txtCrv.browOuterDn',
                  'browSqueeze_txtCrv.browSqueeze']
    for attr in attributes:
        if mc.objExists(attr):
            print ("on '%s'"%attr)
            sdk.copySetDrivenKey(attr,attr,sourceJoint,targetJoint)
Esempio n. 4
0
def copyBrowSDKsPhosphor(sourceJoint,targetJoint):
    from cgm.lib import sdk
    attributes = ['browInnerDn_txtCrv.browInnerDn',
                  'browInnerUp_txtCrv.browInnerUp',
                  'browOuterDn_txtCrv.browOuterDn',
                  'browSqueeze_txtCrv.browSqueeze']
    for attr in attributes:
        if mc.objExists(attr):
            print ("on '%s'"%attr)
            sdk.copySetDrivenKey(attr,attr,sourceJoint,targetJoint)
Esempio n. 5
0
def copyMouthSDKsPhosphor(sourceJoint,targetJoint):
    from cgm.lib import sdk
    attributes = ['smile_txtCrv.smile',
                  'sneer_txtCrv.sneer',
                  'wide_txtCrv.wide',
                  'narrow_txtCrv.narrow',
                  'mouthUD_txtCrv.mouthUD',
                  'mouthUD_txtCrv.mouthDn',
                  'lipsUp_txtCrv.lipsUp',
                  'lipsDn_txtCrv.lipsDn',
                  'lipTighten_txtCrv.lipsTighten',
                  'lipRollOut_txtCrv.lipRollOut',
                  'lipRollIn_txtCrv.lipRollIn',
                  'jawOpen_txtCrv.jawOpen',
                  'jawOpenMouthClosed_txtCrv.jawOpenMouthClosed',
                  'jawLR_txtCrv.jawLR',
                  'jawLR_txtCrv.jawRight',
                  'frown_txtCrv.frown']
    for attr in attributes:
        if mc.objExists(attr):
            print ("on '%s'"%attr)
            sdk.copySetDrivenKey(attr,attr,sourceJoint,targetJoint)
Esempio n. 6
0
def copyMouthSDKsPhosphor(sourceJoint,targetJoint):
    from cgm.lib import sdk
    attributes = ['smile_txtCrv.smile',
                  'sneer_txtCrv.sneer',
                  'wide_txtCrv.wide',
                  'narrow_txtCrv.narrow',
                  'mouthUD_txtCrv.mouthUD',
                  'mouthUD_txtCrv.mouthDn',
                  'lipsUp_txtCrv.lipsUp',
                  'lipsDn_txtCrv.lipsDn',
                  'lipTighten_txtCrv.lipsTighten',
                  'lipRollOut_txtCrv.lipRollOut',
                  'lipRollIn_txtCrv.lipRollIn',
                  'jawOpen_txtCrv.jawOpen',
                  'jawOpenMouthClosed_txtCrv.jawOpenMouthClosed',
                  'jawLR_txtCrv.jawLR',
                  'jawLR_txtCrv.jawRight',
                  'frown_txtCrv.frown']
    for attr in attributes:
        if mc.objExists(attr):
            print ("on '%s'"%attr)
            sdk.copySetDrivenKey(attr,attr,sourceJoint,targetJoint)