Egon Willighagen wrote: >On Sun, Mar 30, 2008 at 7:53 PM, Bob Hanson <[EMAIL PROTECTED]> wrote: > > >> Since all except the last, I think, is possible now with a bit of >> JavaScript, it will be interesting to see what people come up with. We >> have drag mode for drawn points, so perhaps an extension of that would >> work with atoms. But I could imagine some sort of sculpt mode coming out >> of this. We'll see. >> >> > >OK, so there is a callback for selecting bonds and atoms? Then, adding >a checkbox or so to change atom type or bond order would indeed not be >overly difficult... > >Really interesting to see what people come up with... > > > Scupt mode--
It will probably take a bit more tweaking to fill out all the necessary pieces. I really wasn't thinking sculpt mode, but now that you mention it, I could see it happening. As long as there is only one model, or the additions are only to the last model, adding atoms is no problem -- we do that with "append" already. We have H-atom generation as well, but it's used only for isosurface, I think. That's certainly something that might be generally useful and a fast way of growing a structure. set picking sculpt [draw structure] select ... addHydrogens select... set atom carbon select... rotateSelected... select... addHydrogens minimize etc. >BTW, what open source JavaScript libraries for Jmol are there around? > > > "for" Jmol? Besides Jmol.js? Don't know. >Egon > > > -- Robert M. Hanson 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

