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 ability to pass total print time in seconds via gcode placeholder #63

Open
markusastone opened this issue May 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@markusastone
Copy link

Hello!

I'd like the ability to have a placeholder in the gcode than can be replaced with the total print time in seconds, so that this can be used for macros etc in Klipper.

One such use case is for print farm automation, where the heated bed can be turned off ~5 minutes before a print finishes, so that the bed can begin cooling to release the part whilst the part is being finished, thus saving on 'downtime' between prints, waiting for the bed to cool before part ejection.

Presently, there is no way within Klipper to natively grab the total print time of a file within gcode, and I believe one of the best ways would be via this post-processing script.

Alternatively, if we can have a means of getting the estimated print time output in any other means that isn't the file's name, or a ; comment, would be greatly appreciated.

Cheers!

@dalegaard dalegaard added the enhancement New feature or request label Oct 27, 2024
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