| In this paper, the position and main components of automatic programming in integrated CAD/CAM system are discussed. An automatic programming system of NC machining for milling of rocket jet grove is developed with Visual Basic 6.0 as the developing tool. Based on CAD/CAM theory, the programming system used for specific milling machine and FANUC 18M NC system is composed with geometry configuring , tool-path calculating, post-processing tool-path trail simulating and file editor, etc. After comparing several common CAD modeling methods , the cubic parameter-spline curve is used to approach and interpolate discrete contour of usual and complicated rocket jet. Integrated with machining reality ,plain milling tool is used for machining of straight groove, while bar milling tool for screw groove. Account for that, tool-path is calculated . According to different machining and programming methods ,the post-processing is made differently, so is machining file generated. The whole system has friendly interface and favorable result. |