ForEachLoop
main mel draw photography about

ForEachLoop

 


 

duplicate and align to multiple objects

Posted by Sin on March 20th, 2009 filed in Mel Scripting

If you want an object to be duplicated as many times as other multiple objects, and then align them together, this script is right for you. First, select the multiple objects you want to align to, and lastly select the one desired object you want it to be duplicated and aligned to the multiple objects…sorry [...]

Read More..>>

Animation and Pose Copy Tool…with a batch transfer

Posted by Sin on February 10th, 2008 filed in Mel Scripting

The “Animation Copy” allow Maya users (tested in Maya 7) to record the pose, or animation in a text file that stored in a directory the users have picked; the directory the users picked will be recorded down(in anmPose_userPrefs.mel) so users don’t have to go in to pick the directory again next time they start [...]

Read More..>>

Align two objects

Posted by Sin on January 31st, 2008 filed in Mel Scripting

Description: This simple script could help you align 2 objects together. I put an option you could turn on if you like the object to be orientated as well. First, select the target object which you want to align to and then shift select the object that will get aligned.        

Read More..>>

Set Normal Size

Posted by Sin on January 11th, 2008 filed in Mel Scripting

Descriptions: This script will set the length of the normals by adjusting the slider on a window, and toggle the normals on and off.             global proc setNormalSizeProc() { $normalSize = `floatSlider -q -value setNormalSizeFS` ; setNormalsSize $normalSize; print (“Normals size :” + $normalSize); } //Sample of a window you [...]

Read More..>>

Joint Count Hud

Posted by Sin on January 10th, 2008 filed in Mel Scripting

Description : This hud is only useful for riggers who need to know the number of joints for their characters, if the game engine has limited the joint numbers.Type “HudJointCountProc” after sourcing the scripts below.                   global proc int s_jointCountProc() { string $allJoints[] = `ls -type joint`; [...]

Read More..>>