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

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi,

when the facet is created its all degrees of freedom are blocked. In
your loop, you constrained the spheres, but also freed the facets. So
they disappear in the first step. Change your example, like this:


for i in O.bodies:
        if isinstance(i.shape,Sphere): #modify only Spheres' DOFs
                i.state.blockedDOFs="yXZ"

After you run it, the rest should become clear.

Cheers,
Karol

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to