Skip to content

Commit

Permalink
- Probe forgotten to set the feed on horizontal probes
Browse files Browse the repository at this point in the history
- Variable error in _terminal
  • Loading branch information
vlachoudis committed Feb 9, 2016
1 parent 3767cf0 commit a5ac3f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion ProbePage.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,20 +533,25 @@ def probe(self, event=None):

cmd = str(CNC.vars["prbcmd"])
ok = False

v = self.probeXdir.get()
if v != "":
cmd += "X"+str(v)
ok = True

v = self.probeYdir.get()
if v != "":
cmd += "Y"+str(v)
ok = True

v = self.probeZdir.get()
if v != "":
cmd += "Z"+str(v)
ok = True

v = ProbeCommonFrame.probeFeed.get()
if v != "":
cmd += "F"+str(CNC.vars["prbfeed"])
cmd += "F"+str(v)

if ok:
self.sendGrbl(cmd+"\n")
Expand Down
2 changes: 1 addition & 1 deletion bCNC.py
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ def _monitorSerial(self):
if self._terminalCount > 1000:
try:
self.terminal.delete("0.0","500.0")
self._terminalCount = int(self._terminal.index(END).split(".")[0])
self._terminalCount = int(self.terminal.index(END).split(".")[0])
except TclError:
pass
except Empty:
Expand Down

0 comments on commit a5ac3f3

Please sign in to comment.