KR102162088B1 - Method for auto nest building to using genetic algorithm smart auto nesting of programs - Google Patents

Method for auto nest building to using genetic algorithm smart auto nesting of programs Download PDF

Info

Publication number
KR102162088B1
KR102162088B1 KR1020190161442A KR20190161442A KR102162088B1 KR 102162088 B1 KR102162088 B1 KR 102162088B1 KR 1020190161442 A KR1020190161442 A KR 1020190161442A KR 20190161442 A KR20190161442 A KR 20190161442A KR 102162088 B1 KR102162088 B1 KR 102162088B1
Authority
KR
South Korea
Prior art keywords
base material
svg
auto
server
nesting
Prior art date
Application number
KR1020190161442A
Other languages
Korean (ko)
Inventor
이정석
권대호
전경휘
천세웅
김다희
Original Assignee
이정석
주식회사 두산
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 이정석, 주식회사 두산 filed Critical 이정석
Priority to KR1020190161442A priority Critical patent/KR102162088B1/en
Application granted granted Critical
Publication of KR102162088B1 publication Critical patent/KR102162088B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Numerical Control (AREA)

Abstract

The present invention relates to a method for performing auto-nesting by a smart auto-nesting program using a genetic algorithm. The method comprises the steps of: (S10) converting drawings for a base material (1) and a material (2) which are written in 2D CAD drawings into a scalable vector graphics (SVG) format and storing the same on a server; and verifying, on the server, whether or not shape information is normally formed in the SVG drawings of the base material (1) and the material (2) having been converted into the SVG format. According to the present invention, the waste of a base material space can be minimized.

Description

유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법{Method for auto nest building to using genetic algorithm smart auto nesting of programs}Method for auto nesting to using genetic algorithm smart auto nesting of programs}

본 발명은 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법에 관한 것으로서, 2D 캐드로 작성된 도면을 SVG 포맷의 도면으로 변환하여 유전자 알고리즘, IFP 알고리즘 및 NFP 알고리즘을 통해 하나의 모재 내에 최대한 자재가 많이 배열되도록 하므로, 모재의 소비가 감소되며, 유전자 알고리즘, IFP 알고리즘 및 NFP 알고리즘을 통해 모재의 테두리 내에 자재를 자동으로 배열하게 되므로, 최대한의 자재를 모재에 배열할 수 있어 모재 공간의 낭비를 최소화할 수 있으며, 수작업이 필요치 않은 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법에 관한 것이다.The present invention relates to a method of auto-nesting with a smart auto-nesting program using a genetic algorithm, and converts a drawing written in 2D CAD into a drawing in SVG format, and uses genetic algorithms, IFP algorithms, and NFP algorithms to achieve maximum in one parent material. Since a lot of materials are arranged, the consumption of the base material is reduced, and the material is automatically arranged within the rim of the base material through genetic algorithms, IFP algorithms and NFP algorithms, so the maximum amount of materials can be arranged on the base material, thereby wasting space for the base material. It is about a method of auto-nesting with a smart auto-nesting program using genetic algorithms that can minimize and do not require manual labor.

일반적으로 네스팅 알고리즘이란 최적 부재 배치 알고리즘으로 부재의 원판을 절단, 가공하여 조립하는 조선 공업, 자동차 산업, 의류 산업 등 매우 다양한 산업 분야에 가격 경쟁력 및 생산성 향상에 매우 큰 파급 효과를 미치는 요소 기술이라 할 수 있다. 효율적인 배치 알고리즘은 모재의 경제적 활용, 이에 따른 생산시간의 단축 및 생산성의 향상이란 의미에서 그 경제적인 활용도가 매우 높다. 최적 배치의 일반적인 목표는 사용 재료의 버림율(scrap ratio)을 최소화하는 것이나, 최근에는 여러 가지 구속조건을 고려한 배치나, 창고, 컨테이너 등에서의 효율적인 물품적재를 위한 3차원배치 등의 목적을 위해서도 많이 활용되고 있다.In general, the nesting algorithm is an optimal member placement algorithm, and it is an element technology that has a great ripple effect on improving price competitiveness and productivity in a wide variety of industries such as the shipbuilding industry, automobile industry, and clothing industry that cut, process and assemble a member's original plate. can do. Efficient batching algorithms have very high economical utilization in the sense of economic utilization of the base material, thus reducing production time and improving productivity. The general goal of optimal placement is to minimize the scrap ratio of the materials used, but in recent years, it has been widely used for purposes such as placement considering various constraints or 3D placement for efficient loading of goods in warehouses and containers. It is being utilized.

그동안 많은 산업 분야에서 네스팅 알고리즘 개발에 주력하여 왔다. 하지만 조선 산업에 적용할 수 있는 네스팅 알고리즘 개발에 관한 연구는 네스팅 방법론에 대한 직접적인 연구라기 보다는 작업의 수월성에 초점을 맞춘 것이었다.Until now, many industries have focused on developing nesting algorithms. However, the research on the development of the nesting algorithm applicable to the shipbuilding industry focused on the excellence of work rather than a direct study on the nesting methodology.

이러한 유전자 알고리즘을 이용한 네스팅의 경우 유전자 알고리즘을 이용하여 한정된 모재의 테두리 안에서 자재를 배치할 수 있지만, 테두리를 벗어나거나 중첩되는 경우에는 조절이 어려운 문제점이 있다.In the case of nesting using such a genetic algorithm, materials can be placed within a limited frame of the parent material using a genetic algorithm, but there is a problem in that it is difficult to control when it is out of or overlapped with the border.

또한, 다량의 자재가 모재에 배열되는 경우 상세한 배치를 위해 수동으로 추가 배열작업을 해야하는 문제점이 있다.In addition, when a large amount of materials are arranged on the base material, there is a problem in that an additional arrangement is required manually for detailed arrangement.

선행특허 1은 네스팅을 위한 설계 도면으로부터 부재 정보를 획득하고, 상기 획득된 부재 정보를 이용하여 부재들 및 상기 부재들이 배치될 후판을 기설정된 해상도의 비트맵 형태로 변환하는 비트맵 변환부; 비트맵 형태로 변환된 부재가 배치될 후판에 가상의 대각선을 설정하고, 배치 순서에 따라 순차적으로 선택된 부재의 절단 지점들(piercing points)과 상기 설정된 가상의 대각선 간의 거리가 최소이고, 남은 부재들의 배치 가능성이 최대인 위치에 상기 선택된 부재를 순차적으로 배치하는 부재 배치부; 및 상기 배치된 부재들에 대해서, 절단을 시작하려는 출발 위치 및 상기 배치된 부재들의 절단 지점들 간의 거리를 계산하고 상기 계산된 거리가 최소인 지점을 절단 지점으로 선택하여 부재를 절단하되, 절단 지점들 중에서 인접한 거리가 최소인 절단 지점을 차례대로 선택하여 부재를 절단하는 부재 절단부를 포함하는 구성이 기재되어 있다.Prior Patent 1 relates to a bitmap conversion unit that obtains member information from a design drawing for nesting, and converts members and a thick plate on which the members are to be placed into a bitmap format of a preset resolution using the obtained member information; A virtual diagonal line is set on the thick plate on which the members converted in bitmap form are to be placed, and the distance between the piercing points of the members sequentially selected according to the arrangement order and the set virtual diagonal lines is the minimum, and the remaining members are A member arranging unit for sequentially arranging the selected member at a position having the greatest possible arrangement; And for the arranged members, cutting the member by calculating the starting position at which to start cutting and the distance between the cutting points of the arranged members, and selecting the point where the calculated distance is the minimum as the cutting point, Among them, a configuration including a member cutting portion for cutting a member by sequentially selecting a cutting point having a minimum adjacent distance is described.

