Re: [Jmol-developers] rotateSelected

2010-11-04 Thread Angel Herráez
Christoph, how do you define current coordinates? As far as I understand, the (xyz) coordinates of the atoms do not change when you rotate or translate. So current=original at all times. rotateSelected does change the atom positions relative to the rest of the model, so it does change the xyz

Re: [Jmol-developers] rotateSelected

2010-11-04 Thread Robert Hanson
Christoph, So rotateSelected is what you want. (Also just two words: ROTATE SELECTED.) As Angel mentions, I don't think you will run into any trouble here unless you want to apply multiple rotation/translations. In that case, you could save the rotation/translation as a Jmol variable in the form

Re: [Jmol-developers] rotateSelected

2010-11-04 Thread Dr. Christoph Gille
Hi Angel, Christoph, how do you define current coordinates? I mean the coordinates after performing a rotation / translation in contrast to the original coordinates in the protein file. I always want to start the rotation/ translation from the original PDB coordinates. This is probably not

Re: [Jmol-developers] rotateSelected

2010-11-04 Thread Dr. Christoph Gille
Hi Bob, save coordinates restore coordinates this might be a straight forward method. I have to test this immediatly and will come back soon! Thanks! -- The Next 800 Companies to Lead America's Growth:

Re: [Jmol-developers] rotateSelected

2010-11-04 Thread Dr. Christoph Gille
Hi Bob I looked at some examples of the save-command. It seems that the state of all loaded molecules was saved. Is it possible to save just the one model under consideration? If you say that this is potentially memory consuming, I might rather save the coordinates in a flat float[] array.

Re: [Jmol-developers] rotateSelected

2010-11-04 Thread Robert Hanson
save/restore coordinates saves coordinates in an array of point3f -- not much different from float[], I think. also, that operates on the currently selected set, so you can just use select 1.1 save coordinates 1 select 1.1 restore coordinates 1 But since you will probably be looking at

[Jmol-developers] rotateSelected - it works (-:

2010-11-04 Thread Dr. Christoph Gille
select 1.1 save coordinates 1 Thanks Bob, superposition works fine now. Two questions: 1. How to specify pdb insertion codes in selections 2. Can I obtain the JMenuBar? Three bugs: 1. Why zoom with wheel and not ctrl-wheel? Bug or by intention? 2. Tilde (i.e. $HOME) not working in file paths

Re: [Jmol-developers] rotateSelected - it works (-:

2010-11-04 Thread Robert Hanson
On Thu, Nov 4, 2010 at 12:24 PM, Dr. Christoph Gille christoph.gi...@charite.de wrote: select 1.1 save coordinates 1 Thanks Bob, superposition works fine now. Two questions: 1. How to specify pdb insertion codes in selections %x so, for example, select %A // just the A