Question #660653 on Yade changed:
https://answers.launchpad.net/yade/+question/660653
Status: Open => Answered
Jan Stránský proposed the following answer:
Hi Hashir,
have a look at [1]
#### example
from yade import pack
pipe = pack.inCylinder((0,0,0),(10,0,0),3)
rod = pack.inCylinder((5,0,0),(5,0,10),2)
predicate = pipe | rod
packing = pack.randomDensePack(predicate,radius=.3,spheresInCell=200)
O.bodies.append(packing)
####
cheers
Jan
[1] https://yade-dem.org/doc/user.html#boolean-operations-on-predicates
--
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