dxf 1.1.1
Python library to generate DXF drawing files (CAD)
SDXF is a Python library to generate DXF files. DXF is an abbreviation of Data Exchange File, a vector graphics file format. It is supported by virtually all CAD products (such as AutoCAD, Blender, 3Dstudio, Maya,Vectorworks...) and vector drawing programs (such as Illustrator, Flash, ...).
SDXF can generate complex CAD drawings (dxf format) with all kind of entities (such as 3DFace, Arc, Insert, Circle, Line, Mtext, Point, Polyline, Rectangle (can be filled), Solid & Text). They can be structured with Layers, Blocks, Linetypes, Text styles and Views.
Example
import sdxf
d=sdxf.Drawing()
d.append(sdxf.Text('Hello World!',point=(3,0,1)))
d.append(sdxf.Line(points=[(0,0,0),(1,1,1)]))
d.saveas('hello_world.dxf')
For more info: http://dxf.stani.be http://jonschull.blogspot.com/2008/12/kellbot-sdxf-python-library-for-dxf.html
NOTE: This exists because of defun. http://pypi.python.org/pypi/SDXF
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| dxf-1.1.1.tar.gz (md5) | Source | 2011-04-10 | 6KB | 630 | |
- Author: Stani <stanibe@gmail.com>, Kellbot <kellbot@kellbot.com>
- Home Page: http://www.kellbot.com/sdxf-python-library-for-dxf/
-
Categories
- Programming Language :: Python :: 2.5
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Topic :: Multimedia :: Graphics :: 3D Modeling
- Topic :: Multimedia :: Graphics :: Graphics Conversion
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: Duan.Maliarik
- DOAP record: dxf-1.1.1.xml
