Pie Menu Editor 1.17.3

hi, @roaoao thanks for your relpy,
but as soon as I invoke the pie menu (which contains the button to activate the popup) it disappears and the popup is shown at the right up corner

Hey Where Can I find those colored icons for material,modifiers etc ?

Sorry forgot to mention.
Use the code in Command tab.

1 Like

They are custom icons put in the pme icon’s folder

Ok so now as I click the button the mouse goes at the position but the popup is not shown

yes I know they are custom icons. Did you made them or Is there any resource where I can find them ?

I made myself, downloaded the original svg file and modified it. I can share them if you’re not familiar with this kind of operation

Hi @roaoao , I want to get 2 settings in this red box attached to the Side Panel or Popup Dialog, is there any way to do it? Thanks

Yes, Please share that would be very helpful as I am not familiar with it!

Here it is, be aware that there is only few icons modified (only those that fit my needs)
https://drive.google.com/file/d/17Hnlb9mQQ1DXyOfWkXKIhis9yczeBVk4/view?usp=sharing

Thank you for your efforts.
It doesn’t work either. Looks like it’s a challenge. Not as simply as I expected.
I’m grateful if you have any suggestions.

Works for me.
Please export and pm me the menu with this button.

1 Like

Hi @Kim_Quyen,
If you know Python you can find the code to use in Custom tab in Blender’s Text Editor by pressing Edit Source button in RMB context menu of the buttons.
To enable Edit Source feature go to Edit > Preferences > Interface > Display and activate Developer Extras.

Here is the code for brush texture (Custom tab):

b = brush(); b and L.template_ID(b, 'texture', new='texture.new')

Texture image (Custom tab):

b = brush(); t = b and b.texture; t and L.template_image(t, "image", t.image_user)
4 Likes

Thank your answered , one more question

for obj in bpy.context.scene.objects:
    if obj.name.startswith("Cube"):
        obj.select_set(True)

I have this code, I want to enter it into the Macros to use, how to enter the right syntax ?

Hi, if there is anyone who can help, I assigned a pie menu to the left mouse button when I hold. I want it only to activate if I don’t drag the mouse. PME has a drag option and a hold option but the Hold option behaves the same way as drag.

Does anyone know how to abort/escape/cancel a pie menu and perform normal function if you drag the the mouse before the pie menu activates?

Hi, when I invoke the popup dialog and click on the button, the function assigned to the button is triggered but the dialog box does not close. Has anyone encountered this problem?

Use list comprehensions. Here is the code for Command tab:

[obj.select_set(True) for obj in bpy.context.scene.objects if obj.name.startswith("Cube")]
4 Likes

Hi, PME has close_popups() function. Try to use it at the end of the code:

...; close_popups()
1 Like

I’ll try to implement this in the next version.
Meanwhile you can add a new Stack Key with 1 slot, left mouse button (drag) hotkey and assign function you want to it.

1 Like

Does the current version have a way to create the Preset menu or Images Thumbnails like in the image below?
If not, do you plan to support this feature for the next version?

VulBPhTvNU