A cutting element includes a substrate and an ultrahard layer on an upper surface of the substrate, a top surface of the ultrahard layer having a ridge extending along a major dimension of the top surface from an edge of the top surface, where the ridge has a peak with at least two different roof radii of curvature, and at least two sidewalls sloping in opposite directions from the peak of the ridge at a roof angle, where a first roof angle of the ridge proximate the edge is smaller than a second roof angle in a central portion of the ridge around a longitudinal axis of the cutting element.