Rotate gizmo drag action hotkey?

Is it possible to set a hotkey for the R button to enter into rotate gizmo and activate the “active tool” drag action?
image

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.

From blender 4.0, I remember that the shorthand is not set. :thinking:
Try the Addon in the link below

2 Likes

Why not just use the transform gizmo, that is built into the gizmo with the small white circle = move…

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

I’m a big fan of that one. Soooo much better than default Blender.

1 Like

@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