In this study, a mechanical design, mathematical modeling and software algorithm have been realized for CNC prototype machine which is mainly used in tire sector and in the others (shoe sole plate and medical prosthetic manufacturing, aviation, automotive, jewelry sector etc.). For this aim, a mechanical design and manufacturing of CNC tire mold machine was firstly performed. The most feasible design model has been determined as a result of the research and analysis carried out for the mechanical design stage. Thus, it is aimed to provide the designed machine to be used in other areas besides tire mold processing sector. The main contribution of the study is the development of an original and mathematical transformation algorithm that transfer the texts and patterns to 3D complex surfaces with CNC machines. Moreover, an interface for the users is developed based on C # compiler using the outputs from the software algorithm. The NC codes of the algorithm output were tested on the designed prototype machine. Then, the prototype machine was tested with different materials (wood, iron, steel etc.) and the test results were observed. Based on the test results, pattern and character processing with the desired precision is carried out successfully.