I wonder what is the best practice to develop an addon for blender on Linux.

To my understanding I need to place the python file that implements the addon in ~/.config/blender/2.76/scripts/addon

In the content there needs to be the dict bl_info, containing some keys like "name", "category", ... Also the functions register() and unregister() need to be there.

I have all this, but the addon is not shown in the list of addons, also after a refresh.

Is the location ~/.config/blender/2.76/scripts/addon not correct?

If I do changes to the file, how do i best get these changes into the running blender process? I don't think I need to restart blender, each time I edit the addon source?

  • $\begingroup$ I think the folder is called "addons" and not "addon". Does that solve your issue? $\endgroup$ – Jacques Lucke Nov 14 '15 at 12:19
  • $\begingroup$ You can reload addons with F8. $\endgroup$ – Jaroslav Jerryno Novotny Nov 14 '15 at 12:36
  • $\begingroup$ I wrote an addon to help with installing. You can find it here: github.com/natecraddock/AddonDevelopmentTool $\endgroup$ – Nathan Craddock Nov 14 '15 at 20:47
  • $\begingroup$ Welcome to the site :) For future reference it's preferred that posts be kept to one question, in order to keep things more organized for future visitors looking for answers to a similar question. $\endgroup$ – gandalf3 Nov 15 '15 at 20:17

Why does the addon not get loaded?

The path should be ~/.config/blender/2.76/scripts/addons/, not addon.

How do I best get addon changes into the running blender process?

F8 can be used to reload the addons.

| improve this answer | |
  • 2
    $\begingroup$ As a slightly unrelated suggestion, I prefer to only symlink the file to .config/blender/.../addons, so that the file itself is stored in a prettier path. $\endgroup$ – emu Sep 25 '16 at 10:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.