add experimental lathe linear passes

This commit is contained in:
Stewart Allen 2025-01-03 21:55:19 -05:00
commit daedae0d41
5 changed files with 38 additions and 11 deletions

View file

@ -62,6 +62,10 @@ class Tool {
return this.unitScale() * this.tool.taper_tip;
}
maxDiameter() {
return Math.max(this.fluteDiameter(), this.tipDiameter(), this.shaftDiameter());
}
traceOffset() {
return (this.isTaperMill() ? this.tipDiameter() : this.fluteDiameter()) / 2;
}