Post #2007: ![](https://blenderartists.org/user_avatar/blenderartists.org/pinhead/48/528486_

📋 Metadata

🏷️ Tags

pie-menu hotkeys intermediate solved

  • Pie Menu Editor
  • Command tab
  • Menu tab
  • Python Scripting
  • Modal Editor

💬 Content

Pinhead:

I would like to put the vertex, edge and face selections in pie menu.
What commands do I have to make so the components selections is work from the level of object and edit mode?

Here is an example for the vertex mode:

C.tool_settings.mesh_select_mode = (True, False, False)

Pinhead:

What python command is for toggle wireframe on shaded (in pie menu)?

Try something like this in Command tab:

s = C.space_data.shading; s.type = 'WIREFRAME' if s.type != 'WIREFRAME' else 'SOLID'

Pinhead:

Is possible to recreate this function from ReLast addon (https://youtu.be/JfvLlfOgaSw) in PME?

Yes, import this Grid Fill Modal and use it in your pie (Menu tab).


❤️ 1 likes


🔗 View on Blender Artists