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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

> To save time ...

there is also another approach, used e.g. by randomDensePack, create relatively 
quickly a small periodic sample and then copy it wherever you want.
randomDensePack itself does not support psd input, but the code can be 
"copy-pasted" to a new function.

> My question is ...

a general approach could be:
- load whole packing
- filter only desired particles, e.g. from (1,1,1) to (4,4,4)
- distribute it to desired position, e.g. (10,10,10) to (13,13,13)

a simple for loop with if condition should do the job..

If this is not what you want, please specify where you have problems

cheers
Jan

-- 
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

Reply via email to