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

Change tool recovery #59

Merged
merged 3 commits into from
Oct 6, 2024

Conversation

ammmze
Copy link
Contributor

@ammmze ammmze commented Oct 6, 2024

These changes should help with less than ideal tool changes. In particular, I am testing on a setup without a cutter, so it relies on tip forming. The primary issue with tip forming is that the tips are inconsistent due to differences in temp, material, and whether you are looking at your printer funny. Because tips are inconsistent, it makes tool changes less reliable. These changes help with that in a few ways:

  1. Configurable park distance so that you can have the filament parked further behind the hub (I'm using 30mm, but defaulting to 10mm for now).
  2. Ensure the print is paused when something unexpected happens during a tool change.
  3. Save the position of the toolhead (most important the Z position) at the start of the tool change and provide a way to restore that position when resuming. This requires the user updates the RESUME macro to call RESTORE_CHANGE_TOOL_POS.

With these changes I've successfully been able to do a test print doing 10 swaps and when it inevitably fails to do a tool change, I was able to recover and resume successfully.

ammmze added 3 commits October 6, 2024 11:12
In order to recover printing after a failure during a tool change we need to know the toolhead position before starting the tool change. This change will save the position at the start of the tool change and then provides a macro (`RESTORE_CHANGE_TOOL_POS`) that can be invoked at the end of your `RESUME` macro to restore that position.
Can help with some variance in the filament tip potentially blocking. Recommend increasing the park distance if using tip forming.
@MG-longshot MG-longshot merged commit 11640a7 into ArmoredTurtle:DEV Oct 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants