[Chimera-users] cap color from command line

Tom Goddard goddard at cgl.ucsf.edu
Fri Mar 5 11:25:58 PST 2010

Hi Jean-Paul,

  There is currently no command to change surface cap color, show and 
hide caps, change cap style (mesh, filled) or degree of subdivision 
(effects quality when mapping multiple colors onto cap).  There should 
be a command for this.  I'll add it to the requested features list.

  The surface cap color can be changed with Python code.  I've attached 
a Python file capcolor.py for this.  You would use it in a normal 
Chimera command script with a command like

    runscript capcolor.py lightblue

I also put the script on the Chimera Python scripts web page:



>  Hello,
> Thank you for all your previous answers. I would like to ask you 
> whether there is a way to
> change the cap color not only from the Surface capping tool, but the 
> command line as well
> and declare it maybe in a script (like for example coloring of the 
> maps and models).
> Thanks,
> Jean-Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20100305/0cc096ed/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: capcolor.py
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20100305/0cc096ed/attachment.ksh>

More information about the Chimera-users mailing list