diff --git a/src/Mod/Path/PathScripts/post/heidenhain_post.py b/src/Mod/Path/PathScripts/post/heidenhain_post.py index 3cf5a3248f..7206da5cb7 100644 --- a/src/Mod/Path/PathScripts/post/heidenhain_post.py +++ b/src/Mod/Path/PathScripts/post/heidenhain_post.py @@ -800,7 +800,7 @@ def HEIDEN_PolarArc(pol_cc_X, pol_cc_Y, pol_X, pol_Y, pol_Z, pol_Axis, pol_Incr) pol_Angle = 90 - pol_Angle # with Y axis zero have the Z+ direction elif pol_Axis == "Y": - pol_Angle = pol_Angle + pol_Angle = 0 + pol_Angle # with Z axis zero have the X+ direction elif pol_Axis == "Z": pol_Angle = 90 - pol_Angle @@ -1048,4 +1048,4 @@ def HEIDEN_LBL_Replace(): POSTGCODE.insert(RefEnd, "LBL 0") POSTGCODE.insert(RefStart, "LBL " + str(FIRST_LBL - LBL_Shift)) STORED_LBL.clear() - return \ No newline at end of file + return