> Hi, > > The zoom setting in jmol.jar seems to have changed between 10.00 and > 10.00.43 - so my scripts written in 10.00 are wrongly zoomed in 10.00.43. > Is there a reason?
I believe that the only difference in zoom level occurs when the applet is not square. In 10.00 the applet was scaled so that the molecule would fit within the *smaller* of the two dimensions (when displayed with spacefill 100%). With more recent releases, the molecule is scaled so that it fits within the *larger* of the two dimensions. This is an intentional change. I do not anticipate future changes in this default behavior. Note that there was also a change in the default center position of a molecule. For most molecules this was very minor. Detail ====== An applet is a rectangular area with width and height specified in pixels. In general, applets should be square. Molecules have a center of rotation and a radius. The default center of rotation was changed after the 10.00 release. With the 10.00 release the default center of rotation was the average position of the centers of the atoms (which some people call the 'unweighted center of gravity'). The BoundBox is defined by the largest and smallest coordinate value for atom center positions along the x, y, and z cartesian axes. (try 'set boundbox on; set axes on;') In more recent prereleases of Jmol the center position defaults to the center of the BoundBox. With most molecules, the difference between the average position and the center of the BoundBox is very small. The primary motivation for this change in default center of rotation was for backwards-compatibility with Chime. The radius of a molecule is defined as the distance from the center to the outside of the furthest atom when the atoms are displayed 'spacefill 100%;'. The idea is that if you load a molecule and say 'spacefill 100%;' then the entire molecule will stay visible in all orientations. In previous releases the smaller window dimension was used. This was intentionally changed to be the larger window dimension. This is because the primary reason for using a rectangular applet is to show an elongated molecule ... in which case it is more useful to have the molecule scaled to fit within the larger dimension. Miguel ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