그러나 선행특허 1은 후판을 비트맵으로 변환하여 후판에 절단될 부재가 가상의 대각선을 따라 순차적으로 배치되도록 하는 구성이므로, 후판에 배열되는 부재가 최적의 간격 및 위치로 배열되어 후판의 남는 공간을 최소화하기 어려운 문제점이 있다.However, Prior Patent 1 converts the thick plate into a bitmap so that the members to be cut on the thick plate are sequentially arranged along an imaginary diagonal, so that the members arranged on the thick plate are arranged at an optimal distance and position to save the remaining space of the thick plate. There is a problem that is difficult to minimize.

또한, 부재를 순차적으로 배열하므로, 겹쳐지거나 후판을 벗어나는 부재에 대해여 별도의 수작업을 통해 위치를 수정해야 하므로, 시간이 오래 걸리고, 복잡한 문제점이 있다.In addition, since the members are sequentially arranged, the position of the members overlapping or deviating from the thick plate must be corrected through a separate manual operation, which takes a long time and has a complicated problem.

선행특허 2는 배치 완료 부재의 다음의 대상 부재를 배치할 때, 배치 완료 부재를 갖는 모재에 대해 대상 부재를 여러 위치에 배치한 복수의 모재 배치안을 생성하고, 배치 완료 부재를 갖지 않는 모재에 대해 대상 부재를 배치한 모재 배치안을 생성하여, 대상 부재 배치 후의 복수의 설계안을 생성하는 설계안 생성 단계와, 상기 생성한 복수의 설계안 중에서, 이후의 부재 배치를 행하는 설계안을 한정하는 설계안 한정 단계와, 모든 부재를 배치한 후에, 생성된 설계안 중에서 가장 수율이 좋은 설계안을 선택하는 설계안 선택 단계를 포함하는 구성이 기재되어 있다.Prior patent 2 creates a plurality of parent material arrangement plans in which the target member is disposed at various positions for a base material having a dispositioned member when placing the next target member of the displaced member, and for a base material not having the displaced member A design plan generation step of generating a base material layout plan in which the target member is placed, and a plurality of design proposals after the target member is disposed, a design proposal limiting step of limiting a design plan for subsequent member placement among the plurality of generated designs, and all After arranging the members, a configuration is described including a design plan selection step of selecting a design with the best yield among the generated designs.

그러나 선행특허 2는 모재에 대상 부재가 배열되는 도면을 다수 생성하여 그중 가장 수율 좋은 도면을 선택하는 구성으로, 부재의 최적 위치 선정을 위해 생성된 다수의 도면중에서 최고 수율의 도면을 선택해야하므로, 정확한 도면을 선정하기 어려우며, 자동으로 도면을 선택하는 것이 아니므로 선택시간이 오래걸리는 문제점이 있다.However, Prior Patent 2 is a configuration in which a number of drawings in which the target members are arranged on the base material are generated and the drawing with the best yield is selected. Since the drawing with the highest yield must be selected from among the plurality of drawings created for selecting the optimum position of the member, It is difficult to select an accurate drawing, and since the drawing is not automatically selected, it takes a long time to select.

선행특허 3은 조선업에서의 네스팅에 적합한 배치 알고리즘을 개발하는 것을 목적으로 하여 배치순서를 최적화하는 부분에는 유전알고리즘을 적용하고, 주어진 순서에 대해 배치해 가는 방법으로는 개선된 NFP(no fit polygon)법을 이용는 구성이 기재되어 있다.Prior Patent 3 is to develop an arrangement algorithm suitable for nesting in the shipbuilding industry, applying a genetic algorithm to the part of optimizing the arrangement order, and an improved NFP (no fit polygon) method to arrange for a given order. The configuration using the) method is described.

그러나 선행특허 3은 유전자 알고리즘과 NFP만 가지고 배치를 하므로, 모재와의 관계가 없이 배치가 되어 네스팅(Nesting)시 모재의 영역까지 고려하지 못하는 문제점이 있다.However, prior patent 3 has a problem in that the arrangement is made with only the genetic algorithm and the NFP, and thus the region of the base material is not considered when nesting because it is arranged regardless of the relationship with the base material.

또한, 자재의 커팅(Cutting)시 자재와 자재 간의 필요한 공간 계산이 어려운 문제점이 있으며, 각도의 제한 및 자재의 사이즈에 따라 정렬 후 배치하지 못하므로, 수작업으로 재배치 해야 하는 문제점이 있다.In addition, there is a problem in that it is difficult to calculate the required space between the material and the material when cutting the material, and since it is not possible to arrange it after alignment according to the limit of the angle and the size of the material, there is a problem that must be rearranged manually.

선행특허 1 : 한국 등록특허공보 제10-1752099호(2017.06.22.)Prior Patent 1: Korean Patent Publication No. 10-1752099 (2017.06.22.) 선행특허 2 : 한국 등록특허공보 제10-1871095호(2018.06.19.)Prior Patent 2: Korean Patent Registration No. 10-1871095 (2018.06.19.) 선행특허 3 : 유전 알고리즘과 No Fit Polygon법을 이용한 임의형상 부재 최적배치 연구 / 유병항, 부산: 부경대학교 대학원, 2002.8Prior Patent 3: Research on Optimal Arrangement of Arbitrary Shape Members Using Genetic Algorithm and No Fit Polygon Method / Byung-Hang Yoo, Busan: Graduate School, Pukyong National University, 2002.8

본 발명은 2D 캐드로 작성된 도면을 SVG 포맷의 도면으로 변환하여 유전자 알고리즘, IFP 알고리즘 및 NFP 알고리즘을 통해 하나의 모재 내에 최대한 자재가 많이 배열되도록 하므로, 모재의 소비가 감소되며, 유전자 알고리즘, IFP 알고리즘 및 NFP 알고리즘을 통해 모재의 테두리 내에 자재를 자동으로 배열하게 되므로, 최대한의 자재를 모재에 배열할 수 있어 모재 공간의 낭비를 최소화할 수 있으며, 수작업이 필요치 않은 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법을 제공하는데 그 목적이 있다.The present invention converts a drawing written in 2D CAD into a drawing in SVG format to arrange as many materials as possible in one parent material through genetic algorithms, IFP algorithms and NFP algorithms, so that the consumption of the base material is reduced, and genetic algorithms, IFP algorithms And NFP algorithm to automatically arrange materials within the rim of the base material, so the maximum amount of materials can be arranged on the base material, minimizing waste of base material space, and a smart auto-nesting program using genetic algorithms that do not require manual work. Its purpose is to provide a method of auto-nesting.

