Removed deprecated and obsolete Path.Tool and Path.Tooltable

This commit is contained in:
Markus Lampert
2022-08-12 23:34:05 -07:00
parent 2b36448575
commit 29a7dc144e
42 changed files with 93 additions and 4011 deletions

View File

@@ -541,10 +541,6 @@ def guessDepths(objshape, subs=None):
def drillTipLength(tool):
"""returns the length of the drillbit tip."""
if isinstance(tool, Path.Tool):
Path.Log.error(translate("Path", "Legacy Tools not supported"))
return 0.0
if not hasattr(tool, "TipAngle"):
Path.Log.error(translate("Path", "Selected tool is not a drill"))
return 0.0