[Chimera-users] Fit-to-window for procedurally generated images

Mike Sivley mike.sivley at vanderbilt.edu
Fri Dec 9 09:17:37 PST 2016

I am procedurally generating images of protein structures using a 
Chimera python script. I can center the protein structure within the 
viewing window, align the protein to emphasize certain elements, set the 
output size of the final image, and manually apply a scale factor to the 
view, but I have not found a way to ensure that the protein structure is 
maximized (but fully contained) within the final image. Is there a 
"fit-to-window" command that will automatically scale the view in this way?

Mike Sivley

More information about the Chimera-users mailing list