← Back to team overview

yade-users team mailing list archive

Re: [Question #655521]: using TriAxialstressController obtain volume origin and size

 

Question #655521 on Yade changed:
https://answers.launchpad.net/yade/+question/655521

Luc Scholtès posted a new comment:
Hey,

You might also use this function:

https://yade-
dem.org/doc/yade.utils.html?highlight=aabbextrema#yade._utils.aabbExtrema

Then you can get the coordinates of the min and max corners of your
simulation (it works with or without walls)

dim=utils.aabbExtrema()
xinf=dim[0][0]
xsup=dim[1][0]
yinf=dim[0][1]
ysup=dim[1][1]
...

Cheers

Luc

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.