0
0
mirror of https://github.com/Doodle3D/Doodle3D-Slicer.git synced 2025-01-12 04:05:11 +01:00

cleanup slicer

This commit is contained in:
casperlamboo 2016-04-23 09:56:36 +02:00 committed by Simon Voordouw
parent 042db46c04
commit bc798930fb

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