How to obtain 3D grid from example of 2D grid?

Was this suggestion not working?