Abstract: A method of generating a machining program that can be interpreted by a physical controller of a numerical control machine tool. The machining program is generated from a prerecorded set of machine parameters representative of the machine tool, and a prerecorded set of machining sequences on the basis of at least some of the said machine parameters and of at least some of the machining sequences, a computer simulation program carries out machining feasibility tests (TST), the machining program being generated in a format that can be executed by the said physical controller only if it passes the machining feasibility tests beforehand.