Library

DXF

Poor man's DXF

  • Structure of DXF: http://www.autodesk.com/techpubs/autocad/acad2000/dxf/general_dxf_file_structure_dxf_aa.htm.

  • You can put the example below in a text file and open it in your CAD program.
  • A minimal DXF file with entities, example with a circle, top down: New "thing" (0) - call it a declaration - is a SECTION of type (2) which is ENTITIES (for all entities). Entity declaration (0) CIRCLE with handle (5) 3F8 on layer (8) "0" with coordinate sets, center x (10) 1.23, y (20) 4.56, z (30) 0.0, radius (40) 7.89, new declaration (0) ENDSEC is end of section, new declaration (0) EOF is End Of File.

  0
SECTION
  2
ENTITIES
  0
CIRCLE
  5
3F8
  8
0
 10
1.23
 20
4.56
 30
0.0
 40
7.89
  0
ENDSEC
  0
EOF

This site is hosted by StringIT.

Information and software on this site is offered -as is- without any warranty and licensed in different ways. You should read the page about licensing before use.