@nebulaglitch/gcode
Version:
A library to generate gcode output
21 lines (18 loc) • 549 B
JavaScript
import Command from '../command.js';
import Argument from '../argument.js';
class CounterClockwiseArc extends Command {
constructor(x = null, y = null, r = null){
super('G', 3);
if (x !== null) {
this.args.push(new Argument('X', x));
}
if (y !== null) {
this.args.push(new Argument('Y', y));
}
if (r !== null) {
this.args.push(new Argument('R', r));
}
}
}
export { CounterClockwiseArc as default };
//# sourceMappingURL=counterclockwisearc.js.map