On Wed, 19 Nov 2003 03:37:26 -0800 (PST) Matthew Bogosian <[EMAIL PROTECTED]> wrote:
> Howdy all, > > I was so thrilled to find Soya and was really excited to start playing > with it with my own models, but I'm afraid I've hit a bit of a wall. > I've been using Blender (2.28 and 2.30). I installed the Python files > (from intern/python) by hand into my PYTHONPATH, but whenever I run > import_blender.py (from Soya 0.5.1), I get the following: > > Traceback (most recent call last): > File "/usr/lib/python2.3/site-packages/soya/import_blender.py", line 116, in ? > open(filename, "w").write(export_to_soya()) > File "/usr/lib/python2.3/site-packages/soya/import_blender.py", line 26, in > export_to_soya > objs = Blender.Object.Get() > AttributeError: class Object has no attribute 'Get' > > If I try blender2cal3d (from blender2cal3d 0.4), I get the following: > > Traceback (most recent call last): > File "./cal3d/blender2cal3d-0.4/blender2cal3d.py", line 942, in ? > export() > File "./cal3d/blender2cal3d-0.4/blender2cal3d.py", line 652, in export > scene = Blender.Scene.getCurrent() > AttributeError: class Scene has no attribute 'getCurrent' > > I even tried going back to 2.25, but I still had the same problem. Did > the Blender Python API change drastically in 2.2x? What version of > Blender are folks using with Soya? Is there a tutorial available for > Blender (+ GIMP) -> Soya (importing and using model and texture data)? > Is there an alternate path or solution for us folks using 2.30 or am I > just a total ignoramus? > > Any help would be greatly appreciated. I use Blender 2.28... I send you the latest export file from Soya 0.5.2, it is probably a newer version. I've written recently a chapter on Blender integration in the still-in-early-stage Soya Handbook ; i join it in PDF format (see chapters 5 and following). Hope this help, Jiba
import_blender.py
Description: Binary data
