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];
///////////////////////////////////////////////////////////////////////
Sunday, December 17, 2006
Wednesday, November 08, 2006
Ok....so whats up?.... the autorigging tools are still under development, we are proceduralizing the wole thing so it will take some more time than i was thinking at start...
Anyway, tonight i have wrote a little Frame counter script , becouse the one that i was using before wasn't that good so : here it is...
copy and paste in the script editor or paste into a new .txt document and rename it to .mel :
AS_frameCounter.mel simply auto create two shelf buttons one to switch the counter on and one to switch off, the buttons will be created in the current selected shelf .
//////////////////////////////////////////////////////////
//Alfonso Sicilia www.alfonsosicilia.com
//Create FrameCounter
//Load and execute the script , this will auto create
// 2 shelf buttons on the current active shelf
//for switch the FrameCounter On and off .
textToShelf ("FcOn;", "headsUpDisplay -section 9 -block 6 -dfs \"large\" -command \"currentTime -q;\" -atr AS_CurFrame;");
textToShelf ("FcOff;","headsUpDisplay -rem AS_CurFrame;");
//////////////////////////////////////////////////////////
If you like it or not...let me know...
Bye..
Anyway, tonight i have wrote a little Frame counter script , becouse the one that i was using before wasn't that good so : here it is...
copy and paste in the script editor or paste into a new .txt document and rename it to .mel :
AS_frameCounter.mel simply auto create two shelf buttons one to switch the counter on and one to switch off, the buttons will be created in the current selected shelf .
//////////////////////////////////////////////////////////
//Alfonso Sicilia www.alfonsosicilia.com
//Create FrameCounter
//Load and execute the script , this will auto create
// 2 shelf buttons on the current active shelf
//for switch the FrameCounter On and off .
textToShelf ("FcOn;", "headsUpDisplay -section 9 -block 6 -dfs \"large\" -command \"currentTime -q;\" -atr AS_CurFrame;");
textToShelf ("FcOff;","headsUpDisplay -rem AS_CurFrame;");
//////////////////////////////////////////////////////////
If you like it or not...let me know...
Bye..
Subscribe to:
Posts (Atom)