Any Gcode starts here?

Any Gcode starts here?
I would like my printer to take a break during large prints to let the Y-Stepper and Extruder Stepper to cool down a bit.
Have any of You done such a thing before? or know how to do it?

KISSlicer lets you run a given command every n layers. Should be easy to throw in a pause at whatever interval you think necessary.

That sounds like a good idea but it may not be good in practice. Stepper motors have current going through them to allow them to keep their position. The only way to cool them is to power them down. When that happens you may have some slippage and it will cause an offset in the following layers. You definitely do not want to do this to the Z motor. Perhaps an inexpensive heat sink on the motors would be more effective, less prone to reducing print quality and faster than pausing.

What Patrick Ryan said. Insert a G4 Pxxx command where xxx is the wait time in milliseconds. I suggest you put a G0 move command in before that to move the head into an empty area in order to avoid the print head oozing on or melting the part. You’ll also need to prime the nozzle before starting again.

Heatsinks or fan cooling of the stepper is a better way of solving this as @Wylie_Hilliard says. Might also be worth tweeking down the current to both steppers if they are getting too hot. The extruder in particular shouldnt be overheating unless your using a massive nozzle diameter or printing crazy fast.

I use G28 while specifying the XYZ location or you can use G30. This will bring you to home position.

This might help you out a little.

I just attavhed a small heatsink and a fan to my extruder. It doesn’t even get warm anymore. (I used to burn my fingers on it)

Thanks so much everyone. Yes, I’ve attached some heat sinks. And I’m starting to get somewhere with gcode. At least I can now restart failed prints more or less where they left off now.