awaytools / AwayExtensions-Blender

5 stars 3 forks source link

ImportError: cannot import name awd_export #1

Open shinyware opened 9 years ago

shinyware commented 9 years ago

I put the scripts into folder C:\Program Files (x86)\Blender Foundation\Blender\2.67\scripts\addons\io_mesh_awd and tried to export but got the following error:

Traceback (most recent call last): File "C:\Program Files (x86)\Blender Foundation\Blender\2.67\scripts\addons\io_mesh_awdinit.py", line 57, in execute from . import awd_export ImportError: cannot import name awd_export

location: :-1

What should I do to resolve this issue? Thanks!

80prozent commented 9 years ago

Hi Shinyware. I have not worked on this Extension yet. I plan to work on this Extension in Future, but Maya and C4D extensions will be the net to get Updates.

I remember, that i got the extensions to show up in blender, and to export some simple meshes.

But i encountered multiple bugs with the extension, so did not pushen my changes to Github.

One of the Bugs i encountered, was that the Transformation Matrix of the exported objects was not correct ...

I will have a looks at my hd once i am home. I should still have the project (with my fixes)... Cannot promise, will tell you later...

This was written on mobile, so please excuse mistakes...

Cheers

Robin

80prozent commented 9 years ago

Hey again

please try this: http://www.differentdesign.de/downloads/blender_extension_test.zip

i am able to export simple meshes with this extensions (some fixes was needed). But its definitv not 100% working. But maybe for your purpose its ok (?)

shinyware commented 9 years ago

Hi Robin,

Thanks for your quick reply.

I tested your suggested extension, for simple meshes, it works. But the complex model I am working on, which contains some textures, the exporter fails and reports another error:

Traceback (most recent call last): File "C:\Program Files (x86)\Blender Foundation\Blender\2.67\scripts\addons\io_awdtoolsblenderinit.py", line 65, in execute exporter.export(context, **kwds) File "C:\Program Files (x86)\Blender Foundation\Blender\2.67\scripts\addons\io_awdtoolsblenderinit.py", line 184, in export self.export_mesh(o) File "C:\Program Files (x86)\Blender Foundation\Blender\2.67\scripts\addons\io_awdtoolsblenderinit.py", line 377, in export_mesh awd_tex = AWDTexture(tex_type, name=bl_tex.name) NameError: global name 'AWDTexture' is not defined

location: :-1

I am not familiar with the python staff but just want to try the awd format as a POC, but looks like I have to find alternatives at the time being.

Anyway, thanks for your help!

80prozent commented 9 years ago

hey again yes. awd pipline from blender is not under development for over 2 years now. I really would like to work on this more, but time is just to short.

Dependent on the amount of models, you could think about getting your models into 3dsmax or c4d, and export from there.

I know blender is free, while 3dsmax and c4d are not, so i hope one day the extension will work stable.

I keep the issue open´until i have time to get into blender development.