Opened 5 years ago
Closed 5 years ago
#3274 closed defect (invalid)
Re: [chimerax-users] Recreating views
| Reported by: | Tristan Croll | Owned by: | Eric Pettersen |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Scenes/Animation | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
I was *going* to say you can do effectively the same thing using the
"view matrix" command. The command without arguments will print to the
log the position matrix for the camera, and one for each model. Then,
"view matrix camera {list of floats output by the previous command" will
return the camera to that position. You could set up a .cxc file setting
aliases for each view. But it looks like there's a minor bug if you have
the camera in "ortho" mode: it sets everything to the correct
orientation, but doesn't restore the scale (since in this mode the
magnification is independent of the camera position).
On 2020-05-20 08:41, Martin Montgomery wrote:
> Hi,
> I have a session file that contains everything I need to make figures for a paper. With pymol, I saved the get_view matrix in a text file for each view which meant that with one session file I could easily recreate the views if I needed to go back and tweak a figure. In ChimeraX, the closest way that I found to replicate this was to use named views. Am happy to supply a session file if it helps also happy to be educated if there is a better way of doing this, especially as now the ChimeraX session files can get rather large.
>
> Cheers
>
> MGM
>
> Martin G Montgomery
> Senior Scientist
> ATP Synthase Group
> MRC Mitochondrial Biology Unit
> University of Cambridge
> The Keith Peters Building
> Cambridge Biomedical Campus
> Hills Road
> Cambridge
> Great Britain
> CB2 0XY
>
> www.mrc-mbu.cam.ac.uk [1]
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users@cgl.ucsf.edu
> Manage subscription:
> https://plato.cgl.ucsf.edu/mailman/listinfo/chimerax-users
Links:
------
[1] http://www.mrc-mbu.cam.ac.uk/
Change History (2)
comment:1 by , 5 years ago
| Component: | Unassigned → Scenes/Animation |
|---|---|
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → accepted |
comment:2 by , 5 years ago
| Resolution: | → invalid |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
intended for chimerax-users