just revised the documentation in this regard. If this isn't what you
were interested in, let me know.

http://chemapps.stolaf.edu/jmol/docs?command=translate

On Thu, Jan 22, 2009 at 7:58 AM, Eran Hodis <eranho...@gmail.com> wrote:
> Just noticed you already linked me to the files.  Thanks! I'll try that.
> Eran
>
> On Thu, Jan 22, 2009 at 3:57 PM, Eran Hodis <eranho...@gmail.com> wrote:
>>
>> Thanks Bob,  I'll give this a go when the new version is released and
>> report back to you.
>> Eran
>>
>> On Thu, Jan 22, 2009 at 2:16 AM, Robert Hanson <hans...@stolaf.edu> wrote:
>>>
>>> Jmol 11.7.22 has a new option for translate:
>>>
>>> translate x|y|z   x.x   nm|angstroms
>>>
>>> translate x 2.5 nm
>>> translate y 25 angstroms
>>> translate z 1.0 ang
>>>
>>> (only the first character, "n" or "a", is recognized)
>>>
>>> For x and y the result is to move the model that many angstroms or
>>> nanometers. For z the result is to change the zoom such that the width
>>> of the display at model center is (approximately) that many angstroms
>>> less -- resulting in the illusion of zoom "by that many angstroms". (I
>>> think...you tell me!)
>>>
>>> Maximum values are +/-100 units
>>>
>>> For now, uploaded to http://chemapps.stolaf.edu/jmol/docs/examples-11
>>>
>>> see
>>>
>>> http://chemapps.stolaf.edu/jmol/docs/examples-11/Jmol-11.jar
>>>
>>>
>>>
>>>
>>>
>>> Bob
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Jan 21, 2009 at 2:52 PM, Robert Hanson <hans...@stolaf.edu>
>>> wrote:
>>> > Eran, the zoom is by percent, where 100% is the distance of the edge
>>> > of a cube containing the entire model. So zoom 100% allows full
>>> > rotation of the model within the window (provided you also SET
>>> > ZOOMLARGE FALSE) And 50% gets you twice the width as zoom 100%. These
>>> > dimensions can be determined by looking at
>>> >
>>> > $ getproperty "boundboxinfo"
>>> >
>>> > boundboxinfo
>>> > center  {10.5935 10.2105 6.0790005}
>>> > vector  {13.6905 10.7265005 13.500999}
>>> > corner1 {24.284 20.937 19.58}
>>> > corner0 {-3.0970001 -0.51600075 -7.4219995}
>>> >
>>> > or, for example:
>>> >
>>> > $ x=getproperty("boundboxinfo","corner1")
>>> > $ print x
>>> > {24.284 20.937 19.58}
>>> >
>>> > var x = show("boundbox")
>>> >
>>> >
>>> > On Wed, Jan 21, 2009 at 7:56 AM, Eran Hodis <eranho...@gmail.com>
>>> > wrote:
>>> >> Does anyone know how to translate (in either the x or the y axis) by a
>>> >> specific number of Angstroms?  Also is it possible to zoom in/out by a
>>> >> specific number of Angstroms?
>>> >
>>> > It's not exactly clear how that would work with translation, as the
>>> > front part is generally at a different scale than the back part, but
>>> > perhaps it could be defined in terms of the center. That's an idea.
>>> >
>>> > translate x 0.3 [nm|angstroms]
>>> >
>>> >> Thanks,
>>> >> Eran
>>> >>
>>> >> ------------------------------------------------------------------------------
>>> >> This SF.net email is sponsored by:
>>> >> SourcForge Community
>>> >> SourceForge wants to tell your story.
>>> >> http://p.sf.net/sfu/sf-spreadtheword
>>> >> _______________________________________________
>>> >> Jmol-users mailing list
>>> >> Jmol-users@lists.sourceforge.net
>>> >> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Robert M. Hanson
>>> > Professor of Chemistry
>>> > St. Olaf College
>>> > 1520 St. Olaf Ave.
>>> > Northfield, MN 55057
>>> > http://www.stolaf.edu/people/hansonr
>>> > phone: 507-786-3107
>>> >
>>> >
>>> > If nature does not answer first what we want,
>>> > it is better to take what answer we get.
>>> >
>>> > -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>>> >
>>>
>>>
>>>
>>> --
>>> Robert M. Hanson
>>> Professor of Chemistry
>>> St. Olaf College
>>> 1520 St. Olaf Ave.
>>> Northfield, MN 55057
>>> http://www.stolaf.edu/people/hansonr
>>> phone: 507-786-3107
>>>
>>>
>>> If nature does not answer first what we want,
>>> it is better to take what answer we get.
>>>
>>> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by:
>>> SourcForge Community
>>> SourceForge wants to tell your story.
>>> http://p.sf.net/sfu/sf-spreadtheword
>>> _______________________________________________
>>> Jmol-users mailing list
>>> Jmol-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to