<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>For Each Loop &#187; Mel</title>
	<atom:link href="http://www.foreachloop.com/blog/tag/mel/feed" rel="self" type="application/rss+xml" />
	<link>http://www.foreachloop.com/blog</link>
	<description>Sin Loh, Mel scripting, 3D Maya, animation, rig, photography, life drawings and games.</description>
	<lastBuildDate>Thu, 15 Sep 2011 03:52:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<div id='fb-root'></div>
					<script type='text/javascript'>
						window.fbAsyncInit = function()
						{
							FB.init({appId: null, status: true, cookie: true, xfbml: true});
						};
						(function()
						{
							var e = document.createElement('script'); e.async = true;
							e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
							document.getElementById('fb-root').appendChild(e);
						}());
					</script>	
						<item>
		<title>duplicate and align to multiple objects</title>
		<link>http://www.foreachloop.com/blog/2009/03/20/create-and-align-to-objects</link>
		<comments>http://www.foreachloop.com/blog/2009/03/20/create-and-align-to-objects#comments</comments>
		<pubDate>Sat, 21 Mar 2009 06:34:35 +0000</pubDate>
		<dc:creator>Sin</dc:creator>
				<category><![CDATA[Mel Scripting]]></category>
		<category><![CDATA[Mel]]></category>

		<guid isPermaLink="false">http://www.foreachloop.com/blog/?p=153</guid>
		<description><![CDATA[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&#8230;sorry [...]]]></description>
		<wfw:commentRss>http://www.foreachloop.com/blog/2009/03/20/create-and-align-to-objects/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Cluster</title>
		<link>http://www.foreachloop.com/blog/2008/02/04/create-cluster</link>
		<comments>http://www.foreachloop.com/blog/2008/02/04/create-cluster#comments</comments>
		<pubDate>Tue, 05 Feb 2008 05:54:38 +0000</pubDate>
		<dc:creator>Sin</dc:creator>
				<category><![CDATA[Mel Scripting]]></category>
		<category><![CDATA[Maya]]></category>
		<category><![CDATA[Mel]]></category>

		<guid isPermaLink="false">http://www.foreachloop.com/blog/?p=16</guid>
		<description><![CDATA[In Maya, once you create a cluster, it will return to object mode, then you will have to go back to component mode and create a second cluster. this is very frustrated, so I always have this simple script in my tool set to create clusters faster, one and another one without going back to [...]]]></description>
		<wfw:commentRss>http://www.foreachloop.com/blog/2008/02/04/create-cluster/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Align two objects</title>
		<link>http://www.foreachloop.com/blog/2008/01/31/align-two-objects</link>
		<comments>http://www.foreachloop.com/blog/2008/01/31/align-two-objects#comments</comments>
		<pubDate>Fri, 01 Feb 2008 00:01:04 +0000</pubDate>
		<dc:creator>Sin</dc:creator>
				<category><![CDATA[Mel Scripting]]></category>
		<category><![CDATA[Mel]]></category>

		<guid isPermaLink="false">http://www.foreachloop.com/blog/?p=11</guid>
		<description><![CDATA[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. &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://www.foreachloop.com/blog/2008/01/31/align-two-objects/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Rename Duplicates</title>
		<link>http://www.foreachloop.com/blog/2008/01/11/rename-duplicates</link>
		<comments>http://www.foreachloop.com/blog/2008/01/11/rename-duplicates#comments</comments>
		<pubDate>Sat, 12 Jan 2008 02:27:57 +0000</pubDate>
		<dc:creator>Sin</dc:creator>
				<category><![CDATA[Mel Scripting]]></category>
		<category><![CDATA[Mel]]></category>

		<guid isPermaLink="false">http://www.foreachloop.com/blog/?p=9</guid>
		<description><![CDATA[Description : This script will find any duplicate names in your Maya scene and rename them to a different one by adding &#8220;1&#8243; at the end of the name. You will know if in the script editor you see a node name has been changed, otherwise there&#8217;s none. However, this script doesn&#8217;t find duplicate Shape [...]]]></description>
		<wfw:commentRss>http://www.foreachloop.com/blog/2008/01/11/rename-duplicates/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Set Normal Size</title>
		<link>http://www.foreachloop.com/blog/2008/01/11/set-normal-size</link>
		<comments>http://www.foreachloop.com/blog/2008/01/11/set-normal-size#comments</comments>
		<pubDate>Sat, 12 Jan 2008 02:23:03 +0000</pubDate>
		<dc:creator>Sin</dc:creator>
				<category><![CDATA[Mel Scripting]]></category>
		<category><![CDATA[Mel]]></category>

		<guid isPermaLink="false">http://www.foreachloop.com/blog/?p=6</guid>
		<description><![CDATA[Descriptions: This script will set the length of the normals by adjusting the slider on a window, and toggle the normals on and off. &#160; &#160; &#160; &#160; &#160; &#160; global proc setNormalSizeProc() { $normalSize = `floatSlider -q -value setNormalSizeFS` ; setNormalsSize $normalSize; print ("Normals size :" + $normalSize); } //Sample of a window you [...]]]></description>
		<wfw:commentRss>http://www.foreachloop.com/blog/2008/01/11/set-normal-size/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Round Float Values</title>
		<link>http://www.foreachloop.com/blog/2008/01/11/round-float-values</link>
		<comments>http://www.foreachloop.com/blog/2008/01/11/round-float-values#comments</comments>
		<pubDate>Fri, 11 Jan 2008 18:23:38 +0000</pubDate>
		<dc:creator>Sin</dc:creator>
				<category><![CDATA[Mel Scripting]]></category>
		<category><![CDATA[Mel]]></category>

		<guid isPermaLink="false">http://www.foreachloop.com/blog/?p=7</guid>
		<description><![CDATA[Descriptions: In Maya 7, if you want to round a float value shorter to 3 decimals or whatever you like, the following is one of the solutions; convert the float to an interger, multiply with 1000 (if you want 3 decimals), add 0.0005 to round out the value, at the end divided it by 1000 [...]]]></description>
		<wfw:commentRss>http://www.foreachloop.com/blog/2008/01/11/round-float-values/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Joint Count Hud</title>
		<link>http://www.foreachloop.com/blog/2008/01/10/joint-count-hud</link>
		<comments>http://www.foreachloop.com/blog/2008/01/10/joint-count-hud#comments</comments>
		<pubDate>Fri, 11 Jan 2008 01:59:17 +0000</pubDate>
		<dc:creator>Sin</dc:creator>
				<category><![CDATA[Mel Scripting]]></category>
		<category><![CDATA[Mel]]></category>

		<guid isPermaLink="false">http://www.foreachloop.com/blog/?p=12</guid>
		<description><![CDATA[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 &#8220;HudJointCountProc&#8221; after sourcing the scripts below. &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; global proc int s_jointCountProc() { string $allJoints[] = `ls -type joint`; [...]]]></description>
		<wfw:commentRss>http://www.foreachloop.com/blog/2008/01/10/joint-count-hud/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.foreachloop.com/blog/2007/11/01/hello-world</link>
		<comments>http://www.foreachloop.com/blog/2007/11/01/hello-world#comments</comments>
		<pubDate>Fri, 02 Nov 2007 07:32:32 +0000</pubDate>
		<dc:creator>Sin</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Mel]]></category>

		<guid isPermaLink="false">http://www.foreachloop.com/blog/?p=1</guid>
		<description><![CDATA[//Hi to everyone in code way.. print `Hello world!`;]]></description>
		<wfw:commentRss>http://www.foreachloop.com/blog/2007/11/01/hello-world/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

