checkpoint trace work
This commit is contained in:
parent
0ff23ef8cd
commit
44c1c850e9
11 changed files with 82 additions and 24 deletions
|
|
@ -503,7 +503,6 @@
|
|||
.addPolys(slice.topPolys())
|
||||
sliceAll.push(slice);
|
||||
maxToolDiam = Math.max(maxToolDiam, traceToolDiam);
|
||||
console.log({slice});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -537,6 +536,10 @@ console.log({slice});
|
|||
};
|
||||
|
||||
CAM.traces = function computeTraces(settings, widget) {
|
||||
if (widget.traces) {
|
||||
// do no work if cached
|
||||
return false;
|
||||
}
|
||||
let slicer = new KIRI.slicer2(widget.getPoints(), {
|
||||
zlist: true,
|
||||
zline: true
|
||||
|
|
@ -615,6 +618,7 @@ console.log({slice});
|
|||
slicer.slice(indices, opts);
|
||||
widget.traces = traces;
|
||||
// widget.sindex = sindex;
|
||||
return true;
|
||||
};
|
||||
|
||||
// drilling op
|
||||
|
|
|
|||
Loading…
Reference in a new issue