improve contouring: colinear, curves only
This commit is contained in:
parent
5e6a33ef69
commit
ada0be3550
3 changed files with 58 additions and 31 deletions
|
|
@ -65,6 +65,11 @@ class Tool {
|
|||
return (this.isTaperMill() ? this.tipDiameter() : this.fluteDiameter()) / 2;
|
||||
}
|
||||
|
||||
contourOffset(step) {
|
||||
const diam = Math.min(this.isTaperMill() ? this.tipDiameter() : this.fluteDiameter());
|
||||
return diam ? diam * step : step;
|
||||
}
|
||||
|
||||
shaftLength() {
|
||||
return this.unitScale() * this.tool.shaft_len;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue