Align Pivot to Direction

5 votes
Version: 
1.1
Date Updated: 
06/03/2015

 Align Pivot to DIrection(vector) allows you to align the X, Y,Z or XYZ axis of the local pivot of each of the selected objects to the direction(vector), defined by two picked in the scene points. SNAP will be turned ON automatically.  If the Shift key is down when the axis is choosen the pivot will be moved to the first picked point.

Version 1.1 should works properly with Pen(tablets).

Version 1.2 - Align To XYZ axis added. You should pick 6 points to define the three axes. Points 1 and 2 define the X axis, points 3 and 4 define the Y axis, points 5 and 6 define the Z axis

Version Requirement: 
3dsMax 9 +
Video URL: 
AttachmentSize
miauualignpivottodiection_10.ms2.91 KB
miauualignpivottodiection_11.ms3.35 KB
miauualignpivottodiection_12.ms6.89 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mwaif's picture

For example when I want to

For example when I want to align pivot to 3 axes, I'm running the script and click "align x axis" and click two points to define x vector. Then I run the script second time for aligning for y axis and do above steps and again for z axis.

There couldn't be an easier way for this? Like running the script, first 2 clicks define x, second 2 clicks defines y, and third 2 clicks define z.

miauu's picture

.

Script allows you to pick only two points in the scene. Those points define a vector. How to align 3 axes to one vector?

mwaif's picture

Nice script, thank you.One

Nice script, thank you.

One suggestion though. Is it possible to add another option called "Align X,Y,Z axes" ? This will align all axes at once. When clicked this option, user will click 6 times sequentially(First 2 clicks will set X, second clicks will set Y, and then Z)
Thanks in advance.

miauu's picture

.

Try version 1.1.

harumscarum's picture

wacom tablet issues

thank you - great script and very useful!
but i experience some issues with wacom tablet - need to click very carefully or many clicks to make it work
is there any option to make it working with pen input

thanks again
viktor

obaida's picture

Thank you

Thank you "miauu" for making this script .
Best Regards

miauu's picture

.

I've posted the solution here.

hanselmoniz's picture

align pivot to edge

Please can you help me with a script that can align the x-axis pivot to the edge of a line (its a straight line with 2 points)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.