Extensions:Py/Scripts
目次
Introduction
A script is a program that is written in the Python language which runs within Blender, and calls on Blender routines to create new functionality. Because Python is a popular interpreted programming language, it can be used to extend the functionality of Blender in a wide array of ways. Users all over the world have written hundreds of scripts, and this section of the Blender wiki attempts to catalog and document those scripts. It also provides information on how to use and write scripts easier and more effectively.
Blender 2.6
Blender 2.6 has some big changes compared to 2.4. It now uses Python 3 instead of Python 2. The entire API has also changed and is now for a big part automatically generated from Blender's internals.
This has resulted in an API that is tightly integrated into Blender, enabling scripts to go beyond the limitations that were present in older versions of Blender.
API development
Be prepared for some more changes in the API though. It is not fully stable yet and changes and additions occur regularly. It's already quite usable though. There's plenty of great Python scripting fun to be had. Enjoy!
|
Information for Artists
- Scripts Catalog - An overview of the scripts that are available, including their documentation.
- Using Add-ons - Information on how to use the add-ons you found in the catalog.
Information for Script Writers
- Blender Python Manual - Central wiki page for writing scripts in Blender. Lot of information to get started.
- Blender's current Python API reference - Very useful for referencing while writing scripts.
- Python API Intro - Useful introduction to the api & key concepts.
- Python API Recent Updates - Listing recent changes to the API).
- Sharing scripts - Information on how to share your scripts and get them included in the official Blender distribution.
- * Py Dev Monthly Meeting - A semi-formal meeting to discuss Managing & Maintaining Addons .
Blender 2.49b
Blender 2.49b uses Python 2.6 series. There are many great scripts & examples of scripting in this section. You cannot open these scripts in Blender 2.5/2.6. However the vast array of algorithms is still very useful.
Information for Artists
- Scripts Catalog (2.4x) - An overview of the scripts available for Blender 2.49
- a useful intro to using 2.49 scripts
- Blender 2.49 Manual: Python Scripts page
- Plugins Catalog (2.4x) - An overview of the plugins available for Blender 2.49
- Kent Mein's Plugins repository
- Blender 2.49 Manual: Plugins page