Update src/Mod/Path/PathScripts/post/heidenhain_post.py

Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
This commit is contained in:
Stefano Chiaro
2021-02-17 22:24:38 +01:00
committed by sliptonic
parent f7de07a522
commit 947dc038db

View File

@@ -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 = 0 + pol_Angle
pass
# with Z axis zero have the X+ direction
elif pol_Axis == "Z":
pol_Angle = 90 - pol_Angle