[Bf-committers] Patch for adding pack/unpack to Blender module in python api

Pablo caedes at sindominio.net
Sat Oct 22 20:55:16 CEST 2005


hi!

I created a patch for Blender module in the blender python api that adds
some functions for packing/unpacking.

The patch is at the patch tracker:
http://projects.blender.org/tracker/index.php?func=detail&aid=3246&group_id=9&atid=127

It only deals with files Blender.c doc/Blender.py and Sound.h in
source/blender/python/api2_2x. (i had to add the python Sound type in
the header).

This functionality is important for scripts that also pack the images or
samples for other engines/editors, as when dealing with a packed file
there is no other way of extracting the data from the blend file from
python scripts.

I'm working with the blender2crystal exporter, and it would use this
functionality (now users have to remember to unpack first).
http://b2cs.delcorp.org

Greetings!

 pablo



More information about the Bf-committers mailing list