Post #592:
Ja
π Metadata
- Author: roaoao
- Date: 2017-03-11 12:10:52
- Type:
answer - Quality Score: 8/10
- Reply to: post_00591
π·οΈ Tags
macro hotkeys configuration intermediate solved
βοΈ Related PME Features
- Macro Operator
- Hotkey Configuration
- Stack Key Editor
- Tweak hotkeys
π¬ Content
Jakro:
Hey Roaoao Iβve spent the morning trying to set up a tool inside of PME for quickly align verts in the uv editor to either the x or the y axis. My thinking was to have ctrl + alt + lmb to activate border, I would then move the mouse over and select the vertices, then the verts would be scaled to zero on the x axis. There would be an alternative version for aligning to the y axis where instead of lmb i would use rmb . The issue Iβm finding is that the border select tool requires you to press ctrl+b and then click meaning you have to do 2 actions before you begin the selection box. I got the tool to work with the lasso but Iβm more interested in using the border select tool. Do you have any suggestions? Hereβs an example of the Lasso version https://i.gyazo.com/e804fac7a14f00ca5688ee900d4905bc.mp4
Thanks
Looks like Border Select tool behaves like Lasso Select when it executed by Tweak hotkey:
-
I assume you used Macro Operator for this tool (for example with βMy Macro Operator β name)
-
Add a new hotkey in User Preferences - > Input tab β Mesh keymap with these settings:
-
Type of event mapping: Tweak
-
Type of event: LMB
-
Ctrl + Alt
-
Identifier of operator: pme.macro_My_Macro_Operator
-
Add a dummy Stack Key in PME and assign the same hotkey and keymap for it. We have to add it because β Tweak β hotkeys donβt override default hotkeys.
Iβll add support for Tweak hotkeys in the next version of PME.