KR20190105957A - A drawing shape extraction apparatus and method for creating a machine tool machining program, The recording medium - Google Patents
A drawing shape extraction apparatus and method for creating a machine tool machining program, The recording medium Download PDFInfo
- Publication number
- KR20190105957A KR20190105957A KR1020180026768A KR20180026768A KR20190105957A KR 20190105957 A KR20190105957 A KR 20190105957A KR 1020180026768 A KR1020180026768 A KR 1020180026768A KR 20180026768 A KR20180026768 A KR 20180026768A KR 20190105957 A KR20190105957 A KR 20190105957A
- Authority
- KR
- South Korea
- Prior art keywords
- line segment
- segment
- module
- line
- shortest path
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/4093—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
- G05B19/40937—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of machining or material parameters, pocket machining
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/19—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/4097—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by using design data to control NC machines, e.g. CAD/CAM
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/31—From computer integrated manufacturing till monitoring
- G05B2219/31382—Find shortest way, route
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Geometry (AREA)
- Numerical Control (AREA)
Abstract
Description
본 발명은 공작기계 가공 프로그램 생성을 위한 기술에 관한 것으로, 더욱 상세하게는 CAM 프로그램, 대화형프로그램 등을 이용하여 공작기계용 가공 프로그램을 작성할 때 가공 형상에 대해 입력하는 가공 형상 프로그램에서 최단경로 선분을 탐색 및 자동선택하여 작업자의 선분 선택 횟수를 줄여 작업 단축할 수 있는 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 장치 및 방법, 그 기록매체에 관한 것이다.The present invention relates to a technique for generating a machine tool machining program, and more particularly, the shortest path segment in a machine tool program for inputting a machine tool shape when creating a machine tool tool program using a CAM program or an interactive program. The present invention relates to a drawing shape extraction apparatus and method for generating a machine tool machining program which can shorten the work by reducing the number of selection of the line segment by searching and automatic selection, and a recording medium thereof.
공작기계 가공을 위해서는 공구 경로, 절삭조건, 주변장치의 동작 등에 대한 정보를 제공하는 가공 프로그램이 필요하며, 이런 가공 프로그램은 CAM 프로그램 또는 대화형 프로그램 등의 가공 프로그램 생성 시스템을 이용하여 작성하게 된다.Machine tool processing requires a machining program that provides information on tool paths, cutting conditions, peripheral device operation, and the like, which is created using a machining program generation system such as a CAM program or an interactive program.
공작기계 가공 프로그램 생성 시스템을 이용하여 가공 프로그램을 작성할 때 가공 경로 생성을 위해 가공품의 형상에 대한 정보가 입력 되어야 한다. When creating a part program using the machine tool machining program generation system, information on the contour of the workpiece must be entered to generate the machining path.
일반적으로 가공품의 형상은 CAD 프로그램으로 작성된 도면 파일의 형태로 제공되며, 작업자는 해당 도면 파일을 가공 프로그램 생성 시스템에서 로드하여 대상이되는 선분을 선택함으로써 가공품의 형상을 입력하게 된다.In general, the shape of the workpiece is provided in the form of a drawing file created by the CAD program, the operator inputs the shape of the workpiece by loading the drawing file in the machining program generation system to select the target line segment.
대상 선분을 선택하는 방법에 있어, 종래의 기술은 작업자가 모든 선분을 직접 선택하도록 하는 "직접 선택 방법"(도면 1 참조), 작업자가 현재 선택한 선분에서 출발하여 신규 추가된 선분과 연결된 선분들을 자동으로 선택하되, 분기점을 만나면 작업자에게 분기 선분을 선택하도록 하는 "분기점 자동 추적 선택 방법"(도면 2 참조) 등이 있다.In the method of selecting a target segment, the conventional technique is a "direct selection method" (see Fig. 1), which allows the operator to directly select all the segments, the segment is connected to the newly added segment starting from the currently selected segment Automatic selection, but the "branch automatic tracking selection method" (see Fig. 2) that prompts the operator to select a branch segment when encountering a branch point.
그러나 개시된 종래 기술과 같이, 다수의 선분으로 구성된 복잡한 도면으로 작업을 수행하는 경우 "직접 선택 방법"은 대상 선분의 갯수 만큼 작업자가 선택 작업을 수행해야 하므로 작업시간 증가 및 오조작의 가능성이 커질 수 밖에 없다.However, as in the prior art disclosed, when performing a work with a complicated drawing composed of a plurality of line segments, the "direct selection method" requires an operator to perform a selection work as many as the number of target segments, which may increase work time and increase the possibility of misoperation. There is nothing else.
이런 문제점을 해결하기 위해 일부 가공 프로그램 생성 시스템에서는 작업자가 선택한 선분에서 출발하여 분기점까지 자동으로 선분을 선택해주는 "분기점 자동 추적 선택 방법"을 제공하여 다른 선분과 교차점이 없는 선분을 자동 선택 함으로써 작업자의 선분 선택 횟수를 감소시키기도 한다. 그러나 도면 선분 간에 교점이 많은 복잡한 형상의 경우 선분 선택의 빈도를 현저하게 줄일 수는 없다.To solve this problem, some part program generation systems provide a "automatic selection point selection method" that automatically selects the segment starting from the segment selected by the operator to the branch point and automatically selects the segment without intersection with other segments. It also reduces the number of line selections. However, in the case of complex shapes with many intersections between drawing segments, the frequency of line selection cannot be significantly reduced.
따라서 종래기술들의 경우 도면에서 가공 형상을 선택하여 추출함에 있어서, 작업자의 많은 조작을 요구함으로써, 도면이 복잡한 경우 작업시간이 증가하고, 오조작의 가능성이 커지는 문제점이 있다.Therefore, in the case of the prior art in selecting and extracting the processing shape in the drawing, by requiring a lot of manipulation of the operator, when the drawing is complicated, there is a problem that the work time increases, the possibility of misoperation increases.
본 발명은 상술한 종래기술의 문제점을 극복하기 위한 것으로서, 공작기계 가공 형상에 대해 입력하는 가공 형상 프로그램에서 최단경로 선분을 탐색 및 자동선택하여 작업자의 선분 선택 횟수를 줄여 작업 단축하고, 오조작의 가능성을 낮출 수 있도록 다수의 모듈을 이용하여 선택된 두 선분 사이의 최단경로 선분을 탐색하고, 탐색된 최단경로를 자동 선택하는 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 장치 및 방법, 그 기록매체를 제공하는 데에 그 목적이 있다.The present invention is to overcome the problems of the prior art described above, to search and automatically select the shortest path segment in the machine tool program input to the machine tool machined shape to reduce the number of worker segment selection times, shorten the operation, Apparatus and method for drawing shape extraction and method for generating a machine tool processing program for searching the shortest path segment between two selected segments using multiple modules and automatically selecting the searched shortest path using multiple modules Its purpose is to.
본 발명이 해결하고자 하는 과제들은 이상에서 언급된 과제로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.Problems to be solved by the present invention are not limited to the above-mentioned problems, and other problems not mentioned will be clearly understood by those skilled in the art from the following description.
상기 목적을 달성하기 위해 본 발명에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 장치는, 선분 사이의 교점을 계산하여 선분간 교점이 시점과 종점에만 존재하도록 분할하는 선분 분할 모듈; 도면 파일을 읽어 선분 데이터 포멧으로 변환하고, 관리하는 선분 관리 모듈; 화면상에 선분을 표시하고, 작업자에게 대상 선분을 입력받는 선분 표시/선택 모듈; 상기 선분 관리 모듈로부터 입력된 두 선분 사이의 최단거리 경로 선분을 탐색하는 최단경로 탐색 모듈; 및 상기 최단경로 탐색 모듈로부터 입력된 가공 형상으로 선택된 선분을 관리하는 선택 선분 관리 모듈;을 포함할 수 있다.In order to achieve the above object, a drawing shape extraction apparatus for generating a machine tool machining program according to the present invention includes: a line segment dividing module that calculates an intersection point between line segments and divides the line segment so that the intersection exists only at the start point and the end point; A line segment management module which reads a drawing file, converts it into a line segment data format, and manages the drawing file; A line segment display / selection module for displaying a line segment on the screen and receiving a target line segment from an operator; A shortest path search module searching for a shortest path line segment between two line segments input from the line segment management module; And a selection line management module that manages the selected line segment by the processed shape input from the shortest path search module.
상기 선분 관리 모듈은 도면 파일의 정보로부터 생성된 선분 데이터를 관리하고, 선분 분할 모듈은 선분 선택 및 최단경로 탐색이 가능하도록 선분을 최소 단위로 분할하며, 상기 최단경로 탐색 모듈은 탐색 알고리즘을 사용하여 선분 표시/선택 모듈을 통해 작업자가 선택한 두 선분 사이의 최단 경로 선분을 탐색하고, 상기 선택 선분 관리 모듈은 상기 최단경로 탐색 모듈을 통해 탐색되거나 작업자가 직접 선택한 선분을 관리하며, 상기 선분 표시/선택 모듈은 도면의 선분들을 화면에 표시하고, 작업자로부터 가공 형상에 해당하는 선분을 입력받는 것이 더욱 바람직하다.The line segment management module manages line segment data generated from the information in the drawing file, and the segment segmentation module divides the line segment into the minimum unit to enable the segment selection and the shortest path search, and the shortest path search module uses a search algorithm. The segment display / selection module searches for the shortest path segment between two segments selected by the operator, and the selection segment management module manages the segment searched through the shortest path search module or directly selected by the operator. It is more preferable that the module displays line segments of the drawing on the screen and receives line segments corresponding to the machined shape from the operator.
본 발명의 일실시예에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 방법은, 선분 관리 모듈에서 입력된 도면 파일로부터 선분 데이터를 생성하고, 선분 분할 모듈에 선분 분할을 요청하여 가공 형상 선분 추출을 위한 사전 준비 작업을 수행하는 단계; 선분 표시/선택 모듈에서 선분 관리 모듈에서 선분 데이터를 넘겨받아 화면에 표시해주고, 작업자로부터 표시된 선분 중에 최단경로 탐색의 대상 선분들을 입력받아 최단경로 탐색 모듈에 넘겨주거나, 이미 선택 선분인 경우 선택 선분 목록에서 제거하기 위해 선택 선분 관리 모듈에 넘겨주어 선택선분 목록을 제거하는 단계; 최단경로 탐색 모듈에서 선분 관리 모듈에서 넘겨받은 선분 데이터에서 선분 표시/선택 모듈에서 넘겨받은 두 선분의 최단경로 선분을 탐색하고, 결과를 선택 선분 관리 모듈에 넘겨주는 단계; 및 선택 선분 관리 모듈에서 선택 선분 목록에 신규 선분을 추가하거나, 기존 선택 선분을 제거하고, 현재 선택되어 있는 선분 목록을 가공 형상으로 출력하는 단계를 포함할 수 있다.In the drawing shape extraction method for generating a machine tool machining program according to an embodiment of the present invention, line segment data is generated from a drawing file input from a line segment management module, and the line segment division module is requested to perform line shape extraction. Performing a preliminary preparation for the work; In the segment display / selection module, the segment data management module receives the segment data from the segment management module and displays it on the screen, and receives the target segments of the shortest path search among the displayed segment from the operator and passes them to the shortest path search module, or if the selected segment is already selected Passing the selected segment management module to remove from the list to remove the selected segment list; Searching for the shortest path segment of the two segments transferred from the line segment display / selection module from the line segment data passed from the line segment management module in the shortest path search module and passing the result to the selected line segment management module; And adding a new segment to the selection segment list, removing the existing selection segment, and outputting the currently selected segment list as a processed shape in the selection segment management module.
본 발명은 컴퓨터에서 본 발명의 일실시예에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 방법을 실행시키기 위하여 저장된 컴퓨터 판독가능 기록매체를 포함할 수 있다.The present invention may include a computer-readable recording medium stored for executing a drawing shape extraction method for generating a machine tool processing program according to an embodiment of the present invention on a computer.
본 발명의 기타 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Other specific details of the invention are included in the detailed description and drawings.
상기와 같이 구성된 본 발명에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 장치 및 방법, 그 기록매체에 의하면, 다수의 모듈을 이용하여 선택된 두 선분 사이의 최단경로 선분을 탐색하고, 탐색된 최단경로를 자동 선택함으로써, 공작기계 가공 형상에 대해 입력하는 가공 형상 프로그램에서 최단경로 선분을 탐색 및 자동선택하여 작업자의 선분 선택 횟수를 줄여 작업 단축하고, 오조작의 가능성을 낮출 수 있는 다양한 효과가 있다.According to the drawing shape extraction apparatus and method for generating a machine tool processing program according to the present invention configured as described above, and a recording medium thereof, a shortest path segment between two selected line segments is searched using a plurality of modules, and the searched shortest path By automatically selecting, the shortest path segment can be searched and automatically selected in the machining contour program inputted to the machine tool machining contour, thereby reducing the number of worker segment selections and reducing the possibility of misoperation.
본 발명의 효과들은 이상에서 언급된 효과로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.Effects of the present invention are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the following description.
도 1은 종래 직접 선택 방법을 나타낸 순서도,
도 2는 종래 분기점 자동 추적 선택 방법을 나타낸 순서도,
도 3은 본 발명에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 장치의 일실시예를 나타낸 블록도,
도 4는 본 발명에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 방법의 일실시예를 나타낸 순서도,
도 5는 본 발명에 따른 선반과 머시닝센터용 가공용 도면을 대상으로 선택 방법별 가공 형상 추출에 필요한 선분 선택 횟수를 비교한 결과를 나타낸 도면,
도 6은 본 발명에 따른 직접 선택, 분기점 자동 추적 선택 및 최단경로 탐색 방법별 작업자 선분 선택 순서를 나타낸 도면이다.1 is a flow chart showing a conventional direct selection method,
2 is a flowchart illustrating a conventional method for automatically selecting branch points.
3 is a block diagram showing an embodiment of a drawing shape extraction apparatus for generating a machine tool machining program according to the present invention;
Figure 4 is a flow chart showing an embodiment of a drawing shape extraction method for generating a machine tool machining program according to the present invention,
5 is a view showing the result of comparing the number of selection of the line segment required for extracting the processing shape for each selection method for the machining drawings for lathe and machining center according to the present invention,
FIG. 6 is a diagram illustrating a worker segment selection procedure for each method of direct selection, automatic branch tracking selection, and shortest path search according to the present invention.
본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 제한되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술 분야의 통상의 기술자에게 본 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. Advantages and features of the present invention and methods for achieving them will be apparent with reference to the embodiments described below in detail with the accompanying drawings. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. It is provided to fully inform the scope of the invention to the invention, which is defined only by the scope of the claims.
본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)." 및/또는 "포함하는(comprising)"은 언급된 구성요소 외에 하나 이상의 다른 구성요소의 존재 또는 추가를 배제하지 않는다. 명세서 전체에 걸쳐 동일한 도면 부호는 동일한 구성 요소를 지칭하며, "및/또는"은 언급된 구성요소들의 각각 및 하나 이상의 모든 조합을 포함한다. 비록 "제1", "제2" 등이 다양한 구성요소들을 서술하기 위해서 사용되나, 이들 구성요소들은 이들 용어에 의해 제한되지 않음은 물론이다. 이들 용어들은 단지 하나의 구성요소를 다른 구성요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 구성요소는 본 발명의 기술적 사상 내에서 제2 구성요소일 수도 있음은 물론이다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. In this specification, the singular also includes the plural unless specifically stated otherwise in the phrase. As used herein, "comprises." And / or “comprising” does not exclude the presence or addition of one or more other components in addition to the mentioned components. Like reference numerals refer to like elements throughout, and "and / or" includes each and all combinations of one or more of the mentioned components. Although "first", "second", etc. are used to describe various components, these components are of course not limited by these terms. These terms are only used to distinguish one component from another. Therefore, of course, the first component mentioned below may be a second component within the technical spirit of the present invention.
다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야의 통상의 기술자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또한, 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms used in the present specification (including technical and scientific terms) may be used in a sense that can be commonly understood by those skilled in the art. In addition, terms that are defined in a commonly used dictionary are not ideally or excessively interpreted unless they are specifically defined clearly.
공간적으로 상대적인 용어인 "아래(below)", "아래(beneath)", "하부(lower)", "위(above)", "상부(upper)"등은 도면에 도시되어 있는 바와 같이 하나의 구성요소와 다른 구성요소들과의 상관관계를 용이하게 기술하기 위해 사용될 수 있다. 공간적으로 상대적인 용어는 도면에 도시되어 있는 방향에 더하여 사용시 또는 동작시 구성요소들의 서로 다른 방향을 포함하는 용어로 이해되어야 한다. 예를 들어, 도면에 도시되어 있는 구성요소를 뒤집을 경우, 다른 구성요소의 "아래(below)" 또는 "아래(beneath)"로 기술된 구성요소는 다른 구성요소의 "위(above)"에 놓여질 수 있다. 따라서, 예시적인 용어인 "아래"는 아래와 위의 방향을 모두 포함할 수 있다. 구성요소는 다른 방향으로도 배향될 수 있으며, 이에 따라 공간적으로 상대적인 용어들은 배향에 따라 해석될 수 있다.The spatially relative terms " below ", " beneath ", " lower ", " above ", " upper " It can be used to easily describe a component's correlation with other components. Spatially relative terms are to be understood as including terms in different directions of components in use or operation in addition to the directions shown in the figures. For example, when flipping a component shown in the drawing, a component described as "below" or "beneath" of another component may be placed "above" the other component. Can be. Thus, the exemplary term "below" can encompass both an orientation of above and below. Components may be oriented in other directions as well, so spatially relative terms may be interpreted according to orientation.
이하, 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 상세히 설명하기로 한다. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 3은 본 발명에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 장치의 일실시예를 나타낸 블록도이다. 3 is a block diagram showing an embodiment of a drawing shape extraction apparatus for generating a machine tool machining program according to the present invention.
도시된 바와 같이, 본 발명에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 장치는, 선분 분할 모듈(100), 선분 관리 모듈(200), 선분 표시/선택 모듈(300), 최단경로 탐색 모듈(400), 및 선택 선분 관리 모듈(500)을 포함한다.As shown, drawing shape extraction apparatus for generating a machine tool machining program according to the present invention, the
선분 분할 모듈(100)은 선분 사이의 교점을 계산하여 선분간 교점이 시점과 종점에만 존재하도록 분할하는 모듈이다.The line segment dividing
선분 관리 모듈(200)은 도면 파일을 읽어 선분 데이터 포멧으로 변환하고, 관리하는 모듈이다.The line
선분 표시/선택 모듈(300)은 화면상에 선분을 표시하고, 작업자에게 대상 선분을 입력 받는 모듈이다.The line segment display /
최단경로 탐색 모듈(400)은 상기 선분 관리 모듈(200)로부터 입력된 두 선분 사이의 최단거리 경로 선분을 탐색하는 모듈이다. 이러한 최단경로 탐색 모듈(400)은 A* search, BFS, DFS 중 어느 하나를 선택하여 사용될 수 있으나, 이에 한정하는 것은 아니며, 다양한 탐색 모듈 중 어느 하나를 선택하여 사용될 수 있음을 사전에 밝혀둔다.The shortest
선택 선분 관리 모듈(500)은 상기 최단경로 탐색 모듈(400)로부터 입력된 가공 형상으로 선택된 선분을 관리하는 모듈이다.The selection line
더욱 상세하게는, 선분 관리 모듈(200)은 도면 파일의 정보로부터 생성된 선분 데이터를 관리하고, 선분 분할 모듈(100)은 선분 선택 및 최단경로 탐색이 가능하도록 선분을 최소 단위로 분할한다.More specifically, the line
최단경로 탐색 모듈(400)은 탐색 알고리즘(예로서, A* search 알고리즘 등)을 사용하여 선분 표시/선택 모듈(300)을 통해 작업자가 선택한 두 선분 사이의 최단 경로 선분을 탐색한다.The shortest
이후, 선택 선분 관리 모듈(500)은 최단경로 탐색 모듈(400)을 통해 탐색되거나 작업자가 직접 선택한 선분을 관리하며, 선분 표시/선택 모듈(300)은 도면의 선분들을 화면에 표시하고, 작업자로부터 가공 형상에 해당하는 선분을 입력 받는 역할을 수행한다.Thereafter, the selection
도 4는 본 발명에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 방법의 일실시예를 나타낸 순서도이다. Figure 4 is a flow chart showing an embodiment of a drawing shape extraction method for generating a machine tool machining program according to the present invention.
본 발명에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 방법을 구현하기 위하여 도 3에 도시된 선분 분할 모듈(100), 선분 관리 모듈(200), 선분 표시/선택 모듈(300), 최단경로 탐색 모듈(400), 및 선택 선분 관리 모듈(500)을 포함할 수 있다.In order to implement the drawing shape extraction method for generating a machine tool machining program according to the present invention, the
도시된 바와 같이 먼저, 선분 관리 모듈(200)에서 입력된 도면 파일로부터 선분 데이터를 생성하고(S301~S302), 선분 분할 모듈(100)에 선분 분할을 요청하여 가공 형상 선분 추출을 위한 사전 준비 작업을 수행한다(S303).As shown, first, line segment data is generated from the drawing file input by the line segment management module 200 (S301 to S302), and the
이후, 선분 표시/선택 모듈(300)은 선분 관리 모듈(200)에서 선분 데이터를 넘겨받아 화면에 표시해주고(S304), 작업자로부터 표시된 선분 중에 최단경로 탐색의 대상 선분들을 입력 받아 최단경로 탐색 모듈(400)에 넘겨주거나(S305~S307), 이미 선택 선분인 경우 선택 선분 목록에서 제거하기 위해 선택 선분 관리 모듈(500)에 넘겨주어 선택선분 목록을 제거한다(S313).Subsequently, the line segment display /
최단경로 탐색 모듈(400)에서 선분 관리 모듈(200)에서 넘겨받은 선분 데이터에서 선분 표시/선택 모듈(300)에서 넘겨 받은 두 선분의 최단경로 선분을 탐색하고, 결과를 선택 선분 관리 모듈(500)에 넘겨준다(S307~S310). The shortest
이때 구체적으로는, 최단경로 선분 탐색시 제한시간 초과 여부 및 경로 존재 여부를 판단하여 에러표시를 하거나 선택 선분 목록에 추가할 수 있다.In this case, in the case of searching for the shortest path segment, it may be determined whether the time limit is exceeded and the existence of the path to display an error or add the selected segment list.
이후, 선택 선분 관리 모듈(500)에서 선택 선분 목록에 신규 선분을 추가하거나, 기존 선택 선분을 제거하고, 현재 선택되어 있는 선분 목록을 가공 형상으로 출력하는 역할을 수행할 수 있다(S311~S316).Subsequently, the selected line
도 5는 본 발명에 따른 선반과 머시닝센터용 가공용 도면을 대상으로 선택 방법별 가공 형상 추출에 필요한 선분 선택 횟수를 비교한 결과를 나타낸 도면이다. 5 is a view showing a result of comparing the number of selection of the line segment required to extract the processing shape for each selection method for the machining drawings for lathe and machining center according to the present invention.
도시된 바와 같이, 도 5는 선반과 머시닝센터 가공용 도면을 대상으로 선택 방법별 가공 형상 추출에 필요한 선분 선택 횟수를 비교한 결과로서, 두 도면 모두 본 발명에서 제안하는 방법이 가장 적은 선택 횟수로 가공 형상을 완성하였다.As shown, Figure 5 is a result of comparing the number of selection of the line segment required for extracting the processing shape by the selection method for the drawings for machining the lathe and machining center, both drawings are processed with the least number of selection method proposed in the present invention The shape was completed.
여기서, 선반 도면 (a)과 머시닝센터 도면 (b)에서 "직접 선택 방법" 대비 각각 82%, 70%의 선택 조작 감소 효과가 발생함을 확인할 수 있다(표 1 참조).Here, in the lathe drawing (a) and the machining center drawing (b) it can be seen that the reduction effect of the selection operation of 82% and 70%, respectively, compared to the "direct selection method" (see Table 1).
도 6은 본 발명에 따른 직접 선택, 분기점 자동 추적 선택 및 최단경로 탐색 방법별 작업자 선분 선택 순서를 나타낸 도면이다.FIG. 6 is a diagram illustrating a worker segment selection procedure for each method of direct selection, automatic branch tracking selection, and shortest path search according to the present invention.
도 6에 도시된 바와 같이, 도면 (c)는 직접 선택, 도면 (d)는 분기점 자동 추적 선택 및 도면 (e)는 최단경로 탐색 방법별 작업자 선분 선택 순서를 나타낸 것으로서, 다수의 모듈을 이용하여 선택된 두 선분 사이의 최단경로 선분을 탐색하고, 탐색된 최단경로를 자동 선택함으로써, 공작기계 가공 형상에 대해 입력하는 가공 형상 프로그램에서 최단경로 선분을 탐색 및 자동선택하여 작업자의 선분 선택 횟수를 줄여 작업 단축하고, 오조작의 가능성을 낮출 수 있다.As shown in FIG. 6, (c) shows a direct selection, (d) shows the automatic selection of branch points, and (e) shows a worker segment selection order according to the shortest path search method. By searching for the shortest path segment between the two selected segments and automatically selecting the shortest path found, the shortest path segment is searched and automatically selected in the machining contour program that is entered for the machine tool machining contour, reducing the number of worker segment selections. It can shorten and reduce the possibility of misoperation.
여기에 설명되는 다양한 실시예는 예를 들어, 소프트웨어, 하드웨어 또는 이들의 조합된 것을 이용하여 컴퓨터 또는 이와 유사한 장치로 읽을 수 있는 기록매체 내에서 구현될 수 있다.Various embodiments described herein may be implemented in a recording medium readable by a computer or similar device using, for example, software, hardware or a combination thereof.
즉, 본 발명의 일 실시예에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터 판독가능 기록매체의 형태로 구현되거나 또는, 컴퓨터에서 본 발명의 일 실시예에 따른 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 방법을 실행시키기 위한 컴퓨터 판독가능 기록매체에 저장된 컴퓨터프로그램 의 형태로 구현될 수도 있다.That is, in the form of a computer-readable recording medium recording a program for executing a drawing shape extraction method for generating a machine tool machining program in a computer according to an embodiment of the present invention, or in a computer embodiment of the present invention It may be implemented in the form of a computer program stored in a computer-readable recording medium for executing the drawing shape extraction method for generating a machine tool machining program according to the present invention.
하드웨어적인 구현에 의하면, 여기에 설명되는 실시예는 ASICs (application specific integrated circuits), DSPs (digital signal processors), DSPDs (digital signal processing devices), PLDs (programmable logic devices), FPGAs (field programmable gate arrays, 프로세서(processors), 제어기(controllers), 마이크로 컨트롤러(micro-controllers), 마이크로 프로세서(microprocessors), 기타 기능 수행을 위한 전기적인 유닛 중 적어도 하나를 이용하여 구현될 수 있다. 일부의 경우에 본 명세서에서 설명되는 실시예들이 제어부(180) 자체로 구현될 수 있다. According to a hardware implementation, the embodiments described herein include application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), and the like. It may be implemented using at least one of processors, controllers, micro-controllers, microprocessors, and electrical units for performing other functions. The described embodiments may be implemented by the controller 180 itself.
소프트웨어적인 구현에 의하면, 본 명세서에서 설명되는 절차 및 기능과 같은 실시예들은 별도의 소프트웨어 모듈들로 구현될 수 있다. 상기 소프트웨어 모듈들 각각은 본 명세서에서 설명되는 하나 이상의 기능 및 작동을 수행할 수 있다. 적절한 프로그램 언어로 쓰여진 소프트웨어 어플리케이션으로 소프트웨어 코드가 구현될 수 있다. According to the software implementation, embodiments such as the procedures and functions described herein may be implemented as separate software modules. Each of the software modules may perform one or more functions and operations described herein. Software code may be implemented in software applications written in a suitable programming language.
본 발명의 실시예와 관련하여 설명된 방법 또는 알고리즘의 단계들은 하드웨어로 직접 구현되거나, 하드웨어에 의해 실행되는 소프트웨어 모듈로 구현되거나, 또는 이들의 결합에 의해 구현될 수 있다. 소프트웨어 모듈은 RAM(Random Access Memory), ROM(Read Only Memory), EPROM(Erasable Programmable ROM), EEPROM(Electrically Erasable Programmable ROM), 플래시 메모리(Flash Memory), 하드 디스크, 착탈형 디스크, CD-ROM, 또는 본 발명이 속하는 기술 분야에서 잘 알려진 임의의 형태의 컴퓨터 판독가능 기록매체에 상주할 수도 있다.The steps of a method or algorithm described in connection with an embodiment of the present invention may be implemented directly in hardware, in a software module executed by hardware, or by a combination thereof. The software module may include random access memory (RAM), read only memory (ROM), erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, hard disk, removable disk, CD-ROM, or It may reside in any form of computer readable recording medium well known in the art.
본 명세서에 기재된 본 발명의 실시예와 도면에 도시된 구성은 본 발명의 바람직한 실시예에 관한 것으로, 발명의 기술적 사상을 모두 포괄하는 것은 아니므로, 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형 예들이 있을 수 있음을 이해하여야 한다. 따라서, 본 발명은 상술한 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형실시가 가능한 것은 물론이고, 그와 같은 변경은 본 발명의 청구범위 기재의 권리범위 내에 있게 된다.Embodiments of the present invention described in the specification and the configuration shown in the drawings are related to a preferred embodiment of the present invention, and does not cover all the technical spirit of the invention, various equivalents that can be substituted for them at the time of filing It should be understood that there may be variations and examples. Accordingly, the present invention is not limited to the above-described embodiments, and various modifications can be made by those skilled in the art without departing from the gist of the present invention as claimed in the claims. Such changes are intended to fall within the scope of the claims described in the present invention.
100 : 선분 분할 모듈
200 : 선분 관리 모듈
300 : 선분 표시/선택 모듈
400 : 최단경로 탐색 모듈
500 : 선택 선분 관리 모듈100: segmentation module
200: line segment management module
300: segment display / selection module
400: shortest path navigation module
500: Selective Segment Management Module
Claims (4)
도면 파일을 읽어 선분 데이터 포멧으로 변환하고, 관리하는 선분 관리 모듈;
화면상에 선분을 표시하고, 작업자에게 대상 선분을 입력받는 선분 표시/선택 모듈;
상기 선분 관리 모듈로부터 입력된 두 선분 사이의 최단거리 경로 선분을 탐색하는 최단경로 탐색 모듈; 및
상기 최단경로 탐색 모듈로부터 입력된 가공 형상으로 선택된 선분을 관리하는 선택 선분 관리 모듈;을 포함하는 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 장치.A segmentation module that calculates an intersection point between the segment and divides the segment so that the intersection exists only at the starting point and the ending point;
A line segment management module which reads a drawing file, converts it into a line segment data format, and manages the drawing file;
A line segment display / selection module for displaying a line segment on the screen and receiving a target line segment from an operator;
A shortest path search module searching for a shortest path line segment between two line segments input from the line segment management module; And
And a selection line management module for managing a line segment selected by the cutting shape input from the shortest path search module.
상기 선분 관리 모듈은 도면 파일의 정보로부터 생성된 선분 데이터를 관리하고, 선분 분할 모듈은 선분 선택 및 최단경로 탐색이 가능하도록 선분을 최소 단위로 분할하며,
상기 최단경로 탐색 모듈은 탐색 알고리즘을 사용하여 선분 표시/선택 모듈을 통해 작업자가 선택한 두 선분 사이의 최단 경로 선분을 탐색하고,
상기 선택 선분 관리 모듈은 상기 최단경로 탐색 모듈을 통해 탐색되거나 작업자가 직접 선택한 선분을 관리하며,
상기 선분 표시/선택 모듈은 도면의 선분들을 화면에 표시하고, 작업자로부터 가공 형상에 해당하는 선분을 입력받는 것을 특징으로 하는 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 장치.The method of claim 1,
The line segment management module manages line segment data generated from the information in the drawing file, and the line segment dividing module divides the line segment into minimum units to enable the segment selection and the shortest path search.
The shortest path search module searches for the shortest path segment between two segments selected by the operator through a segment display / selection module using a search algorithm.
The selected line segment management module manages the line segment searched through the shortest path search module or directly selected by an operator.
The line segment display / selection module displays line segments of the drawing on a screen, and receives a line segment corresponding to a machined shape from an operator.
선분 표시/선택 모듈에서 선분 관리 모듈에서 선분 데이터를 넘겨받아 화면에 표시해주고, 작업자로부터 표시된 선분 중에 최단경로 탐색의 대상 선분들을 입력 받아 최단경로 탐색 모듈에 넘겨주거나, 이미 선택 선분인 경우 선택 선분 목록에서 제거하기 위해 선택 선분 관리 모듈에 넘겨주어 선택선분 목록을 제거하는 단계;
최단경로 탐색 모듈에서 선분 관리 모듈에서 넘겨받은 선분 데이터에서 선분 표시/선택 모듈에서 넘겨 받은 두 선분의 최단경로 선분을 탐색하고, 결과를 선택 선분 관리 모듈에 넘겨주는 단계; 및
선택 선분 관리 모듈에서 선택 선분 목록에 신규 선분을 추가하거나, 기존 선택 선분을 제거하고, 현재 선택되어 있는 선분 목록을 가공 형상으로 출력하는 단계를 포함하는 공작기계 가공 프로그램 생성을 위한 도면 형상 추출 방법.Generating line data from the drawing file input by the line segment management module, and requesting line segmentation from the line segment dividing module to perform a preliminary preparation for extracting a processed shape line segment;
In the segment display / selection module, the segment data management module receives the segment data from the segment management module and displays it on the screen. Passing the selected segment management module to remove from the list to remove the selected segment list;
Searching for the shortest path segment of the two line segments transferred from the line segment display / selection module from the line segment data passed from the line segment management module in the shortest path search module, and passing the result to the selected line segment management module; And
A method of extracting a drawing shape for generating a machine tool machining program, comprising the steps of adding a new segment to a selection segment list, removing an existing selection segment, and outputting a list of currently selected segments as a machining segment in the selection segment management module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180026768A KR102111842B1 (en) | 2018-03-07 | 2018-03-07 | A drawing shape extraction apparatus and method for creating a machine tool machining program, The recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180026768A KR102111842B1 (en) | 2018-03-07 | 2018-03-07 | A drawing shape extraction apparatus and method for creating a machine tool machining program, The recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20190105957A true KR20190105957A (en) | 2019-09-18 |
KR102111842B1 KR102111842B1 (en) | 2020-06-08 |
Family
ID=68070756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020180026768A KR102111842B1 (en) | 2018-03-07 | 2018-03-07 | A drawing shape extraction apparatus and method for creating a machine tool machining program, The recording medium |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102111842B1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112034785A (en) * | 2020-08-31 | 2020-12-04 | 江西江铃集团新能源汽车有限公司 | Machining path generation method and device, storage medium and equipment |
KR20220096342A (en) | 2020-12-31 | 2022-07-07 | 현대위아 주식회사 | Application recommendation methods for machine tools and the systems used there |
KR20230105439A (en) | 2022-01-04 | 2023-07-11 | (주)더블류제이 | Method for controlling a work piece |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR930013913A (en) | 1991-12-06 | 1993-07-22 | 이헌조 | 3D surface processing system using CAD |
JP2004209577A (en) * | 2002-12-27 | 2004-07-29 | Nissan Motor Co Ltd | Method and apparatus for preparing machining program |
KR101355336B1 (en) * | 2012-06-26 | 2014-01-24 | 현대위아 주식회사 | System and method for producing part program for machine tool |
-
2018
- 2018-03-07 KR KR1020180026768A patent/KR102111842B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR930013913A (en) | 1991-12-06 | 1993-07-22 | 이헌조 | 3D surface processing system using CAD |
JP2004209577A (en) * | 2002-12-27 | 2004-07-29 | Nissan Motor Co Ltd | Method and apparatus for preparing machining program |
KR101355336B1 (en) * | 2012-06-26 | 2014-01-24 | 현대위아 주식회사 | System and method for producing part program for machine tool |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112034785A (en) * | 2020-08-31 | 2020-12-04 | 江西江铃集团新能源汽车有限公司 | Machining path generation method and device, storage medium and equipment |
KR20220096342A (en) | 2020-12-31 | 2022-07-07 | 현대위아 주식회사 | Application recommendation methods for machine tools and the systems used there |
KR20230105439A (en) | 2022-01-04 | 2023-07-11 | (주)더블류제이 | Method for controlling a work piece |
Also Published As
Publication number | Publication date |
---|---|
KR102111842B1 (en) | 2020-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102111842B1 (en) | A drawing shape extraction apparatus and method for creating a machine tool machining program, The recording medium | |
US9632497B2 (en) | Machining-program generating apparatus, machining-program generating method, and recording medium | |
US10268764B2 (en) | Ladder program editing device capable of displaying network comment | |
JPWO2016035869A1 (en) | Machining program editing support device | |
CN107391667B (en) | Entry processing method and mobile terminal | |
JP4693454B2 (en) | 3D shape comparison program and 3D similar shape search program | |
JPWO2006137120A1 (en) | Processing process generator | |
JP2016118883A (en) | Ladder program retrieval system capable of retrieving ladder circuit according to arithmetic condition of designated signal | |
CN104731364A (en) | Input method and input method system | |
JP2018084952A (en) | Automatic translation pattern learning device, automatic translation preprocessor and computer program | |
US11847148B2 (en) | Information processing device and setting device | |
US20160292237A1 (en) | Numerical controller with ambiguous search function in program | |
CN110955696A (en) | Data reading method, device, equipment and storage medium | |
JP7000302B2 (en) | Information processing equipment | |
JP2018041129A (en) | High-level synthesis description conversion device and high-level synthesis description conversion program | |
KR101033974B1 (en) | A device for generating human error modes and performance shaping factors according to the soft controller types | |
US10394943B2 (en) | Numerical controller | |
JP5437925B2 (en) | Shape data search system and shape data search method | |
CN106624087A (en) | Mobile terminal, metal shell and CNC processing method | |
CN115237264A (en) | Character input method, system and electronic equipment | |
CN106354096B (en) | The method of the guide line automatic identification of DXF figure based on digital-control processing system | |
JP2016051253A (en) | Document management device and document management program | |
JP2021193522A (en) | Program, device, and manufacturing method of scenario | |
JP2004272718A (en) | Control program creating device and control program creating method | |
CN104778371A (en) | Method and device for evaluating document content speciality |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |