jjburton / cgmTools

Repository for cgMonastery development
96 stars 20 forks source link

Giant Otter Build #362

Open jjburton opened 1 year ago

jjburton commented 1 year ago
jjburton commented 1 year ago

Head/Spine

jjburton commented 1 year ago

Reverse FK Spine

Going to need a reverse fk root

jjburton commented 1 year ago

Reverse FK Utils

jjburton commented 1 year ago

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)
jjburton commented 1 year ago

Head

...

jjburton commented 1 year ago

Build issues

jjburton commented 1 year ago

Rig 2 Issues