MCPcopy Create free account
hub / github.com/JoshuaPostel/texaform / __init__

Method __init__

python/lazer_cutter.py:20–34  ·  view source on GitHub ↗
(self, port: int, location: Point)

Source from the content-addressed store, hash-verified

18class LazerCutter(Agent):
19
20 def __init__(self, port: int, location: Point):
21 super().__init__(port, location)
22 self.powered = False
23 self.cutter_position: Point = Point(0, 0)
24
25# self.plate
26# # using x left-right, y top-bottom cordinates
27# self.plate: List[List[bool]] = []
28# for x in range(PLATE_WIDTH):
29# self.plate.append([False for y in range(PLATE_HEIGHT)])
30#
31# print(f"plate: {self.plate}")
32
33 self.desired_shape: Optional[Shape]
34 self.remaining_to_cut: Optional[Shape]
35
36
37 def power_on(self):

Callers

nothing calls this directly

Calls 1

PointClass · 0.90

Tested by

no test coverage detected