fix re-shadow after index rotations, carry angle through synth points

This commit is contained in:
Stewart Allen 2022-11-08 14:46:40 -05:00
commit 3452297dc6
5 changed files with 26 additions and 21 deletions

View file

@ -297,6 +297,11 @@ function prepEach(widget, settings, print, firstPoint, update) {
point.y += wmy;
point.z += zadd;
// carry rotation forward when not overridden
if (point.a === undefined && lastPoint) {
point.a = lastPoint.a;
}
// console.log(point.z);
if (nextIsMove) {
cut = 0;
@ -417,6 +422,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
};
let ops = {
stock,
setTool,
setDrill,
setSpindle,