at the Moment I'm running a modified firmware on my Duet2, which call's a macrofile (firstLayer.g) when the first Layer is finished. Maybe we can get offical support for that? So I don't have to patch my firmware again and again with every new release and it is maybe useful for some other users as well?
But what the hell this is used for?
I'm using this to setup printing-speeds/temperatures based on my loaded Filament. From the config.g of my filament I'm writing to start.g and firstLayer.g. In start.g I'm setting up printspeed's, bed- and hotend-temperature for the first layer, which I'm printing usually a little bit hotter and slower. When the first layer is finished, my firstLayer.g is called. and from there it sets new speeds, temperatures and also enables the cooling fan(if needed).
I basically strip all temperature related command's from my slicer's gcode so I don't have to slice model's again when I have to print them from another material.
I also have a Macro to disable that behavior, just in case I need Slicer-temperature-support, for e.g. a Temp-tower.
Let me know what you think? Could this be useful for you?