Question #688867 on Yade changed:
https://answers.launchpad.net/yade/+question/688867
Status: Open => Answered
Robert Caulk proposed the following answer:
>> roddd =
O.bodies.append(ymport.stl(mesh+'.stl',wire=True,material='wall'))
This command sets roddd as a list of ids comprising the facet. So
iterate on that list:
for b in roddd:
b.state.inertia=(1,1,1)
b.state.blockedDOFs='Z'
O.forces.setPermF(b.id,(0,-300,0))
--
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