Post #2207: : post_02208, post_02209
🏷️ Tags
pie-menu hotkeys intermediate solved
⚙️ Related PME Features
- Pie Menu Editor
- Command tab
- Python Scripting
💬 Content
BlenderBob:
Have a sticky key for snaps, like in Maya? I found it very annoying to have to decide which snap you want before you move an object and you can’t switch while doing the move.
No, Afaik, we can’t change snapping settings while move tool is active.
BlenderBob:
I’d like to just make a pie menu that would snap the origin on the selected vertice, edge or face (center), maybe by doing a series of commands.
Use this code in Command tab:
bpy.ops.view3d.snap_cursor_to_active(); bpy.ops.object.mode_set(mode='OBJECT'); bpy.ops.object.origin_set(type='ORIGIN_CURSOR'); bpy.ops.object.mode_set(mode='EDIT')
BlenderBob:
I can’t find the way to make a pie menu to go into edge, vertices or face mode.
You can find the code here. Use it in Command tab.
BlenderBob:
I can’t find the way to switch to object mode in pie menu.
bpy.ops.object.mode_set(mode='OBJECT')
Other object mode names.