Many Blender Python scripts are prepared in a special way, which allows them to appear in
the Blender menus or panels. They are called add-ons. Usually such scripts are prepared for the wider audience.
Blender comes with a wide range of registered add-ons, ready to activate. You can still add to it your personal set of useful tools.
It is very easy to incorporate them into your environment. Just:
The Blender configuration directory is stored in the user home directory. You can find it:
For example, for Blender 2.58, installed on Windows XP, user named Me, the folder where you should place the add-on file is:
C:\Documents and Settings\Me\Application Data\Blender Foundation\Blender\2.58\scripts\addons
Initially, the scripts\addons directory does not exist. You can create it there.
If you cannot find your user configuration directories, you can still do the same using Blender commands. It may happen that in the future the structure of Blender configuration folders will change. Thus this is the easier and safer way:
Open the Blender User Preferences Window (File->User Preferences, or [Ctrl]-[Alt]-[U]).
Select the Add-Ons tab there (Fig. 1):
Click the Install Add-On… button, located on the “header”, at the bottom of the window.
It will open the file selection area (Fig 2):
Select the *.py file of the add-on. (You can select only one file, here).
Then press the Install Add-On… button. It will bring you back to the Add-Ons tab (Fig. 3)
Each Blender version creates its own user configuration subdirectory.
Just look at the Blender Foundation\Blender folder (Fig. 4):
Fortunately, you do not have to copy the scripts\addons folder manually, after each upgrade.
On the first run of new Blender version, it displays an important button on its splash screen (Fig. 5):
Use Copy Previous Settings command to preserve your settings (drawing defaults, add-ons) from the previous Blender version. Blender displays it, when it has found that its configuration directory does not exists, yet.