[Chimera-users] Export morph confirmation scene to 3D Studio Max
Edel Fenix
edel.fenix at gmail.com
Tue Jul 16 06:16:43 PDT 2019
Hi Elaine,
Thank you! The model is #2 and it has 31 frames in this animation so for me
it should be the following correct?
alias ^getobj export ~/Desktop/chimera/$1.obj
perframe getobj zeropad 3; coordset #2 1,31; wait 31; ~perframe
The problem I have is I get the following error message and it only outputs
the 001 file. The folder exist and is written to.
Best regards,
Edel
[image: Screenshot 2019-07-16 at 15.15.21.png]
On Mon, 15 Jul 2019 at 18:07, Elaine Meng <meng at cgl.ucsf.edu> wrote:
> 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.
> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/perframe.html>
>
> 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.
> <http://www.rbvi.ucsf.edu/chimera/download.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 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20190716/2d8e5598/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2019-07-16 at 15.15.21.png
Type: image/png
Size: 44564 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20190716/2d8e5598/attachment.png>
More information about the Chimera-users
mailing list