delete useless broken laser export code
This commit is contained in:
parent
a983b4c54e
commit
7191e3fe5b
1 changed files with 0 additions and 16 deletions
|
|
@ -507,22 +507,6 @@ const dispatch = {
|
||||||
send.data({debug});
|
send.data({debug});
|
||||||
});
|
});
|
||||||
|
|
||||||
// export in different modes, based on device type
|
|
||||||
if (mode.toUpperCase() === "LASER") {
|
|
||||||
let FExt = data.settings.device.gcodeFExt.toUpperCase();
|
|
||||||
if (FExt === "DXF"){
|
|
||||||
let dxf = driver.exportDXF(data.settings, current.print.output);
|
|
||||||
send.data({line:dxf});
|
|
||||||
} else if(FExt === "SVG") {
|
|
||||||
let svg = driver.exportSVG(data.settings, current.print.output);
|
|
||||||
send.data({line:svg});
|
|
||||||
} else {
|
|
||||||
// if not svg or dxf, default to gcode
|
|
||||||
let gcode = driver.exportGCode(data.settings, current.print.output);
|
|
||||||
send.data({line:gcode});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const {
|
const {
|
||||||
bounds,
|
bounds,
|
||||||
time,
|
time,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue