[chimerax-users] Draw a circle
Elaine Meng
meng at cgl.ucsf.edu
Sat Aug 15 09:07:48 PDT 2020
Hi Andrea,
You can add a "2D label" that is a circle symbol, and adjust its size (fontsize) and color however you like, and position it manually by dragging. It's not a part of the 3D scene but a label pasted on top. Maybe this will meet your needs.
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/2dlabels.html>
You would first add the label with the 2Dlabel command, and then manually drag to reposition and use 2dlabel command again to change size as needed. The text of the label is given with the "text" option, and symbols can be specified as unicode, or pasted in after copying, e.g. from this page:
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/symbols.html>
Example commands, and see attached image:
open 1gcn
show :lys
2dlab text ◯ size 40 color yellow bold true
... where the circle was copied from the symbols page linked above and pasted into the command line. Next, I decide that is too small. I can see model number of this label is #2.1 in Models panel, so to enlarge it:
2dlab #2.1 size 80
... then to drag by hand, assign a mouse mode using the Right Mouse tab of the toolbar across the top of the Chimerax window. The icon with text "ATP" and arrow under it is the move-label mouse mode. Click that to assign right mouse to dragging the label (it will execute command: ui mousemode right "move label" ). Then you can use the right mouse button (= trackpad + Alt on Windows, trackpad + command on Mac) to drag the label, in this case the circle.
<http://rbvi.ucsf.edu/chimerax/docs/user/tools/mousemodes.html>
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Aug 15, 2020, at 8:43 AM, Andrea Dallapè <andrea.dallape at unitn.it> wrote:
>
> Hi,
>
> I would like to highlight a hole in a protein -the exit tunnel of a ribosome, to be more specific. I tried the command shape tube in order to draw three tubes passing through three residues, but the result doesn't suit at best my need and expectations.
> Is possible to draw a circle, passing through three points -or residues-?
> Do you have any suggestions?
> Thank you for your attention.
> Have a great week end.
> Greetings,
>
> Andrea
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20200815/3d40baeb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2dcircle.png
Type: image/png
Size: 46977 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20200815/3d40baeb/attachment-0001.png>
More information about the ChimeraX-users
mailing list