AutoCAD DXF

Last updated
Drawing Interchange Format
Filename extension
.dxf
Internet media type
image/vnd.dxf
Developed by Autodesk
Initial releaseDecember 1982;41 years ago (1982-12)
Latest release
u19.1.01.
January 2007;17 years ago (2007-01) [1]
Type of format CAD data exchange

AutoCAD DXF (Drawing Interchange Format, or Drawing Exchange Format) is a CAD data file format developed by Autodesk [2] for enabling data interoperability between AutoCAD on different platforms. [3]

Contents

History

DXF was introduced in December 1982 as part of AutoCAD 1.0, and was intended to provide an exact representation of the data in the AutoCAD native file format, DWG (Drawing). For many years, Autodesk did not publish specifications, making correct creation of DXF files difficult. Autodesk now publishes the incomplete [3] DXF specifications online.

Compatibility

Versions of AutoCAD from Release 10 (October 1988) and up support both ASCII and binary forms of DXF. [4] :59 Earlier versions support only ASCII.

As AutoCAD has become more powerful, supporting more complex object types, DXF has become less useful. Certain object types, including ACIS solids and regions, are not documented. Other object types, including AutoCAD 2006's dynamic blocks, and all of the objects specific to the vertical market versions of AutoCAD, are partially documented, but not well enough to allow other developers to support them. For these reasons many CAD applications use the DWG format which can be licensed from Autodesk or non-natively from the Open Design Alliance. DXF files do not specify the units of measurement used for its coordinates and dimensions.

Most CAD systems and many vector graphics packages support the import and export of DXF files, notably Adobe products, Inkscape & Blender. Some CAD systems use DXF as their native format, notably QCAD and LibreCAD.

File structure

ASCII versions of DXF can be read with any text editor. The basic organization of a DXF file is as follows: [5]

HEADER section
General information about the drawing. Each parameter has a variable name and an associated value.
CLASSES section
Holds the information for application-defined classes whose instances appear in the BLOCKS, ENTITIES, and OBJECTS sections of the database. Generally does not provide sufficient information to allow interoperability with other programs.
TABLES section
This section contains definitions of named items.
  1. Application ID (APPID) table
  2. Block Record (BLOCK_RECORD) table
  3. Dimension Style (DIMSTYLE) table
  4. Layer (LAYER) table
  5. Linetype (LTYPE) table
  6. Text style (STYLE) table
  7. User Coordinate System (UCS) table
  8. View (VIEW) table
  9. Viewport configuration (VPORT) table
BLOCKS section
This section contains Block Definition entities describing the entities comprising each Block in the drawing.
ENTITIES section
This section contains the drawing entities, including any Block References.
OBJECTS section
Contains the data that apply to nongraphical objects, used by AutoLISP, and ObjectARX applications.
THUMBNAILIMAGE section
Contains the preview image for the DXF file.
END OF FILE

The data format of a DXF is called a "tagged data" format, which "means that each data element in the file is preceded by an integer number that is called a group code. A group code's value indicates what type of data element follows. This value also indicates the meaning of a data element for a given object (or record) type. Virtually all user-specified information in a drawing file can be represented in DXF format." [6]

Criticism

Because comprehensive documentation does not exist, [3] consideration is often given to alternative open formats like SVG (an open format defined by the W3C), DWF (an open format defined by Autodesk [7] ) or even EPS (ISO/IEC standard 29112:2018). DXF (as well as DWG) is however still a preferred format for CAD files for use by the ISO. [8]

Related Research Articles

<span class="mw-page-title-main">AutoCAD</span> Commercial computer-aided design (CAD) and drafting software application

AutoCAD is a 2D and 3D computer-aided design (CAD) software application developed by Autodesk. It was first released in December 1982 for the CP/M and IBM PC platforms as a desktop app running on microcomputers with internal graphics controllers. Initially a DOS application, subsequent versions were later released for other platforms including Classic Mac OS (1992), Microsoft Windows (1993) and macOS (2010), iOS (2010), and Android (2011).

<span class="mw-page-title-main">Caddie (CAD system)</span> Commercial computer-aided design (CAD) and drafting software application

Caddie is a mid-range computer-assisted draughting (CAD) software package for 2D and 3D design. It is used primarily by architects, but has tools for surveyors and mechanical, civil and construction engineers. It was initially designed as an electronic drawing board, using concepts and tools clearly related to a physical board.

MicroStation is a CAD software platform for two- and three-dimensional design and drafting, developed and sold by Bentley Systems and used in the architectural and engineering industries. It generates 2D/3D vector graphics objects and elements and includes building information modeling (BIM) features. The current version is MicroStation CONNECT Edition.

DWG is a proprietary binary file format used for storing two- and three- dimensional design data and metadata. It is the native format for several CAD packages including DraftSight, AutoCAD, ZWCAD, IntelliCAD, Caddie and Open Design Alliance compliant applications. In addition, DWG is supported non-natively by many other CAD applications. The .bak, .dws, .dwt and .sv$ files are also DWG files.

