Running script on boucing sphere example
when I type execfile('1.py') or execfile(
ervin@ubuntu:~$ ~/yade/
Welcome to Yade bzr2923
TCP python prompt on localhost:9000, auth cookie `ucakss'
XMLRPC info provider on http://
Running script 1.py
[[ ^L clears screen, ^U kills line. F8 plot. ]]
Yade [1]: execfile(
Yade [2]:
tried running the program like this: Does this following error have any significance?
Yade [4]: run 1.py
-------
NameError Traceback (most recent call last)
/home/ervin/1.py in <module>()
6 # add 2 particles to the simulation
7 # they the default material (utils.defaultMat)
----> 8 O.bodies.append([
9 # fixed: particle's position in space will not change (support)
10 utils.sphere(
NameError: name 'O' is not defined
WARNING: Failure executing file: <1.py>
Yade [5]:
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: