Rev 4346 | Rev 4347 | ||
---|---|---|---|
Line 167... | Line 167... | ||
167 | xsteps = 9 |
167 | xsteps = 9 |
168 | ysteps = 6 # *2 + 1 line |
168 | ysteps = 6 # *2 + 1 line |
169 | yy = 0 |
169 | yy = 0 |
170 | space = 4 |
170 | space = 4 |
171 | grid = 8 |
171 | grid = 8 |
172 | delay = 40 |
172 | delay = 50 |
173 | |
173 | |
174 | X.MoveWait(xcorner) |
174 | X.MoveWait(xcorner) |
175 | |
175 | |
176 | for y in range(ysteps): |
176 | for y in range(ysteps): |
177 | for x in range(xsteps): |
177 | for x in range(xsteps): |
178 | print x, yy |
178 | print x, yy |
179 | yy += 1 |
- | |
180 | Z.MoveWait(space) |
179 | Z.MoveWait(space) |
181 | time.sleep(delay) |
180 | time.sleep(delay) |
182 | Z.MoveWait(-space) |
181 | Z.MoveWait(-space) |
183 | if x < (xsteps - 1): |
182 | if x < (xsteps - 1): |
184 | X.MoveWait(grid) |
183 | X.MoveWait(grid) |
185 | Y.MoveWait(-grid) |
184 | Y.MoveWait(-grid) |
- | 185 | yy += 1 |
|
186 | for x in range(xsteps): |
186 | for x in range(xsteps): |
187 | print x, yy |
187 | print x, yy |
188 | yy += 1 |
- | |
189 | Z.MoveWait(space) |
188 | Z.MoveWait(space) |
190 | time.sleep(delay) |
189 | time.sleep(delay) |
191 | Z.MoveWait(-space) |
190 | Z.MoveWait(-space) |
192 | if x < (xsteps - 1): |
191 | if x < (xsteps - 1): |
193 | X.MoveWait(-grid) |
192 | X.MoveWait(-grid) |
194 | Y.MoveWait(-grid) |
193 | Y.MoveWait(-grid) |
- | 194 | yy += 1 |
|
195 | |
195 | |
196 | for x in range(xsteps): |
196 | for x in range(xsteps): |
197 | print x, y |
197 | print x, yy |
198 | Z.MoveWait(space) |
198 | Z.MoveWait(space) |
199 | time.sleep(delay) |
199 | time.sleep(delay) |
200 | Z.MoveWait(-space) |
200 | Z.MoveWait(-space) |
201 | if x < (xsteps - 1): |
201 | if x < (xsteps - 1): |
202 | X.MoveWait(grid) |
202 | X.MoveWait(grid) |