Right, so have a global offset amount that every edge tries to achieve, but if they overlap, they stop there. Padding could be also world space, so integrate that to the overlap if statement. I've never really coded tools for 3d packages, so I have no clue how hard this would be haha