Get a smart gap value between all poly elements

I need to find a script or MSG modifier that make a gap between all poly elements in object and I can change this value any time and this gab has two method ether by moving the poly elements away from each other or by scaling them locally.
I think it would be easy for you to make it and it would be truly benefit for me