A slotting machine (also called a vertical shaper) is a reciprocating machine tool that cuts material using a vertical up-and-down motion, removing metal primarily on the downward stroke. It excels at cutting internal keyways, splines, grooves, and gear teeth inside bores or complex workpieces where horizontal shapers or rotary milling tools struggle.