yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #22192
[Question #688867]: Applying force on Stl imported file
New question #688867 on Yade:
https://answers.launchpad.net/yade/+question/688867
Dear all,
I would like to have the inertial behaviour of an imported stl surface as a solid body.
For this I am using:
roddd = O.bodies.append(ymport.stl(mesh+'.stl',wire=True,material='wall'))
roddd = O.bodies[a]
O.forces.setPermF(roddd.id,(0,-300,0))
roddd.dynamic = True
roddd.state.mass = 200
roddd.state.inertia =(1,1,1)
roddd.state.blockedDOFs = 'Z'
But the problem is in "roddd = O.bodies[a]" because it does not accept a list of id's. In this way I have to set only one value to "a". Which makes such body to be independent from the stl body.
Do you have any suggestions?
--
You received this question notification because your team yade-users is
an answer contact for Yade.