rigging: Stretchy 2BIK Rig Get link Facebook X Pinterest Email Other Apps - July 12, 2019 Stretchy 2 bone ik rig sample This rig uses decomposeMatrix, distanceBetween and condition utility nodes. It also uses expression for simple math and attribute link. Connection networks Expressions Maya(mb) file https://drive.google.com/file/d/16NjQckZ5mkExr1lH0F8VH7F9jZLhKtPa Get link Facebook X Pinterest Email Other Apps Comments
MP: Relocate Maya window that has gone off-screen - March 14, 2025 w= 1000; h= 500; for item in cmds.lsUI(windows=True): if item=="MayaWindow": cmds.window(item,e=True,te=10,le=10,wh=[w,h]); Read more
Python: Extract numbers from a string - April 07, 2017 #Python: Extract numbers from a string import re; string = "rootNode218|parentNode001|polygonModel.vtx[627]"; list = re.findall(r'\d+', string ); # ['218', '001', '627']; Read more
HIK: Getting current character and current source. - June 01, 2021 class HIK: def getCurrentCharacter(self): import maya.cmds as mc; currentCharacterLabel= False; currentCharacterIndex= mc.optionMenuGrp("hikCharacterList",q=1,sl=1); items= mc.optionMenuGrp("hikCharacterList",q=1,itemListLong=1); currentCharacterItem= items[currentCharacterIndex-1]; currentCharacterLabel= mc.menuItem(currentCharacterItem,q=1,label=1); if not mc.objExists(currentCharacterLabel): currentCharacterLabel= None; elif mc.nodeType(currentCharacterLabel)!="HIKCharacterNode": currentCharacterLabel= None; return(currentCharacterLabel); def getCurrentSource(self): import maya.cmds as mc; currentSourceLabel= False; currentSou... Read more
Comments
Post a Comment