Initial zoom depends, if your Jmol is rectangular, on set zoomlarge and 
set zoomheight. Just in case you didn't remember those. With zoomlarge 
true I often set zoom to 110% to pretty much fill Jmol to the edges.
-Eric

On 12/3/15 7:05 AM, si...@publcif.co.uk wrote:
> Dear all
>
> If I do "rotate best;center visible;zoom 0;" I get a nice view of a
> model, but in most cases it wont entirely fill the applet because the
> zoom is optimized with respect to the 3d bounding box (I think).
>
> Does anyone know how to automatically zoom a model so that it is as
> large as possible in the applet but still shows all atoms?
>
> E.g. if I knew the 2D extent of the actual atoms as displayed after
> calling "rotate best;center visible;zoom 0;", I could work out how
> much space is available in order to apply an extra zoom?
>
> Any ideas?
>
> Cheers
>
> Simon
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to