[chimerax-users] suggestion
Tom Goddard
goddard at sonic.net
Tue Nov 22 11:07:05 PST 2022
Hi Sergio,
To make ChimeraX rotate each displayed model about its own center you use the "rotate independent" mouse mode. The tile command enables that mode. You can enable it after loading a session with command
mouse left "rotate independent"
Loading a session file does not restore the mouse modes to what they were when you saved the session. Maybe it should. In this case it would be helpful but if you were using some other special purpose mouse mode I suspect you usually don't want the session file to remember that. I've made a feature request to consider saving mouse modes in session files.
https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/8067#ticket
We'll add to the tile command documentation the above command which reenables the independent center of rotation.
The tile command has an option to control the spacing between models called spacingFactor. If you type command "usage tile" it will show you all the options
usage tile <cxcmd:usage tile>tile <help:user/commands/tile.html> [models <help:user/commands/atomspec.html>] [columns an integer] [spacingFactor a number] [viewAll true or false] [independentRotation true or false]
— tile models onto grid
and the command "help tile" will show the tile documentation that says the default spacing is 1.3. So to make closer spacing you could use
tile spacing 0.8.
The optimal spacing unfortunately depends on the shapes of your models because the models have different extents along different axes.
Tom
> On Nov 22, 2022, at 9:02 AM, Hassan, Sergio (NIH/NIAID) [E] via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>
> Hello,
> I recently requested via Phil Cruz the 'tile' command, which I learned it was recently introduced. I have been using it successfully. However, there are two points I would like to bring to your attention (I asked Phil to ask you, but not sure he reached out)
>
> 1) when a session is saved as .cxs and I quit the program, after opening it again, the most important feature of the 'tile' command (rotations around each own axis) is lost. The tile distribution is still there, but now the entire thing rotates around a common axis. I need to apply 'tile' again to make it work, but this resets all the modifications I made in the saved session (these modifications include those in point 2 below).
>
> 2) any chance to add an argument to the 'tile' command so that the default spatial distribution, which assigns a 'distance' between near neighbors, can be adjusted with, say, 'zoom in" or "zoom out" or crowd in/out? I noticed the default puts each panel too far away from its neighbors for my taste, so I need to "move" them to make them look closer to one another.
>
> thanks
> s
> _____________________________________
> Sergio A. Hassan
> https://bioinformatics.niaid.nih.gov/cmm/ <https://bioinformatics.niaid.nih.gov/cmm/>
> BCBB/NIAID/NIH/DHHS
> 301 761 7221 (office) 301 741 5579 (mobile)
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu <mailto:ChimeraX-users at cgl.ucsf.edu>
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users <https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimerax-users/attachments/20221122/86610292/attachment.html>
More information about the ChimeraX-users
mailing list