Frame Counter v0.2
enjoy :)
//////////////////////////////////////////////////////////
//Alfonso Sicilia www.alfonsosicilia.com
//Create FrameCounter v0.2
//Load and execute the script , this will auto create
// 1 shelf buttons on the current active shelf
//for switch the FrameCounter On and off .
//Thanks to my friend Lele "Midori" for the new cool one button
// switch version.
scriptToShelf "FcNt " " proc LeleAlf_dispFrCounter (int $sect, int $block){\r\tif (`headsUpDisplay -ex LeleAlf_CounterFrame`){\r\t\theadsUpDisplay -rem LeleAlf_CounterFrame;\r\t}else{\r\t\theadsUpDisplay -section $sect -block $block -lfs \"large\" -dfs \"large\" -command \"currentTime -q\" -atr LeleAlf_CounterFrame;\r\t}\r}\rLeleAlf_dispFrCounter (9,7);" "1";
editMenuUpdate MayaWindow|mainEditMenu;
//////////////////////////////////////////////////////////
Wednesday, January 31, 2007
Friday, January 12, 2007
Align Script, for easy aligning object during the rigging proces, with some little change you can align what you want, pivot,rotation only,move only ecc..
Just copy and create a new shelf button..
///////////////////////////////////////////////////////////////////////
//www.Alfonsosicilia.com Align objects script//
//Copy all and create a shelf button
//Select first object,then the second you want the first to
// be aligned to then Align!//
string $select[] = `ls -sl`;
float $pickRot[] = `xform -q -ws -ro $select[1]`;
float $pickPos[] = `xform -q -ws -t $select[1]`;
xform -ws -ro $pickRot[0] $pickRot[1] $pickRot[2] -t $pickPos[0] $pickPos[1] $pickPos[2] $select[0];
///////////////////////////////////////////////////////////////////////
Just copy and create a new shelf button..
///////////////////////////////////////////////////////////////////////
//www.Alfonsosicilia.com Align objects script//
//Copy all and create a shelf button
//Select first object,then the second you want the first to
// be aligned to then Align!//
string $select[] = `ls -sl`;
float $pickRot[] = `xform -q -ws -ro $select[1]`;
float $pickPos[] = `xform -q -ws -t $select[1]`;
xform -ws -ro $pickRot[0] $pickRot[1] $pickRot[2] -t $pickPos[0] $pickPos[1] $pickPos[2] $select[0];
///////////////////////////////////////////////////////////////////////
Subscribe to:
Posts (Atom)