Comments for Joshua Newman. http://www.joshuanewman.net in 3D. Thu, 03 Nov 2011 15:56:46 +0000 hourly 1 Comment on maxscript align tools. by Joshua http://www.joshuanewman.net/2009/06/04/maxscript-align-tools/comment-page-1/#comment-30 Joshua Thu, 03 Nov 2011 15:56:46 +0000 http://www.just-joshing.com/?p=61#comment-30 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 “Affect Pivot Only” 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.

]]>
Comment on maxscript align tools. by Matt Piatkowski http://www.joshuanewman.net/2009/06/04/maxscript-align-tools/comment-page-1/#comment-29 Matt Piatkowski Thu, 03 Nov 2011 15:49:28 +0000 http://www.just-joshing.com/?p=61#comment-29 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

]]>
Comment on maxscript align tools. by Matt Piatkowski http://www.joshuanewman.net/2009/06/04/maxscript-align-tools/comment-page-1/#comment-28 Matt Piatkowski Thu, 03 Nov 2011 15:00:03 +0000 http://www.just-joshing.com/?p=61#comment-28 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

]]>
Comment on maxscript align tools. by Joshua http://www.joshuanewman.net/2009/06/04/maxscript-align-tools/comment-page-1/#comment-27 Joshua Thu, 03 Nov 2011 08:36:20 +0000 http://www.just-joshing.com/?p=61#comment-27 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 “Align to edge” 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.

]]>
Comment on maxscript align tools. by Matt Piatkowski http://www.joshuanewman.net/2009/06/04/maxscript-align-tools/comment-page-1/#comment-26 Matt Piatkowski Thu, 03 Nov 2011 04:21:46 +0000 http://www.just-joshing.com/?p=61#comment-26 Hi Josh,
I have installed your align tools thanks to Aroo’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

]]>
Comment on 3D World CG Awards 2011 by Joshua http://www.joshuanewman.net/2011/07/04/3d-world-cg-awards-2011/comment-page-1/#comment-54 Joshua Thu, 20 Oct 2011 08:45:49 +0000 http://www.just-joshing.com/?p=688#comment-54 Well thanks to everyone that voted for us. I have no idea about the figures but thanks to a very serious photo of Deyan on the CGAwards website what we do know is that our friends at Vyonyx have taken first prize for their beautiful image of the Parliament Building in Abu Dhabi. Congratulations to Vyonyx!

]]>
Comment on maxscript align tools. by Aroo http://www.joshuanewman.net/2009/06/04/maxscript-align-tools/comment-page-1/#comment-25 Aroo Fri, 04 Feb 2011 20:06:26 +0000 http://www.just-joshing.com/?p=61#comment-25 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 ‘Properties’ and then in the ‘security’ tab created a new Group (or User name) called ‘Everyone’ !!! 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!

]]>
Comment on maxscript align tools. by Joshua http://www.joshuanewman.net/2009/06/04/maxscript-align-tools/comment-page-1/#comment-24 Joshua Thu, 03 Feb 2011 08:15:30 +0000 http://www.just-joshing.com/?p=61#comment-24 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’t have enough user rights?

J.

]]>
Comment on maxscript align tools. by Aroo http://www.joshuanewman.net/2009/06/04/maxscript-align-tools/comment-page-1/#comment-23 Aroo Thu, 03 Feb 2011 06:15:08 +0000 http://www.just-joshing.com/?p=61#comment-23 Mhhh… may be it is because I am running 3ds max in a 64bit…?

]]>
Comment on maxscript align tools. by Aroo http://www.joshuanewman.net/2009/06/04/maxscript-align-tools/comment-page-1/#comment-22 Aroo Thu, 03 Feb 2011 06:11:58 +0000 http://www.just-joshing.com/?p=61#comment-22 When i tried to run the script I got this message:

– Runtime error: Copy error on file: C: Program FilesAutodesk3ds Max 2010UIIconsJNAlign_3points_16abmp

Thank you

]]>