On Wed, Aug 20, 2003 at 11:54:26AM -0600, Chris Want wrote: > > I'm not a pymol user per se, but I have had a > client who really liked the 'surface' visualization > from pymol and wanted to print some molecules off > on the 3D printer. Unfortunately, pymol lacks an > export export option for the 'STL' format, so > I crafted together a little hack that quietly dumps > out an STL file when a surface is created, which I > hope may be of use to other users (or perhaps somebody > who finds it useful, and who also has an > understanding of the pymol user interface > code, can create a button for it).
Thanks for the code! I find the prospect of using this pretty exciting, and hope Warren can incorporate the function and (a) way(s) to call it into the distributed code. I hope to steal some time to try to try this out here, and to try to convince the folks who run the 3D printers on campus to let us print some things. For future reference, with what version of PyMOL, running in which environment, have U Alberta used this code? It looks pretty straightforward, but you never know. Also, if you or your client would like to comment at all about the size of PyMOL files that have been printed (both in terms of output object dimensions as well as numbers-of-atoms or molecular weight), I'd be very interested in reading about it. (From reading the general description of your facility I can translate, for instance, size into print times, but whatever PyMOL-specific details you want to provide would be great.) Best Regards, --Joe -- D. Joe Anderson, Asst. Sci. 2252 Molecular Biology Bldg. BBMB Research Computing Support www.bb.iastate.edu/computing bbsupp...@iastate.edu