← 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

rhaven posted a new comment:
Hi Robert,
thank you for your reply.
I was able to get the bottom corner of the volume using:
x = min(O.bodies[0].state.pos[0],O.bodies[1].state.pos[0])
y = min(O.bodies[2].state.pos[1],O.bodies[3].state.pos[1])
z = min(O.bodies[4].state.pos[2],O.bodies[5].state.pos[2])
in my case I know the wallIds because I generate walls in a previous step, but i guess ids 0,1,2,3,4,5 might not always be the walls.. 

thanks 
Jesse

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