Posts tagged Python

Ira Krakow’s Python 3 Tutorial Part 1 (Expressions)

7

ira calculator


Discuss this video, and read the script for it, at: forum.irakrakow.com The goal of this tutorial is to introduce Blender users, whether or not they are programmers, to Python 3. Blender 2.5 supports Python 3 scripts, which can let you program Blender behavioer very precisely. Of course, before you can create Blender scripts, you need to know Python 3. We will use the Blender 2.5 Scripting environment, which includes a Python console that supports most (but not all) of Python 3, as well as a fully featured text editor, with advanced features such as autocomplete and automatic indenting of code. I will point out where Blender’s Python implementation differs from the standard Python 3 distribution. There are minor differences, none that should prevent you from writing fully featured scripts in Blender 2.5. Before working through the examples in this tutorial, you need to download Blender 2.5. You can do this at: www.blender.org This series is based on the Python 3 tutorial, at: docs.python.org It is not meant to cover all aspects of Python 3. I will cover enough so that you should be able to write Python scripts in Blender 2.5. This tutorial, the first in my Python 3 Programming series, will cover the Blender 2.5 Python console, how to create simple expressions and assignments, and how to use the Python 3 console as a calculator. We’ll go into more depth in further tutorials.

Monty Python – Motor Insurance sketch

25


Another ad Gumby, and the outline of automobile insurance (Season 2, Episode 17: Buzz Aldrin map).

Go to Top