[chimera-dev] Rotating about an axis with mouse
ladam
ladam at smbh.univ-paris13.fr
Mon Jun 4 06:28:27 PDT 2012
Hi all,
I have a python script that allows me to rotate a residue in a molecule
of a desired angle around a predefined vector.
Now I'd like to be able to do this graphically with the mouse on a selected
residue.
I have almost found what I want if I use the 'Move selection' option in the
'Movement Mouse mode' but this does rotate around the center of Mass or
geometric center, not around a vector.
What I plan to do is derive the code from the corresponding
/share/MoveSelection/move.py
module and try to insert a vector instead of the
center_of_rotation(self.movable_groups)
but there is maybe a better, simpler idea.
Any suggestion?
Thanks a lot
--
--------------------------------
Patrick Ladam
Maître de Conférence
Université Paris 13 - UFR SMBH
CSPBAT - Service RMN
74, rue Marcel Cachin
93017 Bobigny Cedex
Tel: 01 48 38 73 25
Fax: 01 48 38 77 77
mail: ladam at smbh.univ-paris13.fr
-------------------------------
More information about the Chimera-dev
mailing list