keKit for Blender (2.8+)

1.32 is out!

Regarding Get & Set Material Offset Option:
This is intended for use in pie menus, like this:
pie.operator("view3d.ke_get_set_material", text="Get Material", icon="MATERIAL").offset = (-168,0)
The (-168,0) part is the X and Y offset values. Default is (0,0).
Use negative values for LEFT and DOWN.
I’d recommend TOP and BOTTOM slots, as there is less margin for error, as it still samples the mousepointer, and the pie lables are smaller in Y than in X ;>

3 Likes