![]() Overrides = ast.literal_eval(data)īase = .BaseModule() Source File: autoModuleBuild.py def baseModuleBuild( moduleTemplateGrp ):īuild a Base module based on the specified module template moduleTemplateGrp: The module template group to build the FkChain module moduleTemplateGrp: strĬheckModuleTemplate(moduleTemplateGrp,moduleType='base',moduleAttrs=attrList)įor attr in attrList: data = mc.getAttr(moduleTemplateGrp+'.'+attr) Pos = (localPos,jntMat,transformAsPoint=True,invertMatrix=False) LocalPos = (pos,jntMat,transformAsPoint=True,invertMatrix=True) JntMat = (joint,local=False,time=None)įor i in range(mc.polyEvaluate(proxyGeo,v=True)): ![]() If jntEnd: jntLen = mc.getAttr(jntEnd+'.t'+axis) Raise Exception('Invalid axis value! ("'+axis+'")') Raise Exception('Object "'+joint+'" is not a valid joint!') Joint = mc.getAttr(proxyGeo+'.jointProxy') Raise Exception('Object "'+proxyGeo+'" is not a valid proxy bound object!') If empty, use the "jointProxy" string attribute joint: axis: Length-wise axis of the axis: str ![]() If no joint is specified, use the joint specified by the proxy "jointProxy" proxyGeo: Proxy geometry to to fit to the proxyGeo: joint: Joint to fit the proxy geometry to. Source File: proxyMesh.py def proxyFitJoint(proxyGeo,joint='',axis='x'):įit the specified proxy geometry (mesh cylinder) to a given joint. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |