Start sequence with KAMP for Elegoo OS Giga

I…I really appreciate the time you gift me. Thank you so so much! I’d buy you a drink if I could!

I have changed and added everything as you suggested and give it a go, but jinja2 doesn’t support bool. Neither does it boolean.

jinja2.exceptions.TemplateAssertionError: no filter named 'bool'

I’m not sure if that is due to me being forced to run an older version of Klipper (v7 something if I’m not mistaken; no way to check it as the .git directory got deleted when I tried to update🙄), but I found a post from a year ago which says the same.

Not having a boolean filter is a bit of a pain (especially when some might use 0 or 1 to indicate true/false). Jinja supports creating custom filters, but not inside templates: python - Embed custom filter definition into jinja2 template? - Stack Overflow

I thought about trying to add it manually, but decided against it as I will probably brake something.

I will try to swap the boolean operation with 0and 1 when I get to it and report back to finish the thread.

In the meantime I need to figure out a way to make adaptive meshing work properly, because right now, when loading the generated adaptive mesh, the printer adds the z-offset of the mesh to the z-offset from the limit switch to when the nozzle touches the bed (Elegoo proprietary klipper nonsense). So instead of going to -6.9, it goes to -12.1 and drives hard into the bed.
But that’s for a different thread.

In the meantime, I want to thank you once more for the help!