diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-02-12 20:34:20 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-02-12 20:42:03 -0500 |
commit | 9818055ac3fa0accdf117a9523a93abe0b2073ea (patch) | |
tree | fb8553c043a488817de93f62a03bf3b61837a7f7 /config/example-extras.cfg | |
parent | 0cfab84e1accf144a3844b602fcfb3e437ca3ef0 (diff) | |
download | kutter-9818055ac3fa0accdf117a9523a93abe0b2073ea.tar.gz kutter-9818055ac3fa0accdf117a9523a93abe0b2073ea.tar.xz kutter-9818055ac3fa0accdf117a9523a93abe0b2073ea.zip |
gcode_macro: Support overriding of builtin g-code commands
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example-extras.cfg')
-rw-r--r-- | config/example-extras.cfg | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 01ffeeac..d4013364 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -420,6 +420,13 @@ # can be changed at run-time using the SET_GCODE_VARIABLE command # (see docs/Command_Templates.md for details). Variable names may # not use upper case characters. +#rename_existing: +# This option will cause the macro to override an existing G-Code +# command, and the existing definition for the command will be +# renamed to the name provided here. This can be used to override +# builtin G-Code commands. Care should be taken when overriding +# commands as that can cause complex and unexpected results. The +# default is to not override an existing G-Code command. # Execute a gcode on a set delay. #[delayed_gcode my_delayed_gcode] |