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

[FR] Possibility of replaying lost moves due to clog? #60

Open
thisiscam opened this issue May 24, 2023 · 6 comments
Open

[FR] Possibility of replaying lost moves due to clog? #60

thisiscam opened this issue May 24, 2023 · 6 comments
Labels
question Further information is requested

Comments

@thisiscam
Copy link
Contributor

thisiscam commented May 24, 2023

When I ERCF run into a clog, I can manually declog and resume the print. But the last few mms of extrusion will be lost due to clogging.
I would love the possibility to analyze the running gcode file and trace back a few lines and restart at where the clog might have happened.

@moggieuk
Copy link
Owner

moggieuk commented Jun 5, 2023

That is certainly advanced! It would be difficult to know how far to replay. There is a delay between clog and when it is detected. The clog detection length (which is kept as short as possible with the auto tuning) is the trigger point. In theory this gives an approximation of how far to go back in history. Arguably this would be better than a "gap" in the print but it would equally as well lead to "double printing"... hmmm

@thisiscam
Copy link
Contributor Author

That is certainly advanced! It would be difficult to know how far to replay. There is a delay between clog and when it is detected. The clog detection length (which is kept as short as possible with the auto tuning) is the trigger point. In theory this gives an approximation of how far to go back in history. Arguably this would be better than a "gap" in the print but it would equally as well lead to "double printing"... hmmm

Yup might be difficult and might need to somehow hook into klipper. But usually double printing will be ok --- it's not as good as a successful print, But likely reduces chance of spaghetti and missing lines due to lost moves

@Surion79
Copy link
Contributor

Surion79 commented Jun 15, 2023

Clogs must not only be massive 'blocks' at a exact point of time. It could also result in bad print quality before clog has been triggered.
And clog is not always clog. Could also be that the spool/filament has some major friction. So a clog is not necessarily a real clog.
So identifying what has happened and how to or whether to replay will be a challenge.

@thisiscam
Copy link
Contributor Author

Clogs must not only be massive 'blocks' at a exact point of time. It could also result in bad print quality before clog has been triggered.
And clog is not always clog. Could also be that the spool/filament has some major friction. So a clog is not necessarily a real clog.
So identifying what has happened and how to or whether to replay will be a challenge.

Maybe could let the user decide whether to roll back, or how much to roll back? AFAIK, the user must intervene after a clog anyway, and one could have replayed the lost gcode manually. I'd propose to make that process less tedious.

@Surion79
Copy link
Contributor

I agree, that a user must be able to decide what to do after a clog pause regarding replayability.

@moggieuk
Copy link
Owner

moggieuk commented Sep 4, 2023

It feels like this is beyond the current scope of the Happy Hare project. It is certainly something to experiment with, but ideally it would be visual .. perhaps the gcode visualization in Mainsail... "rewind to this point and restart" kind of functionality.

@moggieuk moggieuk added the question Further information is requested label Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants