fix numbers in expressions
This commit is contained in:
parent
9ab310d2a3
commit
b9bc5ecc85
3 changed files with 8 additions and 4 deletions
|
|
@ -387,7 +387,7 @@
|
|||
subst.z = subst.Z = zpos.round(3);
|
||||
subst.e = subst.E = outputLength;
|
||||
subst.layer = layer;
|
||||
subst.height = path.height.toFixed(3);
|
||||
subst.height = path.height;
|
||||
|
||||
if (isBelt) {
|
||||
pos.z = zpos;
|
||||
|
|
@ -424,7 +424,7 @@
|
|||
if (gcodeLayer && gcodeLayer.length) {
|
||||
appendAllSub(gcodeLayer);
|
||||
} else {
|
||||
append(`;; --- layer ${layer} (${subst.height} @ ${subst.z.round(3)}) ---`);
|
||||
append(`;; --- layer ${layer} (${subst.height.toFixed(3)} @ ${subst.z.round(3)}) ---`);
|
||||
}
|
||||
|
||||
// layer temp and fan overrides at layer changes
|
||||
|
|
|
|||
Loading…
Reference in a new issue