40
$\begingroup$

There is this addon that was built called Window Generator 2. It can be found at this BA thread. However, when I go to the download link it shows up in a new tab as a bunch of code.

How can I download and use this addon in Blender?

$\endgroup$
1

2 Answers 2

42
$\begingroup$
  1. Download the script (Right click on on the link or on the page it is on and choose Save As...) and save it with a .py extension for example.. window_gen2.py.
  2. Open User Preferences (Ctrl+Alt+U) and under Add-ons, click Install from File. Then navigate to the file you downloaded and select it.

    Install from file

  3. It should now appear in the window and you can tick the checkbox in the upper right to enable it.

    Enable

If you would like to have the add-on enabled every time you start Blender, click Save User Settings at the bottom.


Alternatively, you can just save it and open it in the text editor and press Run Script.

$\endgroup$
8
  • 1
    $\begingroup$ Will the script be copied to a blender-specific location, or will deleting it from, say, one's download folder cause Blender to fail to load it? $\endgroup$
    – nanofarad
    Commented Nov 22, 2014 at 23:48
  • $\begingroup$ @hexafraction Blender will copy it into its scripts folder, next to where your config is. You can safely delete the file from the download folder. $\endgroup$
    – brita_
    Commented Feb 21, 2015 at 12:11
  • 3
    $\begingroup$ this works for zips nowadays too btw $\endgroup$
    – antont
    Commented Aug 13, 2015 at 8:44
  • $\begingroup$ @ikIsR I have created a small script its running fine in text editor when i saved in .py and install and want to activate the check box i cant find it i search in community, testing and official. This is my small script : import bpy bpy.ops.object.delete(use_global=True) $\endgroup$
    – atek
    Commented Dec 2, 2016 at 17:30
  • 1
    $\begingroup$ @Amir See blender.stackexchange.com/questions/2691/… $\endgroup$
    – iKlsR
    Commented Sep 14, 2018 at 1:00
7
$\begingroup$

This is an alternative method that works well with multiple file addons as well:

Move or create an addon directory into the addons folder of your blender settings:

Example for Linux and Blender 2.69:

/home/$user/.blender/2.69/scripts/addons/m3addon

Example for Windows 7 and Blender 2.69:

C:\Users\%username%\AppData\Roaming\Blender Foundation\Blender\2.69\scripts\addons

Example for Windows XP and Blender 2.69:

C:\Documents and Settings\%username%\Application Data\Blender Foundation\Blender\2.69\scripts\addons

Example for Mac OSX and Blender 2.69:

/Users/$USER/Library/Application\ Support/Blender/2.69/scripts/addons

Activate the addon in blender

$\endgroup$
1
  • 2
    $\begingroup$ iirc, you can install a zip file as an add-on too (multi-file add-ons are usually downloaded as a zip file), which blender then extracts into its own folder in the right place. $\endgroup$
    – Greg Zaal
    Commented Nov 2, 2015 at 7:57

You must log in to answer this question.

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