On 24 June 2010 12:08, chiara modenese <[email protected]> wrote: > > > On 24 June 2010 11:37, Emanuele Catalano <[email protected]> wrote: > >> Hi, >> I would like to let my spheres' packing arrange under gravity >> acceleration, and save the spheres position after that (by fixing a >> kineticEnergy threshold). The yade.pack.SpherePack.save('..') function >> doesn't help me, it saves the positions of spheres initially generated, the >> original cloud. >> I didn't find anything else that could help me in yade modules, am I >> wrong? >> >> TriaxialCompressionEngine uses Shop::saveSpheresToFile to do what I need. >> How can I access that function from python? >> > > Hi ema, > > Shop::saveSpheresToFile is not specifically wrapped into python. > Try to see if the function spheresToFile from utils module works. I think > is what you need. > No sorry, that was a function defined into an old Yade version (see for instance the py folder in the old yade-0.20). Now it seems no more available but I do not why. Could we replace it? Or we could simply wrap the function in Shop.
> > Chiara > >> >> thanks, Ema. >> >> _______________________________________________ >> Mailing list: >> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> >> Post to : [email protected] >> Unsubscribe : >> https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> >> More help : https://help.launchpad.net/ListHelp >> > >
_______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

