From: Chris F. <chr...@st...> - 2009-04-30 10:55:25
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Thanks for the reply Robert. I downloaded 11.7.33 but unfortunately I can't get the rotation to work. I can translate the atoms as you describe but can't rotate them.<br> <br> Also, is it possible to change the point the atoms rotate around? The kind of thing I want to do is rotate a group around the atom it is attached to.<br> <br> Thanks again,<br> Chris.<br> <br> <br> <br> <br> Robert Hanson wrote: <blockquote cite="mid:ba9...@ma..." type="cite">It's in there, at least for Jmol 11.7. See <a moz-do-not-send="true" href="http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm">http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm</a><br> <br> 30. selective atom rotation and translation<br> <br> # Using set dragSelected in Jmol 11.7.25 you can move selected atoms around, translating them with ALT-SHIFT-LEFT mouse and rotating them around their geometric center using ALT-LEFT or CTRL-ALT-RIGHT. Selection halos are automatically turned on during mouse-drag actions. (Still a few bugs there....)<br> <br> load caffeine.xyz;load append water.xyz;frame 0;select 2.1;selectionHalos on<br> set dragSelected !dragSelected<br> <br> <br> <div class="gmail_quote">On Wed, Apr 29, 2009 at 9:16 AM, Chris Foley <span dir="ltr"><<a moz-do-not-send="true" href="mailto:chr...@st...">chr...@st...</a>></span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Jmol users,<br> <br> I would like to be rotate the selected atoms with the mouse.<br> <br> The rotateSelected command is almost perfect... but only works via<br> scripting, not mouse interaction.<br> <br> The "allowrotateselected = true" setting is also close but rotates the<br> entire molecule, not just the selected atoms.<br> <br> <br> I was wondering (hoping) if I've missed something that would let me set<br> this up quickly and easily. If not, no worries. I can write a small Java<br> application that will do the job.<br> <br> Cheers,<br> Chris Foley.<br> <br> ------------------------------------------------------------------------------<br> Register Now & Save for Velocity, the Web Performance & Operations<br> Conference from O'Reilly Media. Velocity features a full day of<br> expert-led, hands-on workshops and two days of sessions from industry<br> leaders in dedicated Performance & Operations tracks. Use code vel09scf<br> and Save an extra 15% before 5/3. <a moz-do-not-send="true" href="http://p.sf.net/sfu/velocityconf" target="_blank">http://p.sf.net/sfu/velocityconf</a><br> _______________________________________________<br> Jmol-users mailing list<br> <a moz-do-not-send="true" href="mailto:Jmo...@li...">Jmo...@li...</a><br> <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/jmol-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/jmol-users</a><br> </blockquote> </div> <br> <br clear="all"> <br> -- <br> Robert M. Hanson<br> Professor of Chemistry<br> St. Olaf College<br> 1520 St. Olaf Ave.<br> Northfield, MN 55057<br> <a moz-do-not-send="true" href="http://www.stolaf.edu/people/hansonr">http://www.stolaf.edu/people/hansonr</a><br> phone: 507-786-3107<br> <br> <br> If nature does not answer first what we want,<br> it is better to take what answer we get. <br> <br> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900<br> </blockquote> </body> </html> |