Hey Paul,

I really like what your page is doing. I divide my window into two segements, 
and the rotated group changes depending on which side gets the click-drag. It 
looks like your screen has three parts, with the middle component rotating both 
branches. I like that.

My code predates the Jmol set picking rotatebranch. I think I need to look into 
this newer approach.

Otis

"Hey" is deep south USA English for Hi.

Sent from my iPad

> On Nov 12, 2015, at 8:26 AM, Paul PILLOT <paulpil...@gmail.com> wrote:
> 
> Thank-you for the pointer.
> I think we have two different implementations. From what I can guess from 
> your webpage, once the user clicks a bond, the scripts somehow selects one of 
> the group from either side of the bond to allow it to rotate (an « allow 
> rotateselected » flag is set in the console).
> In my webpage ( 
> http://librairiedemolecules.education.fr/outils/scribmol/scrib.html excuse my 
> french), upon clicking the 9th button on top of the jsmol window, a «  set 
> picking rotatebond; bind ‘LEFT+drag’ _rotateBranch » command is issued. after 
> clicking on a bond, red circles are displayed around the atoms defining the 
> bond, and when the user drags the mouse, the group located on the side of the 
> screen delimited by the bond, rotates. It is still possible to rotate the 
> entire model, by clicking elsewhere (not on a bond) on the screen (I suspect 
> it’s what you meant by frozen molecule).
> Paul
> 
>> Le 12-11-2015 à 00:58, Otis Rothenberger <osrot...@chemagic.com> a écrit :
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users



------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to