- fixed the TclCommand MillHoles

This commit is contained in:
Marius Stanciu
2019-09-11 07:06:32 +03:00
committed by Marius
parent e7493a350f
commit 4440298327
3 changed files with 6 additions and 3 deletions

View File

@@ -2633,8 +2633,10 @@ class FlatCAMExcellon(FlatCAMObj, Excellon):
for tool in tools:
if tooldia > self.tools[tool]["C"]:
self.app.inform.emit('[ERROR_NOTCL] %s' %
_("Milling tool for DRILLS is larger than hole size. Cancelled."))
self.app.inform.emit('[ERROR_NOTCL] %s %s: %s' % (
_("Milling tool for DRILLS is larger than hole size. Cancelled.",
str(tool))
))
return False, "Error: Milling tool is larger than hole."
def geo_init(geo_obj, app_obj):