exporting wavefront .obj

I have been googling for days on how to get the exporting of wavefront .obj files to work properly.
I used jsm’s scripts (4 versions), but all I get are vertex points instead of the wireframe I like to get.
Also I used scorpius small script. This one does the trick, yet the output is mirrored in some way.

The idea is to use the .obj in a java applet (I’m working on a crystallography page).

Does anyone ever had these problems and what is a way to get it working nicely.
I’m using blender 2.35 (linux2) and python 2.2

I have no problems with file-export-wavefront(.obj).

if it is rotated so what was up is sideways and stuff the thing you are trying to import into is probably using a different coordinate scheme [left handed instead of right handed]

the exporters work just fine, it probably has to do with something picky about your importer.

for example, obj files can have quads, but some programs expect only triangulated meshes

Try triangulate your mesh before export (Ctrl+T)
Or post an obj that works, the exporter is very simple, I dont think there are any problems with it but I can have a look for ya.

I can see where the right/left handed thing comes in, but that should work for both scripts alike imho (or am I mistaken).

I made a page with the outpout of the two .obj file side by side, aswell as the produced java applets.
Maybe that clears what I’m trying to say/do.


It seems that your applet java does not work at all :

ava.lang.UnsupportedClassVersionError: ThreeD (Unsupported major.minor version 49.0)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at sun.applet.AppletClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadCode(Unknown Source)
	at sun.applet.AppletPanel.createApplet(Unknown Source)
	at sun.plugin.AppletViewer.createApplet(Unknown Source)
	at sun.applet.AppletPanel.runLoader(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

a few models on this page:

a viewer :