this now works. Aren't matrices great! I cannot believe how easy this
is. The new command is
rotateSelected ....
and then just like "rotate" or "spin"
Because I'm loathe to create still another command, I've added "spin" as
a keyword to "rotate" so now you can say, for example:
select file=1; rotateSelected spin internal 10 (C5/1) (C6/1)
or, in context:
load "files" "cholesterol.mol" "cholesterol.mol"
file 0;display *; show all models, all atoms
select file=1; invertselected # now I have two enantiomers
translateselected {0 5 5} # offset one
center visible
rotateselected x 180;rotateselected y 180
rotateSelected spin internal x 10
set picking select molecule
And, sure enough, only the top cholesterol spins. If you use the mouse,
both models rotate with the mouse -- unless you hold ALT down while
rotating, then only the spinning model rotates with you! And, if you
select the other model while this is happening, guess what? IT starts
spinning instead. Or, select all, and, yes, all start spinning. TOO much
fun!
Oh, and then do
set navigationmode
set navigationspeed 50
and use the arrow keys to enter the SPINNING molecule and look around.
Oh, oh. Oh, I think I'm going to get sick. I do NOT recommend doing
this. Seriously. I think some people might have to leave the room if you
do this for a crowd. Yeiks.
Bob
> That's a slippery slope to molecule manipulation and other molecular
> editing tasks. ;-)
Not interested.
>
> Jmol should be able to load two models and rotate one so it can be
> compared (visually) with another but I don't think it needs to *make*
> the other model.
>
done
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users