From ca06ab24a53d07a593b502c8712a34c507d5ce1f Mon Sep 17 00:00:00 2001 From: Stefano Chiaro Date: Mon, 15 Feb 2021 23:23:30 +0100 Subject: [PATCH] Update heidenhain_post.py fixed pol_Angle --- src/Mod/Path/PathScripts/post/heidenhain_post.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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