The step in the assembly process for devices assembled on a lead frame (such as flatpacks and dual-in-line packages) where the lead frame is trimmed off and the leads bent or formed into their specified positions.