Reverse subdivide

Hi
you can try the script I did last year :wink: