Thanks Bob. It's just that 2 looked weird to me. They both work on iPad and
Android, so I'm a happy camper.
Otis
--
Otis Rothenberger
[email protected]
http://chemagic.com
On Apr 6, 2014, at 11:23 PM, Robert Hanson <[email protected]> wrote:
> looks great to me....
>
>
> On Sat, Apr 5, 2014 at 11:41 PM, Otis Rothenberger <[email protected]>
> wrote:
> Bob,
>
> I'm trying to circumvent the lack of a modifier key (ALT) on an iPad when
> switching between drag translation and rotation of individual multiple models.
>
> On an iPad and laptop, these two scripts do exactly what I want:
>
> 1) CLICK/DRAG TRANSLATES:
>
> set picking off; set picking ON; set atomPicking true; set picking
> dragmolecule;
>
> 2) CLICK/DRAG ROTATES:
>
> set picking off; set picking ON; set atomPicking true;set picking
> dragmolecule;set allowRotateSelected TRUE;bind "drag" "_rotateselected";
>
> Number 1 does not worry me.
>
> In the case of number 2, I'm concerned that the script is not working
> according to your intentions - i.e. it might change in the future.
> Specifically, every component in script 2 is required to make this work on an
> iPad. I should mention that it's possible that "set picking off; set picking
> ON;" is not required. I do that as a matter of habit because it seems to
> avoid problems. Every other script command is required: set atomPicking
> true;set picking dragmolecule;set allowRotateSelected TRUE;bind "drag"
> "_rotateselected"
>
> As an aside, I want to mention again that the performance of the JSmol model
> kit on an iPad Air Safari is remarkable. I had pretty much given up hope on
> this several months ago. Android Chrome isn't too shabby either.
>
> Otis
>
> --
> Otis Rothenberger
> [email protected]
> http://chemagic.com
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> 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
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees_APR_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_APR
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users