mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 11:33:49 +01:00
cleanup slicer
This commit is contained in:
parent
b21db81f12
commit
7042ebf588
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user