diff options
Diffstat (limited to 'klippy')
-rw-r--r-- | klippy/chelper/msgblock.c | 2 | ||||
-rw-r--r-- | klippy/configfile.py | 2 | ||||
-rwxr-xr-x | klippy/console.py | 2 | ||||
-rw-r--r-- | klippy/extras/axis_twist_compensation.py | 2 | ||||
-rw-r--r-- | klippy/extras/error_mcu.py | 2 | ||||
-rw-r--r-- | klippy/extras/input_shaper.py | 4 | ||||
-rw-r--r-- | klippy/extras/print_stats.py | 2 | ||||
-rw-r--r-- | klippy/gcode.py | 6 | ||||
-rw-r--r-- | klippy/klippy.py | 4 | ||||
-rw-r--r-- | klippy/mcu.py | 4 | ||||
-rw-r--r-- | klippy/webhooks.py | 4 |
11 files changed, 17 insertions, 17 deletions
diff --git a/klippy/chelper/msgblock.c b/klippy/chelper/msgblock.c index e6cb298b..58317d79 100644 --- a/klippy/chelper/msgblock.c +++ b/klippy/chelper/msgblock.c @@ -1,4 +1,4 @@ -// Helper code for the Klipper mcu protocol "message blocks" +// Helper code for the Klipper MCU protocol "message blocks" // // Copyright (C) 2016-2021 Kevin O'Connor <kevin@koconnor.net> // diff --git a/klippy/configfile.py b/klippy/configfile.py index b0c0c4ba..c3a21d7d 100644 --- a/klippy/configfile.py +++ b/klippy/configfile.py @@ -1,4 +1,4 @@ -# Code for reading and writing the Klipper config file +# Code for reading and writing the config file # # Copyright (C) 2016-2024 Kevin O'Connor <kevin@koconnor.net> # diff --git a/klippy/console.py b/klippy/console.py index 11a3feb9..b0d0c965 100755 --- a/klippy/console.py +++ b/klippy/console.py @@ -8,7 +8,7 @@ import sys, optparse, os, re, logging import util, reactor, serialhdl, msgproto, clocksync help_txt = """ - This is a debugging console for the Klipper micro-controller. + This is a debugging console for the Kutter micro-controller. In addition to mcu commands, the following artificial commands are available: DELAY : Send a command at a clock time (eg, "DELAY 9999 get_uptime") diff --git a/klippy/extras/axis_twist_compensation.py b/klippy/extras/axis_twist_compensation.py index 224f0a6c..ae3c9811 100644 --- a/klippy/extras/axis_twist_compensation.py +++ b/klippy/extras/axis_twist_compensation.py @@ -357,6 +357,6 @@ class Calibrater: ) -# klipper's entry point using [axis_twist_compensation] section in printer.cfg +# entry point using [axis_twist_compensation] section in printer.cfg def load_config(config): return AxisTwistCompensation(config) diff --git a/klippy/extras/error_mcu.py b/klippy/extras/error_mcu.py index 7e0610e9..43dcaa1b 100644 --- a/klippy/extras/error_mcu.py +++ b/klippy/extras/error_mcu.py @@ -135,7 +135,7 @@ class PrinterMCUError: newmsg = [ "MCU Protocol error", message_protocol_error1, - "Your Klipper version is: %s" % (host_version,), + "Your Kutter version is: %s" % (host_version,), "MCU(s) which should be updated:", ] newmsg += msg_update + ["Up-to-date MCU(s):"] + msg_updated diff --git a/klippy/extras/input_shaper.py b/klippy/extras/input_shaper.py index 11218d55..70a68fd1 100644 --- a/klippy/extras/input_shaper.py +++ b/klippy/extras/input_shaper.py @@ -146,7 +146,7 @@ class InputShaper: raise self.printer.config_error( "Input shaper parameters cannot be configured via" " [input_shaper] section with dual_carriage(s) " - " enabled. Refer to Klipper documentation on how " + " enabled. Refer to Kutter documentation on how " " to configure input shaper for dual_carriage(s)." ) return @@ -171,7 +171,7 @@ class InputShaper: def _update_kinematics(self): if self.toolhead is None: - # Klipper initialization is not yet completed + # initialization is not yet completed return ffi_main, ffi_lib = chelper.get_ffi() kin = self.toolhead.get_kinematics() diff --git a/klippy/extras/print_stats.py b/klippy/extras/print_stats.py index e7b6e97e..c9354b47 100644 --- a/klippy/extras/print_stats.py +++ b/klippy/extras/print_stats.py @@ -82,7 +82,7 @@ class PrintStats: self.print_start_time = None cmd_SET_PRINT_STATS_INFO_help = ( - "Pass slicer info like layer act and " "total to klipper" + "Pass slicer info like layer act and " "total to Kutter" ) def cmd_SET_PRINT_STATS_INFO(self, gcmd): diff --git a/klippy/gcode.py b/klippy/gcode.py index 427d7992..523a39c5 100644 --- a/klippy/gcode.py +++ b/klippy/gcode.py @@ -324,7 +324,7 @@ class GCodeDispatch: self.printer.request_exit("error_exit") def _respond_state(self, state): - self.respond_info("Klipper state: %s" % (state,), log=False) + self.respond_info("Kutter state: %s" % (state,), log=False) # Parameter parsing helpers def _get_extended_params(self, gcmd): @@ -402,7 +402,7 @@ class GCodeDispatch: def cmd_M115(self, gcmd): # Get Firmware Version and Capabilities software_version = self.printer.get_start_args().get("software_version") - kw = {"FIRMWARE_NAME": "Klipper", "FIRMWARE_VERSION": software_version} + kw = {"FIRMWARE_NAME": "Kutter", "FIRMWARE_VERSION": software_version} msg = " ".join(["%s:%s" % (k, v) for k, v in kw.items()]) did_ack = gcmd.ack(msg) if not did_ack: @@ -439,7 +439,7 @@ class GCodeDispatch: self._respond_state("Ready") return msg = self.printer.get_state_message()[0] - msg = msg.rstrip() + "\nKlipper state: Not ready" + msg = msg.rstrip() + "\nKutter state: Not ready" raise gcmd.error(msg) cmd_HELP_help = "Report the list of available extended G-Code commands" diff --git a/klippy/klippy.py b/klippy/klippy.py index 4b444e48..fbb2e0d3 100644 --- a/klippy/klippy.py +++ b/klippy/klippy.py @@ -310,7 +310,7 @@ def main(): opts.add_option( "-R", "--runtime-config", - default="/var/run/klipper/run.cfg", + default="/var/run/kutter/run.cfg", help="path to where SAVE_CONFIG should store the runtime configuration", ) opts.add_option( @@ -343,7 +343,7 @@ def main(): if len(args) > 1: opts.error("Incorrect number of arguments") start_args = { - "config_file": args[0] if len(args) >= 1 else "/etc/klipper.cfg", + "config_file": args[0] if len(args) >= 1 else "/etc/kutter.cfg", "apiserver": options.apiserver, "start_reason": "startup", } diff --git a/klippy/mcu.py b/klippy/mcu.py index 279c3f1d..a4506938 100644 --- a/klippy/mcu.py +++ b/klippy/mcu.py @@ -1,4 +1,4 @@ -# Interface to Klipper micro-controller code +# Interface to the Kutter MCU # # Copyright (C) 2016-2025 Kevin O'Connor <kevin@koconnor.net> # @@ -732,7 +732,7 @@ class MCU: self._serialport = config.get("serial") if not ( self._serialport.startswith("/dev/rpmsg_") - or self._serialport.startswith("/tmp/klipper_host_") + or self._serialport.startswith("/tmp/kutter_host_") ): self._baud = config.getint("baud", 250000, minval=2400) # Restarts diff --git a/klippy/webhooks.py b/klippy/webhooks.py index 64abe2b2..76ef502d 100644 --- a/klippy/webhooks.py +++ b/klippy/webhooks.py @@ -363,12 +363,12 @@ class WebHooks: web_request.get_client_connection().set_client_info(client_info) state_message, state = self.printer.get_state_message() src_path = os.path.dirname(__file__) - klipper_path = os.path.normpath(os.path.join(src_path, "..")) + kutter_path = os.path.normpath(os.path.join(src_path, "..")) response = { "state": state, "state_message": state_message, "hostname": socket.gethostname(), - "klipper_path": klipper_path, + "kutter_path": kutter_path, "python_path": sys.executable, "process_id": os.getpid(), "user_id": os.getuid(), |