codec and color cleanup
This commit is contained in:
parent
3aa07314c2
commit
1d573b1605
8 changed files with 29 additions and 43 deletions
|
|
@ -17,7 +17,6 @@
|
|||
slice,
|
||||
prepare,
|
||||
export: exportLaser,
|
||||
printRender,
|
||||
exportGCode,
|
||||
exportSVG,
|
||||
exportDXF
|
||||
|
|
@ -256,8 +255,8 @@
|
|||
min.y = 0;
|
||||
} else {
|
||||
// normalize against center of build area
|
||||
let w = print.settings.device.bedWidth;
|
||||
let h = print.settings.device.bedDepth;
|
||||
let w = settings.device.bedWidth;
|
||||
let h = settings.device.bedDepth;
|
||||
output.forEach(function(layer) {
|
||||
layer.forEach(function(out) {
|
||||
point = out.point;
|
||||
|
|
@ -495,8 +494,4 @@
|
|||
return lines.join('\n');
|
||||
};
|
||||
|
||||
function printRender(print) {
|
||||
return KIRI.driver.FDM.printRender(print, {aslines: true, nomoves: true, flat: true});
|
||||
}
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in a new issue