Skip to content

A complete Blender add-on structure that is easily reloadable as changes are made.

License

Notifications You must be signed in to change notification settings

martin-lorentzon/clean-blender-addon-template

Repository files navigation

Clean Blender Add-on Template

Complete structure • Reloadable in Blender • Formatted with autopep8

A commented template for multifile add-on development that is fully compliant with the Blender Extensions platform.
The project is very minimal by design.

I suggest placing your add-on inside of a script directory for ease of use.
The script directory may be placed inside of your local Github directory.

Github/
├── Blender/ (script directory)
│      └── addons/
│            └── epic-legendary-addon/

Note

Remember to install your newly created script directory in Blender Preferences > File Paths > Script Directories

Features

  • Formatted with autopep8
  • Ability to reload in Blender with bpy.ops.script.reload()
  • Includes bl_info metadata
  • Includes Blender manifest file
  • Includes examples of addon preferences, property group, operator and panel
  • Includes a bat file for simple packaging

Tip

Add the Reload Scripts operator to your Quick Favorites Menu inside of Blender

How to use the template for your personal add-on

  1. At the top right corner of the repository page, click Use this template
  2. Click Create a new repository
  3. You may need to select your account if you're in one or more organisations
  4. Name your repository and press Create repository from template
  5. 🎉 Finished! 🎉

About

A complete Blender add-on structure that is easily reloadable as changes are made.

Resources

License

Stars

Watchers

Forks