- applied the changes from Andre Spahlinger from PR's #332 and #334

This commit is contained in:
Marius Stanciu
2021-01-02 17:17:53 +02:00
committed by Marius Stanciu
parent f5751d3f59
commit 3995080503
4 changed files with 15 additions and 11 deletions

View File

@@ -3104,6 +3104,8 @@ class CNCjob(Geometry):
elif zcut == 0:
self.app.inform.emit('[WARNING] %s.' % _("The Cut Z parameter is zero. There will be no cut, aborting"))
return 'fail'
else:
return zcut
# used in Tool Drilling
def excellon_tool_gcode_gen(self, tool, points, tools, first_pt, is_first=False, is_last=False, opt_type='T',