aboutsummaryrefslogtreecommitdiffstats
path: root/docs/G-Codes.md
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-01-26 13:26:14 -0500
committerKevinOConnor <kevin@koconnor.net>2019-10-01 14:46:24 -0400
commit698159921f91a872c4eb7b5c66c3021d2dd26c4b (patch)
tree5abcc99c63fb0c628c5d4770b434200a66423fa8 /docs/G-Codes.md
parent1b8a007969603fd00959e525c94b1a41f93280d3 (diff)
downloadkutter-698159921f91a872c4eb7b5c66c3021d2dd26c4b.tar.gz
kutter-698159921f91a872c4eb7b5c66c3021d2dd26c4b.tar.xz
kutter-698159921f91a872c4eb7b5c66c3021d2dd26c4b.zip
tuning_tower: Tool for tuning parameters based on print Z height
This adds a testing tool that can run a command on each Z layer of a print. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/G-Codes.md')
-rw-r--r--docs/G-Codes.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/G-Codes.md b/docs/G-Codes.md
index cf5f2784..247a960a 100644
--- a/docs/G-Codes.md
+++ b/docs/G-Codes.md
@@ -160,6 +160,14 @@ The following standard commands are supported:
for calibrating a Z position_endstop config setting. See the
MANUAL_PROBE command for details on the parameters and the
additional commands available while the tool is active.
+- `TUNING_TOWER COMMAND=<command> PARAMETER=<name> START=<value>
+ FACTOR=<value> [BAND=<value>]`: A tool for tuning a parameter on
+ each Z height during a print. The tool will run the given COMMAND
+ with the given PARAMETER assigned to the value using the formula
+ `value = start + factor * z_height`. If BAND is provided then the
+ adjustment will only be made every BAND millimeters of z height - in
+ that case the formula used is `value = start + factor *
+ ((floor(z_height / band) + .5) * band)`.
- `SET_IDLE_TIMEOUT [TIMEOUT=<timeout>]`: Allows the user to set the
idle timeout (in seconds).
- `RESTART`: This will cause the host software to reload its config