that may be presented via the same touch screen or a display and indicating device as the first menu 151 or via a separate touch screen or a display and indicating device where the second menu 152 includes a plurality of tool axis orientations the invention in its several embodiments includes an exemplary method of five axis machining as illustrated in a top level flowchart of fig2 where a composite machining cycle includes a planning or programming process comprising four steps which may then be followed by the cnc coding the exemplary four planning steps of the five axis composite machining comprise a defining or selecting the area of the workpiece to be machined step 210 b selecting the pattern to apply when machining the selected area step 220 c defining the orientation of the relationships between the cutting tool and the workpiece step 230 and d defining the auxiliary movements step 240 that may include 1 approaching the workpiece 2 departing the workpiece and 3 movements linking machining sub areas thereafter the method may include the step of generating the cnc code step 250 another method embodiment may be described in the top level flowcharts of fig3 a and 3b the exemplary steps comprises selecting an area for machining by defining the selected region via a defined set of surfaces step 310 selecting a generation method for a pattern of curves step 320 selecting a rule for driving the tool axis direction along the curves step 330 selecting the lateral increments between the single cuts of the tool path step 340 selecting for each set of cuts the type of approaches the detach at the beginning and the detach at the end step 350 selecting the types of connections between the larger portions.