I just finished a Lightwave Export script…so im very proud of myself right now…lol. I know there’s probly other ones out there, but i took the challenge cause I want to understand Python better. Right now, its just for mesh exporting. I’m probly going to try and implement layers if i can, and maybe some basic material settings. Any way, Its here if anybody needs it or wants it.
To use it, select the object that you want to export, fill in the File name and Directory variables and alt-p to your hearts content.
If it seems to be incompatable with your version of blender just post, and I’ll see what I can do to fix it.
Hey it’s not a crappy vrml export script, it’s one of the best out there. Lightwave’s import sux. Bigtime. Lightwave’s import of dxf is bad, too. The only import Lightwave does do well is obj.
Thanks for the script, I’d like to see those scripts integrated in the file menu of the open source release. It’s a bit irritating to have to load in export scripts every time.
I was testin out the script yesterday and realized that for some reason, if you have a single edge in the mesh thats not connected to a face, the only thing that turns up in lightwave is the vertices…as soon as i figure out why its doing this ill update the script
Thanks you for the script!
It seems that it always exports face normals flipped inside, even after apllying “Calculate Normals” or “Flip Normals” in Blender.
Unfartunately, Lightwave Modeller has no automatic Calculate Normals option and it’s a real pain in the hip :x to individually select faces and flip them…
I hope it’s my mistake though
There is a small error in the script, face.v.reverse doesn’t work like that (it returns a reference to the function, it doesn’t call it), it should be face.v.reverse()
Thanks eeshlo for pointing that out. That should fix the normals problem that Lyubomir was having…just remember to calc normals outside first in blender. One more important note: Unless a mesh has a material assigned to it, it will only show up in lightwave as vertices.