Example #1
0
 public gcodeByLine(gcodeByLine tmp)
 {
     resetAll();
     lineNumber   = tmp.lineNumber; figureNumber = tmp.figureNumber; codeLine = tmp.codeLine;
     motionMode   = tmp.motionMode; isdistanceModeG90 = tmp.isdistanceModeG90; ismachineCoordG53 = tmp.ismachineCoordG53;
     isSubroutine = tmp.isSubroutine; spindleState = tmp.spindleState; coolantState = tmp.coolantState;
     spindleSpeed = tmp.spindleSpeed; feedRate = tmp.feedRate;
     x            = tmp.x; y = tmp.y; z = tmp.z; i = tmp.i; j = tmp.j; a = tmp.a; b = tmp.b; c = tmp.c; u = tmp.u; v = tmp.v; w = tmp.w;
     actualPos    = tmp.actualPos; distance = tmp.distance;
 }
Example #2
0
 public xyArcPoint(xyzabcuvwPoint tmp)
 {
     X = tmp.X; Y = tmp.Y; CX = 0; CY = 0; mode = 0;
 }
Example #3
0
 public void resetAll(xyzPoint tmp)
 {
     resetAll();
     actualPos = new xyzabcuvwPoint(tmp);
 }