[Chimera-users] Export morph confirmation scene to 3D Studio Max

Elaine Meng meng at cgl.ucsf.edu
Mon Jul 15 09:07:37 PDT 2019

Hi Edel,
You didn’t say what “without  success” meant.  However, here is a more specific example.

Say your trajectory is model #0 with 800 frames… commands could be something like:

alias ^getobj export ~/Desktop/test/$1.obj 
perframe getobj zeropad 3; coordset #0 1,800; wait 800; ~perframe

… which would save 001.obj, 002.obj… 800.obj (and 001.mtl, 002.mtl… 800.mtl) in ~/Desktop/test/

The folder should already exist, that is, you would have to create ~/Desktop/test/ before running those commands.

This is almost the same as the first example in the “perframe” manual page, except that instead of roll (rotate) it plays the trajectory with the coordset command.

The link you sent was to the documentation of Chimera 1.5.2, VERY old… I hope you aren’t really using such an old version.  Chimera is at 1.13.1 now with many improvements since 1.5, both new features and bugfixes.

I hope this helps,
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Jul 15, 2019, at 5:26 AM, Edel Fenix <edel.fenix at gmail.com> wrote:
> Exporting per-frame command and getting one OBJ file for each frame would work but I've tried without success.
> In this case I want to export an already complete morph confirmation scene loaded as a separate (and only) model in MD Movie with 31 frames to individual wavefront OBJ files. 
> From MD movie where the model is assembled I can select per-frame and select define script, I've tried using the examples and rewriting them to the best of my ability without success. I don't want it to do anything except export each frame from the MD movie setup in OBJ format. What should I write?
> http://www.cgl.ucsf.edu/chimera/1.5.2/docs/UsersGuide/midas/perframe.html
> I appreciate the help, Edel
> On Thu, 11 Jul 2019 at 23:04, Tom Goddard <goddard at sonic.net> wrote:
> You should use the Chimera perframe command to write out an OBJ file for each frame of the trajectory.  There is nothing in Chimera that will put all the frames in one 3d graphics scene file.
>         Tom

More information about the Chimera-users mailing list