[chimera-dev] Center of rotation:

Eric Pettersen pett at cgl.ucsf.edu
Mon Aug 24 11:27:08 PDT 2015


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 at 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 at cgl.ucsf.edu <mailto:Chimera-dev at cgl.ucsf.edu>
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev <http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20150824/4369535f/attachment.html>


More information about the Chimera-dev mailing list