- fixed grbl_laser postprocessor file

- updated function for copy of an Excellon object for the case when the object has slots
- updated FlatCAMExcellon.merge() function to work in case some (or all) of the merged objects have slots
This commit is contained in:
Marius Stanciu
2019-01-26 09:08:41 +02:00
committed by Marius S
parent 34749cae66
commit c0031235cd
3 changed files with 119 additions and 10 deletions

View File

@@ -3126,6 +3126,8 @@ class App(QtCore.QObject):
# drills are offset, so they need to be deep copied
obj_init.drills = deepcopy(obj.drills)
# slots are offset, so they need to be deep copied
obj_init.slots = deepcopy(obj.slots)
obj_init.create_geometry()
for obj in self.collection.get_selected():
@@ -3161,6 +3163,8 @@ class App(QtCore.QObject):
obj_init.tools = obj.tools
# drills are offset, so they need to be deep copied
obj_init.drills = deepcopy(obj.drills)
# slots are offset, so they need to be deep copied
obj_init.slots = deepcopy(obj.slots)
obj_init.create_geometry()
for obj in self.collection.get_selected():