added feedrate and intesity reset at beginning of each laser job.
This commit is contained in:
parent
064cd33455
commit
3db371fbb0
1 changed files with 4 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue