Welcome! This is the documentation for ezdxf release 0.13, last updated Jul 05, 2020.


  • ezdxf is a Python package to create new DXF files and read/modify/write existing DXF files
  • the intended audience are developers
  • requires at least Python 3.6
  • OS independent
  • additional required packages: pyparsing
  • MIT-License
  • read/write/new support for DXF versions: R12, R2000, R2004, R2007, R2010, R2013 and R2018
  • additional read support for DXF versions R13/R14 (upgraded to R2000)
  • additional read support for older DXF versions than R12 (upgraded to R12)
  • read/write support for ASCII DXF and Binary DXF
  • preserves third-party DXF content

Included Extensions

  • Drawing / Export Addon add-on to visualise and convert DXF files to images which can be saved to various formats such as png, pdf and svg
  • r12writer add-on to write basic DXF entities direct and fast into a DXF R12 file or stream
  • iterdxf add-on to iterate over entities of the modelspace of really big (> 5GB) DXF files which do not fit into memory
  • Importer add-on to import entities, blocks and table entries from another DXF document
  • dxf2code add-on to generate Python code for DXF structures loaded from DXF documents as starting point for parametric DXF entity creation
  • Plot Style Files (CTB/STB) read/write add-on
  • PyCSG add-on for Constructive Solid Geometry (CSG) modeling technique


Documentation of development version at https://ezdxf.mozman.at/docs

Documentation of latest release at http://ezdxf.readthedocs.io/

Source Code: http://github.com/mozman/ezdxf.git

Issue Tracker at GitHub: http://github.com/mozman/ezdxf/issues

Questions and Feedback at Google Groups

Please post questions at the forum or stack overflow to make answers available to other users as well.


Indices and tables