Doc:Tutorials/Extensions/Python/BSoD/Intro

From BlenderWiki

Jump to: navigation, search
Image:LeftArrowHeader.png
[[{{{2}}}|      ]]>
Image:RightArrowHeader.png
[[{{{3}}}|      ]]>
Blender Summer of Documentation: Contents | Manual | Blender Version 2.41


Contents

[edit] Target Audience

BPy Boot Camp is an introduction to writing Python scripts in Blender. It is targeted at intermediate Blender users. You do not need to know Python to start but you will need to read the appropriate sections in the Python tutorial at www.python.org . Python is an easy language to learn and there are many on-line resources to help you.

[edit] Prerequisites

Here are the prerequisites for this course:

  • Blender installed
    • Use the latest Blender version 2.42a. Other versions will work, but there will be minor differences
    • Blender comes with a Python interpreter built in. You do not need a full Python install to begin the course. You can install Python later. The Blender forums are a good resource for help.
  • Basic Blender concepts - You need to be familiar with
    • Blender Windows and how to change from one type to another
    • Adding and Selecting objects
    • Running Blender from the command line

[edit] Goals

At the end of this course you will

  • be able to create simple scripts to automate repetitive tasks
  • understand Blender Data Structures
  • start to build a personal code library

[edit] BPy API Documentation and References

The BPy API documentation is an essential reference for writing scripts. It is available browsing on-line and can be downloaded in HTML format for use on your local machine. http://www.blender.org/documentation/242PythonDoc/index.html

The Blender Wiki is an on-line User's Guide and Reference Manual for Blender http://mediawiki.blender.org

Python documentation, references and Python itself are at http://www.python.org