diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-11-16 11:44:21 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-11-16 11:45:30 -0500 |
commit | d93e21fe67d3176add9b43d21adbb806d6cadc9b (patch) | |
tree | 9ff5b1e4e6dccfb9e692384a65f42179da04e740 /docs/Config_Changes.md | |
parent | 5dcc377cdeab65413e0eb0dd1d04a6e2a3467c86 (diff) | |
download | kutter-d93e21fe67d3176add9b43d21adbb806d6cadc9b.tar.gz kutter-d93e21fe67d3176add9b43d21adbb806d6cadc9b.tar.xz kutter-d93e21fe67d3176add9b43d21adbb806d6cadc9b.zip |
docs: Expand on default_parameter_X conversion in Config_Changes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/Config_Changes.md')
-rw-r--r-- | docs/Config_Changes.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md index 13c4da5e..900aad82 100644 --- a/docs/Config_Changes.md +++ b/docs/Config_Changes.md @@ -71,9 +71,11 @@ the near future. 20210503: The gcode_macro `default_parameter_<name>` config option is deprecated. Use the `params` pseudo-variable to access macro parameters. Other methods for accessing macro parameters will be -removed in the near future. See the -[Command Templates document](Command_Templates.md#macro-parameters) -for examples. +removed in the near future. Most users can replace a +`default_parameter_NAME: VALUE` config option with a line like the +following in the start of the macro: ` {% set NAME = +params.NAME|default(VALUE)|float %}`. See the [Command Templates +document](Command_Templates.md#macro-parameters) for examples. 20210430: The SET_VELOCITY_LIMIT (and M204) command may now set a velocity, acceleration, and square_corner_velocity larger than the |