← Back to team overview

yade-users team mailing list archive

Re: 3d view output

 

Hi Klaus,
I am using YADE bzr2486. I'm not sure if this version include the
'SnapshotEngine'.

Cheers,
Tao

2010/11/24 Klaus Thoeni <klaus.thoeni@xxxxxxxxx>

> Hi Tao!
>
> Please always reply to the mailing list! Maybe someone else had the same
> problem before or will have it in the future.
>
> However, it works fine for me, without needing additional modules. Right
> now I
> am using the release 0.5 of yade. Which one are you using (mention it in
> the
> mailing list)?
>
> Cheers
>
> Klaus
>
> On Thu, 25 Nov 2010 01:30:47 am you wrote:
> > Hi Klaus,
> > Thank you very much. I tried the SnapshotEngine, but an error occur. It
> is
> > said that "name 'SnapshotEngine' is not defined". Do you know what's
> wrong
> > with this error? Should I import some related modules into my script
> first?
> >
> > Cheers,
> > Tao
> >
> > 2010/11/24 Klaus Thoeni <klaus.thoeni@xxxxxxxxx>
> >
> > > Hi Tao!
> > >
> > > You can use the SnapshotEngine to get periodic frame snapshots, e.g.
> > >
> > > O.engines=[
> > >
> > >  #...
> > >
> > >
>  SnapshotEngine(iterPeriod=100,fileBase='/tmp/bulldozer-',viewNo=0,label=
> > >  'snapshooter')
> > >
> > > ]
> > >
> > > Cheers
> > >
> > > Klaus
> > >
> > > On Wed, 24 Nov 2010 11:59:13 am Tao ZHAO wrote:
> > > > Hi all,
> > > > I'm a new user of YADE. Now I'm trying to write scripts to save 3d
> view
> > >
> > > as
> > >
> > > > a picture in my computer. I don't know how to achieve that. Could
> > > > anyone told me how to do that?
> > > > Many thanks.
> > > >
> > > > Tao
> > > >
> > > >  <06zhaotao@xxxxxxxxxxxxx>
> > >
> > > _______________________________________________
> > > Mailing list:
> > > https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> <https://launchpad.net/%7Eyade-users>
> > > Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> > > Unsubscribe :
> > > https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> <https://launchpad.net/%7Eyade-users>
> > > More help   : https://help.launchpad.net/ListHelp
>



-- 
Tao Zhao
Department of Engineering Science, Parks Road, Oxford, OX1 3PJ
University of Oxford, United Kingdom
Tel: (0044) 07587493495
E-mail: tao.zhao@xxxxxxxxxxxx OR aaronztaoox@xxxxxxxxx
 <06zhaotao@xxxxxxxxxxxxx>

Follow ups

References