yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #14964
[Question #633674]: How you move a wall or facet?
New question #633674 on Yade:
https://answers.launchpad.net/yade/+question/633674
Hi, everyone
I want to move the top wall created with
---
mn,mx=Vector3(0,0,0),Vector3(1,1,1) # corners of the initial packing
walls=aabbWalls([mn,mx],thickness=0,material='walls')
wallIds=O.bodies.append(walls)
---
The initial y position of the top wall is y=0, I want to move it to y=1.5. But it seems change the position does not work.
---------
O.bodies[3].state.pos[1]=1.5
print O.bodies[3].state.pos[1]
----
The print information is O.bodies[3].state.pos[1] =1.0
Anyone knows how to move a facet?
Thank you!
Cheng
--
You received this question notification because your team yade-users is
an answer contact for Yade.