This rectangular duct line consists of an electrically-powered material decoiler, duct beader, hydraulic shear, hydraulic bending machine, a hole punching machine, and a square punching machine. The machine is easy to operate with computer control. The operator only needs to input the duct parameters and the machine will perform precision cutting and folding.