Programming curvatures by unfolding of the triangular Resch pattern