CAD viewer
 

Development stopped. Replaced by NetCAD

"CAD viewer" is a free Java-Application / -Applet, for visualizing CAD files. Supported are the following formats:

  •  DXF (Drawing Exchange Format), integrated in the CAD viewer
  •  3DS (3D Studio Max), provided as plugin
  •  OBJ (Wavefront objects), provided as plugin
  •  LWS (Lightwave 3D scenes), provided as plugin

Other formats can easily be added by a plugin API. The source of the OBJ-Plugin is provided. Create the plugin, copy it into the plugin folder and register it in the "plugin.properties" file.

The DXF loader is available as a JAR file, and can be integrated in every project. A source sample is included.

 
Applet
 
Click here for an applet life test!
 
Known bugs
 

Version 1.2:

  •  After closing a loaded model, the memory isn't released completly. It's a bug of Java3D.
  • Very large polylines are sometimes computed very slow.

Version 1.1:

  •  After closing a loaded model, the memory isn't released completly. It's a bug of Java3D.
  • The MTEXT entity is not rendered correctly if multiple lines shall be rendered.

Version 1.0:

  •  After closing a loaded model, the memory isn't released completly. It's a bug of Java3D.
  •  If the CAD viewer is started in a directory with a blank in the path, errors appear.
 
Changes
 

Version 1.1 => 1.2

  • Bugfix: Positioning of MTEXTs were wrong
  • Bugfix: ACI (AutoCAD Color Index) 49, 115 and 255 have been corrected
  • Bugfix: NullPointerException when configuring the printer without a loaded model
  • Support for line break control codes of MTEXTs added
  • Support for saving DXF models including inserted redlinings added
  • Support for selective removing od redlinings added
  • Applet mode reactivated
  • Server functionality removed
  • Plugin API extended: Automatically inclusion of plugins
  • Improves "System info" dialog
  • The last used path is stored and reused in the file dialog
  • New menu entry "View"
  • Fullscreen mode added
  • Stero projection mode added (page up / down for modifieing the eye distance)
  • API change: DXFLoader.loadFile(String => URL)

Version 1.0 => 1.1

  •  Plugin-API added for supporting different CAD formats
  •  In order to give every plugin the possibility of loading ZIP compressed
     files, the extension of compressed DXF files must be named like this:
     <filename>.zip.dxf
  •  The logging functionality was removed
  •  DXF loader: New supported entity: DIMENSION
  •  DXF loader: New supported entity: MTEXT
  •  DXF loader: New supported entity: XLINE
  •  Bugfix CAD viewer: Blanks in the path
  •  Bugfix DXF loader: Printing the canvas
  •  Bugfix DXF loader: Coloring the entities
  •  Bugfix DXF loader: Rendering POLYFACE-MESHs
  •  Bugfix DXF loader: Rendering Polylines
  •  Bugfix DXF loader: Parsing the DXF file
 
Supported DXF entities / attributes
 

Supported entities:
3DFACE, ARC, CIRCLE, ELLIPSE, LINE, LWPOLYLINE, POINT, POLYLINE, SOLID, TEXT, TRACE, DIMENSION, MTEXT and XLINE

Supported attributes:
ASCII- and binary files, blocks, layers, extrusion, coloring, line types and paper and model space

Unsupported:
(LW)Polyline: Line type scales and some kinds of splines
MTEXT: Some control codes in the text (e. g. text alignment)

 
Download
 

Version 1.2

 
Screenshot
 
CAD viewer v1.1