delete useless broken laser export code

This commit is contained in:
bakedpotatolord 2025-07-20 18:34:52 -06:00
commit 7191e3fe5b

View file

@ -507,22 +507,6 @@ const dispatch = {
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 {
bounds,
time,