Replies: 2 comments 2 replies
-
Sounds great! I would suggest adding the m300 (beep) to the options. i find it very useful when running a m600 in a middle of the print and im not in the same room. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I have an implementation of the event system up on the status branch. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm thinking about adding a status system, to handle LEDs and other longtail cases that otherwise would require their own special-purpose customization. This would be similar to the layer system, but instead of firing off gcode on layer changes they would be fired on printer status changes.
As a broad sketch of how this could work, there would be something like a
SET_STATUS_EVENT
macro which would accept a macro and a status label. The macro would then be called when the status changes to the specified version, with the old status and new status passed as arguments (which the macro can choose to ignore). And you'd configure all of these status events by just calling the event registrations from the_km_options
gcode so it gets run at startup, which would look something like this:I'm thinking of the following statuses (which I've mostly cribbed from other sources) I'd like to hear about any I might have missed:
Beta Was this translation helpful? Give feedback.
All reactions