<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: maxscript align tools.</title>
	<atom:link href="http://www.just-joshing.com/2009/06/04/maxscript-align-tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.just-joshing.com/2009/06/04/maxscript-align-tools/</link>
	<description>in 3D!</description>
	<lastBuildDate>Thu, 03 Nov 2011 15:56:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Joshua</title>
		<link>http://www.just-joshing.com/2009/06/04/maxscript-align-tools/comment-page-1/#comment-5875</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Thu, 03 Nov 2011 15:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=61#comment-5875</guid>
		<description>Hi Matt,

OK if I understand you correctly, the pivot of the cylinder in not alinged correctly. All the script is doing is aligning the object pivot Z axis to the edge. So if your objects pivot is mis-aligned then you need to fix it first. This is how I do it (and my reason for writing this script in the first place!).

1 - Select an edge that you want to be the Z-axis in the sub-object of the cylinder (copy it and collapse it if neccessary)
2 - Run the script and right click to make a dummy.
3 - Open &quot;Affect Pivot Only&quot; on the Heirarchy command panel.
4 - Use the align tool (Alt+A) and align the orientation of the pivots axis to match the dummy.

Your cylinders pivot will now match what you want, or you can continue to snap rotate it to suit. Now you will be able to align the cylinder to whatever edge you like.

J.</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>OK if I understand you correctly, the pivot of the cylinder in not alinged correctly. All the script is doing is aligning the object pivot Z axis to the edge. So if your objects pivot is mis-aligned then you need to fix it first. This is how I do it (and my reason for writing this script in the first place!).</p>
<p>1 &#8211; Select an edge that you want to be the Z-axis in the sub-object of the cylinder (copy it and collapse it if neccessary)<br />
2 &#8211; Run the script and right click to make a dummy.<br />
3 &#8211; Open &#8220;Affect Pivot Only&#8221; on the Heirarchy command panel.<br />
4 &#8211; Use the align tool (Alt+A) and align the orientation of the pivots axis to match the dummy.</p>
<p>Your cylinders pivot will now match what you want, or you can continue to snap rotate it to suit. Now you will be able to align the cylinder to whatever edge you like.</p>
<p>J.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Piatkowski</title>
		<link>http://www.just-joshing.com/2009/06/04/maxscript-align-tools/comment-page-1/#comment-5874</link>
		<dc:creator>Matt Piatkowski</dc:creator>
		<pubDate>Thu, 03 Nov 2011 15:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=61#comment-5874</guid>
		<description>Josh,
The Align to edge tool works but only if cylinder does not have any rotations w/r to the WCS. When these rotations are present and your tool is used, the cylinder center moves close to the selected box edge but nothing is aligned. 

