Thanks a lot! I will try. It would be nice to implement this in the GUI though.

 

Best,

 

Volodymyr

From: Tristan Croll <tic20@cam.ac.uk>
Sent: Monday, June 21, 2021 14:16
To: ChimeraX-users@cgl.ucsf.edu; Volodymyr Dvornyk <vdvornyk@alfaisal.edu>
Subject: Re: Ball-and-stick model modification

 

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@cgl.ucsf.edu> on behalf of Volodymyr Dvornyk via ChimeraX-users <chimerax-users@cgl.ucsf.edu>
Sent: 21 June 2021 11:02
To: ChimeraX-users@cgl.ucsf.edu <ChimeraX-users@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.




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.