diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-05-25 12:33:01 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-05-25 12:40:06 -0400 |
commit | c38a63d4db592177c86046e76d512c9e2a55955b (patch) | |
tree | ca1958ee1fb7a72d4f3276a24e8fff1b1c8eb0ab /config/example-extras.cfg | |
parent | 29946383809bf79e521c3e33b276499842092915 (diff) | |
download | kutter-c38a63d4db592177c86046e76d512c9e2a55955b.tar.gz kutter-c38a63d4db592177c86046e76d512c9e2a55955b.tar.xz kutter-c38a63d4db592177c86046e76d512c9e2a55955b.zip |
gcode_macro: Add the ability to define custom g-code macros
Add the ability to add a custom g-code command that in turn executes
one or more configured 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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg index dd2c3b3f..b849b4c2 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -582,6 +582,14 @@ # measurements must be provided. +# G-Code macros (one may define any number of sections with a +# "gcode_macro" prefix). +#[gcode_macro my_cmd] +#gcode: +# A list of G-Code commands (one per line) to execute in place of +# "my_cmd". This parameter must be provided. + + # Replicape support - see the generic-replicape.cfg file for further # details. #[replicape] |