I’ve done an initial proof-of-concept for this on g-code. I’ll publish my findings in a separate topic later today.