jjburton / cgmTools

Repository for cgMonastery development
97 stars 21 forks source link

Week of July 6 #261

Closed jjburton closed 3 years ago

jjburton commented 3 years ago

Have a week off and wanna hit some stuff.

Vids

Scene

IK

LIMB

Optimization

Config/Shapedat

Docs

jjburton commented 3 years ago

Benn's Limb bug

Benn had a bug on a file

Follow parent not working on toes
jjburton commented 3 years ago

Segment handles with no roll

This is working and feels better.

jjburton commented 3 years ago

Simple Scale

Been a while getting back to this. Wanna get this just more useful

Spline and liner curves was simple. There's a bug with non squash measure to loop back to. With the arc length we need to insert in the factored scale to the distance stuff.

jjburton commented 3 years ago

Simple curve squash setup

Need a more reusable curve setup for this. Been putting this off a bit. might was well fix it up.

mBlock.moduleTarget.rigNull.msgList_get('segmentHandles_0')
mc.ls(sl=1)
d = {'jointList':[u'start_segJnt', u'seg_1_segJnt', u'seg_2_segJnt', u'seg_3_segJnt', u'seg_4_segJnt', u'end_segJnt'],
     'influences':[u'start_handle_anim', u'seg_1_handle_anim', u'seg_2_handle_anim', u'end_handle_anim'],
     'settingsControl':'simple_settings_anim',
     'setupAim':1,
     }

import cgm.core.rig.ik_utils as IK
reload(IK)

IK.curve(**d)
d = {'jointList':[u'start_segJnt', u'seg_1_segJnt', u'seg_2_segJnt', u'seg_3_segJnt', u'seg_4_segJnt', u'end_segJnt'],
     'influences':[u'start_handle_anim', u'seg_1_handle_anim', u'seg_2_handle_anim', u'end_handle_anim'],
     'settingsControl':'simple_settings_anim',
     'setupAim':1,
     'squashStretch':1,
     'squashStretchMain':'arcLength',
     'masterScalePlug':'create',
     'baseName':'test',
     'extraSquashControl':1,
     }

Really want to have localized additive scale and maybe roll setups later working. Currently this is working without the arclength how I like but I want to combine it. To do so I want to try a scale 'reader' and plug that back into the md value.