1.15.15 Error on install:
Edit: 1.15.16 install without issue.
1.15.15 Error on install:
Edit: 1.15.16 install without issue.
Yes, Iâve tried this. Unfortunately some widgets crash Blender in this case.
Is there a way to collapse entire modifiers stack in all selected objects with PME? Or it would need some more complex script?
Try something like this (Command
tab):
[setattr(m, "show_expanded", False) for o in C.selected_objects if o.type == 'MESH' for m in o.modifiers]; tag_redraw(area='PROPERTIES')
This works fine, and indeed collapses the stack. I used a wrong naming though. What I meant was to APPLY all the modifiers Sorry for misunderstanding - my mistake.
Almost the same:
[bpy.ops.object.modifier_apply(dict(object=o), apply_as='DATA', modifier=m.name) for o in C.selected_objects if o.type == 'MESH' for m in o.modifiers]; tag_redraw(area='PROPERTIES')
Thank you.
How cool is to be able to code such thingsâŚ
Thank you very much for this info and that youâve been working on it! That would enrich blenders transform behavior a lot
@roaoao Can we get the âClick Dragâ and âReleaseâ modes of interaction without having to go into Blenderâs Keymap? Youâve currently got âPressâ âHoldâ âDouble Clickâ and âTweakâ, but I donât think itâs possible to get the others right now?
Click Drag
mode is the same as Tweak
mode, right? Or I missing something?
Will try to add them in one of the next version.
I didnât think so, but maybe youâre right! Itâs new in 2.8, and enables stuff like getting a pie-menu only when you move your mouse-cursor while holding down the key. Like tab moving between edit and object mode, but holding it down and moving your mouse a certain number of pixels gives you the pie menu
Ok, I need to rename Tweak
to Click Drag
mode then.
Btw, where do you want to use Release
mode? For which tool/hotkey?
As in my example, I would use it on Tab to still be able to between edit and object mode, by just pressing. It could also function on O for the proportional toggle, Z for toggling wires on, and all of this without interfering with their pie-menus.
Hi,
Previously in 2.79 I was using this command to have my selection (in object mode or edit mode) that moves to the world origin. Any chance to have this useful command back to my 2.80 setup ?
loc = C.space_data.cursor_location.to_tuple(); C.space_data.cursor_location = (0, 0, 0); O.view3d.snap_selected_to_cursor(use_offset=True); C.space_data.cursor_location = loc
This is already possible. But please update the add-on to PME 1.15.16
first. It has some related fixes.
Here is an example (video):
Click Drag
or Hold
mode.Tab
)Object Non-modal
) which is assigned to the action (Set Object Mode
) you want to overrideDefault Tab
action (Set Object Mode
) should also be available in this case (when you release Tab
key).
Note that you can add 2 pie menus by using both Click Drag
and Hold
modes.
Hi,Roaoao. i get this throwback error when installing the latest version of PME in Blender 2.80 Beta⌠previous version of PME worked fine. I tried to remove PME manually before installing but it throws the same error
While iâm at using the Dyntopo toggleswitch with PME but using it in PME doesnât update the status of the âtickboxâ in Blenders topbar menu it toggles ok⌠Is this possible to remedy?
EDIT: Weird, Now when i click Dyntopo toggleswitch in my PME menu the tickboxk in Blenders menu doesnât change until i move the mousepointer over it. btw, i installed 1.15.12 again
Hi, @HokusPokus, thanks.
Looks like that the devs have added 1 extra argument to draw_filter
function again.
Please try to open scripts/addons/pie_menu_editor/preferences.py
file, uncomment 1013 and 1598 lines and restart Blender:
# draw_filter = draw_filter28 if is_28() else draw_filter27
What code do you use for this toggleswitch?
Cool beans!.. Yes, first tip commented 1012 and 1597 as they seem to double in 1013 and 1598 âelseâ statement and it works!. Thanks⌠( Maybe it doesnât matter if code is doubled in Python? so leaving 1012 and 1597 wonât do anything.
This is what i added to PME menu for Dyntopo nowâŚ
bpy.ops.sculpt.dynamic_topology_toggle()
I suspect there needs to be some more code to this to work when the state is not specified?
I was using another type of codesnippet in 2.79 but that didnât work at all.