Custom script on layer time required
Is it possible to run a macro or custom Gcode if the layer time is below a certain time?
RE: Custom script on layer time required
Looking at the PrusaSlicer configuration under Filament Settings, uner Cooling, there are options to adjust cooolign based on tresholds (section at the bottom),
when you move mouse over the fields there is a description and 'parameter name', which shows variable which represent given parameter. ( https://help.prusa3d.com/article/list-of-placeholders_205643)
So you probably could use conditional to check for example 'fan_below_layer_time' or 'slowdown_below_layer_time' if set and then add custom code with if/else statements.
Would it work? no idea, would have to experiment with the macros and rendering gcodes.
See my GitHub and printables.com for some 3d stuff that you may like.