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 : > > Paul, > > Don’t forget that when you do that, you’ll be freezing the model. I decided > that I could live with that for my purposes: > > http://chemagic.com/molecules/mini.html > > Click the Rotate Bond button. > > With multiple models in the window, the combination of the Rotate Bond > button and the Move button give me complete control of all model motions > (rotate, bond-rotate, translate) for the individual molecules. I must accept > a frozen molecule during the bond rotation, however. > > You probably know this, but it took me a while to understand this point even > though it’s clearly stated in the docs: the unbind command by itself returns > to Jmol default bindings. > > Otis > > -- > Otis Rothenberger > o...@chemagic.com > http://chemagic.com > >> On Nov 11, 2015, at 10:03 PM, Paul PILLOT <paulpil...@gmail.com> wrote: >> >> Thanks Otis ! >> your answer pointed me to a description of the gesture I was looking for : >> MAJ+Left_click >> I’ll follow your lead and change the combination to a simple click so that >> touch screen users could use this feature. >> Paul >> >>> Le 11-11-2015 à 20:39, CheMagic <osrot...@chemagic.com> a écrit : >>> >>> Paul, >>> >>> I do this type of rotation by another method because I want it to work on a >>> touch screen, so I may be wrong on this point (below) with the set picking >>> rotatebond: >>> >>> I think you still have to make the binding using the bind command. Are you >>> using the bind command to bind to a specific mouse/key action? >>> >>> Otis >>> >>> Sent from my iPad >>> >>>> On Nov 11, 2015, at 8:06 PM, Paul PILLOT <paulpil...@gmail.com> wrote: >>>> >>>> Hi, >>>> I am wondering if the « set picking rotatebond » command is broken ? I’ve >>>> tried bot with the application (v 14.5.0_2015.11.06) and the HTML5 jsmol >>>> flavour >>>> Bonds are selected by picking, but I can’t rotate any group from either >>>> side of the bond. Am I missing something (key modifier for example ?) >>>> Thanks for your help, >>>> Paul >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> 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 >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> 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 ------------------------------------------------------------------------------ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users