mainsail-crew / mainsail

Mainsail is the popular web interface for managing and controlling 3D printers with Klipper.
https://docs.mainsail.xyz
GNU General Public License v3.0
1.68k stars 349 forks source link

Ability to save multiple entries via the "Pause at layer" dialog. #1945

Open miklschmidt opened 2 months ago

miklschmidt commented 2 months ago

Requested feature:

To further increase the utility of "Pause at layer" dialog (see: #1944), as extra "icing on the cake" so to speak, it could allow multiple entries, so you can set up a chain of gcode to be executed at arbitrary layer numbers. This would require changes to the mainsail klipper macros, changing the current state to a list of dicts with layer number and gcode to execute. Each layer change, loop through the list and look for "layer_num", execute in a FIFO manner.

Solves the following problem:

Further increases utility of the Pause at layer dialog.

Additional information:

No response