상기 과제를 달성하기 위한 본 발명에 따른 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법은, 서버에 2D 캐드 도면으로 작성되는 모재와 자재에 대한 도면을 SVG(Scalable Vector Graphics) 포맷으로 변환하여 저장하는 단계; 상기 SVG 포맷으로 변환된 모재와 자재의 SVG(Scalable Vector Graphics) 도면에서 형상 정보가 정상적으로 이루어졌는지 여부를 서버에서 검증하는 단계; 상기 검증된 SVG(Scalable Vector Graphics) 도면에 대한 형상정보를 서버에 입력하는 단계; 상기 서버에 입력된 SVG 도면의 형상정보를 유전자 알고리즘(Genetic Algorithm)을 통해 모재 내에 자재가 최대한 많이 위치하도록 정렬하는 단계; 상기 정렬되는 모재 내의 자재 위치를 IFP 알고리즘(Inner Fit Polygon Algorithm) 및 NFP 알고리즘(No Fit Polygon Algorithm)을 통해 모재를 벗어나지 않는 범위 내에서 중첩되지 않도록 배치하는 단계; 상기 모재 내에서 자재가 중첩되지 않도록 배치되면, 자재의 위치를 조절하여 최소한의 공간으로 자재가 배치되어 최대한 많은 수의 자재가 배치되도록 Fitness를 계산하여 배치하는 단계; 상기 정렬하는 단계, 중첩되지 않도록 배치하는 단계 및 Fitness를 계산하여 배치하는 단계를 다수회 반복하여 자재가 모재 내에 최대한 많이 위치할 수 있도록 배열하는 단계 및 상기 배열하는 단계를 통해 배열이 완료된 SVG 도면을 저장하고, 2D 캐드 도면으로 변환 저장하여 설비에 적용할 수 있도록 하는 단계를 포함하는 것을 특징으로 한다.In the method of auto-nesting with a smart auto-nesting program using a genetic algorithm according to the present invention to achieve the above object, a drawing of a base material and a material created as a 2D CAD drawing on a server is converted to a SVG (Scalable Vector Graphics) format. Converting and storing; Verifying, at a server, whether shape information is normally performed in the SVG (Scalable Vector Graphics) drawing of the base material and the material converted to the SVG format; Inputting shape information for the verified SVG (Scalable Vector Graphics) drawing to a server; Arranging the shape information of the SVG drawing input to the server such that as many materials are located in the base material as much as possible through a genetic algorithm; Arranging the position of the material in the aligned base material so as not to overlap within a range that does not deviate from the base material through an IFP algorithm (Inner Fit Polygon Algorithm) and an NFP algorithm (No Fit Polygon Algorithm); If the materials are arranged so that they do not overlap in the base material, calculating and arranging Fitness so that the materials are arranged in a minimum space by adjusting the positions of the materials so that as many materials as possible are arranged; The step of arranging, arranging so as not to overlap, and arranging so that the material can be located in the base material as much as possible by repeating the step of arranging and arranging fitness multiple times, and arranging the SVG drawing completed through the arranging step It characterized in that it comprises the step of storing, converting and storing the 2D CAD drawing to be applied to the facility.

상기 서버에서 검증하는 단계에서는 SVG 도면이 제대로된 형식 인지 여부를 판별하고, SVG 도면의 닫혀있는 형상이 정상인지 여부를 판별하며, SVG 도면에서 모재와 자재의 관계를 판별하는 것을 특징으로 한다.In the step of verifying in the server, it is characterized in determining whether the SVG drawing is in a proper format, determining whether the closed shape of the SVG drawing is normal, and determining the relationship between the base material and the material in the SVG drawing.

상기 형상정보를 서버에 입력하는 단계에서는 SVG 도면에 표시되는 모재와 자재의 형상, 수량, Plate 여부, 모재와 자재 의 식별ID 및 모재와 자재의 간격차이를 서버에 입력하는 것을 특징으로 한다.In the step of inputting the shape information to the server, the shape, quantity, plate availability, identification ID of the base material and material, and the gap difference between the base material and the material displayed on the SVG drawing are input to the server.

상기 정렬하는 단계는 모재의 범위 내에 자재가 최대한 많이 위치하도록 들어갈 순서 및 각도를 서버에서 산출하여 모재 내에 자재를 정렬시키는 것을 특징으로 한다.The aligning step is characterized by arranging the materials in the base material by calculating the order and angle in the server so that as many materials as possible are located within the range of the base material.

본 발명은 2D 캐드로 작성된 도면을 SVG 포맷의 도면으로 변환하여 유전자 알고리즘, IFP 알고리즘 및 NFP 알고리즘을 통해 하나의 모재 내에 최대한 자재가 많이 배열되도록 하므로, 모재의 소비가 감소되는 효과가 있다.The present invention converts a drawing written in 2D CAD into a drawing in SVG format so that as many materials as possible are arranged in one parent material through genetic algorithm, IFP algorithm, and NFP algorithm, there is an effect of reducing the consumption of the base material.

또한, 유전자 알고리즘, IFP 알고리즘 및 NFP 알고리즘을 통해 모재의 테두리 내에 자재를 자동으로 배열하게 되므로, 최대한의 자재를 모재에 배열할 수 있어 모재 공간의 낭비를 최소화할 수 있으며, 수작업이 필요치 않은 효과가 있다.In addition, since materials are automatically arranged within the rim of the base material through genetic algorithms, IFP algorithms and NFP algorithms, the maximum amount of materials can be arranged on the base material, minimizing the waste of base material space, and eliminating the need for manual work. have.

도 1은 본 발명의 일실시 예에 따른 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법의 순서를 나타낸 도면이다.
도 2는 본 발명에 따른 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법을 통해 오토네스팅 되는 SVG 도면의 자재가 모재에 배열되는 것을 나타낸 도면이다.
도 3은 본 발명에 따른 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법을 통해 오토네스팅 되는 SVG 도면의 자재가 모재에 도 4보다 많이 배열되는 것을 나타낸 도면이다.
도 4는 본 발명에 따른 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법을 통해 오토네스팅 되는 SVG 도면의 자재가 모재에 최적화되어 배열되는 것을 나타낸 도면이다.
1 is a diagram showing a procedure of a method of auto-nesting with a smart auto-nesting program using a genetic algorithm according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating that materials of an SVG drawing auto-nested through a method of auto-nesting with a smart auto-nesting program using a genetic algorithm according to the present invention are arranged on a base material.
FIG. 3 is a view showing that more materials of the SVG drawing auto-nested through the auto-nesting method using the genetic algorithm according to the present invention are arranged on the base material than in FIG. 4.
4 is a view showing that the material of the SVG drawing auto-nested by the method of auto-nesting with a smart auto-nesting program using a genetic algorithm according to the present invention is optimized and arranged in a base material.

이하 본 발명의 실시를 위한 구체적인 실시예를 도면을 참고하여 설명한다. 본 발명의 실시예는 하나의 발명을 설명하기 위한 것으로서 권리범위는 예시된 실시예에 한정되지 아니하고, 예시된 도면은 발명의 명확성을 위하여 핵심적인 내용만 확대 도시하고 부수적인 것을 생략하였으므로 도면에 한정하여 해석하여서는 아니 된다.Hereinafter, specific embodiments for carrying out the present invention will be described with reference to the drawings. Embodiments of the present invention are for explaining one invention, and the scope of rights is not limited to the illustrated embodiments, and the illustrated drawings are limited to the drawings because only the essential content is enlarged and ancillary items are omitted for clarity of the invention. And should not be interpreted.

