[Bf-python] 2.28 compatibility problem: object has no attribute 'Mesh' ...

Melchior FRANZ mfranz at aon.at
Sun Aug 3 16:40:07 CEST 2003


Hi,

I'm used the ac3d import and export scripts from 
http://igspot.ig.com.br/wgermano/programming/Blend-AC.html
(which is down since a while) for Blender versions up to 2.27.
Now with 2.28 I get the following error message when trying
to import:

  Run Python script "ac-in_2-25-B.py" ...
  Trying to import AC3D model(s) from donauturm.ac ...
  Traceback (most recent call last):
    File "ac-in_2-25-B.py", line 564, in bev
    File "ac-in_2-25-B.py", line 96, in __init__
    File "ac-in_2-25-B.py", line 328, in testAC3DImport
  AttributeError: 'module' object has no attribute 'Mesh'



This error message is shown when trying to export:

  Run Python script "ac-out_2-25-B.py" ...
  Trying AC3DExport...
  Traceback (most recent call last):
    File "ac-out_2-25-B.py", line 474, in bev
    File "ac-out_2-25-B.py", line 126, in __init__
  AttributeError: getMaterials


Unfortunately, I'm neither a blender nor a python expert.
Is there an easy way to fix this? Development for the
FlightGear simulator (http://www.flightgear.org/) heavily
depends on the ac3d format.

m.


PS: I've put the scripts here
    http://members.aon.at/mfranz/ac-in_2-25-B.py and here
    http://members.aon.at/mfranz/ac-in_2-25-B.py for now.



More information about the Bf-python mailing list