The investigation of a method to generate conformal lattice structures for additive manufacturing