MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / AbpProcessor

Class AbpProcessor

src/ext/makerbot_driver/GcodeProcessors/AbpProcessor.py:9–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9class AbpProcessor(LineTransformProcessor):
10
11 def __init__(self):
12 super(AbpProcessor, self).__init__()
13 self.is_bundleable = True
14 self.code_map = {
15 re.compile("[^;(]*[mM]106"): self._transform_m106,
16 re.compile("[^;(]*[mM]107"): self._transform_m107,
17 }
18
19 def _transform_m107(self, match):
20 return ""
21
22 def _transform_m106(self, match):
23 return ""

Callers 1

__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected