Sorkkaelain
(Artem Feodoroff)
October 1, 2024, 12:46pm
1
Is it possible to set a hotkey for the R button to enter into rotate gizmo and activate the “active tool” drag action?
I would like to have it so that my transform gizmo would have select box as drag action and rotate gizmo active tool drag action.
oo_1942
(Kim)
October 1, 2024, 1:36pm
2
From blender 4.0, I remember that the shorthand is not set.
Try the Addon in the link below
2 Likes
RSEhlers
(RSEhlers)
October 2, 2024, 10:55am
3
Why not just use the transform gizmo, that is built into the gizmo with the small white circle = move…
Sorkkaelain
(Artem Feodoroff)
October 2, 2024, 4:05pm
4
That is quite different. I like how with the “active tool” setting you can click anywhere to rotate based on the view. Thanks for the help anyway I figured this by making some simple python scrip basically just chaning few commands together into one function.
1 Like
thorn
(thorn)
October 2, 2024, 4:12pm
5
I’m a big fan of that one. Soooo much better than default Blender.
1 Like
Debuk
October 2, 2024, 4:56pm
6
@Sorkkaelain Well not by setting up a shortcut only. You would have to write an operator that does set both things. And you’d call that via shortcut.
Like this:
import bpy
class CustomRotate(bpy.types.Operator):
"""Custom Rotate"""
bl_idname = "object.custom_rotate"
bl_label = "Custom Rotate"
def execute(self, context):
bpy.ops.wm.tool_set_by_id(name = "builtin.rotate")
bpy.context.scene.tool_settings.workspace_tool_type = 'DEFAULT'
return {'FINISHED'}
def register():
bpy.utils.register_class(CustomRotate)
def unregister():
bpy.utils.unregister_class(CustomRotate)
if __name__ == "__main__":
register()
2 Likes