Align Pivot to Direction

4 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.
miauu's picture

.

THis should not happen, but I can't reproduce the error.
Next time when this happen can you check if the object is scaled before to use the script?

appius's picture

issue

thaks for the nice script.
sometime, using the script make the object rotating itself instead of rotating the pivot. I have to solve it by applying a reset xform first...

Nightshade's picture

Script not executing

Maya 2016 SP1
I've executed the script and assigned a keybind.
I select my mesh - a box - and click my keybind > Align Z axis
Result: My mesh becomes skewed/deformed

1rv's picture

Similarly to the present

Similarly to the present script:
I'd select the modifier's Gizmo, then invoke script, select axis etc.
but XYZ turned to UVW.

Not not exactly but close:
http://i.imgur.com/PSpHao4.gifv
(the texture's U axis get aligned to the edge (blue one))

miauu's picture

.

How exactly you want to use it with UVW Modifier?

1rv's picture

If only this script could

If only this script could work with UVW modifier's gizmo!

1rv's picture

miauu , it's awesome! thank

miauu ,
it's awesome! thank you for your generosity and talent.

mwaif's picture

working great!!!! Thank you

working great!!!! Thank you very much!

miauu's picture

.

Try version 1.2

Comment viewing options

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