AttributeError: Object does not have geometry data

Discussion related to the 'LuxBlend' Blender 2.4+ python exporter script.

Moderators: Ratow, SATtva, coordinators

AttributeError: Object does not have geometry data

Postby pixelalien » Fri Oct 26, 2007 8:03 am

I am getting this error when I try to export using the LuxBlend script:
Code: Select all
Traceback <most recent call last>:
  File "<string>", line 1380, in drawGUI
  File "<string>", line 1204, in drawCamera
  File "<string>", line 1397, in drawButtons
  File "<string>", line 863, in save_still
  File "<string>", line 779, in save_lux
  File "<string>", line 541, in exportObject
AttributeError: Object does not have geometry data


I have attached the .blend file to this post.

I am using Blender 2.44 and LuxBlend_0.1_alpha8.

I'm thinking it's something I have done or something wrong with the file because I get the "Object does not have geometry data" error in Indigo also.

Any ideas on how I can fix this?
Attachments
luxtest.zip
(831.42 KiB) Downloaded 30 times
pixelalien
 
Posts: 5
Joined: Fri Oct 26, 2007 7:45 am

Re: AttributeError: Object does not have geometry data

Postby Aethereal » Fri Oct 26, 2007 2:54 pm

The incriminated part is "cap". If you delete it, the export works fine (even if luxrender later complains that the area lights have too many elements).
I haven't understood yet what "cap" have of different from the other parts... maybe you can try re-creating it
Aethereal
 
Posts: 4
Joined: Fri Oct 26, 2007 2:48 pm

Re: AttributeError: Object does not have geometry data

Postby pixelalien » Mon Oct 29, 2007 10:04 am

Aethereal wrote:The incriminated part is "cap". If you delete it, the export works fine (even if luxrender later complains that the area lights have too many elements).
I haven't understood yet what "cap" have of different from the other parts... maybe you can try re-creating it


I don't understand what you are saying, I don't see anything about "cap" or area light elements. It is too large of a project to re-create it. I have tried appending it to a new file but that didn't fix the problem.
pixelalien
 
Posts: 5
Joined: Fri Oct 26, 2007 7:45 am

Re: AttributeError: Object does not have geometry data

Postby Radiance » Tue Oct 30, 2007 4:15 am

hey,

there seems to be an object named 'cap' which generates this error.
it's a white cylindrical object on the tail, where a black cable sort of object is attached.

there also another object 'camera_plugin pins' which generates the error too...

EDIT: there seem to be more ;-) just check the last ones name in the blender output window (script output) after exporting with luxblend before it throws the error.

you can use the 'outliner' window to find/select it in blender.

when you delete it it does work, don't know why exactly,
don't have much time to figure it out neither ;-)

maybe try remodeling it or disabling subsurf.

your mesh is HUGE, you should'nt use such high subsurf levels.
i suggest you lower the subsurf levels on your objects and make them 'smooth'.
(use an edgesplit modifier to reduce the banding on adjacent edges when it's smooth.)

anyone else know what it is ???

radiance
User avatar
Radiance
 
Posts: 3968
Joined: Wed Sep 19, 2007 2:13 am

Re: AttributeError: Object does not have geometry data

Postby pixelalien » Tue Oct 30, 2007 7:35 am

Ok, I had forgotten about that object :oops: Boy do I feel dumb.

At first I thought it might be the default material causing the problem because I hadn't assigned a material to cap . But the camera_plug_pins and gantry_cable_curve have materials assigned so I'm back to being confused about the cause but at least I know how to make it work now, I think.
pixelalien
 
Posts: 5
Joined: Fri Oct 26, 2007 7:45 am

Re: AttributeError: Object does not have geometry data

Postby pixelalien » Wed Oct 31, 2007 8:10 am

I haven't had a lot of time to work on this the past couple of days and I'm just getting back to it. I still haven't gotten it working.
I've been just deleting objects that are stopping the program for now, I'll go rebuild them later.

But I've run into something odd. In the picture plug-1.jpg it looks like the script processes the object called "plug2" then gets stuck on "plug".
plug-1.jpg


I deleted "plug" and ran the exporter again and now it is stuck on "plug2" see plug-2.jpgwhich it seemed to have no problem with a minute ago. Am I reading this right?
plug-2.jpg


I don't see how Aethereal was able to get it working by just deleting the "cap" object, I've had to delete several pieces and still don't have it working.
pixelalien
 
Posts: 5
Joined: Fri Oct 26, 2007 7:45 am

Re: AttributeError: Object does not have geometry data

Postby Aethereal » Wed Oct 31, 2007 8:57 am

"Working" is a big word...
I was effectively able to complete the export only deleting the "cap" object on my PC at work (Blender 2.44 Python 2.4.2 on an XP 64, binaries are 32 bit... pretty crazy config, I should update it) but when I tried to load it in luxrender it complained about the emitting meshes having too faces. I left the PC still parsing the file and the next morning luxrender was gone... probably crashed still parsing (no .tga output were created).
The geom file is 150.549KB, 21.932KB if zipped. If you need it for further tests, tell me where I can upload it, but I suspect it wouldn't be reliable (and anyway still miss the cap element).
Aethereal
 
Posts: 4
Joined: Fri Oct 26, 2007 2:48 pm

Re: AttributeError: Object does not have geometry data

Postby pixelalien » Wed Oct 31, 2007 12:32 pm

Maybe work wasn't the right word, but I haven't been able to get it to complete the export process. I'm still working on deleting each object that gives an error.
pixelalien
 
Posts: 5
Joined: Fri Oct 26, 2007 7:45 am


Return to LuxBlend (Blender Exporter)

Who is online

Users browsing this forum: Google Feedfetcher and 1 guest