Designing perturbative metamaterials from discrete models