mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-22 19:13:50 +01:00
fix heatedBed
@companje
This commit is contained in:
parent
991586dc4c
commit
f65ab470bb
@ -127,11 +127,11 @@ export default class GCode {
|
||||
return this;
|
||||
}
|
||||
|
||||
addGCode(gcode, { temperature, bedTemperature, heatedbed }) {
|
||||
addGCode(gcode, { temperature, bedTemperature, heatedBed }) {
|
||||
gcode = gcode
|
||||
.replace(/{temperature}/gi, temperature)
|
||||
.replace(/{bedTemperature}/gi, bedTemperature)
|
||||
.replace(/{if heatedBed}/gi, heatedbed ? '' : ';');
|
||||
.replace(/{if heatedBed}/gi, heatedBed ? '' : ';');
|
||||
|
||||
this._addGCode(gcode);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user