Additions, Fixes and Updates

As with the previous release, Blender needs Python 2.3.x.

Updated and Enhanced Modules:

Armature
Blender
  • .sys.exists(path) to check if a given file exists.
  • various filename manipulation functions.
  • .load() .save() methods for .blend and built-in importers/exporters (dxf, videoscape, vrml 1.0, stl )
Bone
Curve
  • .appendPoint( numcurve, newpoint ) to add points to a Curve.
  • New supporting module CurNurb to provide access to the curves in a Curve and their associated points.
  • Curve module now supports Python iterator and sequence protocols.
Draw
  • added mousewheel events
Ipo
new channels accessible from Ipo
  • Material: Translu, RayMir, FresMir, FresMirI, FresTra, FresTraI, TraGlow
  • Texture: FStreng, FFOff, Damping, RDamp, Perm
  • Lamp: Energ, R, G, B, Dist, SpoSi, SpoBl, Quad1, Quad2, HaIntl
  • Curve Ipo: Speed
  • Key Ipo: Speed, 'Key 1' - 'Key 31'
  • Action Ipo: LocX, LocY, LocZ, SizeX, SizeY, SizeZ, QuatX, QuatY, QuatZ, QuatW
  • Sequence Ipo: Fac
  • Constraint Ipo: Inf
Image
  • .reload()
  • .getBindCode() opengl method
Lamp
  • support for IPOs
Metaball
NLA
Object
  • support for add/remove/modify object Properties
  • .select() / .isSelected()
  • access to object matrix in world or local space coords.
  • added .makeTrack() and .clearTrack() (old track method).
Scene
  • .play() for animation playback
  • new submodule Scene.Radio, for radiosity
Texture
  • support for IPOs
Window
  • added Window.EditMode(), to check, enter and leave edit mode
  • 17 new functions to Blender.Window module:
    things to help demo script writing and as a bonus read / write access to Blender's input event queue.
  • added GetScreens, SetScreen and improved GetScreenInfo.
World

New Scripts and script related features:

New Scripts include:

  • knife.py
  • hotkeys, obdatacopier and renameobjectbyblock, all from Jean-Michel Soler
  • bevel_center by Loic Berthe, suggested for inclusion by jms;
  • doc_browser, by Daniel Dunbar
     

Features:

  • Added scriptlink-related methods (get, clear, add) to Scene,Materials,Object, Lamp, Camera and World.
  • Fixed ONLOAD scriptlink event.
  • updated the "-P" command-line option (for running script files) to be able to run already loaded Blender Texts.

Misc. Changes:

  • Menus for scripts.
  • Code cleanup. removed deprecated methods from old api.
  • Updated BPython docs: corrections, updates, additions and small formatting fixes so that epydoc can generate dvi, ps and pdf versions.
  • Demo mode.

Bugfixes:

  • bug #1206 Object.getBoundBox() was returning obdata coordinates.
  • bug #1212 changing object's layer had no effect.
  • bug #1345. Curve.isNurb() segfault fixed.
  • bug #1347. IpoCurve.evaluate() missing/disappeared.
  • bug #1374 import menu fixes.
  • bug #1435 Ipo.getCurve() not returning ipos for Action and others.
  • bug #1402 crash fixed.
  • fixes for Object and NMesh Material lists.
  • Other miscellaneous bugs.

Contributors:

This release is brought to you by the usual suspects of the BPython Team:

 

Willian Padovani Germano, Joseph Gilbert, Jacques Guignot, Stephen Swaney, Michel Selten, Alex Mole

 

In addtion, the following people contributed scripts, enhancements, patchs, new features and bug reports. In no particular order, and with apologies to anyone whose name got overlooked, we have:

 

Campbell Barton, Philip Wainwright, Wim Van Hoydonck, Stefano Selleri, Gabriel Beloin , Ben Omari, Carlos Lopez, Andrew Corrigan, Satish Goda, Peter den Bak, Meino Christian Cramer, Yann Vernier, Nathan Letwory, Loic Berthe, Ton Roosendaal, Jean-Michel Soler, Chris Keith, Matt Ebb, The Two Or Three People I Missed