A shaper machine produces flat surfaces on workpieces by moving a cutting tool in a straight line using a ram. The ram moves the tool forward for the cutting stroke and backward for the return stroke with no cutting during the return stroke. A shaper can produce horizontal, vertical, or inclined surfaces, as well as grooves, slots, and steps. The main components of a shaper are the base, column, table, cross rail, ram, and tool head. Shapers are classified based on their ram driving mechanism or orientation and include crank, geared, hydraulic, horizontal, and vertical shapers.