minimize dogbone a bit more

This commit is contained in:
Stewart Allen 2020-12-03 21:37:43 -05:00
commit 83cd531181

View file

@ -478,7 +478,7 @@
}
if (proc.camOutlineDogbone && !procOutlineWide) {
CAM.addDogbones(offset, outlineToolDiam / 4);
CAM.addDogbones(offset, outlineToolDiam / 5);
}
// offset.xout(`slice ${slice.z}`);
@ -590,9 +590,7 @@
let newa = BASE.newSlopeFromAngle(lastsl.angle + bdiff);
newpts.push(lastpt.projectOnSlope(newa, dist));
newpts.push(lastpt.clone());
console.log('CW dogbone', lastsl.angle.round(2), adiff.round(2));
} else if (!isCW && adiff < -45) {
console.log('CCW dogbone', lastsl.angle.round(2), ':', nextsl.angle.round(2), '=', adiff.round(2));
let newa = BASE.newSlopeFromAngle(lastsl.angle - bdiff);
newpts.push(lastpt.projectOnSlope(newa, dist));
newpts.push(lastpt.clone());