fix export with no stock set
This commit is contained in:
parent
f4ec56be0e
commit
059c0b4c01
1 changed files with 3 additions and 1 deletions
|
|
@ -239,7 +239,9 @@
|
||||||
append(`; Generated by Kiri:Moto ${KIRI.version}`);
|
append(`; Generated by Kiri:Moto ${KIRI.version}`);
|
||||||
append(`; ${new Date().toString()}`);
|
append(`; ${new Date().toString()}`);
|
||||||
filterEmit(["; Bed left:{left} right:{right} top:{top} bottom:{bottom}"], consts);
|
filterEmit(["; Bed left:{left} right:{right} top:{top} bottom:{bottom}"], consts);
|
||||||
append(`; Stock X:${stock.x.round(2)} Y:${stock.y.round(2)} Z:${stock.z.round(2)}`);
|
if (hasStock) {
|
||||||
|
append(`; Stock X:${stock.x.round(2)} Y:${stock.y.round(2)} Z:${stock.z.round(2)}`);
|
||||||
|
}
|
||||||
append(`; Target: ${settings.filter[settings.mode]}`);
|
append(`; Target: ${settings.filter[settings.mode]}`);
|
||||||
append("; --- process ---");
|
append("; --- process ---");
|
||||||
for (let pk in spro) {
|
for (let pk in spro) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue