Oscar,
    I just tried pullin up both DXF files in 3D Exploration (3D file viewer) and I noticed that the mech file didn't actually show up in 3D but as what looked like a texture on a plane.  The MyObject file on the other hand showed up as two boxes connected together by one of the small box's corners.  Is that right?  Which file are you having trouble with, if it's the mech file then maybe it's because it isn't really 3D.  I could be wrong.
 
To everyone else,
    If you are interested on a pretty good model viewer for Windows then try 3d Exploration.  It opens and views just about any 3D file format.  Quake models to Autocad files.  Here's the link if you are interested. http://www.xdsoft.com/explorer/
-----Original Message-----
From: Oscar Guindzberg [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 20, 2000 9:53 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Problem loading DXF


I have a problem loading some DXFs files. I create a Scene, and then I call scene.getSceneGroup() but this returns null. Any help?
 
I am sending you :
- A zipped file that contains 2 .dxf files (one works fine, the other have the mentioned problem)
- the program I use for loading (wich is almost the same as the ObjLoad distributed with the java 3d api, but for loading dxf files instead of obj files).
 
Try it:
java -classpath %classpath%;portfolio2.jar DXFLoad myobject.dxf
 
and...
 
java -classpath %classpath%;portfolio2.jar DXFLoad mech1.dxf

-----------------------------
Oscar Guindzberg
[EMAIL PROTECTED]

Reply via email to