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 KlipperPrintStats script [PostProcessingPlugin] #18402

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

subdancer
Copy link

Description

KlipperPrintStats is a script for the PostProcessingPlugin.
This script will pass slicer info (current layer and total layers) to klipper and the moonraker api.
See https://www.klipper3d.org/G-Codes.html?h=set_print_stats_info#set_print_stats_info
It's also possible to add M117, M118 or even custom commands including variables (see below).

  • Available variables:
    ;current_layer;, ;z_height;, ;total_layers;, ;remaining_layers;, ;layer_height;, ;remaining_seconds;,
    ;elapsed_seconds;, ;total_seconds;, ;total_time;, ;total_time_formated;, ;elapsed_time;,
    ;elapsed_time_formated;, ;remaining_time;, ;remaining_time_formated;

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Tested and working nicely

Test Configuration:

  • Operating Systems:
    • Linux + Windows

Checklist:

@github-actions github-actions bot added the PR: Community Contribution 👑 Community Contribution PR's label Feb 22, 2024
@saumyaj3 saumyaj3 added the PR: Post Processing ➕ Like adding beeps, more tunability or different Gcode pause at heights label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Community Contribution 👑 Community Contribution PR's PR: Post Processing ➕ Like adding beeps, more tunability or different Gcode pause at heights
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants