- in Corner Marker Tool add new feature: ability to create an Excellon object with drill holes in the corner markes

- in Corner Marker Tool, will no longer update the current object with the marker geometry but create a new Gerber object
- in Join Excellon functionality made sure that the new Combo Exellon object will have copied the data from source objects and not just references, therefore will survive the delete of its parents
- updated Turkish translation (by Mehmet Kaya)
- updated all the languages except Turkish
This commit is contained in:
Marius Stanciu
2020-11-01 23:04:48 +02:00
committed by Marius
parent 55d5dece2c
commit fac4caf961
27 changed files with 2611 additions and 2147 deletions

View File

@@ -1278,21 +1278,21 @@ class ExcellonObject(FlatCAMObj, Excellon):
for option in exc.options:
if option != 'name':
try:
exc_final.options[option] = exc.options[option]
exc_final.options[option] = deepcopy(exc.options[option])
except Exception:
exc.app.log.warning("Failed to copy option.", option)
for tool in exc.tools:
toolid += 1
new_tools[toolid] = exc.tools[tool]
new_tools[toolid] = deepcopy(exc.tools[tool])
exc_final.tools = deepcopy(new_tools)
# add the zeros and units to the exc_final object
exc_final.zeros = exc.zeros
exc_final.units = exc.units
exc_final.zeros = deepcopy(exc.zeros)
exc_final.units = deepcopy(exc.units)
total_geo += exc.solid_geometry
exc_final.solid_geometry = total_geo
exc_final.solid_geometry = deepcopy(total_geo)
fused_tools_dict = {}
if exc_final.tools and fuse_tools: