← Back to team overview

yade-users team mailing list archive

Re: [Question #446239]: Yade Installation Process

 

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

    Status: Open => Answered

Anton Gladky proposed the following answer:
That's just mean that the list of the bodies which you want to move is
empty. Please provide your script.

If you have such a line:
O.bodies.append(ymport.stl('mesh1'+'.stl',wire=True,material='caixasup'))

without assigned it to the variable, you will loose the imported ids.
You want to have something like this:

ids =
O.bodies.append(ymport.stl('mesh1'+'.stl',wire=True,material='caixasup'))

ids will be a list of imported bodies, which you need to path to
kinematic engine.

Regards

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