← Back to team overview

yade-users team mailing list archive

Re: 3d view output

 

Or you can use VTKRecorder, which, I think, more flexible.

Anton



On Wed, Nov 24, 2010 at 4:52 AM, Klaus Thoeni <klaus.thoeni@xxxxxxxxx>wrote:

> 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>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>

References