klippain icon indicating copy to clipboard operation
klippain copied to clipboard

Add the Pause at Layer Functionality for Mainsail

Open Elias23 opened this issue 1 year ago • 2 comments

Describe the feature or hardware support you'd like

I'd love to see pause at layer functionality from mainsail to be integrated into klippain. https://github.com/mainsail-crew/mainsail-config#new-feature-pause-at-next-layer-and-pause-at-layer-

Additional context or information

No response

Elias23 avatar Apr 29 '24 21:04 Elias23

what/where exactly should that be implemented? I only see slicer config, where we have already in klippain the set_print_stats macro call. The on layer change is slicer only and the calls for the pause layer are manual gcode calls. We could rename them, but whats the point in that? Please explain a bit more :) Thanks!

Surion79 avatar May 09 '24 18:05 Surion79

@Surion79 As I understand it, there is a new option in mainsail to schedule pauses while printing for either the next layer change or at a certain layer. It requires, as far as I know, the slicer config you mentioned plus 2 new macros(SET_PAUSE_NEXT_LAYER and SET_PAUSE_AT_LAYER) and a redefinition of the SET_PRINT_STATS_INFO macro. New GUI option: image Feature in action via overrides: image I assume it would be pretty straight forward to add those macros to klippain, but I might be missing something there.

Elias23 avatar May 10 '24 20:05 Elias23

i created a PR to check. i added the functions as described in the linked repo

Surion79 avatar Jun 20 '24 15:06 Surion79

Thank you very much.

Elias23 avatar Jun 24 '24 18:06 Elias23