[Chimera-users] (Thermal ellipsoids) anisotropic temperature factor ellipsoids

Eric Pettersen pett at cgl.ucsf.edu
Tue Dec 16 15:29:15 PST 2008

On Dec 11, 2008, at 3:43 PM, David Chenoweth wrote:

> Hi Eric,
> 	Thank you very much for the ellipsoid script! I really appreciate  
> your help and I think this will do the trick for now. I have been  
> learning some python on my own and I was wondering if you have some  
> good beginner examples of scripts for making geometrical shapes,  
> changing size and color, orientation, etc. that work in chimera.

Hi David,
	You can show cones, arrows, boxes, and a variety of simple geometric  
shapes by opening a BILD format file in Chimera: BILD format.  It may  
be a little awkward having a script write a temporary file, so instead  
you can use a StringIO object, as described here: [Chimera-users] BILD  
object question
	You can also use the 'shape' command to draw spheres, cylinders, and  
icosahedrons.  You can run any Chimera command from Python by using  
Chimera's 'runCommand' function, e.g.:

from chimera import runCommand
runCommand("shape sphere center ligand color dodger blue radius 25")

	Feel free to ask more questions!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20081216/f40bd57c/attachment.html>

More information about the Chimera-users mailing list