Post #2566: Is possible with PME to align selected points to the last selected vertex on any

📋 Metadata

  • Author: Pinhead
  • Date: 2019-08-02 14:20:40
  • Type: question
  • Quality Score: 7/10
  • Replies (1): post_02569

🏷️ Tags

v1-20-x pie-menu macro hotkeys advanced unsolved

  • Pie Menu Editor
  • Macro Editor
  • Python Scripting
  • Custom operators

💬 Content

Is possible with PME to align selected points to the last selected vertex on any axis?
Like on this example but wit one click?

https://blenderartists.org/uploads/default/original/4X/f/1/1/f11d96203b16d301ac0d1564542fee90ad1aed17.mp4

Is possible to merge this command:

C.space_data.overlay.show_edge_bevel_weight = not C.space_data.overlay.show_edge_bevel_weight

with this:

(override_context('VIEW_3D')

It is possible to run pie menu on selected object. Now is only working on selected active object.
When i try open menu only on selected (no active) i have this error:

location: <unknown location>:-1
run non recursive
Traceback (most recent call last):
  File "C:\Users\radi0n\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\pie_menu_editor\operators.py", line 1909, in invoke
    not cpm.poll(self.__class__, context):
  File "C:\Users\radi0n\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\pie_menu_editor\types.py", line 657, in poll
    return exec_globals["poll"](cls, BU.bl_context)
  File "<string>", line 1, in poll
AttributeError: 'NoneType' object has no attribute 'type'

menu:
242.json (1.4 KB)


🔗 View on Blender Artists