
Hi Vincent, You can assign scroll wheel to move the clipping plane (which as a side effect adjusts the depthcuing) with the "mousemode" command. E.g. command: mousemode wheel clip Note there are different types of clipping planes, front/back that rotate with the scene and thus can be at any angle, or near/far that are always in the plane of the screen, and you would need to use the Clipping preferences to set which of these is controlled by the mousemode. However, although I could move the clipping plane by scrolling the wheel, in my opinion it's much easier to use a mouse button instead (or its trackpad equivalent) because clicking and dragging is clearly defined and it is much easier to control and to combine with the modifier keys mentioned below. I would instead use the Right Mouse toolbar icon (across the top) to assign the right mouse button, or the "mousemode" command to assign to left or middle mouse button. <https://rbvi.ucsf.edu/chimerax/docs/user/tools/mousemodes.html> See "mousemode" and the description of functions including "clip" (which with modifier keys can also move the back plane or both planes at the same time): <https://rbvi.ucsf.edu/chimerax/docs/user/commands/ui.html#mousemode> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/ui.html#functions> The "view name" command names and saves the view, which includes clipping plane position(s), but then you also need to save the overall session if you want to quit ChimeraX and at some later time(s) restart the session and restore the view. The "view" command is also used to restore the various named views. <https://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#name> ...or if you meant you want some reported numbers describing the clipping plane positions(s), see the "clip list" command. I beli <https://rbvi.ucsf.edu/chimerax/docs/user/commands/clip.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 May 12, 2023, at 2:42 AM, vincent Chaptal via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Dear ChimeraX team,
a very useful feature in Pymol is the use of the scrolling wheel on the mouse to clip the view plane and add depthcue. After centering on one element, it is very convenient to focus on some areas and remove things from the view, for both viewing and article figures.
I haven't find a similar feature in ChimeraX, would it be possible to implement it? I've tried to play with the depthcue command, but it I find it much harder to get to what I would like. lighting depthcue true depthCueStart 0.3 depthCueEnd 0.5
If the view with the clipping can be saved with the "view matrix" command, it would be extremely useful.
Thank you. Vincent