I need to change the center of rotation at every frame.
I am using
from chimera import viewer
cam = chimera.viewer.camera
cmd = 'cofr fixed %s,%s,%s' %(cam.eyePos(0))
chimera.runCommand(cmd)
which generates a message in the reply log Center of rotation: 564.31 -345.208 699.718
How can I disable this message in the reply log? Or is there another method I should use (eg, hack the cofr command)?
Matthew Dougherty National Center for Macromolecular Imaging Baylor College of Medicine ===========================================================================
Yeah, you should just do what Midas.cofr() is doing directly:
from chimera import openModels openModels.cofr = cam.eyePos(0) openModels.cofrMethod = openModels.Fixed
—Eric
Eric Pettersen UCSF Computer Graphics Lab
On Aug 21, 2015, at 5:25 PM, Dougherty, Matthew T matthewd@bcm.edu wrote:
I need to change the center of rotation at every frame.
I am using
from chimera import viewer cam = chimera.viewer.camera cmd = 'cofr fixed %s,%s,%s' %(cam.eyePos(0)) chimera.runCommand(cmd)
which generates a message in the reply log Center of rotation: 564.31 -345.208 699.718
How can I disable this message in the reply log? Or is there another method I should use (eg, hack the cofr command)?
Matthew Dougherty National Center for Macromolecular Imaging Baylor College of Medicine =========================================================================== _______________________________________________ Chimera-dev mailing list Chimera-dev@cgl.ucsf.edu mailto:Chimera-dev@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev
participants (2)
-
Dougherty, Matthew T
-
Eric Pettersen