def headSquash_doGuide(self): getDictFromScene = self.ui.squash_getGuide_chk.isChecked() self.headSquash = squash.Squash(name='headSquash') pm.undoInfo(openChunk=True) try: if getDictFromScene: self.headSquash.getDict() self.headSquash.doGuide() finally: pm.undoInfo(closeChunk=True)
Ct = tweaks.Tweaks(name='face', num=2, hasMulti=True) Lt.doGuide() Rt.doGuide() Ct.doGuide() Rt.mirrorConnectGuide(Lt) Lt.doRig() Rt.doRig() Ct.doRig() Lt.getDict() Rt.getDict() sh = squash.Squash(name='headSquash') sh.doGuide() sh.doRig() sh.getDict() s = squash.Squash(name='jawSquash') s.doGuide() s.doRig() s.getDict() #SOCKETS addHideAtts() #selecionar o controle q vai receber os atributos allJoints = pm.ls(type='joint') for j in allJoints: