committed by
GitHub
parent
61a6879b05
commit
81a52c8373
@@ -87,7 +87,7 @@ class API(octoprint.plugin.SimpleApiPlugin):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def m92GCodeResponse(self, line, regex, event):
|
def m92GCodeResponse(self, line, regex, event):
|
||||||
reg = re.compile("\s*(?P<command>(?P<gCode>M\d{1,3}) X(?P<xVal>\d{1,3}.\d{1,3}) Y(?P<yVal>\d{1,3}.\d{1,3}) Z(?P<zVal>\d{1,3}.\d{1,3}) E(?P<eVal>\d{1,3}.\d{1,3}))")
|
reg = re.compile("(echo:?)\s*(?P<command>(?P<gCode>M\d{1,3}) X(?P<xVal>\d{1,3}.\d{1,3}) Y(?P<yVal>\d{1,3}.\d{1,3}) Z(?P<zVal>\d{1,3}.\d{1,3}) E(?P<eVal>\d{1,3}.\d{1,3}))")
|
||||||
isM92command = reg.match(line)
|
isM92command = reg.match(line)
|
||||||
if isM92command:
|
if isM92command:
|
||||||
command = isM92command.group("command")
|
command = isM92command.group("command")
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ plugin_package = "octoprint_CalibrationTools"
|
|||||||
plugin_name = "OctoPrint-CalibrationTools"
|
plugin_name = "OctoPrint-CalibrationTools"
|
||||||
|
|
||||||
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
|
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
|
||||||
plugin_version = "1.0.3"
|
plugin_version = "1.0.2"
|
||||||
|
|
||||||
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
|
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
|
||||||
# module
|
# module
|
||||||
|
|||||||
Reference in New Issue
Block a user