@scalenc/nc-format
Version:
Library for handling TRUMPF NC file format.
23 lines • 497 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GCode = void 0;
/// G word statement.
/// E.g. `G90`
class GCode {
id;
args;
constructor(
/// The G code id.
/// For e.g. `G90` the Id is 90.
id,
/// Optional arguments to the G word, or null if none.
args) {
this.id = id;
this.args = args;
}
visit(visitor) {
visitor.onGCode(this);
}
}
exports.GCode = GCode;
//# sourceMappingURL=GCode.js.map