more efficient shortest-distance pocket routing
This commit is contained in:
parent
ad53e78e7e
commit
f08319efe7
3 changed files with 40 additions and 9 deletions
|
|
@ -437,6 +437,12 @@ function prepEach(widget, settings, print, firstPoint, update) {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* output an array of slices that form a pocket
|
||||
*
|
||||
* @param {Slice[]} top-down Z stack of slices
|
||||
* @param {*} opts
|
||||
*/
|
||||
function sliceOutput(sliceOut, opts = {}) {
|
||||
const { cutdir, depthFirst, easeDown, progress } = opts;
|
||||
|
||||
|
|
@ -518,6 +524,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
|
|||
setTolerance,
|
||||
setPrintPoint,
|
||||
setLasering,
|
||||
getPrintPoint() { return printPoint },
|
||||
printPoint,
|
||||
newLayer,
|
||||
addGCode,
|
||||
|
|
|
|||
Loading…
Reference in a new issue