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.