apparatus for forming the rim on a foam plastic container such as a cup by use of a segmented rim former . the cavity in the rim former is contoured so as to produce a curled rim that is flat on the top . the flat top of the rim is parallel to the bottom of the cup . the apparatus comprises a segmented rim former with a combination of linear and curved surfaces that form a noncircular container rim .