Patent ID: 8594831
Filing Date: 2013-11-26
Classification: G05B,Y02P

Abstract:
1. An automatic programming method for conversationally generating an NC program for controlling an NC machine tool, the automatic programming method configured to execute: an importing step for importing previously-created two-dimensional CAD data into setting means for setting a machining profile which is a contour shape of a portion to be machined by the NC machine tool; an inputting step for inputting into the setting means selected-entity specifying data for specifying a geometric entity which is selected as the contour shape of the portion to be machined by the NC machine tool, out of geometric entities of a geometry defined by the two-dimensional CAD data imported in the importing step; a machining-profile setting step in which by the setting means, based on selected-entity specifying data inputted in the inputting step, a geometric entity corresponding to the selected-entity specifying data is recognized, and based on the recognized geometric entity, the machining profile is set; a Cutter Location-data (CL-data) generating step for generating, based on the machining profile set in the machining-profile setting step, tool path data related to a movement path of a tool moving along at least the machining profile; and an NC-program generating step for generating the NC program by converting the tool path data generated in the CL-data generating step, the automatic programming method, wherein the machining-profile setting step comprises: a selected-entity recognizing step for recognizing, based on the selected-entity specifying data inputted in the inputting step, the geometric entity corresponding to the selected-entity specifying data; a selected-entity correcting step, which confirms whether a continuous line without bifurcation all the way from a starting point to an ending point can be formed by the geometric entity recognized in the selected-entity recognizing step, when it is confirmed that the continuous line cannot be formed, confirms, with respect to the geometric entities recognized in the selected-entity recognizing step, whether two adjacent geometric entities have an intersection, and when it is confirmed that the two adjacent geometric entities do not have the intersection, performs a connecting process in which the two adjacent geometric entities are connected to each other by extending one or both of them or by adding a new geometric entity between them; and a profile-setting step in which when the continuous line can be formed by the geometric entity recognized in the selected-entity recognizing step, and when by the process performed in the selected-entity correcting step, it becomes possible to form the continuous line, the machining profile is set based on the geometric entity by which the continuous line can be formed.