Fano Resonance Generation and Applications in 3D Folding Metamaterials