dxf
What is a .dxf file?
image/vnd.dxf
DXF (Drawing Exchange Format) is an Autodesk CAD interchange format, typically ASCII, that represents 2D and 3D drawing entities like lines, arcs, layers, and text. It was created to move drawings between CAD programs and is broadly supported. It stores vector CAD geometry rather than a rendered image.
How to use a .dxf file
Use an example DXF to test CAD entity and layer parsing, 2D drawing import, and converters between DXF and other vector or CAD formats.
Download example .dxf files
- DXF: CAD Cube (line geometry)A 10 mm cube drawn as 12 DXF LINE entities: the AutoCAD interchange format, written with ezdxf. For testing DXF parsers and CAD conversion.
- Spur Gear: 16 teeth (DXF)A 16-tooth spur-gear profile as a closed DXF polyline with a central hub bore: real parametric CAD geometry (not a primitive). For testing DXF parsers, CAM tools, and CAD conversion.
- Alder Table Bistro: floor planA ground-floor plan for Alder Table Bistro as DXF R2010, 14.0 by 9.0 metres, 126.0 square metres gross with a 37.8 square metre kitchen. 8 AIA-style layers authored (10 in the file, because a DXF always carries layer 0 and Defpoints), two furniture blocks referenced rather than exploded, closed room boundaries so area is computable, aligned dimensions, a hatched kitchen floor and MTEXT notes. Seating is laid on a grid and stops when the floor runs out, so 26 covers are drawn. $INSUNITS is set to 6 (metres) rather than left at 0, because an unset unit is the single most common cause of a drawing importing at a thousand times its size. Synthetic premises, not a real building.
- Juniper Corner Cafe: floor planA ground-floor plan for Juniper Corner Cafe as DXF R2010, 10.5 by 8.0 metres, 84.0 square metres gross with a 27.2 square metre kitchen. 8 AIA-style layers authored (10 in the file, because a DXF always carries layer 0 and Defpoints), two furniture blocks referenced rather than exploded, closed room boundaries so area is computable, aligned dimensions, a hatched kitchen floor and MTEXT notes. Seating is laid on a grid and stops when the floor runs out, so 18 covers are drawn. $INSUNITS is set to 6 (metres) rather than left at 0, because an unset unit is the single most common cause of a drawing importing at a thousand times its size. Synthetic premises, not a real building.
- Copper Oven Bakery: floor planA ground-floor plan for Copper Oven Bakery as DXF R2010, 11.0 by 7.5 metres, 82.5 square metres gross with a 30.0 square metre kitchen. 8 AIA-style layers authored (10 in the file, because a DXF always carries layer 0 and Defpoints), two furniture blocks referenced rather than exploded, closed room boundaries so area is computable, aligned dimensions, a hatched kitchen floor and MTEXT notes. Seating is laid on a grid and stops when the floor runs out, so 18 covers are drawn. $INSUNITS is set to 6 (metres) rather than left at 0, because an unset unit is the single most common cause of a drawing importing at a thousand times its size. Synthetic premises, not a real building.
- Ember Lane Pizza: floor planA ground-floor plan for Ember Lane Pizza as DXF R2010, 13.0 by 8.5 metres, 110.5 square metres gross with a 39.1 square metre kitchen. 8 AIA-style layers authored (10 in the file, because a DXF always carries layer 0 and Defpoints), two furniture blocks referenced rather than exploded, closed room boundaries so area is computable, aligned dimensions, a hatched kitchen floor and MTEXT notes. Seating is laid on a grid and stops when the floor runs out, so 26 covers are drawn. $INSUNITS is set to 6 (metres) rather than left at 0, because an unset unit is the single most common cause of a drawing importing at a thousand times its size. Synthetic premises, not a real building.
- Cedar Street Tacos: floor planA ground-floor plan for Cedar Street Tacos as DXF R2010, 7.0 by 2.4 metres, 16.8 square metres gross with a 5.8 square metre kitchen. 8 AIA-style layers authored (10 in the file, because a DXF always carries layer 0 and Defpoints), two furniture blocks referenced rather than exploded, closed room boundaries so area is computable, aligned dimensions, a hatched kitchen floor and MTEXT notes. Seating is laid on a grid and stops when the floor runs out, so 0 covers are drawn. $INSUNITS is set to 6 (metres) rather than left at 0, because an unset unit is the single most common cause of a drawing importing at a thousand times its size. Synthetic premises, not a real building.
- Willow Event Kitchen: floor planA ground-floor plan for Willow Event Kitchen as DXF R2010, 16.0 by 10.0 metres, 160.0 square metres gross with a 70.0 square metre kitchen. 8 AIA-style layers authored (10 in the file, because a DXF always carries layer 0 and Defpoints), two furniture blocks referenced rather than exploded, closed room boundaries so area is computable, aligned dimensions, a hatched kitchen floor and MTEXT notes. Seating is laid on a grid and stops when the floor runs out, so 0 covers are drawn. $INSUNITS is set to 6 (metres) rather than left at 0, because an unset unit is the single most common cause of a drawing importing at a thousand times its size. Synthetic premises, not a real building.
and 1 more in the library.