3
$\begingroup$

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?

$\endgroup$
4
  • $\begingroup$ I think the folder is called "addons" and not "addon". Does that solve your issue? $\endgroup$ Commented Nov 14, 2015 at 12:19
  • $\begingroup$ You can reload addons with F8. $\endgroup$ Commented Nov 14, 2015 at 12:36
  • $\begingroup$ I wrote an addon to help with installing. You can find it here: github.com/natecraddock/AddonDevelopmentTool $\endgroup$
    – doomslug
    Commented Nov 14, 2015 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
    Commented Nov 15, 2015 at 20:17

1 Answer 1

5
$\begingroup$

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.

$\endgroup$
1
  • 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
    Commented Sep 25, 2016 at 10:55

You must log in to answer this question.

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