Skip to content

Commit

Permalink
get g code syntax file name
Browse files Browse the repository at this point in the history
  • Loading branch information
john committed Jun 24, 2021
1 parent f19d4e2 commit 41e28cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qtpyvcp/utilities/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ def getLogFile(self, default='~/pyqtvcp.log'):
def getMDIHistoryFile(self, default='~/.axis_mdi_history'):
return self.getFilePath('DISPLAY', 'MDI_HISTORY_FILE', self.CONFIG_DIR, default)

def getGcodeSyntaxFile(self, default=None):
return self.ini.find('DISPLAY', 'GCODE_SYNTAX') or default

def getToolTableFile(self, default='tool.tbl'):
return self.getFilePath('EMCIO', 'TOOL_TABLE', self.CONFIG_DIR, default)

Expand Down

0 comments on commit 41e28cc

Please # to comment.