cleanup slicer

This commit is contained in:
casperlamboo 2016-04-23 09:56:36 +02:00
parent b21db81f12
commit 7042ebf588

View File

@ -60,10 +60,10 @@ export default class extends EventDispatcher {
} }
slice (settings) { slice (settings) {
var supportEnabled = settings.config['supportEnabled']; const supportEnabled = settings.config['supportEnabled'];
// get unique lines from geometry; // get unique lines from geometry;
var lines = createLines(this.geometry, settings); const lines = createLines(this.geometry, settings);
this.progress.createdLines = true; this.progress.createdLines = true;
this._updateProgress(settings); this._updateProgress(settings);
@ -106,8 +106,6 @@ export default class extends EventDispatcher {
this.dispatchEvent({ type: 'finish', gcode }); this.dispatchEvent({ type: 'finish', gcode });
console.log(slices);
return gcode; return gcode;
} }