dxfwrite 1.1.0 documentation

Welcome! This is the documentation for dxfwrite 1.1.0, last updated December 03, 2013.

A Python library to create DXF R12 drawings.

usage:

from dxfwrite import DXFEngine as dxf

drawing = dxf.drawing('test.dxf')
drawing.add_layer('LINES')
drawing.add(dxf.line((0, 0), (1, 0), color=7, layer='LINES'))
drawing.save()

First create a Drawing, then create various drawing entities by DXFEngine and add them to the drawing with the Drawing.add() method. Layers, Textstyles, Linetypes, Views and Viewports were also created by the DXFEngine factory.

Indices and tables

Document License

Unless otherwise stated, the content of this document is licensed under Creative Commons Attribution-ShareAlike 3.0 License

Read the Docs v: latest
Versions
latest
Downloads
PDF
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.