Open jjburton opened 1 year ago
Going to need a reverse fk root
Reverse FK Utils
There's an issue with controller data setup. The reverse FK stuff kinda brought it to a head. Requirements:
How should we store it.
mModule = mBlock.moduleTarget
reload(mModule.UTILS)
mModule.atUtils('controls_getDat',report=True)
mModule.atUtils('controls_getDat',rewire=True)
pprint.pprint(mModule.atUtils('controls_getDat','fk'))
pprint.pprint(mModule.atUtils('controls_getDat','fkReverse'))
pprint.pprint(mModule.atUtils('controls_getDat','ik'))
pprint.pprint(mModule.atUtils('controls_getDat','fk'))
pprint.pprint(mModule.rigNull.msgList_get('fkControls'))
pprint.pprint(mModule.rigNull.msgList_get('fkReverseControls'))
pprint.pprint(mModule.rigNull.msgList_get('rigJoints'))
pprint.pprint(mModule.rigNull.msgList_get('handleJoints'))
mModule.rigNull.scaleRoot
pprint.pprint(mModule.mControlsAll)
pprint.pprint(mModule.rigNull.moduleSet.getList())
pprint.pprint(mc.sets(mModule.rigNull.moduleSet.mNode, q = True))
_d = {}
for mCtrl in mModule.mControlsAll:
_type = mCtrl.getMayaAttr('cgmTypeModifier') or mCtrl.getMayaAttr('cgmName')
if not _d.get(_type):
_d[_type] = []
_d[_type].append(mCtrl)
pprint.pprint(_d)
...