Skip to content

Commit

Permalink
qtdragon/hd - add hole enlarge utility
Browse files Browse the repository at this point in the history
  • Loading branch information
c-morley committed Aug 19, 2023
1 parent 4967d73 commit 549301f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions share/qtvcp/screens/qtdragon/qtdragon_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,13 @@ def init_utils(self):
self.facing = Facing()
self.w.layout_facing.addWidget(self.facing)

try:
from qtvcp.lib.gcode_utility.hole_enlarge import Hole_Enlarge
self.hole_enlarge = Hole_Enlarge()
ACTION.ADD_WIDGET_TO_TAB(self.w.tabWidget_utilities,self.hole_enlarge, 'Hole Enlarge')
except Exception as e:
LOG.info("Utility hole enlarge unavailable: {}".format(e))

from qtvcp.lib.gcode_utility.hole_circle import Hole_Circle
self.hole_circle = Hole_Circle()
self.w.layout_hole_circle.addWidget(self.hole_circle)
Expand Down
7 changes: 7 additions & 0 deletions share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,13 @@ def init_utils(self):
self.hole_circle = Hole_Circle()
self.w.layout_hole_circle.addWidget(self.hole_circle)

try:
from qtvcp.lib.gcode_utility.hole_enlarge import Hole_Enlarge
self.hole_enlarge = Hole_Enlarge()
ACTION.ADD_WIDGET_TO_TAB(self.w.tabWidget_utilities,self.hole_enlarge, 'Hole Enlarge')
except Exception as e:
LOG.info("Utility hole enlarge unavailable: {}".format(e))

LOG.info("Using NGCGUI utility")
self.ngcgui = NgcGui()
self.w.layout_ngcgui.addWidget(self.ngcgui)
Expand Down

0 comments on commit 549301f

Please sign in to comment.