
Hi Yang, The ChimeraX centering mouse mode already sets the pivot point on the clicked atom in addition to moving it to the center of view. And if you translate the molecule the pivot point stays with the atom. You can assign this mode to the right mouse button with mouse right center You might prefer the "center or translate" mode which centers if you click an atom, but also allows you to translate the model by pressing and dragging. mouse right "center or translate" Get the ChimeraX 1.7 release candidate or daily build for these centering modes since they were added after the 1.6 release. When you click an atom and it centers it in the view in animates the motion over 10 frames. Normal display rate is 60 frames/second so it moves in 1/6 second. There is currently no command to change that number of frames. You could edit the code in your ChimeraX, on Mac, edit file ChimeraX.app/Contents/lib/python3.11/site-packages/chimerax/mouse_modes/std_modes.py changing the line frames = 10 How did you want to change this value? Fewer frames or more frames? There is a "mousemode settings" command that could be enhanced to allow setting that parameter. But we have plenty of things to improve in ChimeraX and I'd be surprised if many people would use that. Tom
On Dec 8, 2023, at 2:01 AM, leeyang+chimerax--- via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi,
I find the mousemode center function very useful when navigating around a model. One of the features I loved about the original Chimera.
Would it be possible to have the option to augment it with a cofr centerofview feature so that the pivotpoint then follows subsequent translation?
Also, would it be possible to define a custom number of frames over which the animation occurs?
Cheers, Yang _______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/