added feedrate and intesity reset at beginning of each laser job.

This commit is contained in:
make-ing 2016-03-14 15:15:13 +01:00
parent 064cd33455
commit 3db371fbb0

View file

@ -824,6 +824,10 @@ class MachineCom(object):
if self._currentFile is None:
raise ValueError("No file selected for printing")
# reset feedrate and intesity factor in case they where changed in a previous run
self._feedrate_factor = 1
self._intensity_factor = 1
try:
# ensure fan is on whatever gcode follows.
self.sendCommand("M08")