as_EasyBird#
- as_EasyBird.__aboutEasyBird(self)#
- as_EasyBird.__confirmAction(self, action)#
- as_EasyBird.__init__(self)#
as_EasyBirdMain_v2.5
About :#
Author: (Subbaiah) Subbu Addanki Character Supervisor (Rigging) & Programmer
Visit :#
Contact :#
Mail Id: subbu.add@gmail.com Mobile No: +91-9741454400 / +91-9949005359
Copyright (c) as_EasyBirdMain :#
** (Subbaiah) Subbu Addanki. All Rights Reserved. **
Compiled Only For:#
Mariusz Radomski <mariusz@dashdot.pl>
- as_EasyBird._check4Author(self)#
- as_EasyBird._compileEasyBird(self, userFolder='$_Free_asEB')#
- as_EasyBird._isInTime(self, startDate=[2018, 1, 1], endDate=[2018, 12, 31], onlineTime=1, showDaysLeft=1, bufferTime=0)#
- as_EasyBird._mayaVer(self)#
- as_EasyBird.addSelection_nextVar(self, textFld='as_FeatherNextVar_TF', multiSelect=False)#
Adds selected object’s name as Input in any Window for <== button Usage: —— obj10 # Adds ‘obj10’ While pressing Enter.. <== button box25 # Adds ‘box25’ While pressing Enter.. <== button
- as_EasyBird.add_ComponentNum(self, intFld)#
Adds Component Number as Input in any Window for <== button Usage: —— obj.vtx[105] # Adds 105 While pressing Enter.. <== button obj.e[206] # Adds 206 While pressing Enter.. <== button
- as_EasyBird.add_FeatherGrps(self, grpLevel=None)#
- as_EasyBird.add_FeatherGrps02(self)#
- as_EasyBird.add_Prefix(self, txtFldName)#
Adds prefix of selected object as Input in any Window for <== button Usage: —— Left_Hand # Adds ‘Left_’ While pressing Enter.. <== button Hand # Adds ‘’ While pressing Enter.. <== button
- as_EasyBird.add_Selection(self, textFld, multiSelect=False)#
Adds selected object’s name as Input in any Window for <== button Usage: —— obj10 # Adds ‘obj10’ While pressing Enter.. <== button box25 # Adds ‘box25’ While pressing Enter.. <== button
- as_EasyBird.add_Selection_FeathersSetup(self, textFld, multiSelect=False)#
Adds selected object’s name as Input in any Window for <== button Usage: —— obj10 # Adds ‘obj10’ While pressing Enter.. <== button box25 # Adds ‘box25’ While pressing Enter.. <== button
- as_EasyBird.add_Selection_VtxList(self, textFld, multiSelect=False)#
Adds selected object’s name as Input in any Window for <== button Usage: —— obj10 # Adds ‘obj10’ While pressing Enter.. <== button box25 # Adds ‘box25’ While pressing Enter.. <== button
- as_EasyBird.adjustCloseToObj(self, srcObj=None, srcDistObj=None, trgtObjOrPos=None, stepVal=0.001, action='scale', rotateDir='ry')#
- as_EasyBird.applyCharPrefix(self)#
- as_EasyBird.as_AboutEasyBird(self)#
- as_EasyBird.as_ActivateSetPose(self)#
- as_EasyBird.as_AttachFeather(self)#
- as_EasyBird.as_AttachFeathers(self)#
- as_EasyBird.as_BasicSetup(self)#
- as_EasyBird.as_BasicSetup_1(self)#
- as_EasyBird.as_BendFeathers(self, ctrlName=None, tailSetupRH=False)#
- as_EasyBird.as_BendySetup(self, baseJnt, bendyCount=4, elbowBendy=False, deleteUnwanted='hands', globalCtrl='Global_Control', bendySwitch=None)#
- as_EasyBird.as_BendySetup_Hands(self)#
- as_EasyBird.as_BendySetup_Legs(self)#
- as_EasyBird.as_CleanLoc(self)#
- as_EasyBird.as_ControlColors(self)#
- as_EasyBird.as_CreateEyeSetup(self)#
- as_EasyBird.as_CreateFeatherCtrls(self)#
- as_EasyBird.as_CreateFeatherJnts(self)#
- as_EasyBird.as_CreateFeathersRig(self, continueCheck=True)#
- as_EasyBird.as_CreateFeathersRig_New(self)#
- as_EasyBird.as_CreateGradualBend(self, ctrlGrps=None, animCtrl=None, animAttr='bendBase', bendAttr='rz', animRange=20, **shArgs)#
To create gradual bending of feathers thorugh factor value
- Parameters:
ctrlGrps – Select ctrl grps for gradual bending through factor
animCtrl – Anim ctrl for anim attr -> ‘bendMid’ etc
animAttr – Attribute to animate bending of feathers
bendAttr – Attribute of feather or feather controls to bend / rotate
- Returns:
- as_EasyBird.as_CreateHandSetup(self)#
- as_EasyBird.as_CreateHeadSetup(self)#
- as_EasyBird.as_CreateLegSetup(self)#
- as_EasyBird.as_CreateSpineSetup(self)#
- as_EasyBird.as_CreateSplineIK_Feathers(self, feathersList=None, wingJnts=None, mirrorSetup=True, LPrefix='L_', RPrefix='R_', **shArgs)#
- Parameters:
feathersList –
- Returns:
- as_EasyBird.as_CreateTailSetup(self)#
- as_EasyBird.as_CreateToeSetup(self)#
- as_EasyBird.as_CreateTongue_Setup(self)#
- as_EasyBird.as_DeleteBasicSetup(self)#
- as_EasyBird.as_EasyBird(self)#
- as_EasyBird.as_EasyBird02(self)#
- as_EasyBird.as_FinalizeBasicSetup(self)#
- as_EasyBird.as_FinalizeSetup(self)#
- as_EasyBird.as_FixFeatherCtrls(self)#
- as_EasyBird.as_FixPivot(self)#
- as_EasyBird.as_FixPosition(self)#
- as_EasyBird.as_FixRotation(self, endJnt=False)#
- as_EasyBird.as_FixRotationOffsets(self, selList=None)#
- as_EasyBird.as_FlipMesh_FromSrc(self)#
- as_EasyBird.as_GenerateHyperPoints(self)#
- as_EasyBird.as_PaintSkin_byWorkBox(self, featherList=None, vtxList=None, workBox='containerObj')#
- as_EasyBird.as_QucikSetup(self)#
- as_EasyBird.as_RebuildHandSetup(self)#
- as_EasyBird.as_RebuildLegSetup(self)#
- as_EasyBird.as_RebuildNeckSetup(self)#
- as_EasyBird.as_RebuildQuickSetup(self)#
- as_EasyBird.as_RebuildSpineSetup(self)#
- as_EasyBird.as_RebuildTailSetup(self)#
- as_EasyBird.as_RebuildToesSetup(self, quickSetup=False)#
- as_EasyBird.as_ReorderFeathers_BySlNums(self)#
- as_EasyBird.as_ReplaceAimTarget(self)#
- as_EasyBird.as_ReplaceFeathers(self, checkVtxCount=False, deleteSrcFeathers=True)#
- Parameters:
checkVtxCount –
- Returns:
- as_EasyBird.as_RigBodyFeathers(self)#
- as_EasyBird.as_SelectMirrorEdge(self)#
- as_EasyBird.as_SelectMirrorVtx(self)#
- as_EasyBird.as_SetNextSibling(self, pos=None)#
- Parameters:
pos – None =Next Pos, 0=First Pos, -1 =End Pos
- Returns:
- as_EasyBird.as_SnapFeatherPivots(self, toOrigin=0)#
- as_EasyBird.as_TwistFeathers(self, animCtrl=None, tailSetupRH=False)#
- as_EasyBird.as_Update_UIOptions(self, onlyWings=1)#
- as_EasyBird.attach_FeatherInfs(self, infList=None, skinMesh=None, useGeoInf=0)#
- as_EasyBird.checkMirrorSelection(self)#
- as_EasyBird.confirmAction(self, action, raiseErr=False, trueVal='Yes', falseVal='No', ex1Btn=None, ex1Action=None, ex2Btn=None, ex2Action=None, ex3Btn=None, ex3Action=None, **shortArgs)#
Requests User to confirm an action shown in confirmDialog window
- as_EasyBird.constrain_Ctrl2Feather(self, ctrlName=None, featherGeo=None, updateTF=True)#
Usage:#
ctrlName =asNode(‘R_Shoulder_Feather_Ctrl’) featherGeo =asNode(‘Right|grp_middle_r_root_027|grp_middle_r_sub_027|middle_r_027’) getFeatherJnt(asN._selected()[0], asN._selected()[1])
- as_EasyBird.createBasicHierarchy(self)#
- as_EasyBird.createClusterCtrl(self)#
- as_EasyBird.createLowResGeo(self)#
- as_EasyBird.createRivet(self)#
- as_EasyBird.deleteAll(self)#
- as_EasyBird.deleteBasicCurves(self)#
- as_EasyBird.deleteEdgeLoops(self)#
- as_EasyBird.deleteSetup(self)#
- as_EasyBird.delete_All_Setup(self)#
- as_EasyBird.error(self, errorMsg)#
Sends a given error message through confirmDialog window. After closing the window, RuntimeError will be raised
- as_EasyBird.exportCtrlShapes(self, filePath=None, fileName=None, ctrlList=None, sufxList='_Ctrl', exFolder='asEB_Lib')#
Purpose:#
Exports the vertex information for given ctrls or ctrls with given ctrlSufx to a given file path
Returns:#
filePath + fileName + ‘_CtrlShapes.mel’
Usage:#
- if not ctrlList:
- try:
mc.select (‘*’ + ctrlSufx, r=1) ctrlList =asN._selected()
- except:
eRig.error(‘No Ctrls are selected with this suffix %s’ %ctrlSufx)
- as_EasyBird.exportSkinWeights(self, vtxList=None, filePath=None, fileName=None, exFolder='asEB_Lib')#
- as_EasyBird.generateSmoothGeo(self)#
- as_EasyBird.generateWireCtrls(self)#
- as_EasyBird.generateWireCurv(self)#
- as_EasyBird.getAimTo(self)#
- as_EasyBird.getAimTo_old(self)#
- as_EasyBird.getFeatherJnt(self, ctrlName, featherGeo)#
- as_EasyBird.getNextEdge(self, currentEdge=None, featherGrp=None)#
Usage Examples:#
EasyBird.getNextEdge(‘wing_vs001.e[555]’, ‘grp_middle_l_root_013’)
Args:#
currentEdge =’wing_vs001Shape.e[555]’ | ‘wing_vs001.e[555]’ featherGrp =’grp_middle_l_root_013’
For Testing:#
currentEdge =filterExpand(sm=32)[0] featherGrp =mc.ls(sl=1)[1]
- as_EasyBird.getPosLocators(self, makeChild=1, snapRot=0, hideLoc=1, oppAxis=None)#
- as_EasyBird.importCtrlShapes(self, filePath=None, fileName=None)#
- as_EasyBird.importSkinWeights(self, filePath=None, fileName=None)#
- as_EasyBird.message(self, messageTxt)#
Sends a given message through confirmDialog window
- as_EasyBird.mirrorCtrlShapes(self)#
- as_EasyBird.mirrorLowResGeo(self)#
- as_EasyBird.mirrorSDK_WingClose(self)#
- as_EasyBird.mirrorWireCurv(self)#
- as_EasyBird.newCtrl01(self, ctrlName)#
- as_EasyBird.old_as_CreateEyeSetup(self)#
- as_EasyBird.old_as_CreateFeathersRig(self)#
- as_EasyBird.old_setScale(self, ctrlGrp, refObj, attr, ratio)#
- as_EasyBird.openBlog(self)#
- as_EasyBird.paintSkin_byWorkBox(self, featherList=None, vtxList=None, workBox='containerObj')#
Args:#
featherList =influences vtxList = vtxList related to featherList only workBox = pCube1 [A container to find out the vtxList falls in it]
Testing:#
#_ featherList =asN._selected() #_ mc.select(featherList, r=1) #_ vtxList =asN._selected() #_ mc.select(vtxList, r=1)
- as_EasyBird.refreshView(self, num)#
- as_EasyBird.renamePartsFromGrps(self)#
- as_EasyBird.reorderFeathers(self, initFeth=None, fList=None, fethPrfx='L_', fethName='WingFeather_01_Geo')#
Usage:#
fList =asN._selected() #_ Selected feathers initFeth =asN._selected()[0] orderFeathers(initFeth, fList, fethPrfx=’R_’, fethName=’WingFeather_29_Geo’)
- as_EasyBird.restrictedZone_EasyBird(self)#
- as_EasyBird.rivet(self)#
- as_EasyBird.selectAtGrpLevel(self, direction='down')#
- as_EasyBird.selectFromTF(self, textFld)#
Adds selected object’s name as Input in any Window for <== button Usage: —— obj10 # Adds ‘obj10’ While pressing Enter.. <== button box25 # Adds ‘box25’ While pressing Enter.. <== button
- as_EasyBird.selectFromTF_FeatherCtrls(self, textFld)#
Adds selected object’s name as Input in any Window for <== button Usage: —— obj10 # Adds ‘obj10’ While pressing Enter.. <== button box25 # Adds ‘box25’ While pressing Enter.. <== button
- as_EasyBird.setLayerReference(self)#
- as_EasyBird.toggleMeshVis(self)#
- as_EasyBird.transferSkin(self, srcMesh_Or_VtxList=None, destMesh_Or_VtxList=None, removeSrcClust=False, removeDestClust=True, trgtPrfx=None)#
Alternative One which is tested and proven one srcMesh_Or_VtxList =selected()[0] destMesh_Or_VtxList =selected()[1]
- as_EasyBird.transferSkin_feather2Jnt(self, skinMesh=None, featherList=None, parentAtGrp=1)#
Usage:#
featherGeo =asNode(‘Right|grp_middle_r_root_027|grp_middle_r_sub_027|middle_r_027’) getFeatherJnt(asN._selected()[0], asN._selected()[1])
- as_EasyBird.updateBasicBoneSize(self)#