The Industry Foundation Classes (IFC) is a CAD data exchange data schema intended for description of architectural, building and construction industry data.

STEP-file is a widely used data exchange form of STEP. ISO 10303 can represent 3D objects in computer-aided design (CAD) and related information. Due to its ASCII structure, a STEP-file is easy to read, with typically one instance per line. The format of a STEP-file is defined in ISO 10303-21 Clear Text Encoding of the Exchange Structure.

DGN (design) is the name used for CAD file formats supported by Bentley Systems, MicroStation and Intergraph's Interactive Graphics Design System (IGDS) CAD programs. The DGN format is used in construction projects, including buildings, highways, bridges, process plants, shipbuilding. DGN is a competing format to Autodesk's DWG.

CAD standards are a set of guidelines for the appearance of computer-aided design (CAD) drawings should appear, to improve productivity and interchange of CAD documents between different offices and CAD programs, especially in architecture and engineering.

<span class="mw-page-title-main">AutoSketch</span>

AutoSketch is a 2D vector drawing program by Autodesk. It is less powerful than Autodesk's AutoCAD and does not support 3D models.

CAD data exchange is a method of drawing data exchange used to translate between different computer-aided design (CAD) authoring systems or between CAD and other downstream CAx systems.

<span class="mw-page-title-main">Rhinoceros 3D</span> 3D computer graphics software

Rhinoceros is a commercial 3D computer graphics and computer-aided design (CAD) application software that was developed by TLM, Inc, dba Robert McNeel & Associates, an American, privately held, and employee-owned company that was founded in 1978. Rhinoceros geometry is based on the NURBS mathematical model, which focuses on producing mathematically precise representation of curves and freeform surfaces in computer graphics.

Design Web Format (DWF) is a file format developed by Autodesk for the efficient distribution and communication of rich design data to anyone who needs to view, review, or print design files. Because DWF files are highly compressed, they are smaller and faster to transmit than design files, without the overhead associated with complex CAD drawings. With DWF functionality, publishers of design data can limit the specific design data and plot styles to only what they want recipients to see and can publish multisheet drawing sets from multiple AutoCAD drawings in a single DWF file. They can also publish 3D models from most Autodesk design applications.

<span class="mw-page-title-main">AutoShade</span>

AutoShade was an early 3D rendering package for use with AutoCAD. Autodesk developed Autoshade in 1987. It became obsolete after the release of Autodesk's 3D Studio.

Navisworks is a 3D design review package for Microsoft Windows.

Open Design Alliance is a nonprofit organization creating software development kits (SDKs) for engineering applications. ODA offers interoperability tools for CAD, BIM, and Mechanical industries including .dwg, .dxf, .dgn, Autodesk Revit, Autodesk Navisworks, and .ifc files and additional tools for visualization, web development, 3D PDF publishing and modeling.

<span class="mw-page-title-main">IntelliCAD</span> CAD editor and development platform

IntelliCAD is a CAD editor and development platform with an Application Programming Interface API published by the IntelliCAD Technology Consortium ("ITC") through shared development. IntelliCAD emulates the basic interface and functions of AutoCAD, however, it is particularly able to incorporate and interchange freely between a wide variety of file types.

<span class="mw-page-title-main">BricsCAD</span> Computer-aided design software

BricsCAD® is a software application for computer-aided design (CAD), developed by Bricsys nv. The company was founded in 2002 by Erik de Keyser, a longtime CAD entrepreneur. In 2011 Bricsys acquired the intellectual property rights from Ledas for constraints-based parametric design tools, permitting the development of applications in the areas of direct modeling and assembly design. Bricsys is headquartered in Ghent, Belgium, and has additional development centers in Nizhny Novgorod and Novosibirsk, Russia; Bucharest, Romania and Singapore. Bricsys is a founding member of the Open Design Alliance, and joined the BuildingSMART International consortium in December 2016.

AutoCAD Architecture is a version of Autodesk's flagship product, AutoCAD, with tools and functions specially suited to architectural work.

TranslateCAD is a tool for computer-aided translation software, designed to extract translatable text from CAD drawings saved in the industry-standard DXF format - regardless of the CAD software used to create such drawings - so that professional translators are able to translate in plain text using a number of CAT tools available.

References

  1. "DXF specifications" (PDF).
  2. "FAQS.org".
  3. 1 2 3 Moitzi, Manfred. "What is DXF?". /ezdxf.readthedocs.io. Manfred Moitzi. Retrieved 27 October 2023.
  4. Schoonmaker, Stephen J. (2003). The CAD guidebook : a basic manual for understanding and improving computer-aided design. New York: Marcel Dekker. ISBN   0-8247-4569-8. OCLC   54090798.
  5. "DXF File Structure".
  6. "Chapter 1 -- DXF Format" Autodesk.com
  7. "DWF files". adobe.com. Adobe 2023. Retrieved 27 October 2023.
  8. "ISO Central Secretariat requirements - FAQ for graphics (formats and files)" (PDF). iso.org. ISO 2002. Retrieved 27 October 2023.