From BlenderWiki

Jump to: navigation, search
Note: This is an archived version of the Blender Developer Wiki. The current and active wiki is available on wiki.blender.org.

Pie Menu Editor 1.15.0

Collection of UI editors.

Version 1.15.0 (Change Log)
Blender 2.79+
Author(s) raa
Link https://blenderartists.org/forum/showthread.php?392910
Video https://youtu.be/COW109EjBsU?list=PLsowJ3v5QWhE9db_GcPnSrTXWJrA5poWg


Editors

Pie Menu Editor

Pme vid pie.png

Allows to create nested pie menus with 8+ buttons.

Regular Menu Editor

Pme vid menu.png

Allows to create multi-column menus which can be called by using the assigned hotkey or used as a sub-menu.

Pop-up Dialog Editor

Pme vid popup.png

Allows to create a layout of widgets that can be displayed in pie menus, dialogs, panels or toolbars.

Read More

Sticky Key Editor

Pme vid sticky.png

Allows to assign on-press and on-release commands to the hotkey, which can be used to temporarily activate some tool or mode.

Stack Key Editor

Pme vid stack.png

Allows to stack commands and cycle between them using the assigned hotkey.

Side Panel Editor

Pme vid pg.png

Allows to create a group of panels and add it to the new or existing category (tab).

Hiding Unused Panels

Pme vid hpg.png

The editor allows to hide a group of panels.

Macro Operator Editor

Pme vid macro.png

Allows to create new tools using existing Blender tools without coding.

Modal Operator Editor

Pme vid modal.png

Allows to create interactive tools.

Read More

Property Editor

Pme vid property.png

Allows to create custom properties (widgets).

Read More


Adding Widgets

Pme ex play.png

RMB Context Menu

1. RMB Template-RMB.png on some widget
2. Pie Menu Editor » Add as Button
3. Select the slot for the widget

Some widgets don't support this method.

Pme ex play.png

Last Action

1. Do some action in Blender
2. Ctrl⇧ ShiftAccent grave
3. Select the slot for the last action.

Some actions don't support this method.

Pme ex play.png

Info Area

1. Select some actions in Info area
2. Ctrl⇧ ShiftAccent grave
3. Select the slot for the selected actions.

Pme ex play.png

Editor

Using Slot Editor you can add almost any widget to the menu.


Hotkeys

Pme hotkey.png

Keymaps

To override default hotkey you need to use it's keymap. To find the keymap and the action assigned to the default hotkey you can press + button.

Use Screen Editing keymap to override all existing hotkeys. Be careful with LMB Template-LMB.png hotkey, though. You don't want to override click feature.

Hotkey Mode

Press Press the key
Hold Hold down the key
Tweak Hold down the key and move the mouse
Double Click Double click the key

Modifiers

Any modifier is any combination of Ctrl, Shift, Alt and OSKey modifiers. It can be used to create context sensitive tools.

print("Ctrl is pressed" if E.ctrl else "Ctrl isn't pressed")


The addon allows you to use mouse buttons as a hotkey modifier. In other words you can use LMB Template-LMB.pngRMB Template-RMB.png, MMB Template-MMB.png⇆ Tab hotkeys.


Slot Editor

Pme item edit.png

Command

Python code that will be executed when the user clicks the button.

print("Hello World!")

Property

Path to the object's property which will be displayed as a widget.

bpy.context.object.name

Menu

Open/execute the menu, popup or operator when the user clicks the button. Or draw a popup dialog inside the current popup dialog or pie menu.

Hotkey

Blender's hotkey that will be used to find and execute an operator assigned to it when the user clicks the button.

Custom

Python code that will be used to draw custom layout of widgets.

L.box().label(text, icon=icon, icon_value=icon_value)