remove dead whitespace
This commit is contained in:
parent
1a7f2b701e
commit
45823642c3
1 changed files with 1 additions and 4 deletions
|
|
@ -1503,22 +1503,19 @@ class OpDrill extends CamOp {
|
||||||
if(!drill.selected){
|
if(!drill.selected){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let slice = newSlice(0);
|
let slice = newSlice(0);
|
||||||
if (op.mark) {
|
if (op.mark) {
|
||||||
// replace depth with single down peck
|
// replace depth with single down peck
|
||||||
drill.depth = op.down
|
drill.depth = op.down
|
||||||
}
|
}
|
||||||
drill.zBottom = drill.z - drill.depth;
|
drill.zBottom = drill.z - drill.depth;
|
||||||
|
|
||||||
// for thru holes, follow z thru when set
|
// for thru holes, follow z thru when set
|
||||||
if ((op.thru>0) ) {
|
if ((op.thru>0) ) {
|
||||||
drill.zBottom -= op.thru;
|
drill.zBottom -= op.thru;
|
||||||
}
|
}
|
||||||
|
|
||||||
const poly = newPolygon()
|
const poly = newPolygon()
|
||||||
poly.points.push(newPoint(drill.x, drill.y, drill.z))
|
poly.points.push(newPoint(drill.x, drill.y, drill.z))
|
||||||
poly.points.push(newPoint(drill.x, drill.y, drill.zBottom))
|
poly.points.push(newPoint(drill.x, drill.y, drill.zBottom))
|
||||||
|
|
||||||
// poly.points.pop();
|
// poly.points.pop();
|
||||||
slice.camTrace = { tool: op.tool, rate: op.feed, plunge: op.rate };
|
slice.camTrace = { tool: op.tool, rate: op.feed, plunge: op.rate };
|
||||||
slice.camLines = [poly];
|
slice.camLines = [poly];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue