Page 1 of 1

Simplest program code to read the BLEND-file?

Posted: Sun Jul 13, 2008 8:53 pm
by snifi
Can someone help me write the simplest possible programm-code to read the BLEND-file strukture, and print some information about it. ("simplest possible" not to be taken literally!)

Posted: Mon Jul 14, 2008 5:37 pm
by jesterKing
Check our Python API. It is your best way to get info from a .blend file an the easiest and simplest way:

http://www.blender.org/documentation/24 ... index.html

/Nathan

ps. The vast majority of the exporters and importers that are bundled with Blender are written using our Python API.

Re: Simplest program code to read the BLEND-file?

Posted: Thu Apr 02, 2009 6:57 pm
by erwin
snifi wrote:Can someone help me write the simplest possible programm-code to read the BLEND-file strukture, and print some information about it. ("simplest possible" not to be taken literally!)
The readblend utility can do this. The code is independent from the Blender source code, and has a liberal license BSD-style license.
Just download the latest Bullet Physics SDK source package, and check out the Extras/readblend folder.

http://bullet.googlecode.com