How to create holes with pipe in a lattice grid

you could use something like Pull Curve for that:

but note that by pulling Lines into a doubled curved surface, you will end up with all Curves instead of Lines:

Lattice from Punctured Surface_Re.gh (10.3 KB)