I'm sorry I made a big mistake in the first question, I meant of course to do this in Marlin because in Repetier it already works like that for delta printers, I was wondering if something similar would be possible with Marlin.