본 발명은 서버에 2D 캐드 도면으로 작성되는 모재(1)와 자재(2)에 대한 도면을 SVG(Scalable Vector Graphics) 포맷으로 변환하여 저장하는 단계(S10); 상기 SVG 포맷으로 변환된 모재(1)와 자재(2)의 SVG(Scalable Vector Graphics) 도면에서 형상 정보가 정상적으로 이루어졌는지 여부를 서버에서 검증하는 단계(S20); 상기 검증된 SVG(Scalable Vector Graphics) 도면에 대한 형상정보를 서버에 입력하는 단계(S30); 상기 서버에 입력된 SVG 도면의 형상정보를 유전자 알고리즘(Genetic Algorithm)을 통해 모재(1) 내에 자재(2)가 최대한 많이 위치하도록 정렬하는 단계(S40); 상기 정렬되는 모재(1) 내의 자재(2) 위치를 IFP 알고리즘(Inner Fit Polygon Algorithm) 및 NFP 알고리즘(No Fit Polygon Algorithm)을 통해 모재(1)를 벗어나지 않는 범위 내에서 중첩되지 않도록 배치하는 단계(S50); 상기 모재(1) 내에서 자재(2)가 중첩되지 않도록 배치되면, 자재(2)의 위치를 조절하여 최소한의 공간으로 자재(2)가 배치되어 최대한 많은 수의 자재(2)가 배치되도록 Fitness를 계산하여 배치하는 단계(S60); 상기 정렬하는 단계, 중첩되지 않도록 배치하는 단계 및 Fitness를 계산하여 배치하는 단계(S60)를 다수회 반복하여 자재(2)가 모재(1) 내에 최대한 많이 위치할 수 있도록 배열하는 단계(S70) 및 상기 배열하는 단계(S70)를 통해 배열이 완료된 SVG 도면을 저장하고, 2D 캐드 도면으로 변환 저장하여 설비에 적용할 수 있도록 하는 단계(S80)를 포함하는 것을 특징으로 한다.The present invention is a step of converting and storing the drawings of the base material (1) and the material (2) created as 2D CAD drawings in a server into SVG (Scalable Vector Graphics) format (S10); Verifying at the server whether the shape information is normally performed in the SVG (Scalable Vector Graphics) drawing of the base material 1 and the material 2 converted to the SVG format (S20); Inputting shape information for the verified SVG (Scalable Vector Graphics) drawing to a server (S30); Arranging the shape information of the SVG drawing input to the server so that the material 2 is located as much as possible in the base material 1 through a genetic algorithm (S40); Arranging the position of the material (2) within the aligned base material 1 so that it does not overlap within a range that does not deviate from the base material 1 through an IFP algorithm (Inner Fit Polygon Algorithm) and an NFP algorithm (No Fit Polygon Algorithm) ( S50); If the material (2) is arranged so that it does not overlap within the base material (1), the position of the material (2) is adjusted so that the material (2) is placed in the minimum space, so that the maximum number of materials (2) is placed. Calculating and placing (S60); The step of arranging the material 2 to be located in the base material 1 as much as possible by repeating the step of aligning, the step of arranging so as not to overlap, and the step of calculating and arranging fitness (S60) (S70) and It characterized in that it comprises a step (S80) of storing the SVG drawing that has been arranged through the arranging step (S70), and converting and storing it into a 2D CAD drawing so that it can be applied to the facility.

상기 서버에서 검증하는 단계(S20)에서는 SVG 도면이 제대로된 형식 인지 여부를 판별하고, SVG 도면의 닫혀있는 형상이 정상인지 여부를 판별하며, SVG 도면에서 모재(1)와 자재(2)의 관계를 판별하는 것을 특징으로 한다.In the step of verifying at the server (S20), it is determined whether the SVG drawing is in a proper format, it is determined whether the closed shape of the SVG drawing is normal, and the relationship between the base material (1) and the material (2) in the SVG drawing is determined. It characterized in that the discrimination.

상기 형상정보를 서버에 입력하는 단계(S30)에서는 SVG 도면에 표시되는 모재(1)와 자재(2)의 형상, 수량, Plate 여부, 모재(1)와 자재(2) 의 식별ID 및 모재(1)와 자재(2)의 간격차이를 서버에 입력하는 것을 특징으로 한다.In the step of inputting the shape information to the server (S30), the shape, quantity, plate availability, identification ID of the base material 1 and material 2, and the base material ( It is characterized by inputting the gap difference between 1) and the material (2) in the server.

상기 정렬하는 단계는 모재(1)의 범위 내에 자재(2)가 최대한 많이 위치하도록 들어갈 순서 및 각도를 서버에서 산출하여 모재(1) 내에 자재(2)를 정렬시키는 것을 특징으로 한다.The aligning step is characterized by arranging the materials 2 in the base material 1 by calculating the order and angle in the server so that the material 2 is located as much as possible within the range of the base material 1.

도 1은 본 발명의 일실시 예에 따른 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법의 순서를 나타낸 도면으로서, 서버에 2D 캐드 도면으로 작성되는 모재(1)와 자재(2)에 대한 도면을 SVG(Scalable Vector Graphics) 포맷으로 변환하여 저장하는 단계(S10), SVG 포맷으로 변환된 모재(1)와 자재(2)의 SVG(Scalable Vector Graphics) 도면에서 형상 정보가 정상적으로 이루어졌는지 여부를 서버에서 검증하는 단계(S20), 검증된 SVG(Scalable Vector Graphics) 도면에 대한 형상정보를 서버에 입력하는 단계(S30), 서버에 입력된 SVG 도면의 형상정보를 유전자 알고리즘을 통해 모재(1) 내에 자재(2)가 최대한 많이 위치하도록 정렬하는 단계(S40), 정렬되는 모재(1) 내의 자재(2) 위치를 IFP 알고리즘(Inner Fit Polygon Algorithm) 및 NFP 알고리즘(No Fit Polygon Algorithm)을 통해 모재(1)를 벗어나지 않는 범위 내에서 중첩되지 않도록 배치하는 단계(S50), 모재(1) 내에서 자재(2)가 중첩되지 않도록 배치되면, 자재(2)의 위치를 조절하여 최소한의 공간으로 자재(2)가 배치되어 최대한 많은 수의 자재(2)가 배치되도록 Fitness를 계산하여 배치하는 단계(S60), 정렬하는 단계, 중첩되지 않도록 배치하는 단계 및 Fitness를 계산하여 배치하는 단계(S60)를 다수회 반복하여 자재(2)가 모재(1) 내에 최대한 많이 위치할 수 있도록 배열하는 단계(S70) 및 배열하는 단계(S70)를 통해 배열이 완료된 SVG 도면을 저장하고, 2D 캐드 도면으로 변환 저장하여 설비에 적용할 수 있도록 하는 단계(S80)를 포함한다.1 is a diagram showing the sequence of a method of auto-nesting with a smart auto-nesting program using a genetic algorithm according to an embodiment of the present invention, a base material (1) and a material (2) created as a 2D CAD drawing on a server Step of converting and saving the drawing for the SVG (Scalable Vector Graphics) format (S10), whether the shape information has been properly performed in the SVG (Scalable Vector Graphics) drawing of the base material (1) and material (2) converted to SVG format The step of verifying whether or not in the server (S20), the step of inputting the shape information of the verified SVG (Scalable Vector Graphics) drawing to the server (S30), the shape information of the SVG drawing input to the server through a genetic algorithm 1) The step of aligning the material (2) as much as possible (S40), the position of the material (2) in the base material (1) to be aligned using IFP algorithm (Inner Fit Polygon Algorithm) and NFP algorithm (No Fit Polygon Algorithm). The step of arranging so as not to overlap within the range that does not deviate from the base material (1) through (S50), if the material (2) is arranged so that it does not overlap within the base material (1), the position of the material (2) is adjusted to minimize space The steps of calculating and arranging Fitness so that the material (2) is arranged and the maximum number of materials (2) are arranged (S60), the step of aligning, the step of arranging so as not to overlap, and the step of calculating and arranging Fitness (S60) ) By repeating a number of times to arrange the material (2) so that it can be located in the base material (1) as much as possible (S70) and the arrangement (S70) to save the arrangement completed SVG drawing as a 2D CAD drawing. It includes a step (S80) of converting and storing to be applied to the facility.

