Hi Guys, I'm trying to write some code to let the viewer rotate the molecule to their liking, then have a high resolution image made based on that orientation. B I wonder if there is some way to track and output the on-screen orientation. Once I know what rotations were applied in jmol, I can re-apply the same rotations in pymol to make my high-res image. Is it possible to track the angular orientation in this way?
Another approach might be to make buttons that rotate the molecule in set increments; I could keep track of these button clicks and thus know how to rotate the molecule. However it would be so much nicer if the user could just rotate freely with the mouse.. Please let me know if anyone can help. Thanks Sam Samuel Flores Graduate Student Gerstein Lab Office: Bass 437 266 Whitney Avenue New Haven, CT 06520 203.432.5405 Home: 28 Pearl Street New Haven, CT 06511 cell: 203.747.2682 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Hanson Sent: Saturday, March 18, 2006 1:05 AM To: [email protected]; [email protected] Subject: [Jmol-developers] spin/rotate consolidation -- request for comments OK! Here we go. I have completed a full rewrite of spin/rotate/center. I still have a day of testing to do on it, but it's very clean. The old "spin x, spin y, spin z, spin on/off" is still there, but I consider it deprecated. FAR better is a full complement of INTERNAL and FIXED frame rotations and spinning involving x, y, z, -x, -y, -z, arbitrary axisangle [x y z], designation of (atom sets) [x y z] coordinates, and [line1] draw objects for both fixed and internal spinning and rotating, and designation of two coordinates or two atom sets or an atom set and a coordinate for internal coordinate spinning. Test page will be at http://www.stolaf.edu/people/hansonr/jmol/test/json/spin.htm momentarily. * * spin and rotate are now consolidated here. * The old "spin x, spin y, spin z" is still there, but * pretty much deprecated because it is not that useful. * spin on and spin off still work as well -- and are important * * far simpler is * * spin x 10 * spin y 10 * * these are pure x or y spins or * * spin axisangle [1 1 0] 10 * * this is the same as the old "spin x 10; spin y 10" -- or is it? * anyway, it's better! * * note that there are many defaults * * spin * spin 10 * spin x * * and several new options * * spin -x * spin axisangle [1 1 0] 10 * spin 10 (atomno=1)(atomno=2) * spin 20 [0 0 0] [1 1 1] * * The INTERNAL keyword indicates that spins or rotations are to be * carried out in the internal molecular coordinate frame, not the * fixed room frame. * * * Bob Hanson * * ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

