sort slice/prep function bundles
This commit is contained in:
parent
cb758bf4af
commit
17d293a810
2 changed files with 33 additions and 33 deletions
|
|
@ -685,31 +685,31 @@ export function prepEach(widget, settings, print, firstPoint, update) {
|
|||
printPoint = firstPoint || origin;
|
||||
|
||||
let ops = {
|
||||
stock,
|
||||
setTool,
|
||||
setDrill,
|
||||
setSpindle,
|
||||
setTolerance,
|
||||
setPrintPoint,
|
||||
setLasering,
|
||||
getPrintPoint() { return printPoint },
|
||||
printPoint,
|
||||
newLayer,
|
||||
addGCode,
|
||||
bounds,
|
||||
camOut,
|
||||
polyEmit,
|
||||
poly2polyEmit,
|
||||
tip2tipEmit,
|
||||
depthRoughPath,
|
||||
depthOutlinePath,
|
||||
sliceOutput,
|
||||
depthRoughPath,
|
||||
emitDrills,
|
||||
emitTrace,
|
||||
bounds,
|
||||
getPrintPoint() { return printPoint },
|
||||
lastPoint: () => { return lastPoint },
|
||||
newLayer,
|
||||
poly2polyEmit,
|
||||
polyEmit,
|
||||
printPoint,
|
||||
setDrill,
|
||||
setLasering,
|
||||
setPrintPoint,
|
||||
setSpindle,
|
||||
setTolerance,
|
||||
setTool,
|
||||
sliceOutput,
|
||||
stock,
|
||||
tip2tipEmit,
|
||||
zclear,
|
||||
zmax,
|
||||
zsafe,
|
||||
lastPoint: () => { return lastPoint }
|
||||
};
|
||||
|
||||
let opSum = 0;
|
||||
|
|
|
|||
|
|
@ -158,31 +158,31 @@ export async function cam_slice(settings, widget, onupdate, ondone) {
|
|||
let shadows = {};
|
||||
let slicer;
|
||||
let state = {
|
||||
settings,
|
||||
widget,
|
||||
addSlices,
|
||||
bounds,
|
||||
tabs,
|
||||
cutTabs,
|
||||
cutPolys,
|
||||
color,
|
||||
computeShadows,
|
||||
contourPolys,
|
||||
cutPolys,
|
||||
cutTabs,
|
||||
dark,
|
||||
healPolys,
|
||||
isIndexed,
|
||||
ops: opList,
|
||||
setAxisIndex,
|
||||
settings,
|
||||
shadowAt,
|
||||
slicer,
|
||||
addSlices,
|
||||
isIndexed,
|
||||
setAxisIndex,
|
||||
updateToolDiams,
|
||||
tabs,
|
||||
unsafe,
|
||||
updateSlicer,
|
||||
computeShadows,
|
||||
updateToolDiams,
|
||||
widget,
|
||||
zBottom,
|
||||
zMax,
|
||||
zThru,
|
||||
ztOff,
|
||||
zMax,
|
||||
zTop,
|
||||
unsafe,
|
||||
color,
|
||||
dark,
|
||||
ops: opList
|
||||
zTop
|
||||
};
|
||||
let tracker = setSliceTracker({ rotation: 0 });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue