Apply a Lunchbox diamond pattern to a squared non regular surface

See this thread: Avoiding gaps on surface morph