r/OrcaSlicer • u/arcdragon2 • 3h ago
Fix my broken code please.
Made this to help with parts warping. It is supposed to stage a cooldown instead of just turning everything off. I put it in the "Filament end G-code" section for the Filament profile that I use for ASA-CF Black profile.
It won't post messages to Orcaslicers Console and indeed it won't even start when the print is done!
; --- Standard End G-code prints finish here ---
M117 Starting slow cooldown...
RESPOND MSG="Starting slow cooldown..."
; Step 1: Drop bed to 90C and hold for 10 minutes
M191 S60
M140 S90 ; Set bed to 90C
M104 S150 ; Drop nozzle to a safe 150C so it doesn't cook filament
M190 S90 ; Wait for bed to reach 90C
G4 P600000 ; Dwell for 600,000 milliseconds (10 minutes)
; Step 2: Drop bed to 70C and hold for 10 minutes
M140 S70
M190 S70
G4 P600000
; Step 3: Drop bed to 50C and hold for 5 minutes
M191 S50 ; drops chamber temperature to 50C
M140 S50
M190 S50
G4 P30000
; Step 4: Turn off all heaters completely
M140 S0 ; Turn off bed
M104 S0 ; Turn off nozzle
M106 S0 ; Turn off print cooling fan
M141 S0 ; Turn off chamber heater
M117 Cooldown complete.
RESPOND MSG="Cooldown complete."





