mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 19:43:48 +01:00
fix code
This commit is contained in:
parent
5a46e138af
commit
d9fca74653
@ -71,7 +71,7 @@ export default class {
|
|||||||
const {
|
const {
|
||||||
layerHeight,
|
layerHeight,
|
||||||
travelSpeed
|
travelSpeed
|
||||||
} = this.settings;
|
} = this.settings.config;
|
||||||
|
|
||||||
const z = (layer + 1) * layerHeight;
|
const z = (layer + 1) * layerHeight;
|
||||||
const speed = travelSpeed * 60;
|
const speed = travelSpeed * 60;
|
||||||
@ -97,7 +97,7 @@ export default class {
|
|||||||
nozzleDiameter,
|
nozzleDiameter,
|
||||||
filamentThickness,
|
filamentThickness,
|
||||||
travelSpeed
|
travelSpeed
|
||||||
} = this.settings;
|
} = this.settings.config;
|
||||||
|
|
||||||
const profile = this.settings.config[(this.bottom ? 'bottom' : type)];
|
const profile = this.settings.config[(this.bottom ? 'bottom' : type)];
|
||||||
|
|
||||||
@ -158,7 +158,7 @@ export default class {
|
|||||||
retractionEnabled,
|
retractionEnabled,
|
||||||
retractionMinDistance,
|
retractionMinDistance,
|
||||||
retractionSpeed
|
retractionSpeed
|
||||||
} = this.settings;
|
} = this.settings.config;
|
||||||
|
|
||||||
if (!this.isRetracted && retractionEnabled) {
|
if (!this.isRetracted && retractionEnabled) {
|
||||||
this.isRetracted = true;
|
this.isRetracted = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user