Interpolate Chamfer Is there such a script? Or feasible to create it?

Namely, chamfer, which would work like this, as I have shown in this GIF.
Please help :)

AttachmentSize
interpolate_chamfer.gif141.26 KB