The objective of the present invention is to implement highly accurate general automatic tool assignment with a sheet metal CAD/CAM system. Once CAD drawings are generated (S102), continuous line processing, product outer lines, window cut-out lines and the like are defined (S103) and then assigned tools (S210 through S286).