Skip to content

Commit

Permalink
Changed M86 to M486 (to support MarlinFirmware/Marlin#15590)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Shashlov authored and Kirill Shashlov committed Oct 21, 2019
1 parent 3772a88 commit 19dbb90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/PostProcessingPlugin/scripts/MarlinObjectsMarking.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ def execute(self, data):

if commandLine.startswith(";TYPE:SKIRT") or \
commandLine.startswith(";MESH:NONMESH"):
layerCommandLines.insert(command_idx + 1, self.putValue("", M=86, S=-1))
layerCommandLines.insert(command_idx + 1, self.putValue("", M=486, S=-1))
continue

if commandLine.startswith(";MESH:"):
obj_name = commandLine.split(":")[1]
obj_index = obj_dict.setdefault(obj_name, len(obj_dict.keys()))
layerCommandLines.insert(command_idx + 1, self.putValue("", M=86, S=obj_index))
layerCommandLines.insert(command_idx + 1, self.putValue("", M=486, S=obj_index))

data[lay_idx] = "\n".join(layerCommandLines)
return data

0 comments on commit 19dbb90

Please sign in to comment.