도 2는 본 발명에 따른 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법을 통해 오토네스팅 되는 SVG 도면의 자재가 모재에 배열되는 것을 나타낸 도면이며, 도 3은 본 발명에 따른 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법을 통해 오토네스팅 되는 SVG 도면의 자재가 모재에 도 4보다 많이 배열되는 것을 나타낸 도면이며, 도 4는 본 발명에 따른 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법을 통해 오토네스팅 되는 SVG 도면의 자재가 모재에 최적화되어 배열되는 것을 나타낸 도면이다.2 is a view showing that the material of the SVG drawing auto-nested through the method of auto-nesting with a smart auto-nesting program using a genetic algorithm according to the present invention is arranged on a parent material, and FIG. 3 is a gene according to the present invention. It is a diagram showing that the material of the SVG drawing auto-nested by the method of auto-nesting with a smart auto-nesting program using an algorithm is arranged on the base material more than that of FIG. 4, and FIG. 4 is a smart This is a drawing showing that the material of the SVG drawing that is auto-nested through the auto-nesting method is optimized and arranged in the base material.

도 1을 참조하면, 상기 변환하여 저장하는 단계(S10)는 서버에 2D 캐드 도면으로 작성되는 모재(1)와 자재(2)에 대한 도면을 SVG(Scalable Vector Graphics) 포맷으로 변환하여 저장하는 단계(S10)이다.Referring to FIG. 1, the converting and storing step (S10) is a step of converting and storing drawings of the base material (1) and the material (2) created as a 2D CAD drawing in the server into SVG (Scalable Vector Graphics) format. It is (S10).

이때, 상기 2D 캐드 도면은 모재(1)와 자재(2)의 형상을 각각 도시한 도면으로서, 이들을 서버에서 SVG(Scalable Vector Graphics) 포맷으로 변환하여 하나의 도면상에 모두 배치되도록 한다.In this case, the 2D CAD drawing is a drawing showing the shapes of the base material 1 and the material 2, respectively, and the server converts them to SVG (Scalable Vector Graphics) format so that they are all arranged on one drawing.

상기 변환하여 저장하는 단계(S10)를 통해 2D 캐드 도면이 SVG 포맷의 도면으로 변환되면 서버에서 검증하는 단계(S20)를 통해 SVG 포맷으로 변환된 모재(1)와 자재(2)의 SVG(Scalable Vector Graphics) 도면에서 형상 정보가 정상적으로 이루어졌는지 여부를 서버에서 검증하게 된다.When the 2D CAD drawing is converted to the SVG format drawing through the converting and storing step (S10), the SVG (Scalable) of the base material (1) and the material (2) converted to SVG format through the step (S20) of verifying in the server Vector Graphics) The server verifies whether the shape information in the drawing has been properly performed.

상기 서버에서 검증하는 단계(S20)에서는 SVG 도면이 제대로된 형식 인지 여부를 판별하고, SVG 도면의 닫혀있는 형상이 정상인지 여부를 판별하며, SVG 도면에서 모재(1)와 자재(2)의 관계를 판별하게 된다.In the step of verifying at the server (S20), it is determined whether the SVG drawing is in a proper format, it is determined whether the closed shape of the SVG drawing is normal, and the relationship between the base material (1) and the material (2) in the SVG drawing is determined. Is determined.

상기 서버에서 검증하는 단계(S20)에서 검증이 통과되지 못한 SVG 도면은 다시 변환하여 저장하는 단계(S10)를 통해 해당 부분의 수정이 된 다른 도면을 변환하여 서버에 저장하고, 이를 다시 검증하게 된다.The SVG drawing that has not passed the verification in the verification step (S20) in the server is converted and saved in the step (S10) of re-converting and storing the modified other drawing of the corresponding part in the server, and this is verified again. .

이때 상기 SVG(Scalable Vector Graphics) 포맷은 XHTML과 비슷한 XML 언어로 그래픽을 그리는 데 사용되며, 이를 이용한 SVG 이미지는 필요한 모든 선과 모양을 직접 일일이 지정하거나, 이미 존재하는 래스터 이미지를 수정하거나, 이 두 가지 방법을 조합해서 만들 수 있다. At this time, the SVG (Scalable Vector Graphics) format is used to draw graphics in an XML language similar to XHTML, and the SVG image using this is either manually specifying all necessary lines and shapes, or modifying an existing raster image, or both. It can be made by combining methods.

그리고 상기 SVG 포맷의 이미지에서 이미지와 그 구성요소들은 변형, 조합 및 필터링될 수 있으며, 이를 통해 원래의 형태를 완전히 바꿀 수도 있다.In addition, in the SVG format image, the image and its components may be transformed, combined, and filtered, and the original form may be completely changed through this.

이러한 상기 SVG 포맷은 XML 기반 표준 그래픽 포맷으로서, SVG 의 모든 요소와 속성들에 애니메이션을 적용시킬 수 있으며, 벡터기반으로 구성되어 있어 해상도에 영향을 받지 않는 특징이 있다.This SVG format is an XML-based standard graphic format, and animation can be applied to all elements and attributes of SVG, and it is configured based on vector, so it is not affected by resolution.

또한, Jvascript SVG DOM API를 이용해서 모든 element를 자유롭게 컨트롤 할 수 있는 장점이 있으나, 문서 복잡도가 증가할수록 렌더링이 느린 특징이 있다.In addition, it has the advantage of being able to freely control all elements by using the Jvascript SVG DOM API, but there is a characteristic that rendering is slower as the document complexity increases.

