From db93fd13e72c2009bc5e571b89e7db7f19583cce Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Fri, 18 Dec 2020 11:44:55 -0600 Subject: [PATCH] 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. --- src/Mod/Path/PathScripts/PathSurfaceSupport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathSurfaceSupport.py b/src/Mod/Path/PathScripts/PathSurfaceSupport.py index 6eae4328eb..d082a6a282 100644 --- a/src/Mod/Path/PathScripts/PathSurfaceSupport.py +++ b/src/Mod/Path/PathScripts/PathSurfaceSupport.py @@ -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 )