Doc:2.6/Manual/Extensions/Python

提供: wiki
移動先: 案内検索

Blender 2.6, Python Manual

Introduction

Welcome to the Blender 2.6 Python Manual.

Python www.Python.org 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 powerful and versatile way to extend Blender functionality. Most areas of Blender can be scripted, including Animation, Rendering, Import and Export, Object Creation and the scripting of repetitive tasks.

To interact with Blender, scripts can make use of the tightly integrated API (Application Programming Interface).

General information

Links that are useful while writing scripts.

  • Blender Python API
    • Official API documentation. Use this for referencing while writing scripts.
  • API introduction
    • A short introduction to get you started with the API. Contains examples.
  • CookBook
    • A section of handy code snippets (yet to be written)
  • FAQ
    • Frequently asked questions and their answers

Links that deal with distributing your scripts.

  • Sharing scripts
    • Information on how to share your scripts and get them included in the official Blender distribution.
  • Creating Add-Ons
    • As of Blender 2.5 Alpha1, this is the new way to spread scripts for Blender.
  • Extensions project
    • Project to maintain a central repository of extensions to Blender.

Getting Started - Wiki tutorials

The following pages are located on this wiki and take you from the basics to the more advanced concepts of Python scripting for Blender.

Getting Started - External links

The following pages are not located on this wiki, but contain a lot of good information to start learning how to write scripts for Blender.