상기 서버에서 검증하는 단계(S20)를 통해 SVG 도면을 검증하면, 서버에 입력하는 단계(S30)를 통해 검증된 SVG(Scalable Vector Graphics) 도면에 대한 형상정보를 서버에 입력하게 된다.When the SVG drawing is verified through the verifying step (S20) in the server, shape information for the SVG (Scalable Vector Graphics) drawing verified through the inputting step (S30) to the server is input to the server.

이러한 상기 형상정보를 서버에 입력하는 단계(S30)에서는 SVG 도면에 표시되는 모재(1)와 자재(2)의 형상, 수량, Plate 여부, 모재(1)와 자재(2) 의 식별ID 및 모재(1)와 자재(2)의 간격차이를 서버에 입력하게 된다.In the step of inputting the shape information to the server (S30), the shape, quantity, plate availability, identification ID of the base material (1) and material (2), and the base material (2) displayed in the SVG drawing The gap difference between (1) and material (2) is entered into the server.

이러한 상기 모재(1)와 자재(2)의 형상정보를 서버에 입력하는 이유는 SVG 도면의 자재가 네스팅(nesting)을 통해 배치가 완료되면 실제로 가공될 때 가공된 자재의 사용처에 따라 정보가 필요하므로 이를 입력하여 쉽게 자재(2)를 찾을 수 있도록 하기 위해서이다.The reason for inputting the shape information of the base material (1) and the material (2) to the server is that, when the material of the SVG drawing is arranged through nesting, the information is changed according to the use of the processed material when it is actually processed. It is necessary so that you can easily find the material (2) by entering it.

도 2 내지 도 4를 참조하면, 상기 형상정보를 서버에 입력하는 단계(S30)를 통해 SVG 도면에 대한 형상정보를 서버에 입력하면, 정렬하는 단계를 통해 서버에 입력된 SVG 도면의 형상정보를 유전자 알고리즘(Genetic Algorithm)을 통해 모재(1) 내에 자재(2)가 최대한 많이 위치하도록 정렬시키게 된다.2 to 4, when the shape information of the SVG drawing is input to the server through the step of inputting the shape information to the server (S30), the shape information of the SVG drawing input to the server is stored through the alignment step. Through the genetic algorithm (Genetic Algorithm), the material (2) is arranged to be located in the parent material (1) as much as possible.

이때 상기 유전자 알고리즘(Genetic Algorithm)은 진화의 원리를 적용하여 최적화 문제를 해결하기 위한 탐색 알고리즘으로서, 이는 자연 세계에서 환경 에 가장 적합한 개체만 살아남는 진화 과정을 공학적 알고리 즘으로 적용한 것이다.(J Holland 1992)At this time, the genetic algorithm is a search algorithm for solving an optimization problem by applying the principle of evolution, which is an engineering algorithm that applies the evolutionary process in which only the most suitable individuals survive in the natural world (J Holland). 1992)

이러한, 상기 유전자 알고리즘(Genetic Algorithm)은 1975년 Holland에 의해 소개된 이래로 traveling salesman problem 문제, 조합 최적화 문제, 스케쥴링 문제, 운송 문제 등에 활발히 적용되고 있다.Since this genetic algorithm was introduced by Holland in 1975, it has been actively applied to the traveling salesman problem, the combination optimization problem, the scheduling problem, and the transportation problem.

즉, 상기 유전자 알고리즘(Genetic Algorithm)을 통해 모재(1)의 테두리 내에 배치되는 자재(2)의 회전을 통해 각도를 변경할 수 있도록 하는 것이다.That is, the angle can be changed through rotation of the material 2 disposed within the rim of the base material 1 through the genetic algorithm.

상기 정렬하는 단계는 모재(1)의 범위 내에 자재(2)가 최대한 많이 위치하도록 들어갈 순서 및 각도를 서버에서 산출하여 모재(1) 내에 자재(2)를 정렬시키게 된다.In the step of aligning, the order and angle to be entered so that as many materials 2 are located within the range of the base material 1 are calculated by the server to arrange the materials 2 in the base material 1.

상기 정렬하는 단계를 통해 모재(1) 내에 자재(2)가 최대한 많이 위치하도록 정렬되면, 중첩되지 않도록 배치하는 단계를 통해 정렬되는 모재(1) 내의 자재(2) 위치를 IFP 알고리즘(Inner Fit Polygon Algorithm) 및 NFP 알고리즘(No Fit Polygon Algorithm)을 통해 모재(1)를 벗어나지 않는 범위 내에서 중첩되지 않도록 배치하게 된다.When the material (2) is aligned so as to be located in the base material (1) as much as possible through the alignment step, the position of the material (2) in the base material (1) aligned through the step of arranging not to overlap is determined by the IFP algorithm (Inner Fit Polygon). Algorithm) and NFP algorithms (No Fit Polygon Algorithm) are arranged so that they do not overlap within a range that does not deviate from the base material (1).

이때, 상기 IFP 알고리즘(Inner Fit Polygon Algorithm)은 모재(1)의 테두리 내를 자재(2)가 이탈하는지 여부를 확인하여 모재(1)의 테두리 안에 위치하도록 자재(2)의 위치를 조절하게 된다.At this time, the IFP algorithm (Inner Fit Polygon Algorithm) checks whether the material 2 deviates within the frame of the base material 1, and adjusts the position of the material 2 so that it is located within the border of the base material 1. .

이러한 상기 IFP 알고리즘(Inner Fit Polygon Algorithm)은 자재(2)가 모재(1)의 테두리를 벗어나지 않도록 최적의 경로를 산출하는 알고리즘이다.The IFP algorithm (Inner Fit Polygon Algorithm) is an algorithm that calculates an optimal path so that the material 2 does not deviate from the edge of the base material 1.

그리고 상기 NFP 알고리즘(No Fit Polygon Algorithm)은 자재(2)가 모재(1)의 테두리 내에서 서로 겹쳐지지 않도록 위치를 조절하게 된다.,And the NFP algorithm (No Fit Polygon Algorithm) adjusts the position so that the material 2 does not overlap each other within the rim of the base material 1.,

이러한 상기 NFP 알고리즘(No Fit Polygon Algorithm)는 자재(2)가 모재(1)의 테두리 내에서 서로 겹쳐지지 않도록 경로를 찾는 알고리즘이다.The NFP algorithm (No Fit Polygon Algorithm) is an algorithm to find a path so that the material 2 does not overlap each other within the border of the base material 1.

상기 중첩되지 않도록 배치하는 단계를 통해 모재(1)의 테두리 내로 자재(2)의 위치가 배치되면, Fitness를 계산하여 배치하는 단계(S60)를 통해 자재(2)의 위치를 조절하여 최소한의 공간으로 자재(2)가 배치되어 최대한 많은 수의 자재(2)가 배치되도록 Fitness를 계산하여 배치하게 된다.When the position of the material 2 is placed within the rim of the base material 1 through the step of arranging so as not to overlap, the minimum space by adjusting the position of the material 2 through the step (S60) of calculating and arranging fitness As the material (2) is placed, fitness is calculated and placed so that as many materials (2) as possible are placed.

