fix missing else in gcode pre macro processing
This commit is contained in:
parent
e7fd4b0852
commit
6f9532d2fd
1 changed files with 1 additions and 2 deletions
|
|
@ -350,7 +350,7 @@ CAM.export = function(print, online) {
|
||||||
compact_output = true;
|
compact_output = true;
|
||||||
stripComments = true;
|
stripComments = true;
|
||||||
space = '';
|
space = '';
|
||||||
} if (line.indexOf(";; AXISMAP ") === 0) {
|
} else if (line.indexOf(";; AXISMAP ") === 0) {
|
||||||
let axmap = JSON.parse(line.substring(11).trim());
|
let axmap = JSON.parse(line.substring(11).trim());
|
||||||
for (let key in axmap) {
|
for (let key in axmap) {
|
||||||
axis[key] = axmap[key];
|
axis[key] = axmap[key];
|
||||||
|
|
@ -418,7 +418,6 @@ CAM.export = function(print, online) {
|
||||||
append(`; tool=${tn} flute=${tool.flute_diam} len=${tool.flute_len} metric=${tool.metric}`);
|
append(`; tool=${tn} flute=${tool.flute_diam} len=${tool.flute_len} metric=${tool.metric}`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// emit gcode preamble
|
// emit gcode preamble
|
||||||
filterEmit(gcodePre, consts);
|
filterEmit(gcodePre, consts);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue