1. A computer implemented method for protecting numerical control codes, the method comprising: decrypting, by one or more computers, an encrypted text file that defines how an event for a tool path data set is processed, wherein the encrypted text file includes an encrypted seed number that has a fixed number of first random characters padded before and after a translated seed number, and includes second random characters inserted after each character in a translated instruction string; processing, by the one or more computers, said decrypted text file to obtain a set of instructions; formatting, by the one or more computers, said set of instructions according to a definition file, wherein the definition file contains static information related to a machine tool and a corresponding controller for the machine tool; and outputting, by the one or more computers, said set of formatted instructions, whereby postprocessed machine controls are written that can be executed by the controller.
1. A computer implemented method for protecting numerical control codes, the method comprising: decrypting, by one or more computers, an encrypted text file that defines how an event for a tool path data set is processed, wherein the encrypted text file includes an encrypted seed number that has a fixed number of first random characters padded before and after a translated seed number, and includes second random characters inserted after each character in a translated instruction string; processing, by the one or more computers, said decrypted text file to obtain a set of instructions; formatting, by the one or more computers, said set of instructions according to a definition file, wherein the definition file contains static information related to a machine tool and a corresponding controller for the machine tool; and outputting, by the one or more computers, said set of formatted instructions, whereby postprocessed machine controls are written that can be executed by the controller. 5. The method of claim 1 , wherein formatting said set of instructions according to the definition file comprises: formatting the set of instructions into a format useable by the controller to control the machine tool to process the event according to the tool path data.