147,8 → 147,8 |
#X.MaxSpeed(50) |
#Y.MaxSpeed(50) |
#Z.MaxSpeed(30) |
X.MaxSpeed(40) |
Y.MaxSpeed(40) |
X.MaxSpeed(35) |
Y.MaxSpeed(35) |
Z.MaxSpeed(20) |
|
Z.GoZero(100) |
157,27 → 157,29 |
|
time.sleep(1) |
|
X.Move(15) |
X.Move(17) |
Y.Move(150) |
Z.MoveWait(37) |
Z.MoveWait(39) |
time.sleep(1) |
Z.MoveWait(-5) |
|
|
print "Robot is running" |
|
corner = 73 |
xcorner = 72 |
xsteps = 9 |
ysteps = 6 # *2 + 1 line |
space = 5 |
space = 4 |
grid = 8 |
delay = 1 |
|
#Y.Move(-4) |
X.MoveWait(corner) |
X.MoveWait(xcorner) |
|
for y in range(ysteps): |
for x in range(xsteps): |
Z.MoveWait(space) |
time.sleep(1) |
time.sleep(delay) |
Z.MoveWait(-space) |
if x < (xsteps - 1): |
X.MoveWait(grid) |
184,7 → 186,7 |
Y.MoveWait(-grid) |
for x in range(xsteps): |
Z.MoveWait(space) |
time.sleep(1) |
time.sleep(delay) |
Z.MoveWait(-space) |
if x < (xsteps - 1): |
X.MoveWait(-grid) |
192,13 → 194,13 |
|
for x in range(xsteps): |
Z.MoveWait(space) |
time.sleep(1) |
time.sleep(delay) |
Z.MoveWait(-space) |
if x < (xsteps - 1): |
X.MoveWait(grid) |
Y.MoveWait(-20) |
|
X.MoveWait(-(corner+(xsteps-1)*grid)) |
X.MoveWait(-(xcorner+(xsteps-1)*grid)) |
#Z.MoveWait(-10) |
Y.MoveWait(ysteps*grid*2+20) |
X.Float() |