Trouble with [save_variables] on 2.0
In previous ratOS I had a couple of macros for adjusting my z-offset between smooth and textured plate using a variables.stb file. I just upgraded to 2.0 and am getting errors when trying to use the macros.
My macros are as follows:
and the variables.stb file is simple:
The error I get when trying to select my plate is:
Any help would be great! Or if there is a better build in way to do this now that would be awesome too!
3 Replies
That's because save variables doesn't work unless the file is present on the system. Just create variables.stb in /home/pi/printer_data/config/variables.stb, and change the filename under [save_variables] to reflect the path. That path was never valid in the first place.
ie you want:
Ah I did have the variables.stb present in the config folder but yes I had the directory wrong. I have changed the path under [save_variables] and it works! Thanks for the quick fix!
you're welcome! 🙂