Creating costum icons

In: https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/UI_DESIGN
At Toolbar Icons it’s speficied how to create your icons in the .blend file. But later the exporting process is very vague. In what directory you do need to be in order to run command:

  ./blender.bin \
      icon_file.blend --background --python ./release/datafiles/blender_icons_geom.py -- \
      --output-dir=./release/datafiles/blender_icons_geom

Anyone had any luck with this?

I’m a fan of the lazy method — stick blender_icons_geom.py in a convenient location, open your .blend full of icons, open the script in Blender’s text editor, hit save, and run it from there. For add-on development, running script directly from the command line isn’t much of a time-saver.

1 Like

Thanx! It works, i was too blinded with following the guide step by step didn’t think of the simpliest solution :slight_smile: