I added to my fork an option in configuration.h to move to a given location after a G28 or G29 command. This lets me do a G28 and home to the center of the bed in case I put tape down to print on PLA, using Z_SAFE_HOMING and then have the head move back to 0,0,10 to finish waiting for the hotend to heat up. This keeps any dripping during the heating off the center of the bed.

To use set the following in configuration.h


// Move somewhere after G28 or G29 is finished
#define MOVEAFTERHOME
#ifdef MOVEAFTERHOME
#define X_MOVEAFTERHOME 0
#define Y_MOVEAFTERHOME 0
#define Z_MOVEAFTERHOME 10
#endif

The code can be found at: https://github.com/mjwaxios/Marlin/tree/MoveAfterHome
Changes are to configuration.h and Marlin_main.cpp