yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #13480
Re: [Question #402934]: SpherePack slicing
Question #402934 on Yade changed:
https://answers.launchpad.net/yade/+question/402934
Status: Open => Solved
Gary Pekmezi confirmed that the question is solved:
This problem is resolved. The random sample function np.random.choice()
needs the parameter replace=False, otherwise it samples some spheres
more than once. Having duplicate spheres in my scene is what was causing
the issue.
--
You received this question notification because your team yade-users is
an answer contact for Yade.