The tool path generation based on a STL data model is studied. This paper quotes and extends the concept of the local offsetting and develops a new algorithm of tool path generation for different tools. By taking advantage of local offsetting model the interference and collision in tool-path generation can be avoided. It is shown that the strategy suggested is satisfied in both computing efficiency and reliability.