상기 Fitness를 계산하여 배치하는 단계(S60)를 통해 모재(1) 내에서 자재(2)가 최대한 배치되도록 하면, 최대한 많이 위치할 수 있도록 배열하는 단계(S70)를 통해 정렬하는 단계, 중첩되지 않도록 배치하는 단계 및 Fitness를 계산하여 배치하는 단계(S60)를 다수회 반복하여 자재(2)가 모재(1) 내에 최대한 많이 위치할 수 있도록 배열하게된다.If the material 2 is arranged as much as possible in the base material 1 through the step (S60) of calculating and arranging the fitness, the step of arranging through the step (S70) of arranging to be located as much as possible, so as not to overlap By repeating the step of arranging and the step (S60) of calculating and arranging Fitness (S60) a number of times, the material 2 is arranged so as to be located in the base material 1 as much as possible.

이와 같이 배열하는 단계(S70)를 통해 자재(2)가 모재(1) 내에 최대한 많이 위치할 수 있도록 배열하는 이유는 모재(1)를 최대한 소비하여 많은 수의 자재(2)를 모재(1) 하나에 배치하여 모재(1)의 추가 소비를 감소시키기 위함이다.The reason for arranging so that the material 2 can be located in the base material 1 as much as possible through the arranging step (S70) in this way is that the base material 1 is consumed as much as possible and a large number of materials 2 are used as the base material 1 This is to reduce the additional consumption of the base material 1 by placing it in one.

이때, 상기 모재(1)의 테두리 내에 최대한 많은 자재(2)가 배열된 것을 확정할때에는 정렬하는 단계, 중첩되지 않도록 배치하는 단계 및 Fitness를 계산하여 배치하는 단계(S60)를 반복하여도 유사한 결과가 몇차례 발생되면 서버에서 자동으로 이를 배열이 되었다고 확정하여 종료하게된다.At this time, when it is determined that as many materials 2 as possible within the border of the base material 1 are arranged, the steps of aligning, arranging not to overlap, and calculating and arranging Fitness (S60) are repeated. When is generated several times, the server automatically determines that it has been arranged and ends.

상기 배열하는 단계(S70)를 통해 자재(2)가 모재(1) 내에 최대한 많이 위치할 수 있도록 배열되면, 설비에 적용할 수 있도록 하는 단계(S80)를 통해 SVG 도면을 서버에 저장하고, 2D 캐드 도면으로 변환 저장하여 설비에 적용할 수 있도록 한다.When the material 2 is arranged to be located in the base material 1 as much as possible through the arranging step (S70), the SVG drawing is stored in the server through the step (S80) to be applied to the facility, and 2D Converted to CAD drawing and saved so that it can be applied to the facility.

이와 같이 이루어지는 본 발명은 2D 캐드로 작성된 도면을 SVG 포맷의 도면으로 변환하여 유전자 알고리즘, IFP 알고리즘 및 NFP 알고리즘을 통해 하나의 모재 내에 최대한 자재가 많이 배열되도록 하므로, 모재의 소비가 감소되는 효과가 있다.The present invention made in this way converts a drawing written in 2D CAD into a drawing in SVG format, so that as many materials as possible are arranged in one base material through genetic algorithm, IFP algorithm, and NFP algorithm, there is an effect of reducing the consumption of the base material. .

또한, 유전자 알고리즘, IFP 알고리즘 및 NFP 알고리즘을 통해 모재의 테두리 내에 자재를 자동으로 배열하게 되므로, 최대한의 자재를 모재에 배열할 수 있어 모재 공간의 낭비를 최소화할 수 있으며, 수작업이 필요치 않은 효과가 있다.In addition, since materials are automatically arranged within the rim of the base material through genetic algorithms, IFP algorithms and NFP algorithms, the maximum amount of materials can be arranged on the base material, minimizing the waste of base material space, and eliminating the need for manual work. have.

상기와 같이 이루어지는 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법은 위에서 설명된 실시 예들의 구성과 작동 방식에 한정되는 것이 아니다. 상기 실시 예들은 각 실시 예들의 전부 또는 일부가 선택적으로 조합되어 다양한 변형이 이루어질 수 있도록 구성될 수도 있다.The method of auto-nesting with the smart auto-nesting program using the genetic algorithm as described above is not limited to the configuration and operation method of the above-described embodiments. The above embodiments may be configured so that all or part of each of the embodiments may be selectively combined to make various modifications.

1 : 모재 2 : 자재1: base material 2: material

Claims (4)

서버에 2D 캐드 도면으로 작성되는 모재(1)와 자재(2)에 대한 도면을 SVG(Scalable Vector Graphics) 포맷으로 변환하여 저장하는 단계(S10);
상기 SVG 포맷으로 변환된 모재(1)와 자재(2)의 SVG(Scalable Vector Graphics) 도면에서 형상 정보가 정상적으로 이루어졌는지 여부를 서버에서 검증하는 단계(S20);
상기 검증된 SVG(Scalable Vector Graphics) 도면에 대한 형상정보를 서버에 입력하는 단계(S30);
상기 서버에 입력된 SVG 도면의 형상정보를 유전자 알고리즘(Genetic Algorithm)을 통해 모재(1) 내에 자재(2)가 최대한 많이 위치하도록 정렬하는 단계(S40);
상기 정렬되는 모재(1) 내의 자재(2) 위치를 IFP 알고리즘(Inner Fit Polygon Algorithm) 및 NFP 알고리즘(No Fit Polygon Algorithm)을 통해 모재(1)를 벗어나지 않는 범위 내에서 중첩되지 않도록 배치하는 단계(S50);
상기 모재(1) 내에서 자재(2)가 중첩되지 않도록 배치되면, 자재(2)의 위치를 조절하여 최소한의 공간으로 자재(2)가 배치되어 최대한 많은 수의 자재(2)가 배치되도록 Fitness를 계산하여 배치하는 단계(S60);
상기 정렬하는 단계, 중첩되지 않도록 배치하는 단계 및 Fitness를 계산하여 배치하는 단계(S60)를 다수회 반복하여 자재(2)가 모재(1) 내에 최대한 많이 위치할 수 있도록 배열하는 단계(S70) 및
상기 배열하는 단계(S70)를 통해 배열이 완료된 SVG 도면을 저장하고, 2D 캐드 도면으로 변환 저장하여 설비에 적용할 수 있도록 하는 단계(S80)를 포함하는 것을 특징으로 하는 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법.
Converting and storing the drawings of the base material (1) and the material (2) created as 2D CAD drawings in the server into SVG (Scalable Vector Graphics) format (S10);
Verifying at the server whether the shape information is normally performed in the SVG (Scalable Vector Graphics) drawing of the base material 1 and the material 2 converted to the SVG format (S20);
Inputting shape information for the verified SVG (Scalable Vector Graphics) drawing to a server (S30);
Arranging the shape information of the SVG drawing input to the server so that the material 2 is located as much as possible in the base material 1 through a genetic algorithm (S40);
Arranging the position of the material (2) within the aligned base material 1 so that it does not overlap within a range that does not deviate from the base material 1 through an IFP algorithm (Inner Fit Polygon Algorithm) and an NFP algorithm (No Fit Polygon Algorithm) ( S50);
If the material (2) is arranged so that it does not overlap within the base material (1), the position of the material (2) is adjusted so that the material (2) is placed in the minimum space, so that the maximum number of materials (2) is placed. Calculating and placing (S60);
The step of arranging the material 2 to be located in the base material 1 as much as possible by repeating the step of aligning, the step of arranging so as not to overlap, and the step of calculating and arranging fitness (S60) (S70) and
Smart Autone using a genetic algorithm, characterized in that it comprises the step (S80) of storing the SVG drawing that has been arranged through the arranging step (S70), and converting and storing it into a 2D CAD drawing to be applied to the facility. How to auto-nesting with a sting program.
제1항에 있어서,
상기 서버에서 검증하는 단계(S20)에서는 SVG 도면이 제대로된 형식 인지 여부를 판별하고, SVG 도면의 닫혀있는 형상이 정상인지 여부를 판별하며, SVG 도면에서 모재(1)와 자재(2)의 관계를 판별하는 것을 특징으로 하는 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법.
The method of claim 1,
In the step of verifying at the server (S20), it is determined whether the SVG drawing is in a proper format, it is determined whether the closed shape of the SVG drawing is normal, and the relationship between the base material (1) and the material (2) in the SVG drawing is determined. Method for auto-nesting with a smart auto-nesting program using a genetic algorithm, characterized in that to determine.
제1항에 있어서,
상기 형상정보를 서버에 입력하는 단계(S30)에서는 SVG 도면에 표시되는 모재(1)와 자재(2)의 형상, 수량, Plate 여부, 모재(1)와 자재(2) 의 식별ID 및 모재(1)와 자재(2)의 간격차이를 서버에 입력하는 것을 특징으로 하는 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법.
The method of claim 1,
In the step of inputting the shape information to the server (S30), the shape, quantity, plate availability, identification ID of the base material 1 and material 2, and the base material ( A method of auto-nesting with a smart auto-nesting program using a genetic algorithm, characterized in that the difference between 1) and the material (2) is input to the server.
제1항에 있어서,
상기 정렬하는 단계는 모재(1)의 범위 내에 자재(2)가 최대한 많이 위치하도록 들어갈 순서 및 각도를 서버에서 산출하여 모재(1) 내에 자재(2)를 정렬시키는 것을 특징으로 하는 유전자 알고리즘을 이용한 스마트 오토네스팅 프로그램으로 오토네스팅하는 방법.
The method of claim 1,
The sorting step uses a genetic algorithm, characterized in that the order and angle to be entered so that the material 2 is located within the range of the base material 1 as much as possible is calculated by the server to align the material 2 in the base material 1 How to auto-nesting with the smart auto-nesting program.
KR1020190161442A 2019-12-06 2019-12-06 Method for auto nest building to using genetic algorithm smart auto nesting of programs KR102162088B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190161442A KR102162088B1 (en) 2019-12-06 2019-12-06 Method for auto nest building to using genetic algorithm smart auto nesting of programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190161442A KR102162088B1 (en) 2019-12-06 2019-12-06 Method for auto nest building to using genetic algorithm smart auto nesting of programs

