Introduction - Blender 4.4 Manual (original) (raw)

Edit this page

Toggle table of contents sidebar

Python is an interpreted, interactive, object-oriented programming language. It incorporates modules, exceptions, dynamic typing, very high-level dynamic data types, and classes. Python combines remarkable power with very clear syntax.

Python scripts are a versatile way to extend Blender functionality. Most areas of Blender can be scripted, including animation, rendering, import and export, object creation and automating repetitive tasks.

To interact with Blender, scripts can make use of the tightly integrated API.

General Information

Links that are useful while writing scripts:

Links that deal with distributing your scripts:

Getting Started

Manual links

The following links take you from the basics to the more advanced concepts of Python scripting for Blender.

External links

Here are external links containing a lot of good information to start learning how to write scripts for Blender:

Extending Blender

Add-ons

Add-ons are scripts that enable Blender to gain extra functionality; they can be enabled from the Preferences.

Outside of the Blender executable, there are hundreds of add-ons written by many people:

See also

See Add-ons for documentation on add-ons included with Blender.

Scripts

Apart from add-ons, there are several other types of scripts that extend Blender’s functionality:

Modules:

Utility libraries for import into other scripts.

Presets:

Settings for Blender’s tools and key configurations.

Startup:

These files are imported when starting Blender. They define most of Blender’s UI, as well as some additional core operators.

Custom Scripts:

In contrast to add-ons, they are typically intended for one-time execution via the Text Editor.

Saving your own Scripts

File Location

All scripts are loaded from the scripts folder of the local, system and user paths.

You can setup an additional search path for scripts inFile Paths .

Installation

Add-ons are conveniently installed through Blender in the Preferences. Click the button and select the .zip file.