Question #688370 on Yade changed:
https://answers.launchpad.net/yade/+question/688370
Status: Open => Answered
Jan Stránský proposed the following answer:
pack.randomDensePack has predicate as a parameter.
You are using makeCloud, which is only initiated in a "box". You need to filter
the packing to "crop" particles you don't want:
###
sp=pack.SpherePack()
sp.makeCloud(...)
predicate = pack.inCylinder(paramsOuter) - pack.inCylinder(paramsInner)
sp = pack.filterSpherePack(predicate,sp,returnSpherePack=True) # [1]
sp.toSimulation()
###
cheers
Jan
[1] https://yade-dem.org/doc/yade.pack.html#yade.pack.filterSpherePack
--
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