I used this addon to make a right click context menu similar to that of Maya. The only problem I have is with choosing whether to select vertex, edges or faces when going into edit mode and was wandering if you could help me out with this.
So to clarify I would like the edit mode button to expand and give me the option to choose what selection mode I want.
And for the second part that is “Dimensions” you need to know some python, It comes from a formatted C.object.dimensions property
For example an alternative option was making a popup dialog with 2 buttons, the first with the transform panel and the second with C.object.dimensions in the property tab. It would be the same but less tidy
bpy.ops.pme.overlay(text='Version module FR : à é è \u00e0 \u00e9 \u00e8 ', alignment=‘BOTTOM_LEFT’, offset_y=70, offset_x=100, duration=8),
prefs().overlay.color = (1, 0.4, 0.06, 1)
when i write a text which is a help (for example a description of the function) for the users, it is displayed in the view port, every thing work as excepted only characters with accent are substitute with their unicode. Accented characters works in the pie menu but how can i achieve the same result for the displayed text ? One solution is to write directly with the unicode but i have a lot of subsitute to make.
I hope you could understand what i mean.
Baptiste
Hello all -
What is the context name to use (instead of the generic “Window” shown in the screenshot below) for a PME popup menu to show up specifically in Sculpt mode ?
Your addon is a must have, save me so muuuuuuuuuuuuuch time in my workflow.
I have a question. Is it possible to affect a pie (for example) to multiple types of objects. For example enabling the pie if object is MESH or CURVE ?
I tried return C.active_object.type == 'MESH' or C.active_object.type == 'CURVE'
And also return C.active_object.type in ['MESH','CURVE']
As you think i am a perfect noob in Python, so there are the results of my research on th net
Also is it possible to display a single text. For example make a popup like this :
"Origin To : " [Grid] [World Origin] [Selected] [Active]
Hi, I would like to create an button for my pie menu to increase subdivision of my grid. The command for grid to be set at 1 meter is
C.space_data.overlay.grid_scale = 1
Is there a way to make it to increase each time I press like 0.25 -> 0.5 -> 1 -> 2
Basically current value multiplied by 2 and then similar but to decrease which would be current / 2
C.space_data.overlay.grid_scale = current value * 2
C.space_data.overlay.grid_scale = current value / 2