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

Method __init__

src/ext/makerbot_driver/Gcode/States.py:18–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 konwledge to be packetized properly.
17 """
18 def __init__(self):
19 self._log = logging.getLogger(self.__class__.__name__)
20 self.profile = None
21 self.position = makerbot_driver.Gcode.Point() # Position, In MM!!
22 self.values = {}
23 self.wait_for_ready_packet_delay = 100 # ms
24 self.wait_for_ready_timeout = 600 # seconds
25 self.percentage = 0
26
27 def lose_position(self, axes):
28 """Given a set of axes, loses the position of

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected