← Back to team overview

yade-users team mailing list archive

Re: [Question #695461]: How to create a solid polyhedron capable of interacting with gridConnections?

 

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

Rohit John posted a new comment:
Hello,

Is it possible to add the pFacet body to a clump and then assign the
clump mass and MMOI? I tried using

O.bodies.appendClumped(
    [O.bodies[i] for i in node_id_list]
)

Node_id_list contains the  IDs of the grid nodes. But I got the error 
IndexError: Body already has id 3969 set; appending such body (for the second time) is not allowed.

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