From 8b34dc534482cdbbd44038c9cfa38b3f4b187761 Mon Sep 17 00:00:00 2001 From: timschneider Date: Wed, 29 Jul 2026 13:26:59 +0200 Subject: [PATCH] Meltingplot: lift Z above the print before the end macro Add a G90 / G1 Z{min(max_layer_z + 5, printable_height)} F600 move at the start of machine_end_gcode, before M98 print_end shuts the printer down and parks it. Besides clearing the part, the explicit Z coordinate lets the Duet file-info parser pick up the object height. --- resources/profiles/Meltingplot/machine/fdm_machine_common.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/profiles/Meltingplot/machine/fdm_machine_common.json b/resources/profiles/Meltingplot/machine/fdm_machine_common.json index c2e2bf0a6a..91e50b9039 100644 --- a/resources/profiles/Meltingplot/machine/fdm_machine_common.json +++ b/resources/profiles/Meltingplot/machine/fdm_machine_common.json @@ -63,7 +63,7 @@ "default_print_profile": "", "change_filament_gcode": "", "machine_pause_gcode": "M226", - "machine_end_gcode": "M98 P\"0:/sys/meltingplot/print_end\"", + "machine_end_gcode": "G90\nG1 Z{min(max_layer_z + 5, printable_height)} F600\nM98 P\"0:/sys/meltingplot/print_end\"", "layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]", "before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n;[layer_z]\n" }