All pastes #480533 Raw Edit

Something

public text v1 · immutable
·published 2007-05-10 10:19 UTC
rendered paste body
There have been a large number of script additions and script updates, as well as API improvements since the last release.

Some of the more important additions are

export_fbx.py

exports models with textures, multiple uv maps, and lights to the FBX text format (animation related features are not yet supported).

BPyAddMesh.py 
  
This script 2 functions for use with the add mesh slot in the menu.
  
*add_mesh_simple* - add a mesh from vert/edge/face data.  It deals with setting the mesh rotation and location based on the cursor and view rotation, vertex and object selection etc. So adding a python object works just like other blenders internal add functions, in editmode and object mode.
  
*write_mesh_script* - writes a Py script containing the active mesh, this can be put in the user scripts dir so users can define their own objects in the addd menu.
  
Currently neither of these are accessed directly by the enduser, instead they provide simple methods for developers to provide new mesh primatives.

add_mesh_torus.py - Python Add Mesh Script, adds a Torus with radius and segment options.

mesh_wire.py 

mesh_unfolder.py - excellent mesh unfolder script by Matthew Chadwick See http://celeriac.net/unfolder/

object_drop.py - new script, the first to use UIBlock, it drops objects into terrain, either a group or the active object. on teh Z axis or view axis.

object_find.py - s script is accessed from the object menu, used for finding an object by the data its linked to.

export_map.py  - ake map exporter, supports lamps, cubes as brushes, complex meshes face per brush, nurbs surfaces as a patch

uv_seams_from_islands.py - adds seams at the boundries of existing UV islands.

***************
Updated Scripts
***************

a number of scripts were updated and improved this release cycle, including - uvcalc_smart_project, uvcalc_lightmap, 3ds import, xfig_export, unweld, bvh_import, ai2obj, eps2obj, gimp2obj, console, 3ds_export, lightwave_import,  object_cookie_cutter.py, mesh_solidify, mesh_skin, export_cal3d.py, DirectX8Exporter, xsi_exporter, AC3D exporter, svg2obj.py, mesh_cleanup.py, svg2obj.py, 

************
API Changes
************

Two major additions are a python interface to the Sequencer (Blenders Non Linear Video Editing tool) and the new module BPy which allows simple access to commonly used modules (This replaces Blender.Main)

Additionally consistency between modules has been improved with more getsetters available and common access methods being implemented.  Also all libdata has been made hashable.  Additional functionality was exposed for the modules Mesh, Modifier, NLA, Draw, Registry, Armature, Geometry, Camera, Scene, Texture, Material, Curve, Window, Image.  Python access has been removed from the OOPS data.

Python slots were added to the Add->Mesh menu and the FKEY face menu so that custom scripts can be added at those locations.