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
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@bcm.edu wrote:
- 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.
- 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@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev
On Feb 11, 2014, at 11:17 AM, Tom Goddard goddard@sonic.net wrote:
very limited support for VRML (cannot recolor
While Tom is for the most part correct, felt I had to point out that there is a very limited ability to recolor VRML in Chimera. If the VRML has no embedded color directives then it will use the model color, which can be changed. Doesn't really impact the point that Tom is making.
--Eric
Eric Pettersen UCSF Computer Graphics Lab http://www.cgl.ucsf.edu
participants (3)
-
Dougherty, Matthew T
-
Eric Pettersen
-
Tom Goddard