← Back to team overview

yade-users team mailing list archive

Re: [Question #673023]: setting initial velocity

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
1) instant replay: "a mistake is to ask questions unrelated to the original question [1]". Please open a new question for a new question
2) please post complete scripts, not just changes

concerning your problem:
for b in O.bodies: ... O.bodies at this point contains no facets, you should do
for f in facets: ...
and then
O.bodies.appendClumped(...)

cheers
Jan

[1] https://yade-dem.org/wiki/Howtoask , point 5

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