[chimerax-users] [EXT] Re: Turntable rotation
Elaine Meng
meng at cgl.ucsf.edu
Sat May 16 09:10:16 PDT 2020
Hi Brandon,
It doesn't make sense to try to use perframe to perform some multiframe action.
Perframe is literally per frame (graphics redraw frame, not vseries timepoint or trajectory frame). I agree it can be confusing that "frame" is used to mean these different things. See Frames Terminology:
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/coordset.html#framesdef>
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 16, 2020, at 8:24 AM, Scott, Brandon L. <Brandon.Scott at sdsmt.edu> wrote:
>
> Thanks for the reply, I was able to figure out the turning, but when I am using it in a perframe command, the views are ignorned.
>
> The result that I am after is the following: At each timpoint in a vseries, step through 4 views, and move on to the next frame.
>
> I used the following alias for the smooth turns around in a circle with named views.
> alias tableTop view West 8; wait 8; view South 8; wait 8; view East 8; wait 8; view North 8; wait 8;
>
> I tried the following and each had odd behaviors:
>
> perframe "vseries play #1 jumpTo $1 cacheFrames 300; wait 1; tableTop;" range 0,9
> This resulted in no view changes at all, just played through the timeseries.
>
> perframe "tableTop; vseries play #1 jumpTo $1 cacheFrames 300;" range 0,9
> This resulted in a view change after the last frame of the vseries only.
>
> If I call the tableTop alias in the command line it works as expected.
>
> I also tried with showing and hiding the models but with no better results.
>
> Thanks for the help,
> -Brandon
> ____________________
> Brandon Scott, PhD
> CZI Imaging Scientist, Research Assistant Professor
> SDSMT, Nanoscience and Nanoengineering
> From: Elaine Meng <meng at cgl.ucsf.edu>
> Sent: Friday, May 15, 2020 1:40 PM
> To: Scott, Brandon L. <Brandon.Scott at sdsmt.edu>
> Cc: chimerax-users at cgl.ucsf.edu <chimerax-users at cgl.ucsf.edu>
> Subject: [EXT] Re: [chimerax-users] Turntable rotation
>
> *** This email is from an EXTERNAL sender. Use CAUTION before opening attachments or clicking links.***
>
> Hi Brandon,
> I'm not sure what you gave as the axis of rotation in the "roll" (or "turn") command, but it can be any vector, specified in either the "laboratory" coordinate system or that of the model.
>
> <http://rbvi.ucsf.edu/chimerax/docs/user/commands/roll.html>
> <http://rbvi.ucsf.edu/chimerax/docs/user/commands/pointspec.html#vector>
>
> 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 15, 2020, at 10:37 AM, Scott, Brandon L. <Brandon.Scott at sdsmt.edu> wrote:
> >
> > I would like to create an animation where the camera is spun around at a constant azimuthal angle so the object appears to spin on a tabletop. Currently, when I use roll, when it spins to the backside I see underneath the model rather than remaining on top.
> >
> > Any help is greatly appreciated.
> > -Brandon
> >
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
More information about the ChimeraX-users
mailing list