Nc programming of machine tools for sheet metal processing