0
$\begingroup$

Are T Tool icons accessible like the other icons? Why are there duplicate icons in the table?

icons marked as duplcate

$\endgroup$
0

1 Answer 1

6
$\begingroup$

As stated at developer.blender.org task toolbar icons are generated from a icon_geom.blend blend file and stored as actual 3D meshes. These are then rasterized into binary .dat icon files at compilation time and presented by the UI.

enter image description here

They are not part of the vector SVG icons created by jendrzych.

Duplicate icons are probably for use at different places in the UI. Either they were different before recent UI redesign and unified, or we might at some point in the future want to use different icons in different situations.

You can look into the file \Blender\#.#\scripts\startup\bl_ui\space_view3d_toolbar.py for hints on how to use them in your scripts.

$\endgroup$
3
  • $\begingroup$ thank you, got it, wow someone put a lot of work into that $\endgroup$
    – mick
    Jan 28, 2020 at 22:27
  • $\begingroup$ So how do we add a tool icon to the Pie Menu Editor? $\endgroup$
    – 李清照
    Nov 17, 2023 at 2:19
  • $\begingroup$ Look into the file \Blender\#.#\scripts\startup\bl_ui\space_view3d_toolbar.py for hints on how to use them. $\endgroup$ Nov 17, 2023 at 10:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .