aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Status_Reference.md
diff options
context:
space:
mode:
authorStefan Dej <meteyou@gmail.com>2022-10-05 21:02:28 +0200
committerGitHub <noreply@github.com>2022-10-05 15:02:28 -0400
commitb0ffb269d2ac8dc19ae6879d80718b8c60ab60de (patch)
tree5cbe91c7c1ba712a8b5ebcd20565e80f7514f566 /docs/Status_Reference.md
parenta2482d4f952e0ffd908e4381cae9e45ab1148773 (diff)
downloadkutter-b0ffb269d2ac8dc19ae6879d80718b8c60ab60de.tar.gz
kutter-b0ffb269d2ac8dc19ae6879d80718b8c60ab60de.tar.xz
kutter-b0ffb269d2ac8dc19ae6879d80718b8c60ab60de.zip
print_stats: add `SET_PRINT_STATS_INFO` G-Code for pass slicer variables to Klipper (#5726)
This adds a gcode command that can be used insight the slicer to pass the total layer count and current layer information. Signed-off-by: Stefan Dej <meteyou@gmail.com>
Diffstat (limited to 'docs/Status_Reference.md')
-rw-r--r--docs/Status_Reference.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/Status_Reference.md b/docs/Status_Reference.md
index 99d4f0f3..e6595ddb 100644
--- a/docs/Status_Reference.md
+++ b/docs/Status_Reference.md
@@ -330,8 +330,12 @@ The following information is available in the `print_stats` object
[virtual_sdcard](Config_Reference.md#virtual_sdcard) config section is
defined):
- `filename`, `total_duration`, `print_duration`, `filament_used`,
- `state`, `message`: Estimated information about the current print
- when a virtual_sdcard print is active.
+ `state`, `message`: Estimated information about the current print when a
+ virtual_sdcard print is active.
+- `info.total_layer`: The total layer value of the last `SET_PRINT_STATS_INFO
+ TOTAL_LAYER=<value>` G-Code command.
+- `info.current_layer`: The current layer value of the last
+ `SET_PRINT_STATS_INFO CURRENT_LAYER=<value>` G-Code command.
## probe