variable_nozzle_prime_direction variable error!

was updating some RatOS macro configurations,,,,using https://rat-os.vercel.app/docs/configuration/macros as a ref..... one variable keeps erroring out (restart failure error message..invalid variable) than last line "direction' keeps coming back as an invalid variable?
Configuring RatOS Macros | RatOS
RatOS comes with a bunch of flexible predefined macro's that can be customized via variables. In your printer.cfg at the bottom of the Macro's section, you'll notice this:
No description
12 Replies
8Complex
8Complex•2y ago
looks like it needs to be uncommented and set to either "forwards" or "backwards" for the macro to function at all
8Complex
8Complex•2y ago
GitHub
RatOS-configuration/macros.cfg at v2.x · Rat-OS/RatOS-configuration
The RatOS modular klipper configuration. Contribute to Rat-OS/RatOS-configuration development by creating an account on GitHub.
ptegler
pteglerOP•2y ago
I commented it out as it keeps erroring out when I tried to add it. I was changing from prime line to blob. I left it commented out for the sreen cap to show the order of the statments in case it might be part of the issue with it kicking an error state
8Complex
8Complex•2y ago
GitHub
RatOS-configuration/macros.cfg at v2.x · Rat-OS/RatOS-configuration
The RatOS modular klipper configuration. Contribute to Rat-OS/RatOS-configuration development by creating an account on GitHub.
miklschmidt
miklschmidt•2y ago
forwards, backwards or auto like it says. Yeah. Yeah you need to quote the string ie variable_nozzle_prime_direction: "backwards"
8Complex
8Complex•2y ago
I'm sure you're right but I just don't see it... where does it handle 'auto' ? It looks like the macros themselves only handles forwards/backwards
miklschmidt
miklschmidt•2y ago
It doesn't explicitly handle auto, it explicitly handles "backwards" and "forwards". You could call it "unicornfarts" and it would behave the same as "auto". It just needs to be defined.
8Complex
8Complex•2y ago
Ahhhhh, I see it above, handling it during the nozzle_prime_start_y and the section I pointed out just re-sets it if it matches those two options. I just may have to set everything like this to 'unicornfarts' in my settings now though 🤣
miklschmidt
miklschmidt•2y ago
much recommended, until i actually start checking for the strings i list in the doc 😂
ptegler
pteglerOP•2y ago
tnx. Interesting that this variable needs quotes as no others do?
miklschmidt
miklschmidt•2y ago
all string variables should be quoted
ptegler
pteglerOP•2y ago
dooohl! yep 🤪
Want results from more Discord servers?
Add your server