Simplest program code to read the BLEND-file?

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
snifi
Posts: 0
Joined: Sun Feb 25, 2007 5:39 pm

Simplest program code to read the BLEND-file?

Post by snifi » Sun Jul 13, 2008 8:53 pm

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!)

jesterKing
Site Admin
Posts: 207
Joined: Fri Oct 18, 2002 12:48 pm
Location: Finland

Post by jesterKing » Mon Jul 14, 2008 5:37 pm

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.

erwin
Posts: 5
Joined: Mon Oct 21, 2002 9:10 pm

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

Post by erwin » Thu Apr 02, 2009 6:57 pm

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

Post Reply