add trace support for taper tip diameter and offset override

This commit is contained in:
Stewart Allen 2023-01-17 19:10:39 -05:00
commit 0dc3f190e4
7 changed files with 24 additions and 6 deletions

View file

@ -61,6 +61,10 @@ class Tool {
return this.unitScale() * this.tool.taper_tip;
}
traceOffset() {
return (this.isTaperMill() ? this.tipDiameter() : this.fluteDiameter()) / 2;
}
shaftLength() {
return this.unitScale() * this.tool.shaft_len;
}