add ease down angle setting in UI triggered when ease down enabled

This commit is contained in:
Stewart Allen 2024-07-20 23:04:55 -04:00
commit 5fac736ea9
5 changed files with 8 additions and 7 deletions

View file

@ -88,6 +88,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
origin = newPoint(originx + wmx, originy + wmy, zmax),
output = print.output,
easeDown = process.camEaseDown,
easeAngle = process.camEaseAngle,
depthFirst = process.camDepthFirst,
engageFactor = process.camFullEngage,
tolerance = 0,
@ -581,7 +582,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
if (easeDown && poly.isClosed()) {
last = poly.forEachPointEaseDown(function(point, offset) {
camOut(point.clone(), offset > 0, undefined, scale);
}, fromPoint);
}, fromPoint, easeAngle);
} else {
poly.forEachPoint(function(point, pidx, points, offset) {
last = point;