mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 11:33:49 +01:00
fix setting replace code
This commit is contained in:
parent
922111c3e3
commit
f0b23647bb
@ -25,7 +25,7 @@ export default class {
|
||||
heatBedTemperature,
|
||||
travelSpeed,
|
||||
printerType,
|
||||
heatedbed
|
||||
heatedBed
|
||||
} = this.config;
|
||||
|
||||
travelSpeed *= 60;
|
||||
@ -38,7 +38,7 @@ export default class {
|
||||
case '_3Dison_plus': printerType = 'r2'; break;
|
||||
}
|
||||
|
||||
const heatedBedReplacement = heatedbed ? '' : ';';
|
||||
const heatedBedReplacement = heatedBed ? '' : ';';
|
||||
|
||||
gcode = gcode.replace(/{printingTemp}/gi, temperature);
|
||||
gcode = gcode.replace(/{printingBedTemp}/gi, bedTemperature);
|
||||
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
"heatupBedTemperature": 70,
|
||||
"heatupTemperature": 20,
|
||||
"temperature": 210.0,
|
||||
"bedTemperature": 70,
|
||||
"heatBedTemperature": 20,
|
||||
"heatTemperature": 20,
|
||||
"layerHeight": 0.15,
|
||||
"bottomThickness": 0.4,
|
||||
"topThickness": 0.8,
|
||||
|
Loading…
Reference in New Issue
Block a user