Etching selective parts of a metal substrate through part of its thickness