Post #2337: i tried this code it does rotate at 45 degree but after that i cant combine it w

📋 Metadata

🏷️ Tags

macro hotkeys intermediate unsolved

  • Macro Editor
  • Python Scripting
  • Hotkey Configuration

💬 Content

i tried this code it does rotate at 45 degree but after that i cant combine it with relast

bpy.ops.transform.rotate('EXEC_DEFAULT', value=0.7853981852531433, orient_axis='Z')

i wanna create a rotate macro with specific angle like 0 degree ( no modals ) and able to combine it with relast
image


So the question is i wanna know if its possible or not?
because i really want to reduce keystrokes

strokes to activate relast ( 3 key strokes )

  1. need to enter 0 value during rotation modal
  2. choose the axis ( XYZ )
  3. Press Enter
    then Relast Angle Rotation

I want to Achieve ( 1 keystoke )

  1. Macro PME combining all 3 ( 0 angle value , Z-Axis , Enter Confirm )
    then reLast Angle Rotation

🔗 View on Blender Artists