I am trying to see if I can use blender as library for simulations without loading gui. I think I can compile it as a library. I want to use something like:
mesh = getmesh()
But I am worried if the current "main" function does some initialization inside gui. Moreover, all these functions might be updating some gui events. Can some one clarify that I don't need to touch the gui for running blender as c library? Or is it a very hard thing to ignore in current blender's design?
Thanks a lot
You would be better to do your simulation in Blenderplayer.
I have seen the Blender code. You don't wanna do this.
If you really want to this you can lookup the dude who controlled a robotic arm with Blender. Pretty neat stuff but not for the faint hearted.
The command "blender -h" is your friend here.
Specifically, the -b flag for running a job in background mode and the -P flag for running python scripts.
Thanks a lot for the replies. spaces, can you please point me to some link/code reg. the guy who controlled robot's arm?