Well, let's see...
On Tue, May 10, 2011 at 2:16 PM, Paul Pillot <
[email protected]> wrote:
> I've tested set picking dragSelected.
> - when the atoms that are part of the selections are clicked and dragged,
> the selection can be rotated and dragged, which is the expected behavior
>
good
> - when an atom that is not part of the selection is clicked and dragged,
> the selection is rotated and dragged accordingly, which was unexpected to me
>
well, unless clicking changes the selection, that's intended. But I could
change that. You mean so that it is ONLY the atoms that are selected that
must be clicked on. Should be possible.
> - when the selection is bonded to other atoms (eg : ss bridges 1fdl, 1ins)
> the dragging affects only the selection whereas the rotation affects all the
> atoms linked together.
>
nasty. OK, I know what is going on here. There are a few parameters that
need setting. For now, use
set allowMoveAtoms
This will make it so that only the selected atoms move, not their entire
molecules. It also automatically sets dragSelected and allowRotateSelected.
When you turn off allowMoveAtoms, then you also turn off dragSelected and
allowRotateSelected.
I don't know if this is really what we want. I think the right combination
is probably
set allowMoveAtoms
set dragSelected false
set picking dragSelected
if the user has control over what they select (as with buttons, for
example).
I'm not totally happy with that, though. Way too complicated.
I'm almost done getting undo/redo fixed. That was a problem. After this, you
can use CTRL-Z to undo up to 100 moves and CTRL-SHIFT-Z or CTRL-Y to redo
them.
Bob
> Paul
>
> Le 10 mai 2011 à 01:35, Robert Hanson a écrit :
>
> I think we would need a flag like "set picking dragSelected". We have set
> pickingStyle select drag, but it really doesn't do much, and it it doesn't
> allow for rotation, which I think is a nice feature of set picking
> dragMolecule (with SHIFT).
>
> OK, I have added for Jmol 12.1.46
>
> set picking dragSelected
>
> that acts like set picking dragMolecule, except it is the specific atoms
> that have been selected, and pretty much deprecates
>
> set pickingStyle select drag
>
>
> see http://chemapps.stolaf.edu/jmol/docs/examples-12/Jmol-12.zip
>
> Bob
>
>
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
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
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users