Opened 6 years ago

Last modified 2 years ago

#2015 closed enhancement

"mc" accelerator equivalent — at Version 5

Reported by: olibclarke@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: General Controls Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description (last modified by Eric Pettersen)

The following bug report has been submitted:
Platform:        Darwin-18.6.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2019-06-05)
Description
Would it be possible to add an equivalent to the "mc" accelerator in Chimera, which places a dummy atom at the center of rotation and selects it? This is very useful for making simple scripts - e.g. to make a zone around the center of rotation in an alias. I couldn't find it in the "Markers and Links" section of the docs, apologies if I missed it.

Cheers
Oli

Log:
> camera ortho

> cofr centerOfView

> alias crosshairs_on cofr centerofview showpivot 10,0.3

> alias crosshairs_off cofr centerofview showpivot false

UCSF ChimeraX version: 0.9 (2019-06-05)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /Users/oliverclarke/apocam_masks/tmp_post.mrc

Opened tmp_post.mrc, grid size 512,512,512, pixel 1.06, shown at level 0.0113,
step 2, values float32  

Unknown command: measure cofr mark true  




OpenGL version: 4.1 ATI-2.9.26
OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (5)

comment:1 by Eric Pettersen, 6 years ago

Component: UnassignedGeneral Controls
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submission"mc" accelerator equivalent
Type: defectenhancement

comment:2 by Tom Goddard, 6 years ago

This feature should be part of "marker" command. That command does not exist yet. The marker command will do other things that marker mouse mode enables and will be a way of logging what the mouse mode did. Developing this command is not currently a priority.

There is a "measure center" ChimeraX command that can place a marker at the center of mass of a density map or atomic model. That sounds more appropriate for the use you describe and perhaps solves your problem.

https://www.rbvi.ucsf.edu/chimerax/docs/user/commands/measure.html#center

in reply to:  3 ; comment:3 by olibclarke@…, 6 years ago

Fair enough - I looked at measure center, but  it doesn’t place an atom at the center of rotation, just the center of a selection, and doesn’t select the resulting atom, which was the usefulness of the “mc” accelerator - it gives an easy way to select and manipulate an atom at the center of rotation within an alias.

Cheers
Oli

comment:4 by olibclarke@…, 2 years ago

Hi Tom,

The marker command now exists, but does not have an option to place a marker at the center of rotation as far as I can tell (except by explicitly specifying the x,y,z coords of the CofR) - would it be possible to add this at some point?

Cheers
Oli


comment:5 by Eric Pettersen, 2 years ago

Description: modified (diff)

The "position" arg to the marker command takes a "point-spec". One of the legal values for "point-spec" is "cofr".

Note: See TracTickets for help on using tickets.