[chimera-dev] frame number/scaling

Tom Goddard goddard at sonic.net
Tue Feb 11 11:17:04 PST 2014


Here's how to get the current frame number for a movie recording, and the path to the image for that frame using Python

>>> import MovieRecorder
>>> d = MovieRecorder.getDirector()
>>> d.getFrameCount()
19
>>> d.recorder.image_path(19)
'/var/folders/zd/6dkpdhhs4h5g90c1xs7pn8100000gn/T/chimovie_iZCE-00019.ppm'


There is no way to scale a VRML model in Chimera.  In general Chimera has very limited support for VRML (cannot recolor, cannot select individual objects in the VRML, cannot delete parts of the VRML, cannot change transparency, cannot scale).

	Tom



On Feb 10, 2014, at 7:50 PM, "Dougherty, Matthew T" <matthewd at bcm.edu> wrote:

> 1) when I run an animation through a .com file the rendered image filenames increment.
> How can I locate that value as it is rendering? 
> would like to create a button that will till me the last filename created.
> 
> 2) sometimes I read in a vrml file and would like to change the xyz scaling for that model to match other models.  Don't see a command for that.  Any suggestions?
> 
> thanks,
> 
> 
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> _______________________________________________
> Chimera-dev mailing list
> Chimera-dev at cgl.ucsf.edu
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev
> 





More information about the Chimera-dev mailing list