- in 2Sided Plugin advanced mode fixed the bounds calculation: if no object is selected on canvas then the object selected in Source Object is used

- in 2Sided Plugin added a new typ of alignment drills: manual. This mode will no longer add pairs of drill holes mirrored against reference but only add in place drill holes
This commit is contained in:
Marius Stanciu
2021-10-04 12:02:38 +03:00
committed by Marius
parent e54b94f915
commit f4636ec71b
7 changed files with 120 additions and 107 deletions

View File

@@ -382,7 +382,7 @@ class ToolExtract(AppTool):
try:
fcobj = model_index.internalPointer().obj
except Exception:
self.app.inform.emit('[WARNING_NOTCL] %s' % _("There is no Gerber object loaded ..."))
self.app.inform.emit('[WARNING_NOTCL] %s' % _("No object is selected."))
return
outname = "%s_%s" % (fcobj.options['name'].rpartition('.')[0], _("extracted"))
@@ -695,7 +695,7 @@ class ToolExtract(AppTool):
try:
obj = model_index.internalPointer().obj
except Exception:
self.app.inform.emit('[WARNING_NOTCL] %s' % _("There is no Gerber object loaded ..."))
self.app.inform.emit('[WARNING_NOTCL] %s' % _("No object is selected."))
return
outname = '%s_esm' % obj.options['name'].rpartition('.')[0]
@@ -798,7 +798,7 @@ class ToolExtract(AppTool):
try:
obj = model_index.internalPointer().obj
except Exception:
self.app.inform.emit('[WARNING_NOTCL] %s' % _("There is no Gerber object loaded ..."))
self.app.inform.emit('[WARNING_NOTCL] %s' % _("No object is selected."))
return
outname = '%s_ecut' % obj.options['name'].rpartition('.')[0]