Corrected cutting edge angle input for v-bits.

This commit is contained in:
Markus Lampert
2018-06-24 19:21:53 -07:00
parent ee56fc92d5
commit bf7f0a69ed
2 changed files with 17 additions and 17 deletions

View File

@@ -139,8 +139,8 @@ class ToolEditorImage(object):
def quantityCuttingEdgeAngle(self, propertyToDisplay):
if propertyToDisplay:
return FreeCAD.Units.Quantity(self.editor.tool.CuttingEdgeAngle, FreeCAD.Units.Angle) / 2
return FreeCAD.Units.parseQuantity(self.form.value_a.text()) * 2
return FreeCAD.Units.Quantity(self.editor.tool.CuttingEdgeAngle, FreeCAD.Units.Angle)
return FreeCAD.Units.parseQuantity(self.form.value_a.text())
def quantityCuttingEdgeHeight(self, propertyToDisplay):
if propertyToDisplay: