diff --git a/src/Mod/Path/Gui/Resources/panels/DlgToolControllerEdit.ui b/src/Mod/Path/Gui/Resources/panels/DlgToolControllerEdit.ui
index cc98895f63..f0b836c3af 100644
--- a/src/Mod/Path/Gui/Resources/panels/DlgToolControllerEdit.ui
+++ b/src/Mod/Path/Gui/Resources/panels/DlgToolControllerEdit.ui
@@ -423,7 +423,7 @@
-
- Cutting Edge Angle
+ Point/Tip Angle
@@ -576,11 +576,14 @@
°
+
+ 180 °
+
0.000000000000000
- 90.000000000000000
+ 180.000000000000000
diff --git a/src/Mod/Path/Gui/Resources/panels/ToolEdit.ui b/src/Mod/Path/Gui/Resources/panels/ToolEdit.ui
index f89e879ee2..b5ffde3a92 100644
--- a/src/Mod/Path/Gui/Resources/panels/ToolEdit.ui
+++ b/src/Mod/Path/Gui/Resources/panels/ToolEdit.ui
@@ -52,7 +52,6 @@
0
-
-
@@ -63,9 +62,7 @@
-
-
-
-
+
-
@@ -98,7 +95,7 @@
-
- Cutting Edge Angle
+ Point/Tip Angle
@@ -194,8 +191,11 @@
-
+
+ 180 °
+
- 90.000000000000000
+ 180.000000000000000
0.000000000000000
diff --git a/src/Mod/Path/PathScripts/PathUtils.py b/src/Mod/Path/PathScripts/PathUtils.py
index 18913dbfbf..1b2689213c 100644
--- a/src/Mod/Path/PathScripts/PathUtils.py
+++ b/src/Mod/Path/PathScripts/PathUtils.py
@@ -781,14 +781,14 @@ def guessDepths(objshape, subs=None):
def drillTipLength(tool):
"""returns the length of the drillbit tip."""
- if tool.CuttingEdgeAngle == 0.0 or tool.Diameter == 0.0:
+ if tool.CuttingEdgeAngle == 180 or tool.CuttingEdgeAngle == 0.0 or tool.Diameter == 0.0:
return 0.0
else:
- if tool.CuttingEdgeAngle < 0 or tool.CuttingEdgeAngle >= 90:
- PathLog.error(translate("Path", "Invalid Cutting Edge Angle %.2f, must be <90° and >=0°") % tool.CuttingEdgeAngle)
+ if tool.CuttingEdgeAngle <= 0 or tool.CuttingEdgeAngle >= 180:
+ PathLog.error(translate("Path", "Invalid Cutting Edge Angle %.2f, must be >0° and <=180°") % tool.CuttingEdgeAngle)
return 0.0
theta = math.radians(tool.CuttingEdgeAngle)
- length = (tool.Diameter/2) / math.tan(theta)
+ length = (tool.Diameter/2) / math.tan(theta/2)
if length < 0:
PathLog.error(translate("Path", "Cutting Edge Angle (%.2f) results in negative tool tip length") % tool.CuttingEdgeAngle)
return 0.0