[chimerax-users] Ball-and-stick model modification

Tristan Croll tic20 at cam.ac.uk
Mon Jun 21 04:16:07 PDT 2021


Hi Volodymyr,

You can change the ball diameter with the command:

setattr #1 model ball_scale {scale}

... where scale is a multiplier on the van der Waals radii of the atoms (the default is 0.25). Bond radii can be changed with:

setattr #1 bonds radius {radius}

(default is 0.2).  Colors can be set by selecting the atoms to color, then:

color sel {color spec}

... where {color spec} is either a name ("color list" to get the full list of built-in colors), a comma-separated list of 3 (RGB) or 4 (RGBA) numbers on a 0-100 scale, or a built-in specifier like "byhetero" or "bychain". Do "usage color" for a more complete set of options.

Hope this helps!

Tristan
________________________________
From: ChimeraX-users <chimerax-users-bounces at cgl.ucsf.edu> on behalf of Volodymyr Dvornyk via ChimeraX-users <chimerax-users at cgl.ucsf.edu>
Sent: 21 June 2021 11:02
To: ChimeraX-users at cgl.ucsf.edu <ChimeraX-users at cgl.ucsf.edu>
Subject: [chimerax-users] Ball-and-stick model modification


Hello,



I wonder whether it is possible to modify the ball-and-stick model shape, i.e., change color, ball diameter, stick length, etc. Right now, the only available presentation style is like one in the attachment. Maybe there is some way to modify it but I was unable to find.



Thank you,



Volodymyr









________________________________

DISCLAIMER: This electronic mail transmission contains confidential information intended only for the person(s) named. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you received this transmission in error, please notify the sender by reply e-mail and then destroy the message. Opinions, conclusions, and other information in this message that do not relate to the official business of Alfaisal University shall understand to be neither given nor endorsed by Alfaisal University. The contents of any attachment to this e-mail may contain software viruses, which could damage your own computer system. While “Alfaisal University” has taken every reasonable precaution to minimize this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210621/639019c7/attachment-0001.html>


More information about the ChimeraX-users mailing list