DXF File Format

  • Its stands for Drawing Exchange Format.
  • It is open source CAD file format.
  • It was developed by Autodesk in 1982.
  • DXF file format is a vector graphic file format.
  • It is used for sharing 2D-3D drawings between Autocad and other programs.
  • The latest version supports both ASCII and binary forms.


Types of drawing information in DXF file format:
  • Text
  • Line, dotted lines, arrows and curved lines
  • Circles
  • Polygons, like rectangle and stars
Representation of data using group codes and values:
  • Every variable in DXF file is associated with a group code.
  • Group codes ranging from 1 to 1071.
  • Group code 2 is used for names, such as names of blocks.
  • Group code 0 is refers to the start an entity or end of the file.
  • Values associated with each variable are stored as an integer, floating point or a string.


File Structure:
  • Header:  Contains general information about drawing.
  • Classes:  Contains application defined information.
  • Tables:  Contains item definations.
  • Blocks:  Contains description of entities.
  • Entities:  Contains data of non-graphical objects.
  • Thumb nail images:  Contains preview of images.
Walk through of DXF file:
  • You can actually open DXF files with any text editor such as Notepad.


Uses of DXF file:
  • It is widely used in CAD software.
  • An architectural designer, Store designer for his company sign on an Adobe illustrator file.


DXF editor:



DXF viewer:



Examples:



My notes images: