User defined Object information

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
Posts: 3
Joined: Sun Dec 01, 2002 2:14 am

User defined Object information

Post by hexarith » Sun Dec 01, 2002 2:49 am

Blender has a very good Python interface, no there are 2 ones! Blender module and Blender210 module. However I'm still missing something: A user writable dictionary associated with every obejct that would allow it, to store extended information in it. I'm not talking about game properties! Currently I've not time to add it, however I estimate the afford at about 110 lines:
10 for the python dictonary
50 to extend the blend-file parser and another 50 to extend the writer.
However it could be more or less...

Posts: 239
Joined: Mon Oct 14, 2002 8:15 am
Location: Sweden

Post by Jamesk » Mon Dec 02, 2002 9:48 am

Without having thought it through properly... but why not just make your own wrapper class for the objects? Then add whatever data members you wish to have.

Post Reply