Add GPX as a serial port filter

The idea is to have GPX translate between g-codes and x3g.  GPX
already does a pretty good job for output gcode intended for print
instructions, that is the gcode output by slicers.
It has some minimal support for talking directly to the printer and
receiving data back from the printer.  What I'm hoping to add is
translation of printer output to responses a generic Marlin printer
might produce.  For now, I'm focused on the I/O that OctoPrint uses.
This commit is contained in:
Mark Walker committed 2015-04-03 23:27:08 -07:00
1 parent 4e9f9cdb16
commit ae712d9878
3 files changed
+30 -3

No files matched your search

+1
View File
@@ -291,6 +291,7 @@ class PrinterProfileManager(object):
import yaml
with open(path) as f:
profile = yaml.safe_load(f)
profile = dict_merge(self._load_default(), profile)
profile = self._ensure_valid_profile(profile)
if not profile:
self._logger.warn("Invalid profile: %s" % path)