Created
August 29, 2014 04:17
-
-
Save ryansturmer/1453d10bee9adb7f00f2 to your computer and use it in GitHub Desktop.
Table Surfacing Routine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
&XAREA = 22.5 | |
&ZDEPTH = -0.125 | |
&YAREA = 17 | |
&ZCLEAR = 1.0 | |
&STEPOVER = 0.4 | |
&SPEED = 1.0 | |
C6 | |
PAUSE 3 | |
&YP = 0 | |
JZ,&ZCLEAR | |
J2,0,0 | |
MS,&SPEED,&SPEED | |
MZ,&ZDEPTH | |
surface: | |
MY,&YP | |
MX,&XAREA | |
&YP=&YP+&STEPOVER | |
MY,&YP | |
IF &YP >= &YAREA THEN GOTO done | |
MX,0 | |
&YP=&YP+&STEPOVER | |
IF &YP >= &YAREA THEN GOTO done | |
GOTO surface | |
done: | |
JZ,&ZCLEAR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment