aboutsummaryrefslogtreecommitdiffstats
path: root/docs/G-Codes.md
diff options
context:
space:
mode:
authorPedro Lamas <pedrolamas@gmail.com>2025-01-31 11:00:16 +0000
committerKevinOConnor <kevin@koconnor.net>2025-02-02 18:52:02 -0500
commit8a2de5f23e0ffdd2ca88b78d1a99217e5132256a (patch)
tree7c98f8111caecadae86e60b6d88f948b8475f44b /docs/G-Codes.md
parent2c90c97ccd5ceb9b4071f95866160344f013a86f (diff)
downloadkutter-8a2de5f23e0ffdd2ca88b78d1a99217e5132256a.tar.gz
kutter-8a2de5f23e0ffdd2ca88b78d1a99217e5132256a.tar.xz
kutter-8a2de5f23e0ffdd2ca88b78d1a99217e5132256a.zip
save_variables: Check lowercase variable names
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Diffstat (limited to 'docs/G-Codes.md')
-rw-r--r--docs/G-Codes.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/G-Codes.md b/docs/G-Codes.md
index ff6182fa..78c1c74b 100644
--- a/docs/G-Codes.md
+++ b/docs/G-Codes.md
@@ -1201,8 +1201,9 @@ has been enabled.
#### SAVE_VARIABLE
`SAVE_VARIABLE VARIABLE=<name> VALUE=<value>`: Saves the variable to
-disk so that it can be used across restarts. All stored variables are
-loaded into the `printer.save_variables.variables` dict at startup and
+disk so that it can be used across restarts. The VARIABLE must be lowercase.
+All stored variables are loaded into the
+`printer.save_variables.variables` dict at startup and
can be used in gcode macros. The provided VALUE is parsed as a Python
literal.