Path: Fix reference to cutting edge angle in OCL_Tool() class

The class variable name was not corrected with previously committed changes.
The correct cutting edge variable name is located in the __init__() constructor method.
This commit is contained in:
Russell Johnson
2020-12-18 11:44:55 -06:00
parent 194c6e8178
commit db93fd13e7

View File

@@ -2578,11 +2578,11 @@ class OCL_Tool():
# Engraver or V-bit cutter
# OCL -> ConeCutter::ConeCutter(diameter, angle, length)
if (self.diameter == -1.0 or
self.cuttingEdgeAngle == -1.0 or self.cutEdgeHeight == -1.0):
self.cutEdgeAngle == -1.0 or self.cutEdgeHeight == -1.0):
return
self.oclTool = self.ocl.ConeCutter(
self.diameter,
self.cuttingEdgeAngle,
self.cutEdgeAngle,
self.cutEdgeHeight + self.lengthOffset
)