Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional events for gcode execution #126

Closed
Faultier523 opened this issue Oct 13, 2022 · 2 comments
Closed

Add additional events for gcode execution #126

Faultier523 opened this issue Oct 13, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@Faultier523
Copy link

It would be cool to add a possibility for a script when a filament change is required, for example to automatically move to a position and eject the filament.

@smartin015
Copy link
Owner

smartin015 commented Oct 14, 2022

Agreed, that would be cool. I think I'll expose this after I've refactored script-running to be a bit more general, though... currently each script/event requires code and tests to be added in several places before they work. That's OK when there's only a couple scripts, but it seems like "on queue event, run script" is a recurring feature request :)

Edit: Per #124 we have another potential event-driven gcode script. I'll start a record here:

  • Run gcode on filament change required
  • Run gcode before starting print

@smartin015 smartin015 added the enhancement New feature or request label Oct 14, 2022
@smartin015 smartin015 changed the title Filament change Add additional events for gcode execution Oct 19, 2022
@smartin015
Copy link
Owner

With submission of #149, these events will be available to run scripts on in v2.3.0 - release ETA is probably some time in December.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants