Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Major Changes in this PR
This pull adds support for PURGE_LENGTH to a change.
If PURGE_LENGTH is not supplied it will not parse one, so will use the default amount.
in Orca your change filament code to support this would now be:
T[next_extruder] PURGE_LENGTH=[flush_length]
Notes to Code Reviewers
Sundee on discord for any questions.
I'm not the best at coding, so interested to hear if you have ideas on how to improve this. Some of this was taken from some work done by another user that has since moved on.
How the changes in this PR are tested
I have been running this on my machine with over 1000+ filament changes now.
I have not updated change log so you can update it if this is merged.