Friday, March 30, 2012

na_segment v1.0.0, na_hierarchy v1.0.0 and na_ikStretch v1.0.0

na_segment v1.0.0 add joint segment

eval( "source \"na_ui.mel\";" );
eval( "source \"naGeneral.mel\";" );
eval( "source \"naMath.mel\";" );
eval( "source \"na_segment.mel\";" );
//num segments, start joint, end joint, prefix for newly created joints
na_segmentUI();




na_hierarchy v1.0.0 add geo to joint

eval( "source \"na_ui.mel\";" );
eval( "source \"naGeneral.mel\";" );
eval( "source \"naMath.mel\";" );
eval( "source \"na_segment.mel\";" );
eval( "source \"na_hierarchy.mel\";" );
//root joint
na_addGeoSinglePlaneUI();




na_ikStretch v1.0.0 add stretch to straight joint chain given a distance shape

eval( "source \"na_ui.mel\";" );
eval( "source \"naGeneral.mel\";" );
eval( "source \"naMath.mel\";" );
eval( "source \"na_hierarchy.mel\";" );
eval( "source \"na_stretchIK.mel\";" );
eval( "source \"na_stretchIK_UI.mel\";" );
//root joint, distance node, distance attribute, translate or scale stretching, should it smooth the sdk stretch curves
na_stretchIK_UI();



Hi,
To use any of these tools download all the
scripts you see appearing in between \" \" and put them in your default Maya script directory. Also you may not need all these scripts for a given tool.


na_addGeoSinglePlaneUI.mel na_addGeoSinglePlaneUI.mel
na_hierarchy.mel na_hierarchy.mel
na_segment.mel na_segment.mel
na_segmentUI.mel na_segmentUI.mel
na_stretchIK_UI.mel na_stretchIK_UI.mel
na_stretchIK.mel na_stretchIK.mel
na_ui.mel na_ui.mel
naGeneral.mel naGeneral.mel
naMath.mel naMath.mel

Also this might be a little helpful for function finding although it is unfinished na_manual v0.pdf

If you find any bugs using these I would appreciate your feedback.
Regards,
Nate


Inspired by Jason Schleifer's Animator Friendly Rigging (jasonschleifer dot com)
Inspired by Hunt & Thomas The Pragmatic Programmer
Inspired by Steve Mcconell's Code Complete 2