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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

only Body can be added to the list of bodies:
###
cyl = Cylinder(segment=[0,0,1],radius=0.05)
# O.bodies.append(cyl) # error
b = Body()
b.shape = cyl
O.bodies.append(b) # OK
###

cheers
Jan

-- 
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