Publications (1)

Publication Number Publication Date
KR102162088B1 true KR102162088B1 (en) 2020-10-06

Family

ID=72826215

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190161442A KR102162088B1 (en) 2019-12-06 2019-12-06 Method for auto nest building to using genetic algorithm smart auto nesting of programs

Country Status (1)

Country Link
KR (1) KR102162088B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112884656A (en) * 2021-04-15 2021-06-01 世纪开元智印互联科技集团股份有限公司 Printing and imposition method and system for packing box plane expansion diagram image

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030019488A (en) * 2003-01-20 2003-03-06 박춘욱 Size, Shape And Topology Optimization of Structures Using Genetic Algorithms
KR20110056085A (en) * 2009-11-20 2011-05-26 대우조선해양 주식회사 Searching method for reuse area of scraps for ship and analyzing and registering method for effective area of the scraps
KR101752099B1 (en) 2016-08-26 2017-06-29 창원대학교 산학협력단 Combined optimized apparatus for nesting and cutting path and method thereof
KR101871095B1 (en) 2015-04-10 2018-06-25 츠네이시 조센 가부시키가이샤 Nesting method, nesting device, and nesting program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030019488A (en) * 2003-01-20 2003-03-06 박춘욱 Size, Shape And Topology Optimization of Structures Using Genetic Algorithms
KR20110056085A (en) * 2009-11-20 2011-05-26 대우조선해양 주식회사 Searching method for reuse area of scraps for ship and analyzing and registering method for effective area of the scraps
KR101871095B1 (en) 2015-04-10 2018-06-25 츠네이시 조센 가부시키가이샤 Nesting method, nesting device, and nesting program
KR101752099B1 (en) 2016-08-26 2017-06-29 창원대학교 산학협력단 Combined optimized apparatus for nesting and cutting path and method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
선행특허 3 : 유전 알고리즘과 No Fit Polygon법을 이용한 임의형상 부재 최적배치 연구 / 유병항, 부산: 부경대학교 대학원, 2002.8

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112884656A (en) * 2021-04-15 2021-06-01 世纪开元智印互联科技集团股份有限公司 Printing and imposition method and system for packing box plane expansion diagram image
CN112884656B (en) * 2021-04-15 2021-11-23 世纪开元智印互联科技集团股份有限公司 Printing and imposition method and system for packing box plane expansion diagram image

Similar Documents

Publication Publication Date Title
CN100458780C (en) Layout processing method, layout processing apparatus, and layout processing program
JP3976363B2 (en) Automatic graphic pattern placement method and system
KR102162088B1 (en) Method for auto nest building to using genetic algorithm smart auto nesting of programs
AU2009212924A1 (en) System for creating an artwork
Mundim et al. A general heuristic for two-dimensional nesting problems with limited-size containers
US20080189603A1 (en) Information processing apparatus, information processing method, and information processing program
US20100111419A1 (en) Image display device, image display method, and computer readable medium
Martinez-Sykora et al. Constructive procedures to solve 2-dimensional bin packing problems with irregular pieces and guillotine cuts
CN102930572A (en) Caching coverage values for rendering text using anti-aliasing techniques
KR20190105365A (en) Method for automatic creating 3d design drawing from 2d design drawing and automatic creating device using the same
Koh et al. Spatial scheduling for shape-changing mega-blocks in a shipbuilding company
US10546053B2 (en) Semi-automated field placement for electronic forms
CN102509125B (en) For automatically revising graphic feature to meet the method for resolution limit
CN113449732A (en) Information processing apparatus, image reading apparatus, recording medium, and information processing method
Sato et al. A separation and compaction algorithm for the two-open dimension nesting problem using penetration-fit raster and obstruction map
US11656611B2 (en) Production plan creation device and non-transitory computer readable medium
CN110096688A (en) A kind of production process recording method and device based on flow chart and table
CN114066103A (en) Cutting path planning method and system for two-dimensional irregular part layout drawing
WO2014209387A1 (en) Quality distributions for automated document composition
JP2000293551A (en) Method and device for determining two-dimensional layout
CN113485704A (en) Information processing method and system for commodity activity page of E-commerce platform
CN101923724B (en) Page cutting method
US11868964B2 (en) Production plan creation device and non-transitory computer readable medium
JP4517692B2 (en) Automatic tool placement device
Sadiku et al. Lean Manufacturing

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant