From 16fefc72ef38ad4ee48247525a2b6e019f6233d2 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 12 Mar 2026 14:13:16 +0000 Subject: [PATCH] Add optimized PRINT_END_NOCCI macro (hybrid version) Combined best features from printer.cfg PRINT_END and custom version: From printer.cfg: - END_TUNE beeper jingle - Park position X0 Y315 (better visibility) From custom version: - Detailed console/LCD messages - M84 to disable steppers - Higher Z-park (10mm) - Both Frame_Light and Part_Light OFF - Filament sensors disabled Usage: Call PRINT_END_NOCCI in slicer end gcode --- CHANGES.md | 17 +++++++++++++ optimized_user_settings.cfg | 50 ++++++++++++++++++------------------- 2 files changed, 42 insertions(+), 25 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index e30ea18..83080e1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -104,6 +104,23 @@ gcode: - Verify Cartographer Touch Home runs - Monitor temperature wait times +## 🔄 PRINT_END_NOCCI Update: + +The optimized `PRINT_END_NOCCI` macro combines the best of both worlds: + +**From printer.cfg:** +- ✅ `END_TUNE` beeper jingle +- ✅ Park position `X0 Y315` (better print visibility) + +**From your custom version:** +- ✅ Detailed console/LCD messages +- ✅ `M84` to disable steppers +- ✅ Higher Z-park (10mm) +- ✅ Both lights turned off +- ✅ Filament sensors disabled + +**To use it:** Update your slicer's end gcode to call `PRINT_END_NOCCI` instead of `PRINT_END` + ## 🔧 What This Improves: - **Better Z accuracy** with Cartographer Touch Home diff --git a/optimized_user_settings.cfg b/optimized_user_settings.cfg index aa5e91e..3b213d8 100644 --- a/optimized_user_settings.cfg +++ b/optimized_user_settings.cfg @@ -199,31 +199,31 @@ gcode: ## PrusaSlicer/OrcaSlicer/SuperSlicer: PRINT_END ## Cura: PRINT_END -#[gcode_macro PRINT_END_NOCCI] -#gcode: -# M117 Turning off heaters and fans... ; broadcast message on LCD screen -# RESPOND MSG="Shutdown heaters and fans..." ; broadcast message in console -# M400 ; wait for buffer to clear -# TURN_OFF_HEATERS ; Turn off heaters -# G92 E0 ; reset extruder -# G91 ; relative positioning -# G1 E-2 F2700 ; retract a bit -# G1 X5 Y5 F3000 ; wipe out -# G1 E-2 Z0.2 F1600 ; retract and raise Z -# M117 Presenting print... ; broadcast message on LCD screen -# RESPOND MSG="Presenting print..." ; broadcast message in console -# G1 Z10 F3000 ; move nozzle up 10mm -# G90 ; absolute positioning -# G1 X10 Y325 ; park nozzle at rear, present print -# M107 ; turn off fan -# #Frame_Light_OFF -# Part_Light_OFF -# # G1 Z20 F3000 ; move nozzle up 20mm -# # G0 X0 Y220 F3600 ; park nozzle at rear -# #SAVE_IF_SET ; SAVE_CONFIG if a mesh was probed in START_PRINT -# M84 ; disable motors -# M117 Done... Have a nice day!!! ; broadcast message on LCD screen -# RESPOND MSG="Done... Have a nice day!!!" ; broadcast message in console +[gcode_macro PRINT_END_NOCCI] +description: Optimized PRINT_END with better user feedback +gcode: + M117 Finishing print... ; LCD message + RESPOND MSG="Print completed! Finishing up..." + + M400 ; Wait for buffer to clear + TURN_OFF_HEATERS ; Turn off all heaters + G92 E0 ; Reset extruder + G91 ; Relative positioning + G1 E-2 F2700 ; Retract filament + G1 X5 Y5 F3000 ; Wipe nozzle + G1 E-2 Z0.2 F1600 ; Retract and lift Z + G1 Z10 F3000 ; Raise Z more (total ~10mm) + G90 ; Absolute positioning + G1 X0 Y315 F3000 ; Present print (Neptune 4 Plus) + M107 ; Turn off part fan + Frame_Light_OFF ; Turn off frame light + Part_Light_OFF ; Turn off part light + SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0 + SET_FILAMENT_SENSOR SENSOR=filament_motion ENABLE=0 + M84 ; Disable all steppers + END_TUNE ; Play completion jingle + M117 Done! Have a nice day! :) ; Final LCD message + RESPOND MSG="Print complete! You can remove your print now." ####################################################################### ## Start Macro