- finished work on Offset parameter in Excellon Object (Excellon Editor, camlib, FlatCAMObj updated to take this param in consideration)

- fixed a bug where in Excellon editor when editing a file, a tool was automatically added. That is supposed to happen only for empty newly created Excellon Objects.
This commit is contained in:
Marius Stanciu
2019-02-12 15:12:12 +02:00
committed by Marius
parent d0641458e4
commit 9b61e4cc37
5 changed files with 44 additions and 8 deletions

View File

@@ -1328,8 +1328,6 @@ class FlatCAMExcellon(FlatCAMObj, Excellon):
self.tool_offset[dia] = current_table_offset_edited
print(self.tool_offset)
# we reactivate the signals after the after the tool editing
self.ui.tools_table.itemChanged.connect(self.on_tool_offset_edit)
@@ -1763,6 +1761,7 @@ class FlatCAMExcellon(FlatCAMObj, Excellon):
app_obj.progress.emit(20)
job_obj.z_cut = float(self.options["drillz"])
job_obj.tool_offset = self.tool_offset
job_obj.z_move = float(self.options["travelz"])
job_obj.feedrate = float(self.options["feedrate"])
job_obj.feedrate_rapid = float(self.options["feedrate_rapid"])