Some fixes related to milling heights and depths.

Fix for large "Step Down".
Correctly handling a part that was moved down the Z axis.
Handle "Finish Depth".
This commit is contained in:
Itai Nahshon
2017-09-15 04:02:16 +03:00
committed by wmayer
parent c75b3b911d
commit d2f50247ff
3 changed files with 5 additions and 12 deletions

View File

@@ -816,7 +816,7 @@ class depth_params:
raise ValueError('z_finish_step must be less than step_down')
self.__clearance_height = clearance_height
self.__safe_height = math.fabs(safe_height)
self.__safe_height = safe_height
self.__start_depth = start_depth
self.__step_down = math.fabs(step_down)
self.__z_finish_step = math.fabs(z_finish_step)