2011/5/11 Angel Herráez <[email protected]>
> Dear users,
>
> I have two models that I want to display at the same scale.
> I know I can use "set scale3d" = "set scaleAngstromsPerInch", bot that
> disables zoom.
> What I would like is display the two models at the same scale, then let the
> user zoom (I'm
> adding sync so the 2 models change at a time)
>
> I've been trying to figure out what zoom command I should give at model
> loading so that they
> get the same intiial scale, but haven't been successful in finding out the
> right zoom
> difference.
>
> 1. Will "set rotationRadius" be useful for this maybe?
>
Yes, exactly. That should do it. Setting rotationRadius sets the number of
angstroms across the window that is called "zoom 100" so if that is the same
in both applets, then "zoom 100" will be the same in both as well, and you
can still zoom to any level and sync it.
> 2. Can "set scaleAngstromsPerInch" be disabled later? i.e. zoom
> reactivated?
>
>
I wouldn't fool with that one.
> Any clues will be appreciated
>
>
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> 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
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users