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] Use Firmware Retraction before "Stop Print" function #16406

Closed
qwewer0 opened this issue Jan 1, 2020 · 9 comments
Closed

[FR] Use Firmware Retraction before "Stop Print" function #16406

qwewer0 opened this issue Jan 1, 2020 · 9 comments

Comments

@qwewer0
Copy link
Contributor

qwewer0 commented Jan 1, 2020

Description

Marlin could have an option in Configuration_adv.c to apply the Firmware Retraction when the "Stop Print" is pressed in the LCD menu.

Feature Workflow

Just a little change to the "Stop Print" function.
If Firmware Retraction is enabled, than before it turns off the heating and would park the printer, it could use the Firmware Retraction value first, than do the usual.
It would not leave a string behind the nozzle, and would not ooze.

@Lord-Quake
Copy link
Contributor

Lord-Quake commented Jan 1, 2020

Have you tried it with this option in Configuration_adv.c (example):

#define EVENT_GCODE_SD_STOP "G1 E-1\nG27" // Retract 1mm of filament then park extruder

@qwewer0
Copy link
Contributor Author

qwewer0 commented Jan 1, 2020

Will work for my problem, thanks.

@qwewer0 qwewer0 closed this as completed Jan 1, 2020
@pmjdebruijn
Copy link
Contributor

pmjdebruijn commented Jan 1, 2020

Say for example an Ender3 you'd want something like this:

#define NOZZLE_PARK_FEATURE
#define NOZZLE_PARK_POINT { 5, 175, 100 }
#define EVENT_GCODE_SD_STOP "G1 E-3 F3600\nG27 P2"

Specifically mind the G27 P2

@qwewer0
Copy link
Contributor Author

qwewer0 commented Jan 1, 2020

Would it work with #define EVENT_GCODE_SD_STOP "G10\nG27 P2", if firmware retraction is enabled?

@pmjdebruijn
Copy link
Contributor

I've never used firmware based retraction, so I don't know, however doing some brief googling would seems to suggest you might be right.

@pmjdebruijn
Copy link
Contributor

The other consideration is whether you want to retract the same amount at the end of a print, as opposed to during printing, since that might not per-se be the case.

@qwewer0
Copy link
Contributor Author

qwewer0 commented Jan 1, 2020

I will try it out, and will tell the outcome.

@qwewer0
Copy link
Contributor Author

qwewer0 commented Jan 1, 2020

For the first test it works great.

#define NOZZLE_PARK_POINT { 0, (Y_MAX_POS - 10), 20 }
#define EVENT_GCODE_SD_STOP "G10\nG27 P2\nM84"

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants