The complex design of moulds and dies based upon complicated features and usage of harder materials is a continuous challenge for the development of manufacturing technology for these parts. In this paper we present an algorithm for handling this challenge as well as its implementation by using numerical techniques for the calculation of CNC tool-path. The algorithm consists of multiple stages and each stage achieves a partial objective of tool-path planning and optimization. An individual step in these stages implements trochoidal milling process under uniform machining load conditions and in multiple layers to machine a mould with complex deep cavity. The resulted CNC tool-path achieves bulk material removal of the work piece to a contour near shape with uniform rest material which ensures stable finish milling process subsequently. The method is applicable to dies as well with the same performance.