suppress indexed lerp output points. fixes #337

invert a axis input/output b/c display rotation is inverted
This commit is contained in:
Stewart Allen 2025-03-12 20:07:36 -04:00
commit de02c7526d
4 changed files with 20 additions and 5 deletions

View file

@ -404,7 +404,7 @@ class Print {
if (pos.A) {
let ip = new THREE.Vector3(pos.X, pos.Y, pos.Z)
.applyAxisAngle(XAXIS, pos.A * DEG2RAD);
.applyAxisAngle(XAXIS, -pos.A * DEG2RAD);
point.x = ip.x;
point.y = ip.y;
point.z = ip.z;
@ -603,6 +603,7 @@ class Output {
this.speed = speed;
this.tool = tool;
this.type = type;
// this.where = new Error().stack.split("\n");
}
clone(z) {