Question #660522 on Yade changed:
https://answers.launchpad.net/yade/+question/660522
Bruno Chareyre posted a new comment:
For future reference, the correct code in #2 should read:
sp.makeCloud((0,0,3),(20,20,15),rMean=0.5)
for x,r in sp:
if (is inside): O.bodies.append(sphere(x,r)) #<
Question #660522 on Yade changed:
https://answers.launchpad.net/yade/+question/660522
JOHN posted a new comment:
Thank you
Amazing responses
--
You received this question notification because your team yade-users is
an answer contact for Yade.
Question #660522 on Yade changed:
https://answers.launchpad.net/yade/+question/660522
Status: Answered => Solved
JOHN 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
an answer
Question #660522 on Yade changed:
https://answers.launchpad.net/yade/+question/660522
Status: Needs information => Answered
Jan Stránský proposed the following answer:
Hi John,
try the following code. Also have a look at [1]. In case of any question or
problem, let us know.
cheers
Jan
[1]
Question #660522 on Yade changed:
https://answers.launchpad.net/yade/+question/660522
JOHN posted a new comment:
Oops, i seem to have uploaded the wrong file,
http://dropmefiles.com/mR2NW
sorry about that,
If you use this you will see some particles outside and some inside
I didnt realise it
Question #660522 on Yade changed:
https://answers.launchpad.net/yade/+question/660522
Status: Open => Needs information
Jan Stránský requested more information:
Hello,
thanks for the file. I have tried it, but did not met your description.. All
particles are outside and after starting the
Question #660522 on Yade changed:
https://answers.launchpad.net/yade/+question/660522
Status: Needs information => Answered
Bruno Chareyre proposed the following answer:
Hi John,
A question here is what is 'file.stl'.
If it comes from an analytical description of the shape, then this
Question #660522 on Yade changed:
https://answers.launchpad.net/yade/+question/660522
Status: Open => Needs information
Jan Stránský requested more information:
Hi John,
> i am new in yade and programming in general
welcome :-)
According to your description, what you want should be easy
Question #660522 on Yade changed:
https://answers.launchpad.net/yade/+question/660522
Description changed to:
Good evening,
Is there a way to create particles that cover as much of the free space as
possible, but not have particles appear inside the walls?
I currently have this code
from
Question #660522 on Yade changed:
https://answers.launchpad.net/yade/+question/660522
Description changed to:
Good evening,
Is there a way to create particles that cover as much of the free space as
possible, but not have particles appear inside the walls?
I currently have this code
from
10 matches
Mail list logo