From cc8d9dd1385e389631d7968dce25bf65eb1bb8c9 Mon Sep 17 00:00:00 2001 From: Tim Nolte Date: Sun, 16 Nov 2025 15:56:03 -0500 Subject: [PATCH] fix(ECC): Fixes incorrect Pause & Change Filament configuration for the Elegoo Centauri Carbon - Changes to use the ECC `PAUSE` macro to properly pause a print job without cutting and unloading the filament. - Turns of the `manual_filament_change` default setting as this prevent inserting the `M600` Change Filament gcode when a Change Filament at specific layer is used. - Removes redundant appearance of Change Filament & Pause gcode in child presets instead of using the higher level inheritence. --- .../machine/ECC/Elegoo Centauri Carbon 0.4 nozzle.json | 4 +--- resources/profiles/Elegoo/machine/ECC/fdm_machine_ecc.json | 7 ++----- .../Elegoo/machine/ECC/fdm_machine_ecc_common.json | 7 ++++--- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/resources/profiles/Elegoo/machine/ECC/Elegoo Centauri Carbon 0.4 nozzle.json b/resources/profiles/Elegoo/machine/ECC/Elegoo Centauri Carbon 0.4 nozzle.json index 11bbd3bb49..cef413e591 100644 --- a/resources/profiles/Elegoo/machine/ECC/Elegoo Centauri Carbon 0.4 nozzle.json +++ b/resources/profiles/Elegoo/machine/ECC/Elegoo Centauri Carbon 0.4 nozzle.json @@ -49,9 +49,7 @@ "scan_first_layer": "1", "upward_compatible_machine": [], "gcode_flavor": "klipper", - "change_filament_gcode": "M600", "layer_change_gcode": "SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}", - "machine_pause_gcode": "M600", "machine_start_gcode": ";;===== date: 20240520 =====================\n;printer_model:[printer_model]\n;initial_filament:{filament_type[initial_extruder]}\n;curr_bed_type:{curr_bed_type}\nM400 ; wait for buffer to clear\nM220 S100 ;Set the feed speed to 100%\nM221 S100 ;Set the flow rate to 100%\nM104 S140\nM140 S[bed_temperature_initial_layer_single]\nG90\nG28 ;home\nM729 ;Clean Nozzle\nM106 P2 S255\nM190 S[bed_temperature_initial_layer_single]\nM106 P2 S0\n\n\n;=============turn on fans to prevent PLA jamming=================\n{if filament_type[initial_no_support_extruder]==\"PLA\"}\n {if (bed_temperature[initial_no_support_extruder] >50)||(bed_temperature_initial_layer[initial_no_support_extruder] >50)}\n M106 P3 S255\n {elsif (bed_temperature[initial_no_support_extruder] >45)||(bed_temperature_initial_layer[initial_no_support_extruder] >45)}\n M106 P3 S180\n {endif};Prevent PLA from jamming\n{endif}\n\n;enable_pressure_advance:{enable_pressure_advance[initial_extruder]}\n;This value is called if pressure advance is enabled\n{if enable_pressure_advance[initial_extruder] == \"true\"}\nSET_PRESSURE_ADVANCE ADVANCE=[pressure_advance] ;\nM400\n{endif}\nM204 S{min(20000,max(1000,outer_wall_acceleration))} ;Call exterior wall print acceleration\n\n\nG1 X{print_bed_max[0]*0.5} Y-1.2 F20000\nG1 Z0.3 F900\nM109 S[nozzle_temperature_initial_layer]\nM83\nG92 E0 ;Reset Extruder\nG1 F{min(6000, max(900, filament_max_volumetric_speed[initial_no_support_extruder]/0.5/0.3*60))} \nG1 X-1.2 E10.156 ;Draw the first line\nG1 Y98.8 E7.934\nG1 X-0.5 Y100 E0.1\nG1 Y-0.3 E7.934\nG1 X{print_bed_max[0]*0.5-50} E6.284\nG1 F{0.2*min(12000, max(1200, filament_max_volumetric_speed[initial_no_support_extruder]/0.5/0.3*60))} \nG1 X{print_bed_max[0]*0.5-30} E2\nG1 F{min(12000, max(1200, filament_max_volumetric_speed[initial_no_support_extruder]/0.5/0.3*60))} \nG1 X{print_bed_max[0]*0.5-10} E2\nG1 F{0.2*min(12000, max(1200, filament_max_volumetric_speed[initial_no_support_extruder]/0.5/0.3*60))} \nG1 X{print_bed_max[0]*0.5+10} E2\nG1 F{min(12000, max(1200, filament_max_volumetric_speed[initial_no_support_extruder]/0.5/0.3*60))} \nG1 X{print_bed_max[0]*0.5+30} E2\nG1 F{min(12000, max(1200, filament_max_volumetric_speed[initial_no_support_extruder]/0.5/0.3*60))} \nG1 X{print_bed_max[0]*0.5+50} E2\n;End PA test.\n\n\nG3 I-1 J0 Z0.6 F1200.0 ;Move to side a little\nG1 F20000\nG92 E0 ;Reset Extruder\nSET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]\n;LAYER_COUNT:[total_layer_count]\n;LAYER:0", "machine_end_gcode": ";===== date: 20250109 =====================\nM400 ; wait for buffer to clear\nM140 S0 ;Turn-off bed\nM106 S255 ;Cooling nozzle\nM83\nG92 E0 ; zero the extruder\nG2 I1 J0 Z{max_layer_z+0.5} E-1 F3000 ; lower z a little\nG90\n{if max_layer_z > 50}G1 Z{min(max_layer_z+50, printable_height+0.5)} F20000{else}G1 Z100 F20000 {endif}; Move print head up \nM204 S5000\nM400\nM83\nG1 X202 F20000\nM400\nG1 Y250 F20000\nG1 Y264.5 F1200\nM400\nG92 E0\nM104 S0 ;Turn-off hotend\nM140 S0 ;Turn-off bed\nM106 S0 ; turn off fan\nM106 P2 S0 ; turn off remote part cooling fan\nM106 P3 S0 ; turn off chamber cooling fan\nM84 ;Disable all steppers" -} \ No newline at end of file +} diff --git a/resources/profiles/Elegoo/machine/ECC/fdm_machine_ecc.json b/resources/profiles/Elegoo/machine/ECC/fdm_machine_ecc.json index 8468e640cb..ae00d958c8 100644 --- a/resources/profiles/Elegoo/machine/ECC/fdm_machine_ecc.json +++ b/resources/profiles/Elegoo/machine/ECC/fdm_machine_ecc.json @@ -134,9 +134,6 @@ ], "thumbnails_format": "PNG", "nozzle_type": "brass", - "single_extruder_multi_material": "1", "machine_end_gcode": ";===== date: 20240510 =====================\nM400 ; wait for buffer to clear\nG92 E0 ; zero the extruder\nG1 E-0.8 F1800 ; retract\nG1 Z{max_layer_z + 0.5} F900 ; lower z a little\nG1 X65 Y245 F12000 ; move to safe pos \nG1 Y245 F3000\n\nG1 X65 Y245 F12000\nG1 Y245 F3000\nM140 S0 ; turn off bed\nM106 S0 ; turn off fan\nM106 P2 S0 ; turn off remote part cooling fan\nM106 P3 S0 ; turn off chamber cooling fan\n", - "layer_change_gcode": ";LAYER:{layer_num+1}\n", - "change_filament_gcode": "", - "machine_pause_gcode": "M600" -} \ No newline at end of file + "layer_change_gcode": ";LAYER:{layer_num+1}\n" +} diff --git a/resources/profiles/Elegoo/machine/ECC/fdm_machine_ecc_common.json b/resources/profiles/Elegoo/machine/ECC/fdm_machine_ecc_common.json index 1f1d315812..24af7a6945 100644 --- a/resources/profiles/Elegoo/machine/ECC/fdm_machine_ecc_common.json +++ b/resources/profiles/Elegoo/machine/ECC/fdm_machine_ecc_common.json @@ -111,6 +111,7 @@ "cooling_tube_retraction": "90", "parking_pos_retraction": "90", "single_extruder_multi_material": "1", + "manual_filament_change": "0", "support_air_filtration": "0", "wipe": [ "1" @@ -123,8 +124,8 @@ "layer_change_gcode": "", "machine_start_gcode": "", "machine_end_gcode": "", - "change_filament_gcode": "", + "change_filament_gcode": "M600", + "machine_pause_gcode": "PAUSE", "purge_in_prime_tower": "0", - "manual_filament_change": "1", "enable_filament_ramming": "0" -} \ No newline at end of file +}