AYABKnitSettings
Module¶
A dialog for the settings to knit.
-
class
kniteditor.AYABKnitSettings.
AYABKnitSettings
(**kwargs)[source]¶ Bases:
kivy.uix.boxlayout.BoxLayout
Class containing the settings to connect to the AYAB shield.
-
colors_layout
¶ the different colors chosen
-
communication
¶ the
Communication
object to communicate with
-
comunication_connection
¶ the
DebugSerial
orserial.Serial
to use for communication
-
connection
¶ the connection to communicate through
the button to choose the connection with
-
connection_name
¶ the name of the connection
-
interaction
¶ the
Interaction
object to interact with while knitting
-
list_of_actions
¶ the list of actions to diaplay to the user
-
machine
¶ the machine to use for knitting
the button to choose the machines.
-
on_connection
(instance, value)[source]¶ The connection changed so we need to adapt the machine text.
-
pattern_in_progress
¶ the
KnittingPatternWidget
to display the pattern to knit and the progess
the
Button
to start and restart knitting with
-
-
class
kniteditor.AYABKnitSettings.
DebugSerial
(serial)[source]¶ Bases:
object
A
serial.Serial
interface proxy that logs the communication.-
__init__
(serial)[source]¶ Create a new DebugSerial object.
Parameters: serial¶ (serial.Serial) – the serial interface
-
__weakref__
¶ list of weak references to the object (if defined)
-