-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Parameterised Macros #12
Comments
I just came here to ask if this was possible / post a feature request! My primary use case is to be able to selectively run parts of the script by sending a parameter. Another use case, if the variable can retain its value across macros, would be to set a printer name and then later use that to determine things like print temperature. |
I have 'parameters' working to an extent.
1.) I use OCTO300 to turn my flag 'false' and OCTO301 to turn my flag 'true'. (I have a lot of them)
G60 and G61 stores and restores X,Y,Z and F in current Marlin firmware. |
Have a perfect use case for this (https://community.octoprint.org/t/how-to-get-the-extruder-that-is-enabled-in-gcode-script-after-print-job-is-paused/57694/4?u=jneilliii) and potential idea for making the parameters available in other macros. If you were to use environment variables similar to GCode System Commands plugin, you could then do |
I am wondering if parameterized macros may be cool.
It would be like this:
And available in the macro like
I need to think of some example use-cases for this first, before developing it - let me know if you read this & think of something!
The text was updated successfully, but these errors were encountered: