fixes for indexed rotations

This commit is contained in:
Stewart Allen 2025-10-30 23:49:33 -04:00
commit 32b5248fda
4 changed files with 25 additions and 9 deletions

View file

@ -169,6 +169,7 @@ export function cam_export(print, online) {
function moveTo(out, opt = {}) {
let laser = out.type === 'laser';
let newpos = out.point;
console.log(mode.type, out.point);
// no point == dwell
// out.speed = time to dwell in ms
@ -425,7 +426,9 @@ export function cam_export(print, online) {
toolz[out.tool] = ctool;
}
point = out.point;
if (!point || point.mod) return;
if (!point || point.mod) {
return;
}
// ensure not point is modified twice
point.mod = 1;
if (isOffset) {