OK, I've got rotation, translation, and inversion of selected atoms
going now. It can all be scripted using
rotateSelected
translateSelected
invertSelected
The question is: How to specify this with the mouse? Right now I've set
it up (11.1.13) so that if you
set allowRotateSelected
and then hold down the ALT key, only the selected atoms rotate.
Here's a quiz for you. What does the following script do?
load "files" "cholesterol.mol" "cholesterol.mol"
file 0;display *;
select file=1; invertselected
translateselected {0 5 5}
center visible
rotateselected x 180
rotateselected y 180
thefile = 1
spinrate = 10
message _here
select file = thefile
rotateSelected spin internal x @spinrate
thefile = 3 - thefile
spinrate = - spinrate
delay 0.05
goto _here
Bob
-------------------------------------------------------------------------
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