For the structure of more complex parts,manual preparation of the corresponding numerical control program,not only tedious calculation,also easy to error,affect the practice processing operation,and even cause safety accidents,based on this,this paper using UG10.0 software CAM part of coke flat parts programming,including tool selection,process selection,strategy parameter setting and knife path simulation,through post-processing,generate parts program.Greatly reduce the programming difficulty,improve the programming efficiency,improve the safety of processing.