← Back to team overview

yade-users team mailing list archive

Re: [Question #663500]: densest packing possible

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
regularHexa returns list of spheres, so:

for b in sp:
     if pred(b.state.pos,0):
        continue
     O.bodies.append(b)

Jan

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