
With this simple script you can easily place selected object pivot (Spline or Geometry) on selected knot (segment) or selected vertex (edge, poly).
Script
Align Pivot To Knot | Vertex
By barigazy · Credited author: Branko Živković · 2013-05-26
- Version
- v1.5
- Version requirement
- 9+
- Date updated
- 2013-05-26
- Votes
- 12
Description
Additional Info
Attachments
- bga_pivot_on_subselection_v1.2.mcr — bga_pivot_on_subselection_v1.2.mcr2.1 KB
- bga_pivot_on_subselection_v1.5.mcr — bga_pivot_on_subselection_v1.5.mcr3.6 KB
Tags: spline, align pivot vertex knot spline editable poly editaple mesh
Comments (11)
2012
dub73 · 2014-11-12
Hi, is it working with 2012? I am not getting it. If I select an Edge and call the script, nothing happens? If I select an box and call the script I get an little window asking me where to place the pivot? Top, Center, Bottom. I thought I could align the pivot to an edge?
barigazy · 2014-11-12
If you have selected edge or any other sub-object level pivot will be aligned at average center without showing any dialog. Also check if your reference coordinates center is "View" and "Use Pivot Point Center".
If you not in sub-object (object level) then you get dialog.
I'm use max2014 and max2015 and tool work fine
dub73 · 2014-11-14
it seems not to work in 2012
Michele71 · 2014-09-13
Nice script :) Thanks for sharing it!!
Love it!
dennisqdw · 2014-06-15
I'll be using this one for sure, thanx.
barigazy · 2014-06-15
Thanks ;)
update 1.2
barigazy · 2013-10-18
New tool >>> Pivot On SubSelection
lantlant · 2013-05-26
I like the script +1 :)
But why is this better than the snap?
(a snap encore primitives also work)
@lantlant
barigazy · 2013-05-27
It's not better but fester.
With this tool you select knot or vert and press macro button.Done
Using snap you need to check first snap option (pivot and verts) then go to "Hierarchy" tab, check "Affect Pivot", then aligne pivot to vert.Done
You see you have more steps for that. Sometimes it's quite annoying checking and unchecking snap options and if you have very dense mesh is difficult to snap pivot to verts.Right? :)
Anyway thanks for comment and vote.
Cheers!
alignment to normal
markel · 2013-06-25
Hi, barigazy. Thanks for nice script!
It would be great if "Align Pivot To Vertex" will take into account vertex normal. Especially on 2-point splines in rendering mode "enable in viewport". In such case you will be able to place pivot directly in the center of the cap and align it to spline`s direction. Then work in local space of the object: drag vertices along axle or convert to editable poly and then treat it as primitive (cylinder or box). This would be just great for modeling tubes, pistons and all sorts of handles.
Andriano · 2013-05-26
Great script!
Speeds up and facilitates the work.
Thank you!