Align Pivot to Direction

8 votes
Version: 
1.3
Date Updated: 
03/13/2019

 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 1.3 - fixed bug in 3ds Max 2019.3

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

Comments

Comment viewing options

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

.

Use the script to orient the pivot of the object.
Then, go to any suobject level, set Reference Coordiante System to PARENT and all subobjects elements will use the object's pivot.

harumscarum's picture

great tool!

wow this is musthave tool, but it would be great to apply object pivot to all sub-objects. is it possible to implement?

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...

miauu's picture

.

You mean Max 2016 SP1. Can you send me the object to [email protected]?

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.

Comment viewing options

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