Compression molding involves placing a thermosetting plastic material directly into a heated metal mold. The material is softened by heat and forced to conform to the shape of the mold. The plastic is subjected to heat and pressure in a single stroke using a hydraulic press with heated platens. The temperature and pressure applied depends on the plastic's properties. Once molded, the excess material is trimmed off as flash and the hardened part is ejected from the mold. Examples of items made by compression molding include switches, circuit breakers, gears, coils, and connectors.