yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #04670
[Question #164389]: Creating particles
New question #164389 on Yade:
https://answers.launchpad.net/yade/+question/164389
I have a problem in creating particles in bouncing spheres example. The following error appears while making the particles.
Yade [1]: O.bodies.append([
...: utils.sphere((0,0,2),.5)
...: utils.sphere(center=(0,0,0),radius=.5,dynamic=False)
------------------------------------------------------------
File "<ipython console>", line 3
utils.sphere(center=(0,0,0),radius=.5,dynamic=False)
^
SyntaxError: invalid syntax
I tried several ways but every time when type the commands for the second one, it does not work. Any alternative please?
(I am using Yade 0.60 in Ubuntu).
Thanks.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.