I have rotated the cylinder 45 degrees about X and Z using typed in rotations, used your tool and tried to rotate the cylinder back ( rot.X -45 degrees and rot.Z - 45 degrees. The effect: cylinder did not go back to 0/0/0 rotations, its center is not on the box edge and some, unknown rotations are still present.

Thanks,
M</description>
		<content:encoded><![CDATA[<p>Josh,<br />
The Align to edge tool works but only if cylinder does not have any rotations w/r to the WCS. When these rotations are present and your tool is used, the cylinder center moves close to the selected box edge but nothing is aligned. </p>
<p>I have rotated the cylinder 45 degrees about X and Z using typed in rotations, used your tool and tried to rotate the cylinder back ( rot.X -45 degrees and rot.Z &#8211; 45 degrees. The effect: cylinder did not go back to 0/0/0 rotations, its center is not on the box edge and some, unknown rotations are still present.</p>
<p>Thanks,<br />
M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Piatkowski</title>
		<link>http://www.just-joshing.com/2009/06/04/maxscript-align-tools/comment-page-1/#comment-5873</link>
		<dc:creator>Matt Piatkowski</dc:creator>
		<pubDate>Thu, 03 Nov 2011 15:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=61#comment-5873</guid>
		<description>Hi Josh,
I cannot get the end result I was looking for. The cylinder moves to different edges of the box but maintains its rotations. I am trying to get rid of these rotations by forcing the cylinder axis of symmetry to follow the direction of one of the box edges. Box sits on the grid and its edges follow the direction of the WCS axes exactly.

I feel that the problem can be better described as: how to force the cylinder axis of rotation that is currently located somewhere in 3D space to follow one of the WCS axis.

Matt</description>
		<content:encoded><![CDATA[<p>Hi Josh,<br />
I cannot get the end result I was looking for. The cylinder moves to different edges of the box but maintains its rotations. I am trying to get rid of these rotations by forcing the cylinder axis of symmetry to follow the direction of one of the box edges. Box sits on the grid and its edges follow the direction of the WCS axes exactly.</p>
<p>I feel that the problem can be better described as: how to force the cylinder axis of rotation that is currently located somewhere in 3D space to follow one of the WCS axis.</p>
<p>Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua</title>
		<link>http://www.just-joshing.com/2009/06/04/maxscript-align-tools/comment-page-1/#comment-5871</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Thu, 03 Nov 2011 08:36:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=61#comment-5871</guid>
		<description>Hi Matt,

First of all thanks for trying the script, and thanks for posting some feedback. I will investigate a way around the older permissions issue to see if there is a way to stop this happening.

Now, onto your question. There are two modes of operation for the &quot;Align to edge&quot; tool, here is how:

Select a sub-object edge, execute the script, then either pick an object to align to the edge OR right click to finish the tool and create a dummy on the edge.

Of course, once you have the dummy you could use the 3DsMax align tool to align whatever you like to it. I often use a dummy as a pick object for the user co-ordinate sytem when things are not aligned to the world.

Did you know that 3DsMax already has a normal align tool? This will allow you to align one objects face to anothers. Look on the align rollout (Hold the mouse button down on the align tool icon).

Josh.</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>First of all thanks for trying the script, and thanks for posting some feedback. I will investigate a way around the older permissions issue to see if there is a way to stop this happening.</p>
<p>Now, onto your question. There are two modes of operation for the &#8220;Align to edge&#8221; tool, here is how:</p>
<p>Select a sub-object edge, execute the script, then either pick an object to align to the edge OR right click to finish the tool and create a dummy on the edge.</p>
<p>Of course, once you have the dummy you could use the 3DsMax align tool to align whatever you like to it. I often use a dummy as a pick object for the user co-ordinate sytem when things are not aligned to the world.</p>
<p>Did you know that 3DsMax already has a normal align tool? This will allow you to align one objects face to anothers. Look on the align rollout (Hold the mouse button down on the align tool icon).</p>
<p>Josh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Piatkowski</title>
		<link>http://www.just-joshing.com/2009/06/04/maxscript-align-tools/comment-page-1/#comment-5868</link>
		<dc:creator>Matt Piatkowski</dc:creator>
		<pubDate>Thu, 03 Nov 2011 04:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=61#comment-5868</guid>
		<description>Hi Josh,
I have installed your align tools thanks to Aroo&#039;s discovery.
I had the same Runtime error problem on Windows 7 32 bit and the solution was the same as in his case - Max folder permissions. 

Next, I have tried to align the polygonal cylinder and the edge of the polygonal box. Dummy was created and was aligned to the box edge but the cylinder stayed where it was.

Is this the end result? What can be done next to get the cylinder aligned.

I was looking for the script allowing to align two objects - edge to edge, face to face etc.to eliminate rotations present in one of these objects.

Alternatively, I was looking for the script allowing to align objects with the WCS axes.

I will be grateful for comments,
Thank you,
Matt</description>
		<content:encoded><![CDATA[<p>Hi Josh,<br />
I have installed your align tools thanks to Aroo&#8217;s discovery.<br />
I had the same Runtime error problem on Windows 7 32 bit and the solution was the same as in his case &#8211; Max folder permissions. </p>
<p>Next, I have tried to align the polygonal cylinder and the edge of the polygonal box. Dummy was created and was aligned to the box edge but the cylinder stayed where it was.</p>
<p>Is this the end result? What can be done next to get the cylinder aligned.</p>
<p>I was looking for the script allowing to align two objects &#8211; edge to edge, face to face etc.to eliminate rotations present in one of these objects.</p>
<p>Alternatively, I was looking for the script allowing to align objects with the WCS axes.</p>
<p>I will be grateful for comments,<br />
Thank you,<br />
Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aroo</title>
		<link>http://www.just-joshing.com/2009/06/04/maxscript-align-tools/comment-page-1/#comment-2242</link>
		<dc:creator>Aroo</dc:creator>
		<pubDate>Fri, 04 Feb 2011 20:06:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=61#comment-2242</guid>
		<description>Joshua:

Thank you for your quick response, I finally fixed this error, what I did was to right click on the 3ds Max folder, go to &#039;Properties&#039; and then in the &#039;security&#039; tab created a new Group (or User name) called &#039;Everyone&#039; !!! of course selecting all the permissions for this new group... this time had to restart Max and run the script then... voilà!

thank you again!</description>
		<content:encoded><![CDATA[<p>Joshua:</p>
<p>Thank you for your quick response, I finally fixed this error, what I did was to right click on the 3ds Max folder, go to &#8216;Properties&#8217; and then in the &#8216;security&#8217; tab created a new Group (or User name) called &#8216;Everyone&#8217; !!! of course selecting all the permissions for this new group&#8230; this time had to restart Max and run the script then&#8230; voilà!</p>
<p>thank you again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua</title>
		<link>http://www.just-joshing.com/2009/06/04/maxscript-align-tools/comment-page-1/#comment-2228</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Thu, 03 Feb 2011 08:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=61#comment-2228</guid>
		<description>Hello Aroo,

The script works with both 32 and 64 bit versions of max, and should also work with any 20xx version (maybe even max9).

I have seen this error on user profiles that do not have the rights to change the install directory of max, maybe your windows UAC is stopping installation or you don&#039;t have enough user rights?

J.</description>
		<content:encoded><![CDATA[<p>Hello Aroo,</p>
<p>The script works with both 32 and 64 bit versions of max, and should also work with any 20xx version (maybe even max9).</p>
<p>I have seen this error on user profiles that do not have the rights to change the install directory of max, maybe your windows UAC is stopping installation or you don&#8217;t have enough user rights?</p>
<p>J.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aroo</title>
		<link>http://www.just-joshing.com/2009/06/04/maxscript-align-tools/comment-page-1/#comment-2225</link>
		<dc:creator>Aroo</dc:creator>
		<pubDate>Thu, 03 Feb 2011 06:15:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=61#comment-2225</guid>
		<description>Mhhh... may be it is because I am running 3ds max in a 64bit...?</description>
		<content:encoded><![CDATA[<p>Mhhh&#8230; may be it is because I am running 3ds max in a 64bit&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aroo</title>
		<link>http://www.just-joshing.com/2009/06/04/maxscript-align-tools/comment-page-1/#comment-2224</link>
		<dc:creator>Aroo</dc:creator>
		<pubDate>Thu, 03 Feb 2011 06:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=61#comment-2224</guid>
		<description>When i tried to run the script I got this message:

-- Runtime error: Copy error on file: C: \Program Files\Autodesk\3ds Max 2010\UIIcons\JNAlign_3points_16abmp


Thank you</description>
		<content:encoded><![CDATA[<p>When i tried to run the script I got this message:</p>
<p>&#8211; Runtime error: Copy error on file: C: \Program Files\Autodesk\3ds Max 2010\UIIcons\JNAlign_3points_16abmp</p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua</title>
		<link>http://www.just-joshing.com/2009/06/04/maxscript-align-tools/comment-page-1/#comment-1751</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Wed, 22 Dec 2010 17:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.just-joshing.com/?p=61#comment-1751</guid>
		<description>Hi Lumberjelly,

Sorry it has taken me so long to approve your post I have been a little pre-occupied. Thanks for your comment. I tried your script and it does snap, but it doesn&#039;t provide the real-time feedback that mine does on the third click, which I think is useful. I seem to remember when I was developing the script that my version snapped properly when not contained as a macro. I will hopefully update these scripts with some new align tools soon, and I will try to adapt the three point script to see if we can have the best of both worlds

J.</description>
		<content:encoded><![CDATA[<p>Hi Lumberjelly,</p>
<p>Sorry it has taken me so long to approve your post I have been a little pre-occupied. Thanks for your comment. I tried your script and it does snap, but it doesn&#8217;t provide the real-time feedback that mine does on the third click, which I think is useful. I seem to remember when I was developing the script that my version snapped properly when not contained as a macro. I will hopefully update these scripts with some new align tools soon, and I will try to adapt the three point script to see if we can have the best of both worlds</p>
<p>J.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

