Re: [Yade-users] [Question #690948]: Making a sphere layer with certain orientation

2020-05-27 Thread Chien-Cheng Hung
Question #690948 on Yade changed: https://answers.launchpad.net/yade/+question/690948 Status: Answered => Solved Chien-Cheng Hung confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because your team yade-users is a

Re: [Yade-users] [Question #690948]: Making a sphere layer with certain orientation

2020-05-27 Thread Jan Stránský
Question #690948 on Yade changed: https://answers.launchpad.net/yade/+question/690948 Status: Open => Answered Jan Stránský proposed the following answer: you use for center,radius in sp: # [1] not directly bodies Try: ### sp=pack.SpherePack() sp.makeCloud((0,0,0),(20,20,5), rMean = 1) cent

Re: [Yade-users] [Question #690948]: Making a sphere layer with certain orientation

2020-05-27 Thread Chien-Cheng Hung
Question #690948 on Yade changed: https://answers.launchpad.net/yade/+question/690948 Status: Answered => Open Chien-Cheng Hung is still having a problem: Hi Jan, Thanks for your information. It's very useful. I tried to apply the same trick to "sp.makeCloud()" because I would like to assig

Re: [Yade-users] [Question #690948]: Making a sphere layer with certain orientation

2020-05-25 Thread Jan Stránský
Question #690948 on Yade changed: https://answers.launchpad.net/yade/+question/690948 Status: Open => Answered Jan Stránský proposed the following answer: yes, thanks. So basically: 1) create the aligned layer 2) rotate it ### MWE from yade import pack # "aligned" layer layer = pack.regularO

Re: [Yade-users] [Question #690948]: Making a sphere layer with certain orientation

2020-05-25 Thread Chien-Cheng Hung
Question #690948 on Yade changed: https://answers.launchpad.net/yade/+question/690948 Status: Needs information => Open Chien-Cheng Hung gave more information on the question: Hi Jan, Thanks for your quick reply! > - what "sphere layer" is I should say a "granular" layer instead of a spher

Re: [Yade-users] [Question #690948]: Making a sphere layer with certain orientation

2020-05-25 Thread Jan Stránský
Question #690948 on Yade changed: https://answers.launchpad.net/yade/+question/690948 Status: Open => Needs information Jan Stránský requested more information: Hello, > Is it possible to do this in Yade? yes, of course. Just create spheres with desired size at desired position to form desi

[Yade-users] [Question #690948]: Making a sphere layer with certain orientation

2020-05-25 Thread Chien-Cheng Hung
New question #690948 on Yade: https://answers.launchpad.net/yade/+question/690948 Dear all, I am trying to generating a sphere layer with a certain orientation. For example, I would like to generate a layer intersecting Z-axis with 45 degrees (taking X-axis as the front). Is it possible to do th