「利用者:Raa/Addons/Pie Menu Editor」の版間の差分
細 (1版 をインポートしました) |
|
(相違点なし)
|
2018年6月29日 (金) 06:21時点における最新版
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
Regular Menu Editor
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
Allows to create a layout of widgets that can be displayed in pie menus, dialogs, panels or toolbars.
Sticky Key Editor
Allows to assign on-press and on-release commands to the hotkey, which can be used to temporarily activate some tool or mode.
Side Panel Editor
Allows to create a group of panels and add it to the new or existing category (tab).
Adding Widgets
RMB Context Menu
1. RMB on some widget
2. Pie Menu Editor » Add as Button
3. Select the slot for the widget
Some widgets don't support this method.
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.
Info Area
1. Select some actions in Info area
2. Ctrl⇧ ShiftAccent grave
3. Select the slot for the selected actions.
Hotkeys
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 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 RMB , MMB ⇆ Tab hotkeys.
Slot Editor
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)