Finite Element Procedure for Strength Evaluation in Lattice-Based Mechanical Metamaterials