AutoCAD DXF
This article needs additional citations for verification. (October 2012) |
Filename extension |
.dxf |
---|---|
Internet media type |
image/vnd.dxf |
Developed by | Autodesk |
Initial release | December 1982 |
Latest release | u19.1.01. January 2007[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 and other programs.
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]
- <syntaxhighlight lang="text" class="" style="" inline="1">HEADER</syntaxhighlight> section
- General information about the drawing. Each parameter has a variable name and an associated value.
- <syntaxhighlight lang="text" class="" style="" inline="1">CLASSES</syntaxhighlight> section
- Holds the information for application-defined classes whose instances appear in the <syntaxhighlight lang="text" class="" style="" inline="1">BLOCKS</syntaxhighlight>, <syntaxhighlight lang="text" class="" style="" inline="1">ENTITIES</syntaxhighlight>, and <syntaxhighlight lang="text" class="" style="" inline="1">OBJECTS</syntaxhighlight> sections of the database. Generally does not provide sufficient information to allow interoperability with other programs.
- <syntaxhighlight lang="text" class="" style="" inline="1">TABLES</syntaxhighlight> section
- This section contains definitions of named items.
- Application ID (<syntaxhighlight lang="text" class="" style="" inline="1">APPID</syntaxhighlight>) table
- Block Record (<syntaxhighlight lang="text" class="" style="" inline="1">BLOCK_RECORD</syntaxhighlight>) table
- Dimension Style (<syntaxhighlight lang="text" class="" style="" inline="1">DIMSTYLE</syntaxhighlight>) table
- Layer (<syntaxhighlight lang="text" class="" style="" inline="1">LAYER</syntaxhighlight>) table
- Linetype (<syntaxhighlight lang="text" class="" style="" inline="1">LTYPE</syntaxhighlight>) table
- Text style (<syntaxhighlight lang="text" class="" style="" inline="1">STYLE</syntaxhighlight>) table
- User Coordinate System (<syntaxhighlight lang="text" class="" style="" inline="1">UCS</syntaxhighlight>) table
- View (<syntaxhighlight lang="text" class="" style="" inline="1">VIEW</syntaxhighlight>) table
- Viewport configuration (<syntaxhighlight lang="text" class="" style="" inline="1">VPORT</syntaxhighlight>) table
- <syntaxhighlight lang="text" class="" style="" inline="1">BLOCKS</syntaxhighlight> section
- This section contains Block Definition entities describing the entities comprising each Block in the drawing.
- <syntaxhighlight lang="text" class="" style="" inline="1">ENTITIES</syntaxhighlight> section
- This section contains the drawing entities, including any Block References.
- <syntaxhighlight lang="text" class="" style="" inline="1">OBJECTS</syntaxhighlight> section
- Contains the data that apply to nongraphical objects, used by AutoLISP, and ObjectARX applications.
- <syntaxhighlight lang="text" class="" style="" inline="1">THUMBNAILIMAGE</syntaxhighlight> section
- Contains the preview image for the DXF file.
- <syntaxhighlight lang="text" class="" style="" inline="1">END OF FILE</syntaxhighlight>
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
![]() | This article's "criticism" or "controversy" section may compromise the article's neutrality. (November 2023) |
Because comprehensive documentation does not exist,[7] consideration is often given to alternative open formats like SVG (an open format defined by the W3C), DWF (an open format defined by Autodesk[8]) 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.[9]
See also
- Design Web Format
- Open Design Alliance – Nonprofit organization creating SDKs for engineering applications
References
- ^ "DXF specifications" (PDF).
- ^ "FAQS.org".
- ^ Moitzi, Manfred. "What is DXF?". /ezdxf.readthedocs.io. Manfred Moitzi. Retrieved 27 October 2023.
- ^ 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.
- ^ "DXF File Structure".
- ^ "Chapter 1 -- DXF Format" Autodesk.com
- ^ Moitzi, Manfred. "What is DXF?". /ezdxf.readthedocs.io. Manfred Moitzi. Retrieved 27 October 2023.
- ^ "DWF files". adobe.com. Adobe 2023. Retrieved 27 October 2023.
- ^ "ISO Central Secretariat requirements - FAQ for graphics (formats and files)" (PDF). iso.org. ISO 2002. Retrieved 27 October 2023.
External links

- Short description with empty Wikidata description
- All articles needing additional references
- Wikipedia neutral point of view disputes from November 2023
- All Wikipedia neutral point of view disputes
- Commons category link is locally defined
- Webarchive template wayback links
- Autodesk products
- 1982 introductions
- AutoCAD
- CAD file formats