Doc:2.6/Manual/Extensions

提供: wiki
< Doc:2.6‎ | Manual
2013年6月27日 (木) 22:55時点におけるwiki>Arbouryによる版 (fix a typo)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索
Page status (reviewing guidelines)

Page reviewed and in good shape

Extending Blender

Unlike many programs you may be familiar with, Blender is not monolithic and static. You can extend its functionality with Python scripting without having to modify the source and recompile.

Addons

Addons are scripts you can enable to gain extra functionality within Blender, they can be enabled from the user preferences.

Outside of the Blender executable, there are literally hundreds of addons written by many people:

  • Officially supported addons are bundled with Blender.
  • Other Testing addons are included in development builds but not official releases, many of them work reliably and are very useful but are not ensured to be stable for release.

An Overview of all addons is available in this wiki in the Scripts Catalog and in the Extensions tracker.

Scripts

Apart from addons there are also scripts you can use to extend Blenders 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 addons 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 addittional search path for scripts in User preferences (User Preferences → File Paths).

Installation

Addons are conveniently installed through Blender in the User Preferences → Addons window. Click the Install from File... button and select the .py or .zip file.

To manually install scripts or addons place them in the addons, modules, presets or startup directory according to their type. See the description above.

You can also run scripts by loading them in the text editor window.