Package com.partnersoft.formats.dxf

Support for the AutoCAD Drawing Exchange Format (DXF).

See:
          Description

Interface Summary
DxfApplicationDefinedStructure Application-defined data structure embedded inside another DxfStructure.
DxfGroupActor An event-driven actor that does things based on the low-level DXF group stream.
DxfStructure Any data structure or marker in a DXF file.
 

Class Summary
DxfAttrib A DXF attrib entity.
DxfBuilder Convenience-oriented DXF file building tool.
DxfConfigurableApplicationDefinedStructure A runtime-configurable version of DxfApplicationDefinedStructure.
DxfConfigurableStructure A configurable DxfStructure implementation.
DxfEndSec  
DxfEntity Superclass for DXF entities.
DxfEof  
DxfGroup  
DxfGroupReader Reads individual group items from a DXF file.
DxfGroupWriter Writes DXFGroups.
DxfInsert A DXF INSERT entity.
DxfLWPolyline A DXF LWPOLYLINE entity.
DxfLWPolylineVertex A single vertex in a LWPOLYLINE.
DxfPolyline A DXF POLYLINE entity.
DxfPrototypeFactory  
DxfProtoValue An unparsed value.
DxfReader Low-level reader for DXF files.
DxfSection  
DxfSeqEnd A DXF SEQEND object.
DxfStructureReader Reads DXFStructures from an AutoCAD DXF file.
DxfStructureWriter Writes DxfStructures.
DxfVertex A DXF VERTEX entity.
DxfWriter  
 

Enum Summary
DxfHorizontalJustification Methods of justifying text horizontally (along X axis).
DxfPolyline.SurfaceType  
DxfVersion DXF and drawing database versions, based on specifications released by AutoDesk.
DxfVerticalJustification Methods of justifying text horizontally (along X axis).
 

Exception Summary
DxfFormatException  
 

Package com.partnersoft.formats.dxf Description

Support for the AutoCAD Drawing Exchange Format (DXF).

This package models the structure of a DXF file, and provides facilities to read, write, and otherwise manipulate the format. The nomenclature and architecture is designed to reflect the format specification as closely as possible so as to be familiar to users of the format. Also, of course, this allows a high correspondence between what you see in the file and what you manipulate in Java.

AutoCAD provides excellent reference documentation for the format on their website: http://www.autodesk.com/dxf. This implementation is based on the 2007 specification, but should be compatible with previous versions. You are encouraged to read the specification to get an understanding of the format and its concepts.

DXFs can be thought of at several levels of composition, and each level is accommodated here. It is a text format, so of course you can read and modify a DXF in a text editor or with basic text mangling programs. Have fun with that.

The next, more abstract level is that of groups, represented here by the DxfGroup class. Groups are composed of two lines of text; the first has a numeric group code; the second has a group value which may be in one of several formats (text, numeric, hexadecimal, etc.).

The next level of composition is that of entities and objects. These start with a group code of zero followed by the type, and continues until the next zero group.

Entities and objects fall into sections, and the entirety forms a DXF file. More complex DXF files feature facilities such as "object data", which require you to follow pointers from entities to records in data tables.

Copyright 2006 Partner Software, Inc.

Version:
$Id: package-info.java 1012 2007-11-24 18:30:02Z paul $
Author:
Paul Reavis, Russell Cagle