mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-07-01 08:31:22 +02:00
always start first layer on Z0.2
This commit is contained in:
parent
a0aec2f4ad
commit
e88e8804d2
|
@ -77,7 +77,7 @@ export default class {
|
||||||
travelSpeed
|
travelSpeed
|
||||||
} = this.settings.config;
|
} = this.settings.config;
|
||||||
|
|
||||||
const z = (layer + 1) * layerHeight;
|
const z = layer * layerHeight + 0.2;
|
||||||
const speed = travelSpeed * 60;
|
const speed = travelSpeed * 60;
|
||||||
|
|
||||||
this._addGCode({
|
this._addGCode({
|
||||||
|
@ -111,7 +111,7 @@ export default class {
|
||||||
} = profile;
|
} = profile;
|
||||||
|
|
||||||
speed *= 60;
|
speed *= 60;
|
||||||
const z = (layer + 1) * layerHeight;
|
const z = layer * layerHeight + 0.2;
|
||||||
|
|
||||||
const lineLength = this._nozzlePosition.distanceTo(newNozzlePosition);
|
const lineLength = this._nozzlePosition.distanceTo(newNozzlePosition);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user