Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name awd_export #1

Open
shinyware opened this issue Aug 18, 2014 · 4 comments
Open

ImportError: cannot import name awd_export #1

shinyware opened this issue Aug 18, 2014 · 4 comments

Comments

@shinyware
Copy link

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_awd__init__.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
Copy link
Member

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
Copy link
Member

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
Copy link
Author

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_awdtoolsblender__init__.py", line 65, in execute
exporter.export(context, **kwds)
File "C:\Program Files (x86)\Blender Foundation\Blender\2.67\scripts\addons\io_awdtoolsblender__init__.py", line 184, in export
self.export_mesh(o)
File "C:\Program Files (x86)\Blender Foundation\Blender\2.67\scripts\addons\io_awdtoolsblender__init__.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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants