Python section | Java section | C++ section |
Also see My Graphics Programming Notes & Links.
Coin, which implements the SGI Open Inventor 2.1 API. Coin is portable over a wide range of platforms (any UNIX / Linux / *BSD platform, all Microsoft Windows operating systems, and Mac OS X) and adds additional features missing in the original SGI Open Inventor API such as VRML97 support, 3D Sound, 3D Textures, Multi-threading and parallel rendering. Additionally GUI bindings implementing viewer widgets for several GUI toolkits (Qt, Gtk, Xt, Cocoa, Win32) are available. Coin is Open Source and has an active and growing community.
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')
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, ...).
To install, simply put sdxf.py in site-packages directory!
Note: output is a .dxf file! need viewer to appreciate it...
Qt is a graphics environment by TrollTech
Qt is Open Source
Through Trolltech's Dual Licensing Model, Qt delivers all of the advantages of Open Source in a commercially-supported, proven framework