Skip to content

Documentation

Jake Dube edited this page Jun 5, 2018 · 3 revisions

Important

This project has been moved to GitLab due to the acquisition of GitHub by Microsoft and the superior platform GitLab offers.


This simple script speeds up the testing cycle for .zip add-ons in Blender dramatically. It is very simple and once setup properly is a huge time saver!

Suppose you have the following structure for your add-on

Inside this folder...

/Users/FakeUserName/Documents/MyAddon/

You have this:

__init__.py - imports main_worker.py, sets up Blender info, UI

main_worker.py - does most of the add-ons utility

Step 1:

Step 2:

  • Set the "Addon Directory" to "/Users/FakeUserName/Documents/"
  • Set the "Zip Directory" to wherever you want the generated zip file to go to i.e. "/Users/FakeUserName/Desktop/"
  • Set the add-on name to "MyAddon"

Step 3:

  • Make a change to your add-on so you can tell if it works :)
  • IMPORTANT - SAVE YOUR BLEND BEFORE CONTINUING!
  • Hit "Unload Addon" - Blender should close and reopen and a zip file named "MyAddon" should have been made in the "Zip Directory"
  • Hit "Install Addon" - Blender will install your add-on. To confirm this, open up user preferences, and search for your add-on's name in the search field. The add-on should not be enabled but should be installed
  • Hit "Enable Addon" - Blender will enable your add-on and you should see it working

After the 3 string fields have been filled and your .blend file saved, you can just walk down the 3 buttons to reload your add-on quickly and easily.

Clone this wiki locally