473,324 Members | 2,254 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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 2551

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ajikoe | last post by:
hello, I wonder if anyone used spe stani, I'm looking for how to collapse all code fold, but can't find. pujo
7
by: John DeRosa | last post by:
SPE's site (http://pythonide.stani.be/) has been inaccessible to me for at least a day. Can anyone else get to it? I looked on Google and didn't see any new locations for SPE. Has it recently...
7
by: BBands | last post by:
No, no, no, this is not an invitation to the editor wars. I have been using José Cláudio Faria's superb Tinn-R, http://www.sciviews.org/Tinn-R/, with the R language, http://www.r-project.org/....
5
by: farksimmons | last post by:
I am creating a distro of Python to be licensed as GPL.... am wondering, what would anyone suggest as to 3rd party modules being put into it (non-commercial of course!)? I know I'd put MySQLdb into...
11
by: Simon Pickles | last post by:
Hi, I have recently moved from Windows XP to Ubuntu Gutsy. I need a Python IDE and debugger, but have yet to find one as good as Pyscripter for Windows. Can anyone recommend anything? What are...
0
by: Rick King | last post by:
Hi everyone, The editor in spe on my system (win XP home sp2) does not do automatic indentation..... I can't figure out why - it used to. I'm set up with subversion so I have the very latest stuff...
1
by: SPE - Stani's Python Editor | last post by:
Hi All, If you wrote some python code that you want to package or know a cool python application of which you like to make a deb installer, the python packaging session is all for you! Do you...
1
by: Ivan Ven Osdel | last post by:
Not really, I have just worked with them more. ----- Original Message ----- From: "Ali Servet Dönmez" <asd@pittle.org> To: python-list@python.org Sent: Wednesday, July 2, 2008 1:15:04 PM GMT...
4
by: leon.domingo | last post by:
Hello, I've installed Eclipse, Python 2.5 and wxPython on Ubuntu 8.04. The problem is that I can't get code completion for wx module. I don't know if it occurs the same with other libraries...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.