fix version in cam export

This commit is contained in:
Stewart Allen 2025-07-08 22:14:45 -04:00
commit 16a91b94c3

View file

@ -1,6 +1,7 @@
/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
import { base } from '../../geo/base.js';
import { version } from '../../moto/license.js';
const { util } = base;
@ -392,7 +393,7 @@ export function cam_export(print, online) {
section('header');
if (!stripComments) {
append(`; Generated by Kiri:Moto ${kiri.version}`);
append(`; Generated by Kiri:Moto ${version}`);
append(`; ${new Date().toString()}`);
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)}`);