harktech: set host_type + printer_agent=crealityprint on K2/K2 Pro/K2 Plus presets
The CFS-aware filament sync resolves its agent via switch_printer_agent(), which reads the preset's `printer_agent` field and falls back to "orca" when unset -- so the K-series presets need printer_agent="crealityprint" (the id registered by CrealityPrintAgent) in addition to host_type="crealityprint" (classic PrintHost/LAN-discovery). Without printer_agent the Device-tab sync defaults to the Orca agent and CFS sync doesn't engage. Set both on the F008/F012/F021 models that supports_multi_color_print() covers (not K2 SE). Both keys are in s_PhysicalPrinter_opts, so a new Physical Printer inherits them from the preset.
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
"fan_speedup_overhangs": "1",
|
||||
"fan_speedup_time": "0",
|
||||
"gcode_flavor": "klipper",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"high_current_on_filament_swap": "0",
|
||||
"machine_end_gcode": "END_PRINT",
|
||||
"machine_load_filament_time": "0",
|
||||
|
||||
@@ -188,7 +188,8 @@
|
||||
"creality_flush_time": "86",
|
||||
"disable_m73": "0",
|
||||
"enable_long_retraction_when_cut": "2",
|
||||
"host_type": "octoprint",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"machine_LED_light_exist": "1",
|
||||
"machine_min_extruding_rate": "0,0",
|
||||
"machine_min_travel_rate": "0,0",
|
||||
|
||||
@@ -189,7 +189,8 @@
|
||||
"creality_flush_time": "86",
|
||||
"disable_m73": "0",
|
||||
"enable_long_retraction_when_cut": "0",
|
||||
"host_type": "octoprint",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"machine_LED_light_exist": "1",
|
||||
"machine_min_extruding_rate": "0,0",
|
||||
"machine_min_travel_rate": "0,0",
|
||||
|
||||
@@ -189,7 +189,8 @@
|
||||
"creality_flush_time": "86",
|
||||
"disable_m73": "0",
|
||||
"enable_long_retraction_when_cut": "0",
|
||||
"host_type": "octoprint",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"machine_LED_light_exist": "1",
|
||||
"machine_min_extruding_rate": "0,0",
|
||||
"machine_min_travel_rate": "0,0",
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
"instantiation": "true",
|
||||
"printer_model": "Creality K2 Plus",
|
||||
"gcode_flavor": "klipper",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"default_print_profile": "0.14mm Optimal @Creality K2 Plus 0.2 nozzle",
|
||||
"nozzle_diameter": [
|
||||
"0.2"
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
"instantiation": "true",
|
||||
"printer_model": "Creality K2 Plus",
|
||||
"gcode_flavor": "klipper",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"default_print_profile": "0.16mm Optimal @Creality K2 Plus 0.4 nozzle",
|
||||
"nozzle_diameter": [
|
||||
"0.4"
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
"instantiation": "true",
|
||||
"printer_model": "Creality K2 Plus",
|
||||
"gcode_flavor": "klipper",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"default_print_profile": "0.24mm Optimal @Creality K2 Plus 0.6 nozzle",
|
||||
"nozzle_diameter": [
|
||||
"0.6"
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
"instantiation": "true",
|
||||
"printer_model": "Creality K2 Plus",
|
||||
"gcode_flavor": "klipper",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"default_print_profile": "0.32mm Optimal @Creality K2 Plus 0.8 nozzle",
|
||||
"nozzle_diameter": [
|
||||
"0.8"
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
"instantiation": "true",
|
||||
"printer_model": "Creality K2 Pro",
|
||||
"gcode_flavor": "klipper",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"default_print_profile": "0.16mm Optimal @Creality K2 Pro 0.2 nozzle",
|
||||
"nozzle_diameter": [
|
||||
"0.2"
|
||||
|
||||
@@ -162,7 +162,8 @@
|
||||
"fan_speedup_overhangs": "1",
|
||||
"fan_speedup_time": "0",
|
||||
"high_current_on_filament_swap": "0",
|
||||
"host_type": "octoprint",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"machine_LED_light_exist": "1",
|
||||
"machine_load_filament_time": "86",
|
||||
"machine_min_extruding_rate": "0,0",
|
||||
|
||||
@@ -162,7 +162,8 @@
|
||||
"fan_speedup_overhangs": "1",
|
||||
"fan_speedup_time": "0",
|
||||
"high_current_on_filament_swap": "0",
|
||||
"host_type": "octoprint",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"machine_LED_light_exist": "1",
|
||||
"machine_load_filament_time": "86",
|
||||
"machine_min_extruding_rate": "0,0",
|
||||
|
||||
@@ -162,7 +162,8 @@
|
||||
"fan_speedup_overhangs": "1",
|
||||
"fan_speedup_time": "0",
|
||||
"high_current_on_filament_swap": "0",
|
||||
"host_type": "octoprint",
|
||||
"host_type": "crealityprint",
|
||||
"printer_agent": "crealityprint",
|
||||
"machine_LED_light_exist": "1",
|
||||
"machine_load_filament_time": "86",
|
||||
"machine_min_extruding_rate": "0,0",
|
||||
|
||||
Reference in New Issue
Block a user