469,909 Members | 1,708 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,909 developers. It's quick & easy.

SDXF 1.0 - Stani's DXF Library for Python

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&downloads: http://www.stani.be/python/sdxf

Jul 21 '05 #1
0 2470

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by ajikoe | last post: by
7 posts views Thread by John DeRosa | last post: by
7 posts views Thread by BBands | last post: by
11 posts views Thread by Simon Pickles | last post: by
reply views Thread by Rick King | last post: by
1 post views Thread by SPE - Stani's Python Editor | last post: by
4 posts views Thread by leon.domingo | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.