Understanding the lattice structure of 3D printing