Sorry, i found all needed icons here https://developer.blender.org/diffusion/B/browse/master/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
Like this:
ops.generic.select_lasso
ops.generic.select_circle
Sorry, i found all needed icons here https://developer.blender.org/diffusion/B/browse/master/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
Like this:
ops.generic.select_lasso
ops.generic.select_circle
from bl_ui.space_toolsystem_common import ToolSelectPanelHelper
cls = ToolSelectPanelHelper._tool_class_from_space_type('VIEW_3D')
for item_group in cls.tools_from_context(bpy.context):
if type(item_group) is tuple:
index_current = cls._tool_group_active.get(item_group[0].idname, 0)
for sub_item in item_group:
print(sub_item.label)
else:
if item_group is not None:
print(item_group.label)
In â2.80/datafiles/icons/â you have the all new active tools icons.
Thank you very much!
How can I tell something to use the same icon as something in the toolbar? I got the list copied out for each interaction mode from the nice script @zebus3d posted but blender doesnât know what icon = âSelectâ means
honestly the easiest way to do it is just to enable the icons addon that ships with blender. when itâs enabled it draws them all in the sidebar of the script editor and you just hover over them to get the key.
Normal icons, yeah, and it will copy the name when you click one, but for whatever reason toolbar icons arenât in there. Was hoping for some magic trick to reference the toobar ones so I can put them in the 3d header but Iâm not finding anything.
Saw this in the meantime though, looks like a straightforward way to just change a few icons I donât care about into stuff I want, overwrite the png, and call it a day.