Merge pull request #389 from GridSpace/cut-direction-bugfix

Cut direction bugfix
This commit is contained in:
Josiah Hamm 2025-06-24 21:44:51 -06:00 • committed by GitHub
commit c6c5a8cd9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 5 deletions

View file

@ -698,10 +698,6 @@ class OpOutline extends CamOp {
setTool(op.tool, op.rate, op.plunge);
setSpindle(op.spindle);
if (!process.camOutlinePocket) {
cutdir = !cutdir;
}
// printpoint becomes NaN in engine mode. not sure why but this fixes it
if(Object.values(printPoint).some(v=>Number.isNaN(v))){
printPoint = newPoint(0,0,0);