On Ergodicity of Foliations on $${\mathbb{Z}^d}$$Zd-Covers of Half-Translation Surfaces and Some Applications to Periodic Systems of Eaton Lenses