
Hi Chris, There is not much documentation for the Chimera Python API. For the roll command the code is in the Midas module as are many other commands. Look at the Python file in your distribution chimera/share/Midas/__init__.py and search for "def roll" (around line 1978) to see the code that implements this. From Idle use import Midas Midas.roll('y') to roll about the y-axis. Some further examples of Chimera Python code are on the new Python scripts web page: http://socrates2.cgl.ucsf.edu/trac/chimera/wiki/Scripts Tom christopher lau wrote:
Hi,
Does anyone have any documentation on the chimera API? I want to familiarize myself more with the commands that can be used in the Chimera IDLE and python scripts. I have looked at the Example tutorials (http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/Examples/), but aside from the commands used in the tutorial I do not know how to perform other actions on the molecule. One of the commands I would like to run is to rotate the molecule ("roll", in the command line) using IDLE commands.
Thanks for your help,
Chris ------------------------------------------------------------------------
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users