MCPcopy Create free account

hub / github.com/Miquelsn/bambulab-spoolman / functions

Functions72 in github.com/Miquelsn/bambulab-spoolman

↓ 48 callersMethodlog_info
(self, message: str)
helper_logs.py:32
↓ 41 callersMethodlog_error
(self, message: str)
helper_logs.py:40
↓ 17 callersFunctionReadCredentials
()
tools.py:7
↓ 14 callersMethodlog_exception
(self, error: Exception)
helper_logs.py:44
↓ 12 callersFunctionSaveNewToken
(name, token)
tools.py:17
↓ 5 callersFunctionIsValidIp
(host: str)
tools.py:23
↓ 4 callersMethod_write_log
(self, message: str)
helper_logs.py:22
↓ 4 callersFunctionparse_filaments
Parses filament data from a text file.
Filament/filament.py:11
↓ 3 callersMethodCleanTask
Clean the task object.
BambuPrinter/print_task.py:39
↓ 3 callersFunctionload_mappings
Loads existing filament mappings from a JSON file.
Filament/filament.py:28
↓ 2 callersFunctionCheckMQTTConnection
Checks if the MQTT broker is reachable at the given IP.
Local_MQTT/local_mqtt.py:41
↓ 2 callersMethodComprobateState
(self)
BambuPrinter/bambu_printer.py:114
↓ 2 callersMethodReportAndSaveTask
Save the task to a task.txt file as a JSON object.
BambuPrinter/print_task.py:54
↓ 2 callersFunctionStartMQTT
()
Local_MQTT/local_mqtt.py:87
↓ 2 callersFunctionTestSpoolmanApi
(ip, port)
Spoolman/login.py:7
↓ 2 callersFunctionfind_best_match
Finds the best match for a Bambu filament, giving highest priority to type and vendor.
Filament/filament.py:41
↓ 2 callersFunctionget_filaments_data
()
Gui/WebServer/websockets_service.py:12
↓ 2 callersFunctionsave_mappings
Saves filament mappings to a JSON file.
Filament/filament.py:36
↓ 1 callersMethodAMSFilamentParser
(self, msg)
BambuPrinter/bambu_printer.py:51
↓ 1 callersMethodExternalFilamentParser
(self, msg)
BambuPrinter/bambu_printer.py:54
↓ 1 callersFunctionGetSpoolmanID
(filament_mapping, slicer_filamentID)
Spoolman/spoolman_filament.py:93
↓ 1 callersFunctionIsValidPort
(port)
tools.py:30
↓ 1 callersFunctionLoadFilamentMapping
()
Spoolman/spoolman_filament.py:89
↓ 1 callersFunctionLoginAndGetToken
(verification_code=None)
BambuCloud/login.py:59
↓ 1 callersMethodProccessMQTTMsg
(self, msg)
BambuPrinter/bambu_printer.py:30
↓ 1 callersFunctionSendStatusMessage
Sends a message to the local MQTT broker.
Local_MQTT/local_mqtt.py:72
↓ 1 callersFunctionSendVerificationCode
()
BambuCloud/login.py:32
↓ 1 callersMethodSetCurrentState
(self, id)
BambuPrinter/bambu_printer.py:92
↓ 1 callersMethodSetGcodeState
(self, gcode)
BambuPrinter/bambu_printer.py:104
↓ 1 callersMethodSetPrintPercentatge
(self, percentage)
BambuPrinter/bambu_printer.py:89
↓ 1 callersMethodSetWeightDetail
(self, task_id)
BambuPrinter/bambu_printer.py:59
↓ 1 callersFunctionTestToken
()
BambuCloud/login.py:110
↓ 1 callersMethod_load_existing_logs
(self)
helper_logs.py:14
↓ 1 callersFunctionget_fallback_match
Provides a fallback match by selecting an unmatched Spoolman filament.
Filament/filament.py:57
↓ 1 callersFunctionget_local_ip
()
Gui/WebServer/auto_discover.py:7
↓ 1 callersMethodload_tasks_from_file
Parses the task.txt JSON file.
Gui/WebServer/websockets_service.py:58
↓ 1 callersMethodlog_warning
(self, message: str)
helper_logs.py:36
↓ 1 callersFunctionstart_broadcast_thread
()
Gui/WebServer/auto_discover.py:33
↓ 1 callersMethodstart_server
(self)
Gui/WebServer/websockets_service.py:235
↓ 1 callersMethodto_dict
Convert the PrintTask object to a dictionary.
BambuPrinter/print_task.py:22
FunctionConfigureSpoolmanApi
()
Spoolman/login.py:21
FunctionGetJobID
(taskID)
BambuCloud/projects.py:23
FunctionGetPrinterIP
Checks for printer_ip in credentials or prompts the user to provide one.
Local_MQTT/local_mqtt.py:16
FunctionGetSlicerFilaments
()
BambuCloud/slicer_filament.py:35
FunctionGetSpoolmanFilaments
()
Spoolman/spoolman_filament.py:17
FunctionGetTaksDetail
(jobID)
BambuCloud/projects.py:48
FunctionOnConnect
(client, userdata, flags, rc)
Local_MQTT/local_mqtt.py:59
FunctionOnMessage
(client, userdata, msg)
Local_MQTT/local_mqtt.py:66
FunctionProcessSlicerFilament
(filaments)
BambuCloud/slicer_filament.py:86
FunctionProcessSpoolmanFilament
(filaments)
Spoolman/spoolman_filament.py:57
FunctionRegisterFilament
(slicer_filamentID, weight)
Spoolman/spoolman_filament.py:96
FunctionSaveFilamentsToFile
(filaments)
Spoolman/spoolman_filament.py:79
FunctionSaveFilamentsToFile
(filaments)
BambuCloud/slicer_filament.py:103
Method__init__
(self, log_file_path="app.log", max_lines=1000)
helper_logs.py:7
Method__init__
(self)
Spoolman/spoolman_filament.py:8
Method__init__
(self)
BambuPrinter/print_task.py:7
Method__init__
(self)
BambuPrinter/bambu_printer.py:19
Method__init__
(self)
BambuCloud/slicer_filament.py:26
Method__init__
(self, host='localhost', port=12346)
Gui/WebServer/websockets_service.py:53
Method__init__
(self, *args, **kwargs)
Gui/WebServer/flutter_web_server.py:12
Method__str__
(self)
Spoolman/spoolman_filament.py:14
Method__str__
(self)
BambuCloud/slicer_filament.py:32
Functionbroadcast_server_ip
(port=12346, broadcast_port=54545)
Gui/WebServer/auto_discover.py:16
Methodget_last_logs
(self)
helper_logs.py:49
Methodhandle_client
(self, websocket)
Gui/WebServer/websockets_service.py:76
Methodload_logs_from_file
Parses the app.log JSON file.
Gui/WebServer/websockets_service.py:67
Methodlog_message
(self, format, *args)
Gui/WebServer/flutter_web_server.py:15
Functionmap_filaments
Runs the filament mapping process.
Filament/filament.py:64
Methodrun_server
(self)
Gui/WebServer/websockets_service.py:240
Functionstart_server
()
Gui/WebServer/flutter_web_server.py:18
Functionstart_thread
()
Gui/WebServer/flutter_web_server.py:23
Functionstart_websocket_server
()
Gui/WebServer/websockets_service.py:244