Hi Ideasman,<br><br>I could use some help and/or tips how to get the example below working.  I rewrote the critical parts of creator.c and wm.c in python using ctypes to load bpy.so.  Im trying to get a window to open, and control the main loop, but i hit some segfaults along the way.<br>
<br><a href="http://pastebin.com/bwx3JkHf">http://pastebin.com/bwx3JkHf</a><br><br>The generated ctypes bindings include over 9,000 functions, the wrapper is in the download under ./libblender/__init__.py<br><a href="http://rpythonic.googlecode.com/files/libblender-nov-2011-linux32bits.tar.bz2">http://rpythonic.googlecode.com/files/libblender-nov-2011-linux32bits.tar.bz2</a><br>
<br>The example should also work on Windows if bpy.dll was compiled with MinGW, but i haven't tested that.  Copy bpy.dll to ./libblender/win32/libblender.dll<br><br>Thanks,<br>-brett<br>