📋 Metadata

💬 Content

Xmaiter:

How to add a switch and checkbox(for example solid>wireframe) ?

You can use Custom tab for this:

text, icon, id = ("Solid", 'SHADING_SOLID', 'WIREFRAME') if C.space_data.shading.type == 'SOLID' else ("Wire", 'SHADING_WIRE', 'SOLID'); L.operator("pme.exec", text=text, icon=icon).cmd = "C.space_data.shading.type = '%s'" % id

Xmaiter:

Is it possible to do modal operator for function “next select vertex,edge,face”?

You want to toggle vertex -> edge -> face -> vertex -> ... modes?
Add a Stack Key with this slot:

msm = C.tool_settings.mesh_select_mode; C.tool_settings.mesh_select_mode = (msm[2], msm[0], msm[1])

Xmaiter:

Is it possible to record a macro that will add a node (for example bevel) to the desired slot - normal?

Record? No.
But you can write a script for this.

Xmaiter:

This Popup Dialog

What do you want to do with this popup? And where I can find it?


❤️ 3 likes


🔗 View on Blender Artists