Well, here's a start. version=11.7.24_dev
# new feature: set picking dragSelected (preliminary) # # ALT_LEFT highlights atoms and rotates them # ALT_SHIFT_LEFT highlights atoms and translates them set picking dragSelected will supercede allowRotateSelected when both are set. Q: Are those key-combinations going to be OK? I tried this out a bit, and it worked like a charm. My reasoning: ALT_LEFT currently when dragging rotates atoms only when the allowRotateSelected flag is set, so that's pretty close to what we are using here, and the code uses the same methods. ALT_SHIFT_LEFT adds the "SHIFT" idea, which to me connotes translation -- shifting. With "set picking draw", ALT_SHIFT_LEFT wasn't doing anything, so I set it to drag the points around as a set in the same way. It's interesting to put in some measurements and watch them change as you go. How interesting would it be to, say, set some measurements and then, perhaps, say something like minimize measurements Then it seems to me two structures could be "snapped together" very quickly, orientation and all. I wonder if that would be very difficult.... My initial idea of dragModel just doesn't seem necessary. Bob On Mon, Feb 2, 2009 at 7:23 AM, Robert Hanson <[email protected]> wrote: > I'm thinking the next project for me for Jmol could be structural > comparison. Something like: > > set picking dragmodel > > and then when you use SHIFT-drag, the model that contains the atom > under the cursor gets rotated around independently of the other > models, and when you use ALT-CTRL-drag, the model gets translated. > > What could be interesting here is that we could add a drag callback > that would, for example, recalculate the minimization energy of some > preselected set of atoms, or reconnect hydrogen bonds. > > also possible: > > set picking dragselected > > Thoughts? > > Bob > > > -- > 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 > -- 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
