That seems like a modification that makes it less flexible.  Now I can't do:

ray 2.5in, 20cm, dpi=300

Don't ask me why I might want to use two different units, I just don't see a 
reason to make it so I cannot.  I'm frequently surprised by my desires.

And resolution is inconsistent with the png function, and less precise.  I 
don't know what units I have with the resolution argument.  One of my high 
ranking complaints about pymol has been certain inconsistencies in the api, so 
that's actually what I care about more.  (Maybe I should write those up, but 
fixing these things is always hard because backwards compatibility kind of 
matters).

Also, it would be nice to have this in the png function as well.

As for units, I thought it would be nice to read the file used by the units 
unix type function (located at /usr/share/units.dat on my linux machine, 
/usr/share/misc/units.lib).  Maybe ship with and support the mac/bsd one since 
that should be friendly with the pymol license and check for the system one at 
runtime.  That way, if new units are ever invented, we get some 
(semi-)automatic support.

-David



----- Original Message ----
> From: Tsjerk Wassenaar <tsje...@gmail.com>
> To: Jason Vertrees <jason.vertr...@schrodinger.com>
> Cc: Georg Steinkellner <georg.steinkell...@uni-graz.at>; 
> pymol-users@lists.sourceforge.net
> Sent: Wed, January 20, 2010 3:54:25 PM
> Subject: Re: [PyMOL] Feature Requests/Ideas (Sean Law)
> 
> Hi,
> 
> > ray 10cm, 20cm, dpi=300?
> > ray 2.5in, 5in, dpi=300?
> 
> I'd slightly modify that to read:
> 
> ray 10,10,units=cm,resolution=300
> 
> where units can be pixels (default), cm, inches, meters, yards, lightyears...
> 
> Cheers,
> 
> Tsjerk
> 
> 
> -- 
> Tsjerk A. Wassenaar, Ph.D.
> 
> Computational Chemist
> Medicinal Chemist
> Neuropharmacologist
> 
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net



      

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to