fix version in cam export
This commit is contained in:
parent
c52a832a7e
commit
16a91b94c3
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
|
/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
|
||||||
|
|
||||||
import { base } from '../../geo/base.js';
|
import { base } from '../../geo/base.js';
|
||||||
|
import { version } from '../../moto/license.js';
|
||||||
|
|
||||||
const { util } = base;
|
const { util } = base;
|
||||||
|
|
||||||
|
|
@ -392,7 +393,7 @@ export function cam_export(print, online) {
|
||||||
|
|
||||||
section('header');
|
section('header');
|
||||||
if (!stripComments) {
|
if (!stripComments) {
|
||||||
append(`; Generated by Kiri:Moto ${kiri.version}`);
|
append(`; Generated by Kiri:Moto ${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)}`);
|
append(`; Stock X:${stock.x?.round(2)} Y:${stock.y?.round(2)} Z:${stock.z?.round(2)}`);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue