- in Excellon Editor, Copy sub-tool, added UI and ability to copy as array

- fixed an issue in Geometry Editor, Copy sub-tool where when the geometry copied numbers over the set limit then the copy as array is incorrect
This commit is contained in:
Marius Stanciu
2022-05-02 03:58:36 +03:00
committed by Marius
parent 7e17cdad7d
commit 5e8cee8feb
5 changed files with 465 additions and 16 deletions

View File

@@ -4052,13 +4052,12 @@ class MainGUI(QtWidgets.QMainWindow):
# elif self.app.exc_editor.active_tool.name == 'slot_array' \
# and self.app.exc_editor.active_tool.sarray_tool.length != 0.0:
# pass
elif self.app.exc_editor.active_tool.name == 'move' \
elif self.app.exc_editor.active_tool.name == 'drill_move' \
and self.app.exc_editor.active_tool.move_tool.length != 0.0 \
and self.app.exc_editor.active_tool.move_tool.width != 0.0:
pass
elif self.app.exc_editor.active_tool.name == 'copy' \
and self.app.exc_editor.active_tool.copy_tool.length != 0.0 \
and self.app.exc_editor.active_tool.copy_tool.width != 0.0:
elif self.app.exc_editor.active_tool.name == 'drill_copy' \
and self.app.exc_editor.active_tool.copy_tool.length != 0.0:
pass
else:
curr_pos = self.app.exc_editor.snap_x, self.app.exc_editor.snap_y