During the production of a packaging container,the container mold machining is very im- portant.VERICUT is a kind of three-dimensional software,which can realize both machining simulation and optimization.Tool path simulation and machine simulation can be displayed vividly.Its simulation can improve machining efficiency,and realize optimization of the NC code through adjusting feed rate at the dif- ferent machining stage.The whole process of CNC machining simulation and optimization under VERUCUT environment was demonstrated with a typical example of a plastic packaging container machining.