Skip to main content

WARNING

This is an outdated python package, please switch to ezdxf: https://pypi.org/project/ezdxf/

Advantage of ezdxf over dxfwrite is read/write support for DXF versions:

  • R12

  • R2000

  • R2004

  • R2007

  • R2010

  • R2013

  • R2018

Documentation

http://dxfwrite.readthedocs.io

The source code repository of dxfwrite can be found at GitHub.com:

https://github.com/mozman/dxfwrite.git

Contact

dxfwrite@mozman.at

News

Version 1.2.2 - 2020-01-01

Version 1.2.1 - 2017-01-22

Version 1.2.0 - 2012-08-01

  • License changed to MIT License

  • tested on Win7 with: CPython2.7, CPython3.2, CPython3.3 beta, pypy-1.9

Version 1.1.0 - 2011-12-29

  • rewrite of DXF-String building process

  • refactored MText class

  • changed Viewport table entry to VPort and DXFEngine.viewport to DXFEngine.vport. This was necessary to implement the VIEWPORT (Entity)

  • added VIEWPORT (Entity) to create viewports in paper space

  • view docs also on http://dxfwrite.readthedocs.org

  • added some docs

  • changed clothoid mirror parameters

  • added methods to class Layer: on(), off(), freeze(), thaw(), lock(), unlock()

  • tested on Win7 32 Bit with CPython-2.7, CPython-3.2 and pypy-1.7, IronPython 2.7 failed tests - unicode issues

  • tested on Ubuntu 11.10 64 Bit with CPython-2.7, CPython-3.2 and pypy-1.7

Version 1.0.2 - 2011-12-08

  • raw unicode encoding by Toni Ruža - use any unicode character for text and table-entries.

Version 1.0.1 - 2011-03-26

  • added easy usage of modelspace/paperspace, see examples/paperspace.py

  • BUGFIX: removed dict-comprehension in module htmlcolors.py for backward-compatibility to Python 2.5 and 2.6, works with pypy 1.4.1

Version 1.0.0 - 2011-03-11

  • changed: set DXF Header variables now looks like dwg.header[‘$VAR’] = value, see http://packages.python.org/dxfwrite/headervars.html

  • splitted makedxfexamples.py into several files and moved them into the subdir ‘examples’

  • curves.Ellpise: radiusx -> rx; radiusy -> ry

  • moved documentation to: http://packages.python.org/dxfwrite, and using Sphinx (http://sphinx.pocoo.org)

  • tested with Python 3.2 - OK

  • further compatibility-tests only for CPython 2.7 & CPython 3.2+

  • added Drawing.add_xref(filename), for usage see examples/xref.py

  • adding relative attributes by Insert.add() consider the xy-scaling

  • added Howtos section to documentation

Version 0.3.6 - 2010-11-14

  • moved dxfwrite.drawing.ENCODING to class Drawing

  • Python 3.1 support

Version 0.3.5 - 2010-09-10

  • new: package and tests run with Python 2.7

Version 0.3.4 - 2010-08-29

  • status: 5 - Production/Stable

  • new: package and tests run with Python 2.5 (tests need unittest2)

Version 0.3.3 - 2010-04-27

  • BUGFIX: makedxfexamples.py - attdef keyword error

Version 0.3.2 - 2010-04-27

  • BUGFIX: Drawing.__dxf__() - StringIO() does not support ‘with’ statement

Version 0.3.1 - 2010-04-24

  • new: insert2, insert block reference with automatic attrib filling

  • changed interface for DXFEngine.attrib()

Version 0.3.0b1 - 2010-03-28

  • new: subpackage algebra: circle, ray, clothoid, cspline, bezier (27.03.2010)

  • new: Spline, Bezier, Clothoid and Ellipse - curves (27.03.2010)

  • new: acadctb.py to read, write and create AutoCAD ctb-files (25.03.2010)

  • splitted buildups.py into mtext.py and rect.py

Metadata

Release files for dxfwrite 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dxfwrite 1.2.2
File Size Uploaded
dxfwrite-1.2.2.zip 158.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dxfwrite 1.2.2
File Interpreter ABI Platform
dxfwrite-1.2.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 240.6 kB

Release files / dxfwrite-1.2.2.zip

Download URL dxfwrite-1.2.2.zip
Size 158.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9f63366b7168c02bd2418a8619cdeb87c392d248af5c466de22aa9cecb9e296d
BLAKE2b-256 checksum
How to use checksums
a15cf393fbbeb89c1c96033d99fa4e0f4c6a688dd8c6c8070493ce8fe38bf308
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1

Release files / dxfwrite-1.2.2-py2.py3-none-any.whl

Download URL dxfwrite-1.2.2-py2.py3-none-any.whl
Size 81.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f9b029f591d2d39faada3f795bfa30388bd1cafcf8a08c56991f3afcf185e466
BLAKE2b-256 checksum
How to use checksums
73c77be507e3b462050ab2e117a404cffa3a8165a432de084b72954542500a77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page