Trackpad modifier to translate in z?
Hi, In Chimera, I have shift-two-finger-drag set to translate the view in Z. This is very useful for precisely navigating around large structures without reorienting the camera, particularly when the cofr is bound to the center of view. Is there any way to replicate this behavior in ChimeraX? Cheers Oli
The closest thing I can find is the “clip” Right Mouse Mode. This translates either the front clip plane (right-click-drag) or the back clip plane (option-right-click-drag) but not both at the same time. Would it be possible to add a modifier (e.g. shift-right-click-drag) to translate both clip planes at the same time? Cheers Oli
On Aug 23, 2023, at 12:09 PM, Oliver Clarke <olibclarke@gmail.com> wrote:
Hi,
In Chimera, I have shift-two-finger-drag set to translate the view in Z. This is very useful for precisely navigating around large structures without reorienting the camera, particularly when the cofr is bound to the center of view.
Is there any way to replicate this behavior in ChimeraX?
Cheers Oli
Hi Oliver, If you have the Clipper mousemodes active (just do “clipper spotlight #{any atomic model}” - reminds me that I’ve been meaning to add a ribbon menu section allowing you to manually turn them on/off) then you can get the effect you want with ctrl-right-click-and-drag. Hope that helps! Tristan On Thu, 24 Aug 2023 at 04:22, Oliver Clarke via ChimeraX-users < chimerax-users@cgl.ucsf.edu> wrote:
The closest thing I can find is the “clip” Right Mouse Mode.
This translates either the front clip plane (right-click-drag) or the back clip plane (option-right-click-drag) but not both at the same time.
Would it be possible to add a modifier (e.g. shift-right-click-drag) to translate both clip planes at the same time?
Cheers Oli
On Aug 23, 2023, at 12:09 PM, Oliver Clarke <olibclarke@gmail.com> wrote:
Hi,
In Chimera, I have shift-two-finger-drag set to translate the view in Z. This is very useful for precisely navigating around large structures without reorienting the camera, particularly when the cofr is bound to the center of view.
Is there any way to replicate this behavior in ChimeraX?
Cheers Oli
_______________________________________________ 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/
Hrmmm, I have it documented that assigning "translate" to "wheel" (which I thought might work with 2-finger touchpad scrolling) makes wheel/scrolling do Z-translation, command mouse wheel translate <https://rbvi.ucsf.edu/chimerax/docs/user/commands/ui.html#functions> However, tests in the current daily build suggest that it acts the same as zoom, both with actual mouse wheel and with 2-finger scrolling on touchpad, because the relationship of the model to the clipping planes in the Side View does not change. I verified with the "mousemode" command that wheel was indeed assigned to translate rather than zoom. Log contents: mousemode left: rotate control left: select middle: translate right: translate wheel: zoom pause: identify object Tom G, is that a bug, or is that an error in documentation? I thought (royal) we specifically made this change so that there would be a way of doing pure Z-translation. Otherwise one can resort to repeatedly using a command something like the following, which is a pain compared to continuous motion, even though you can just keep pressing return: move z 0.5 model #1 <https://rbvi.ucsf.edu/chimerax/docs/user/commands/move.html> Elaine
On Aug 23, 2023, at 11:54 AM, Tristan Croll via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi Oliver,
If you have the Clipper mousemodes active (just do “clipper spotlight #{any atomic model}” - reminds me that I’ve been meaning to add a ribbon menu section allowing you to manually turn them on/off) then you can get the effect you want with ctrl-right-click-and-drag.
Hope that helps!
Tristan
On Thu, 24 Aug 2023 at 04:22, Oliver Clarke via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote: The closest thing I can find is the “clip” Right Mouse Mode.
This translates either the front clip plane (right-click-drag) or the back clip plane (option-right-click-drag) but not both at the same time.
Would it be possible to add a modifier (e.g. shift-right-click-drag) to translate both clip planes at the same time?
Cheers Oli
On Aug 23, 2023, at 12:09 PM, Oliver Clarke <olibclarke@gmail.com> wrote:
Hi,
In Chimera, I have shift-two-finger-drag set to translate the view in Z. This is very useful for precisely navigating around large structures without reorienting the camera, particularly when the cofr is bound to the center of view.
Is there any way to replicate this behavior in ChimeraX?
Cheers Oli
Correction: those log contents were after I assigned it back to zoom to verify the behavior stayed the same, sorry. But I did really verify it before testing the behavior of "wheel" assigned to "translate", Log contents mousemode left: rotate control left: select middle: translate right: translate wheel: translate pause: identify object [...] Elaine
On Aug 23, 2023, at 12:18 PM, Elaine Meng via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hrmmm, I have it documented that assigning "translate" to "wheel" (which I thought might work with 2-finger touchpad scrolling) makes wheel/scrolling do Z-translation, command
mouse wheel translate
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/ui.html#functions>
However, tests in the current daily build suggest that it acts the same as zoom, both with actual mouse wheel and with 2-finger scrolling on touchpad, because the relationship of the model to the clipping planes in the Side View does not change.
I verified with the "mousemode" command that wheel was indeed assigned to translate rather than zoom. Log contents:
mousemode left: rotate control left: select middle: translate right: translate wheel: zoom pause: identify object
Tom G, is that a bug, or is that an error in documentation? I thought (royal) we specifically made this change so that there would be a way of doing pure Z-translation.
Otherwise one can resort to repeatedly using a command something like the following, which is a pain compared to continuous motion, even though you can just keep pressing return:
move z 0.5 model #1
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/move.html>
Elaine
On Aug 23, 2023, at 11:54 AM, Tristan Croll via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi Oliver,
If you have the Clipper mousemodes active (just do “clipper spotlight #{any atomic model}” - reminds me that I’ve been meaning to add a ribbon menu section allowing you to manually turn them on/off) then you can get the effect you want with ctrl-right-click-and-drag.
Hope that helps!
Tristan
On Thu, 24 Aug 2023 at 04:22, Oliver Clarke via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote: The closest thing I can find is the “clip” Right Mouse Mode.
This translates either the front clip plane (right-click-drag) or the back clip plane (option-right-click-drag) but not both at the same time.
Would it be possible to add a modifier (e.g. shift-right-click-drag) to translate both clip planes at the same time?
Cheers Oli
On Aug 23, 2023, at 12:09 PM, Oliver Clarke <olibclarke@gmail.com> wrote:
Hi,
In Chimera, I have shift-two-finger-drag set to translate the view in Z. This is very useful for precisely navigating around large structures without reorienting the camera, particularly when the cofr is bound to the center of view.
Is there any way to replicate this behavior in ChimeraX?
Cheers Oli
_______________________________________________ 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/
Hi Elaine, The "translate" mouse mode does not move the models in the scene coordinate system, only the camera (ie view point) is moved. The rotate and zoom mouse modes also only move the camera not the position of the models in scene coordinates. So zoom and z translation are (almost) the same. They are different in some special modes like orthographic projection or stereo rendering. I'm not clear what Oliver was asking since he did not mention clip planes in his original question. Oliver, is the question about moving near and far clip planes together, or is it how to zoom without doing any rotation? Tom
On Aug 23, 2023, at 12:22 PM, Elaine Meng via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Correction: those log contents were after I assigned it back to zoom to verify the behavior stayed the same, sorry. But I did really verify it before testing the behavior of "wheel" assigned to "translate", Log contents
mousemode left: rotate control left: select middle: translate right: translate wheel: translate pause: identify object [...]
Elaine
On Aug 23, 2023, at 12:18 PM, Elaine Meng via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hrmmm, I have it documented that assigning "translate" to "wheel" (which I thought might work with 2-finger touchpad scrolling) makes wheel/scrolling do Z-translation, command
mouse wheel translate
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/ui.html#functions>
However, tests in the current daily build suggest that it acts the same as zoom, both with actual mouse wheel and with 2-finger scrolling on touchpad, because the relationship of the model to the clipping planes in the Side View does not change.
I verified with the "mousemode" command that wheel was indeed assigned to translate rather than zoom. Log contents:
mousemode left: rotate control left: select middle: translate right: translate wheel: zoom pause: identify object
Tom G, is that a bug, or is that an error in documentation? I thought (royal) we specifically made this change so that there would be a way of doing pure Z-translation.
Otherwise one can resort to repeatedly using a command something like the following, which is a pain compared to continuous motion, even though you can just keep pressing return:
move z 0.5 model #1
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/move.html>
Elaine
On Aug 23, 2023, at 11:54 AM, Tristan Croll via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi Oliver,
If you have the Clipper mousemodes active (just do “clipper spotlight #{any atomic model}” - reminds me that I’ve been meaning to add a ribbon menu section allowing you to manually turn them on/off) then you can get the effect you want with ctrl-right-click-and-drag.
Hope that helps!
Tristan
On Thu, 24 Aug 2023 at 04:22, Oliver Clarke via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote: The closest thing I can find is the “clip” Right Mouse Mode.
This translates either the front clip plane (right-click-drag) or the back clip plane (option-right-click-drag) but not both at the same time.
Would it be possible to add a modifier (e.g. shift-right-click-drag) to translate both clip planes at the same time?
Cheers Oli
On Aug 23, 2023, at 12:09 PM, Oliver Clarke <olibclarke@gmail.com> wrote:
Hi,
In Chimera, I have shift-two-finger-drag set to translate the view in Z. This is very useful for precisely navigating around large structures without reorienting the camera, particularly when the cofr is bound to the center of view.
Is there any way to replicate this behavior in ChimeraX?
Cheers Oli
_______________________________________________ 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/
_______________________________________________ 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/
Hi Tom, The question pertains to moving both clip planes together, thanks! Oli
On Aug 23, 2023, at 3:34 PM, Tom Goddard via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi Elaine,
The "translate" mouse mode does not move the models in the scene coordinate system, only the camera (ie view point) is moved. The rotate and zoom mouse modes also only move the camera not the position of the models in scene coordinates. So zoom and z translation are (almost) the same. They are different in some special modes like orthographic projection or stereo rendering.
I'm not clear what Oliver was asking since he did not mention clip planes in his original question. Oliver, is the question about moving near and far clip planes together, or is it how to zoom without doing any rotation?
Tom
On Aug 23, 2023, at 12:22 PM, Elaine Meng via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Correction: those log contents were after I assigned it back to zoom to verify the behavior stayed the same, sorry. But I did really verify it before testing the behavior of "wheel" assigned to "translate", Log contents
mousemode left: rotate control left: select middle: translate right: translate wheel: translate pause: identify object [...]
Elaine
On Aug 23, 2023, at 12:18 PM, Elaine Meng via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hrmmm, I have it documented that assigning "translate" to "wheel" (which I thought might work with 2-finger touchpad scrolling) makes wheel/scrolling do Z-translation, command
mouse wheel translate
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/ui.html#functions>
However, tests in the current daily build suggest that it acts the same as zoom, both with actual mouse wheel and with 2-finger scrolling on touchpad, because the relationship of the model to the clipping planes in the Side View does not change.
I verified with the "mousemode" command that wheel was indeed assigned to translate rather than zoom. Log contents:
mousemode left: rotate control left: select middle: translate right: translate wheel: zoom pause: identify object
Tom G, is that a bug, or is that an error in documentation? I thought (royal) we specifically made this change so that there would be a way of doing pure Z-translation.
Otherwise one can resort to repeatedly using a command something like the following, which is a pain compared to continuous motion, even though you can just keep pressing return:
move z 0.5 model #1
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/move.html>
Elaine
On Aug 23, 2023, at 11:54 AM, Tristan Croll via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi Oliver,
If you have the Clipper mousemodes active (just do “clipper spotlight #{any atomic model}” - reminds me that I’ve been meaning to add a ribbon menu section allowing you to manually turn them on/off) then you can get the effect you want with ctrl-right-click-and-drag.
Hope that helps!
Tristan
On Thu, 24 Aug 2023 at 04:22, Oliver Clarke via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote: The closest thing I can find is the “clip” Right Mouse Mode.
This translates either the front clip plane (right-click-drag) or the back clip plane (option-right-click-drag) but not both at the same time.
Would it be possible to add a modifier (e.g. shift-right-click-drag) to translate both clip planes at the same time?
Cheers Oli
On Aug 23, 2023, at 12:09 PM, Oliver Clarke <olibclarke@gmail.com> wrote:
Hi,
In Chimera, I have shift-two-finger-drag set to translate the view in Z. This is very useful for precisely navigating around large structures without reorienting the camera, particularly when the cofr is bound to the center of view.
Is there any way to replicate this behavior in ChimeraX?
Cheers Oli
_______________________________________________ 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/
_______________________________________________ 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/
_______________________________________________ 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/
Hi Oli, The ChimeraX "clip" mouse mode moves both near and far clip planes in parallel when you hold the shift key. Tom
On Aug 23, 2023, at 11:21 AM, Oliver Clarke via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
The closest thing I can find is the “clip” Right Mouse Mode.
This translates either the front clip plane (right-click-drag) or the back clip plane (option-right-click-drag) but not both at the same time.
Would it be possible to add a modifier (e.g. shift-right-click-drag) to translate both clip planes at the same time?
Cheers Oli
On Aug 23, 2023, at 12:09 PM, Oliver Clarke <olibclarke@gmail.com> wrote:
Hi,
In Chimera, I have shift-two-finger-drag set to translate the view in Z. This is very useful for precisely navigating around large structures without reorienting the camera, particularly when the cofr is bound to the center of view.
Is there any way to replicate this behavior in ChimeraX?
Cheers Oli
_______________________________________________ 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/
Ah - so it does - sorry! For some reason it wasn’t working for before - I must have been doing something wrong, apologies. Oli
On Aug 23, 2023, at 3:44 PM, Tom Goddard <goddard@sonic.net> wrote:
Hi Oli,
The ChimeraX "clip" mouse mode moves both near and far clip planes in parallel when you hold the shift key.
Tom
On Aug 23, 2023, at 11:21 AM, Oliver Clarke via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
The closest thing I can find is the “clip” Right Mouse Mode.
This translates either the front clip plane (right-click-drag) or the back clip plane (option-right-click-drag) but not both at the same time.
Would it be possible to add a modifier (e.g. shift-right-click-drag) to translate both clip planes at the same time?
Cheers Oli
On Aug 23, 2023, at 12:09 PM, Oliver Clarke <olibclarke@gmail.com> wrote:
Hi,
In Chimera, I have shift-two-finger-drag set to translate the view in Z. This is very useful for precisely navigating around large structures without reorienting the camera, particularly when the cofr is bound to the center of view.
Is there any way to replicate this behavior in ChimeraX?
Cheers Oli
_______________________________________________ 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/
Hi Oli, Hmm... probably not, come to think of it. Will have to explore better trackpad integration for Clipper. -- Tristan On Thu, Aug 24, 2023 at 5:04 AM Oliver Clarke <olibclarke@gmail.com> wrote:
Hi Tristan,
This doesn’t seem to work for me (the model changes, but the mouse behavior is unaltered). Maybe it doesn’t work with a trackpad?
Cheers Oli
On Aug 23, 2023, at 2:54 PM, Tristan Croll <tcroll@altoslabs.com> wrote:
clipper spotlight #
participants (4)
-
Elaine Meng
-
Oliver Clarke
-
Tom Goddard
-
Tristan Croll