On Mon, Nov 28, 2005 at 04:44:56PM -0600, Kenneth McDonald wrote: > I'm not trying to persuade my company to offer Python as a scripting > language for their product, but I am trying to give them examples of > things that Python can do easily that cannot be done easily with > their current proprietary scripting language. After that it would be > their decision. As the product is a 3D package, I'm looking for > something in this field. > > This does _not_ have to use PyOpenGL, or for that matter, any Python > 3D package. In fact, my ideal would be a Python script that simply > uses L-Systems (Lindenmayer systems) as in "The Algorithmic Beauty of > Plants", to generate plantlike OBJ files that can then be displayed > in our program. In general, something that generates an OBJ file > would probably be preferable to something that actually uses > PyOpenGL, Blender, etc, as then I can just display the OBJ file in > our program to say, "This is the sort of thing that can be easily > done by Python without recourse to any other programs".
A quick google on "obj 3d python" brings up cgkit which has a tutorial page: http://cgkit.sourceforge.net/tutorials/ It state it can export in OBJ format. -jackdied -- http://mail.python.org/mailman/listinfo/python-list