On 04/23/2015 02:20 AM, Robert Hanson wrote: > The missing info is that you need > > > > * set picking DRAGSELECTED set allowMoveAtoms TRUE* > in order to move subsets of atoms in a molecule > > along with > > > * set allowRotateSelected TRUE* > > if you want to also rotate them with alt-left > > I've just spent some time looking closely at the difference between > > > > *set dragSelected* > and > > > > *set picking dragSelected* > This is not trivial to describe. The two definitely do different things. > Basically, set dragSelected adds new functionality to Jmol with alt-drag > and alt-shift drag, and set picking dragSelected replaces > the standard mouse drag with a move action and also adds rotate and z-shift > options > > > // see footnotes below for ^, #, *, and $ > // > // settings:^ set picking dragSelected set dragSelected > // > // move:# drag alt-shift-drag > // rotate:#* alt-drag alt-drag > // z-shift:# shift-drag (n/a) > // > // double-click:$ (starts measurement) (sets selected if set > picking SELECT) > // > // # all actions involve whole molecules unless set allowMoveAtoms > TRUE > // ^ set picking dragSelected overrules set dragSelected > // * rotate requires set allowRotateSelected TRUE > // $ set dragSelected allows setting of a new molecule with > double-click when set picking SELECT > // $ set picking dragSelected allows measurements with double-click, as > usual > Bob, thank you very much for the explanations. It is much clearer now.
You havn't mentioned yet 'set pickingStyle' which additionally modifies the behaviour. For example with 'set picking dragSelected', "z-shift" and "rotate" don't work together with 'set pickingStyle drag select'. Instead "shift-drag" and "alt-drag" start a selection rubberband. With 'set pickingStyle select toggle', "z-shift" and "rotate" do work. Considering all the information I gathered so far, the following three option sets are more or less suitable for moving around selected atoms independent of their connectivity in Jmol 14.3.13: ==== Option Set 1 ================ set allowMoveAtoms on; set allowRotateSelected on; set picking dragSelected; set pickingStyle select toggle; set dragSelected off; ---- Mouse Behaviour Option Set 1 --- x/y-shift selected: drag (any atom) z-shift selected: shift-drag (any atom) rotate selected: alt-drag (any atom) select single atom: [not available] deselect single atom: [not available] select multiple atoms: [not available] deselect multiple atoms: [not available] ==== Option Set 2 ================ set allowMoveAtoms on; set allowRotateSelected on; set picking dragSelected; set pickingStyle select drag; set dragSelected off; ---- Mouse Behaviour Option Set 2 --- x/y-shift selected: drag (any atom) z-shift selected: [not available] rotate selected: [not available] select single atom: shift-drag (around unselected atom), alt-drag (around atom) deselect single atom: shift-drag (around selected atoms) select multiple atoms: shift-drag (around unselected atoms), alt-drag (around atoms) deselect multiple atoms: shift-drag (around selected atoms) ==== Option Set 3 ================ set allowMoveAtoms on; set allowRotateSelected on; set picking atom; set pickingStyle select toggle; set dragSelected on; ---- Mouse Behaviour Option Set 3 --- x/y-shift selected: shift-alt-drag (anywhere) z-shift selected: [not available] rotate selected: alt-drag (anywhere) select single atom: click (unselected atom), double-click (atom, others are deselected) deselect single atom: click (selected atom) select multiple atoms: [not available] deselect multiple atoms: [not available] ================================== Set 1 totally disables mouse-based selection changes and enables all three movement types (x/y-shift, z-shift, rotate). Set 2 enables mouse-based single/multiple atom selection changes and enables only one movement type (x/y-shift). Set 3 enables mouse-based single atom selection changes and enables two movement types (x/y-shift, rotate). Regards, Rolf -- Rolf Huehne Postdoc Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI) Beutenbergstrasse 11 07745 Jena, Germany Phone: +49 3641 65 6205 Fax: +49 3641 65 6210 E-Mail: rhue...@fli-leibniz.de Website: http://www.fli-leibniz.de Scientific Director: Prof. Dr. K. Lenhard Rudolph Head of Administration: Dr. Daniele Barthel Chairman of Board of Trustees: Dennys Klein VAT No: DE 153 925 464 Register of Associations: No. 230296, Amtsgericht Jena Tax Number: 162/141/08228 ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users