Skip to content
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: Jinja Config 'Variables' #342

Open
lraithel15133 opened this issue Aug 5, 2024 · 0 comments
Open

Feature Request: Jinja Config 'Variables' #342

lraithel15133 opened this issue Aug 5, 2024 · 0 comments

Comments

@lraithel15133
Copy link
Contributor

It would be cool if we could do expressions such as:

[global_variables]
var_home_current = 1.0

[tmcXXXX stepper_x]
home_current = {var_home_current}

or maybe simply

home_current = var_home_current

The usecase for this is just so you can easily change a single variable in the config (either one thats repeated, or just annoying to access), similar to how you can change gcode variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant