[Chimera-users] Change line width of stick representation?

Elaine Meng meng at cgl.ucsf.edu
Fri Nov 8 16:48:36 PST 2013


Hi Amy,
There is a molecule-model attribute "stickScale" (default 1) that is multiplied by each individual bond's "bond radius" (default 0.2 Angstroms) to generate the stick thickness. Changing the latter allows different bonds in the same structure to have different widths, but if you are fine with all the sticks having the same thickness, just change stickScale.

Molecule-model attributes can be changed in at least 3 ways: 
(A) with command setattr, e.g.: setattr m stickScale .5
(B) in the Selection Inspector (select any atom or bond, click green magnifying glass at bottom right corner of Chimera window to open inspector, inspect "Molecule model" and change the "stick scale" value
(C) in the molecule model attributes (menu: Favorites... Model Panel, doubleclick the model name in the left side of the model panel to show the attributes dialog, change "stick scale" value)

<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/setattr.html>
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/modelattrib.html>
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/inspection.html>
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/moleculeattrib.html>

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco



On Nov 8, 2013, at 4:34 PM, Amy Davenport Migliori wrote:

> Does anyone know if it is possible to change the line width of stick representations? Either that or add the ability to have depth in wire representations (i.e. shading, etc)?
> I would greatly appreciate any help.
> Thanks
> Amy Migliori, UCSD
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users




More information about the Chimera-users mailing list