In this case, since we come from 3dsmax and Maya, we missed a lot the ability to change the objects pivot orientation and I saw a lot of people here in the forums asking for the same thing, some people suggested to use the Hook modifer, but we wanted something simpler, similar to the ¨Affect Pivot Only¨ button present in 3dsmax… so we did it
Here you have a video explaining it:
And here is the direct download link to the addon:
Pretty cool Martin, I´ll implement it as soon as I have some time, but as something optional, one of the cool things with our addon is that the axis created is an standard object, so you can do whatever you want to it, a friend asked me if it could be constrained to another object, don´t ask me why, but it seems that it is something standard in maya´s world.
But in any case your implementation seems great too for many situations, how does this affect to the transform values and the delta transform values?
Cheers and thanks for the code and the suggestion!
I did like the idea of separate object very much as well. I create an empty its just that it gets deleted when the operation is finished, so you can use all the usual rotate and grab snapping, numerical input, axis constraints and so on. I also like the idea that it can toggle between edit and object mode as needed, because I need to set origin location for symmetrize action quite a lot and want to be able to do it from edit mode.
Your implementation is pretty cool, I’ll include it as soon as i can.
At first I thought to do it modal but since it is my first add on I have not too much experience with Blender and Python, so finally I decided to do it as it is right now, and my testers liked it more than if it were modal, but I clearly see the benefits of being modal, specially the one you named about edit mode
Really nice tool that , imo, is missing from Blender.
The one thing I would love to see is baking the modify and commit pivot functions into one command.
Something along the lines of
if modify Pivot active>commit pivot else modify pivot.
That way you could bind it to a single key, press it once to turn on modify pivot, place it where you want it to be, press the same keybind and it will then commit it (since modify pivot is still active). Not sure this makes sense.
In the meanwhile I’ll use two separate binds for this
edit: making it so that when activating the modify pivot tool you immediately go into move mode would make this a lot more intuitive and cut down another keypress (and it could be cancelled quickly with right mouse click if you need to rotate it instead).
Mmmmh, good ideas, but I did not merged commit because sometimes you want to do various operation with the pivot, translate, rotate, align, and also for being in one command I would have to do a modal operator, so it enters in modify pivot mode and when yo confirm it it exits that mode, but in that case you would be unable to change between translate and rotate, we could have two modes, but in that case I think the commit button is more comfortable.