universal Pivot to Selection Script

3 votes
Version: 
1.1
Date Updated: 
07/10/2016

This script sets the pivot position to your selection

Supports:
Editable Poly and Edit Poly Modifier with
Vertex, Edge, Border, Face and Element Selection

It also supports knot/vertex points of Editable Splines and lines
When an object is selected, it sets the pivot position to the objects center

Comments

Comment viewing options

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

THX

This is Beautiful!
Thank You!

Vipul's picture

Silly me

I didn't know how to run macros.
works perfect
+1 given

Vipul's picture

Help

hi,
the script is not working for me or I don't know how to use it :(
Max 2017 sp3
I created a cylinder from the perspective (default pivot was on the grid)

1.(i selected 2 faces and then dragged the script onto max)
2.(i selected 2 faces and then run the script)
nothing happened on both actions.
please help

wejm's picture

it's the same

it's the same, i get the same results with both

ChrisRus's picture

@wejm

Are you using editable poly or an edit poly modifier?

wejm's picture

i mean that if i select a

i mean that if i select a edge of a box rotated of eg. 35 degrees and run your script, i get the pivot in the middle of the edge with correct local pivot, but if i select the edge of a sphere or a teapot, the egde dont get the correct local pivot.

and would be great for a universal Pivot to Selection Script get the correct local pivots.
thx (and sorry for my bad english)

ChrisRus's picture

@wejm

I'm not sure if I understand you correctly. The script is not using any normals.
When you select several objects, the script is setting the pivot position to the center of each object.

Would you prefer, that the pivot gets centered between all of the selected objects?

wejm's picture

don't works good with

don't works good with several objects, like a teapot or a sphere, do not get the right normals

wejm's picture

thank you so much

thank you so much

Comment viewing options

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