Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1309 closed enhancement (fixed)

RFE: per-model "stick" radius for singleton atoms

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: moderate Milestone:
Component: Depiction Version:
Keywords: Cc: pett
Blocked By: Blocking:
Notify when closed: ww2283@columbia.edu Platform: all
Project: ChimeraX

Description

We didn't specifically discuss how to control this, but seems natural for "size bondRadius" command to set this per-model attribute (in addition to the per-bond values). Doesn't matter to me what the per-model attribute is named. Even if "size" can't be used to change it, however, "setattr" could, so I'm not militant about this "size" suggestion.

On May 14, 2018, at 9:07 AM, Wei Wang <ww2283@…> wrote:
Hello,
I’m switching from Chimera1. I used to have “setattr m stickScale 0.6” to make whole stick representation “thinner”. Now in ChimeraX “stickScale” seems not available. Using “size stickRadius” looks similar to “setattr b radius” in Chimera1, but in this case the solvents radius are not changed. Is there a method to set all stick representation in the same arbitrary scale?

Change History (4)

comment:1 by pett, 7 years ago

Component: UnassignedDepiction

comment:2 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Made the size command stickRadius option set the per-structure stick radius which is used for atoms with no bonds in stick style.

in reply to:  3 ; comment:3 by Elaine Meng, 7 years ago

I see the singletons are changed, but in practice it is confusing because that attribute is changed if any atoms in the model are specified (or blank spec), even if the singletons are not specified.  In order to make ligand (only) sticks fatter, for example, you have to make all sticks fatter first and then put the nonligand ones back to normal:

size stick 0.4
size ~ligand stick 0.2

Would it be possible not to change this per-model attribute unless the specification actually includes at least one singleton atom (or is blank)?  Then this would work:

size ligand stick 0.4

Dunno if feasible in our current atomspec interpretation scheme, though.
Elaine

comment:4 by Tom Goddard, 7 years ago

Ok. Changed as requested. This is pretty weird behavior but I see it has its uses.

Note: See TracTickets for help on using tickets.