Python 2.3.x

 

With this release Blender supports Python 2.3.x.

 

New Modules

 

Added 5 new modules: Mathutils, Render, NLA, Noise, and Library.

  • Mathutils: adds support for working with matrix, vector, quaternion, and euler types. Adds support for conversion between types and other common type operations such as inversion, multiplication, and rotations.
  • Scene.Render: adds support for scene rendering. The scene module returns a rendering context which can be used to set scene rendering options. Also supported is rendering window manipulation and playback.
  • Armature.NLA: adds support for working with actions. Poses set through the armature module can be associated with actions. Actions give access to Ipos for armature deformations.
  • Noise: adds support for noise generation. This module can be used to generate terrain, animations, object deformations or textures that require noise algorithms.
  • Library: This module allows for opening/closing .blend files. Datablocks from the file can be imported and linked to a scene.

 

Upgrades

 

- addBones() now gives the ability to link bones to an armature

- added parenting support in the armature module

- hide/unhide, draw axes and names support in Bone module

- BezTuple.setPoints accepts tuple or list

- added timeOffset support to object module

- added command line execution of python scripts to API

- better code documentation and housekeeping

- Blender.sys.time() - removes basic need of Python's time module

 

BugFixes

 

- bug #1014 - new ipocurve handles are of type auto

- bug #986 - resize button string

- bug #1078 - slider crashing in redraw()

- bug #1115 - ability to change existing ipocurve

- bug #1025 - fileselector callback segfault fix

- bug #1028 - reserved button event number

- bug #1068 - actually a feature request: added filename parameter to file and image selectors

- bug #959 - segfault on background render

- bug #1072 - redraw() segfault fix

- bug #1146 - memory leak in menu fix

- fix for reversed texture types in texture module

- fix for menu scripts path names

 

The new release of the BPython API Reference doc should be available soon.

Thanks to the python devs Jordi Rovira i Bonet, Joseph Gilbert, Willian P. Germano, Michel Selten, Alex Mole, Jacques Guignot and Stephen Swaney plus contributions from the python community for this release.

 

 

 

 

Back to the Changelog