We will consider a cube of material taken from a typical structure.

Here is Canvas object wihch demonstrate the problem.

We will assume that the material properties are the same in all directions and that the relationship between stress and strain remains linear.