kiauh
kiauh copied to clipboard
Multiple parameters in G-Code Shell Command Extension
Is your feature request related to a problem? Please describe
Not related to a problem.
Describe the solution you'd like
The G-Code Shell Command Extension is a great extension.
I would like to be able to use this extension to change the rotation_distance
setting from the console.
To do this, I have created a script that takes a new rotation_distance
value as an argument and replaces the rotation_distance
value in printer.cfg
.
The usage of this script is: sh change_rotation_distance.sh -x 40.2 -y 40.4 -z 8.4
With this script, I want to be able to change the setting by typing RUN_SHELL_COMMAND CMD=change_rotation_distance PARAMS=-x 40.5 -y 40.6 -z 8.7
at the Mainsail console. Therefore, we request the ability to specify multiple parameters.
Translated with www.DeepL.com/Translator (free version)
Describe alternatives you've considered
Access the Raspberry Pi via SSH and run sh change_rotation_distance.sh -x 40.2 -y 40.4 -z 8.4
.
However, if the work can be completed in the Mainsail console, the work will be easier than accessing via SSH, so we are making the above suggestion.
Translated with www.DeepL.com/Translator (free version)
Additional information
None.