yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #02530
help in writing a script
Hi,
1- when I run a example from a script, the 3d view is black but when I
choose 2 window of view (primary view and secondary view) the model
is shown!!
also when run script regular-sphere-pack.py there is a error:
*Running script
/home/moradi/YADE-trunk/trunk/scripts/test/regular-sphere-pack.py
Traceback (most recent call last):
File "./yade-bzr2073", line 106, in <module>
execfile(args[0])
File "/home/moradi/YADE-trunk/trunk/scripts/test/regular-sphere-pack.py",
line 64, in <module>
O.bodies.append(ymport.gmsh('regular-sphere-pack.mesh',**kwMeshes))#generates
facets from the mesh file
File "/home/moradi/YADE-trunk/YADE/lib/yade-bzr2073/py/yade/ymport.py",
line 51, in gmsh
infile = open(meshfile,"r")
IOError: [Errno 2] No such file or directory: 'regular-sphere-pack.mesh'
*2- I want creat a plate of glass(from sphere), and a ball that contact with
glass at high speed.
how can I do it?
really, I want a script that help me in writing my script.
thank you
Nasibeh
Follow ups