JPH0994795A - Arranging method for part shape - Google Patents

Arranging method for part shape

Info

Publication number
JPH0994795A
JPH0994795A JP7254134A JP25413495A JPH0994795A JP H0994795 A JPH0994795 A JP H0994795A JP 7254134 A JP7254134 A JP 7254134A JP 25413495 A JP25413495 A JP 25413495A JP H0994795 A JPH0994795 A JP H0994795A
Authority
JP
Japan
Prior art keywords
shape
component
shapes
base material
arranging
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP7254134A
Other languages
Japanese (ja)
Inventor
Fumimasa Yamada
文正 山田
Hideo Tsubata
秀雄 津幡
Toyohisa Wada
豊尚 和田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippei Toyama Corp
Original Assignee
Nippei Toyama Corp
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 Nippei Toyama Corp filed Critical Nippei Toyama Corp
Priority to JP7254134A priority Critical patent/JPH0994795A/en
Publication of JPH0994795A publication Critical patent/JPH0994795A/en
Pending legal-status Critical Current

Links

Landscapes

  • Laser Beam Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To increase a yield of a base member by sorting all the part shapes to be arranged in the order of decreasing area and successively arranging the part shapes along the arrangement line so that the height of the respective part shapes is lowered maximally to the datum side of the base member shape. SOLUTION: Part shapes including combined shapes are sorted in the order of decreasing area so as to be sequently arranged from a combined parallelogrammatic part shape 20 with the largest area from the left lower corner of a base member shape 3 along the first arrangement line 4 serving as the bottom side of the base member shape 3, and the part shapes 20 on the leftmost side in the second column and columns above the second column are packed on the lest sides. Subsequently, rectangular part shapes 21 formed of combinations of two rectangular members are arranged sequently, and then, parallelogrammatic part shapes 3 are arranged in the right direction, and on these shapes, parallelogrammatic part, shapes 2 are arranged in the right direction. After parallelogrammatic part shapes 6 are arranged, parallelogrammatic part shapes 7 are arranged on the parallelogrammatic part shapes 4, and moreover, the parallelogrammatic part shapes 7 are moved toward the left side until their left lower vertexes corresponds to right upper vertexes (b) of the rectangular part shapes 21.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、図形データから自
動加工用のプログラムを作成する装置に関し、母材形状
内に、所定の形状の部品を配置する、いわゆる板取りを
行う時に母材形状内に部品を最も多く効率よく配置する
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for creating a program for automatic processing from graphic data, and in a base material shape, a part having a predetermined shape is arranged in the base material shape. The most efficient way to place the parts in the.

【0002】[0002]

【従来の技術】レーザ加工機等を使用して板材から任意
の形状の部品の板取りを効率的に行うために、通常は、
コンピュータの使用の下に表示画面上で複数の部品の配
置位置を決定する。一般に、配置すべき部品数は複数個
であるために、これらの部品の配置を決定する時には、
各部品の形状データ(CADデータが既に存在している
場合には、このCADデータより取り込むことができ
る)をソートし、予め決めたルールに従ってこの母材形
状内に部品の形状データを配置していく。
2. Description of the Related Art In order to efficiently remove a plate having a desired shape from a plate using a laser beam machine or the like, normally,
Determining the placement position of multiple parts on a display screen under computer use. Generally, since the number of parts to be placed is plural, when deciding the placement of these parts,
The shape data of each part (if CAD data already exists, it can be fetched from this CAD data) is sorted, and the shape data of the parts are arranged in this base material shape according to a predetermined rule. Go.

【0003】従来の部品形状を配置する方法は、配置す
べき各部品に対して外接矩形を設定するとともに、この
外接矩形の長い辺を底辺とし、その外接矩形の高さの高
い部品より順次配置したり、または底辺の長い部品より
順次配置するようにしていた。また、部品を配置してい
る際に未配置のすきま形状が発生した時には、そのすき
ま形状内に配置可能な外接矩形を持つ部品を探して配置
する方法を取っていた。
In the conventional method of arranging the shapes of parts, a circumscribing rectangle is set for each of the parts to be arranged, and the long side of this circumscribing rectangle is taken as the bottom side, and the circumscribing rectangles are sequentially arranged in order of increasing height. Or, the parts with longer bases are arranged one after another. Further, when an unarranged clearance shape is generated while arranging the parts, a method of searching for a part having a circumscribing rectangle that can be arranged in the clearance shape and arranging it has been adopted.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記の
方法はいずれも各部品の外接矩形を設定し、その外接矩
形と母材形状とを対比しながら配置していく方法である
ために、配置処理のための計算時間は短くてすむ利点は
あるが、母材形状内に各部品が整然と配置されず、その
結果すきまが多くなり、歩留りが悪く且つ部品の配置方
向が不揃いになるという問題があった。
However, all of the above methods are methods of setting the circumscribing rectangle of each part and arranging the circumscribing rectangle and the base material shape while comparing them. However, there is a problem that each part is not arranged in order in the base material shape, resulting in a large clearance, poor yield, and uneven arrangement of parts. It was

【0005】本発明の目的は、母材の歩留り率を高め、
且つ母材のある一辺に対して各部品を整然と配置すると
ともに、配置処理に要する時間も短縮出来る部品形状の
配置方法を提供することにある。
An object of the present invention is to increase the yield rate of the base material,
Another object of the present invention is to provide a component shape arranging method that can arrange each component orderly on one side of the base material and reduce the time required for the arranging process.

【0006】[0006]

【課題を解決するための手段】本発明の請求項1に係る
部品形状の配置方法は、母材形状内に部品形状を順次配
置していく時、母材形状をメモリに登録した後、母材形
状の基準辺に配置ラインを設定し、この配置ラインに沿
って1つの部品形状を配置する毎にその時の母材形状か
ら該部品形状を除去して新たな母材形状に更新するとと
もに、配置すべき全ての部品形状を、面積の大きいもの
からソートし、このソート順に従って前記配置ラインに
沿って各部品形状の高さが母材形状の基準辺に対して最
も低くなる姿勢で該部品形状を順次配置していくことを
特徴とする。
According to a method of arranging a part shape according to claim 1 of the present invention, when the part shapes are sequentially arranged in the base material shape, the base material shape is registered in a memory and then the base material shape is registered. A placement line is set on the reference side of the material shape, and each time one component shape is placed along this placement line, the part shape is removed from the base material shape at that time, and a new base material shape is updated. All the component shapes to be arranged are sorted in descending order of area, and the parts are placed in such a posture that the height of each component shape is the lowest along the placement line with respect to the reference side of the base material shape in accordance with this sort order. The feature is that the shapes are sequentially arranged.

【0007】この方法では、配置する部品形状を外接矩
形にすることなく部品形状そのものとし、且つ配置した
部品形状を除去して新たな残母材形状を更新する時には
形状の簡略化を行わず、部品形状を除去した後のそのま
まの残形状を新たな母材形状として更新する。また、配
置ラインに沿って面積の大きいものから各部品形状の高
さが最も低くなる姿勢で配置していく。このような方法
では、部品形状を外接矩形形状に変更して処理したり、
新たな母材形状の簡略化処理を行わないようにしている
ために、歩留りの低下が防がれるとともに、面積の大き
い部品形状から順に高さが最も低くなる姿勢になるよう
に順次配置しているために歩留りの低下が更に防がれ、
また全ての部品形状を配置した時、母材形状のある一辺
に対し整然と各部品を配置出来る。
According to this method, the shape of the parts to be arranged is not changed into a circumscribing rectangle, but the shape of the parts itself is changed, and when the shape of the arranged parts is removed and a new residual base material shape is updated, the shape is not simplified. The remaining shape after removing the part shape is updated as a new base material shape. Further, along the placement line, the components are arranged in such a posture that the height of each component shape is the lowest from the largest area. In such a method, change the part shape to a circumscribed rectangular shape and process it,
Since no new base material shape simplification processing is performed, the yield is prevented from decreasing, and the shapes are arranged in order so that the height of the parts becomes larger and the height becomes the lowest. The yield is further prevented due to the presence of
Further, when all the component shapes are arranged, the respective parts can be arranged in order on one side having the base material shape.

【0008】本発明の請求項2に係る部品形状の配置方
法は、配置しようとする部品形状の各頂点と前記母材形
状の配置ラインの各端点とを合わせ、各々の位置で部品
形状を所定の複数の角度だけ回転させ、それらの回転姿
勢の中から母材の基準辺に対して該部品の高さが最も低
くなる回転姿勢の位置で、該部品形状を配置することを
特徴とする。
According to a second aspect of the present invention, there is provided a method for arranging a part shape in which each apex of the part shape to be arranged is aligned with each end point of the arranging line of the base material shape, and the part shape is predetermined at each position. Are rotated by a plurality of angles, and the shape of the component is arranged at a position in which the height of the component is the lowest with respect to the reference side of the base material.

【0009】この方法では、配置ラインの各端点で部品
を配置し、またその端点位置で所定の複数の角度だけ回
転させて最も高さが低くなる回転姿勢を選択するように
している。配置ラインの端点位置で部品形状の頂点を合
わせて配置しているために、部品形状の配置効率は最も
良くなり、また、回転させることによって高さの低くな
る姿勢を選択しているために、処理が簡単である。
In this method, the parts are arranged at the respective end points of the arrangement line, and at the end point positions, the parts are rotated by a plurality of predetermined angles to select the rotational posture having the lowest height. Since the vertices of the part shape are placed at the end points of the placement line, the placement efficiency of the part shape is maximized, and the posture in which the height is lowered by rotating is selected. Easy to process.

【0010】本発明の請求項3に係る部材形状の配置方
法は、上記回転させる複数の角度を0°、90°、18
0°、270°の4種類の角度にしたことを特徴として
いる。複数の角度をこの4種類に設定することにより、
コンピュータの処理時間が長くなるのを防止でき、また
この4種類の回転角度を確保できれば配置する部品の高
さが最も低くなる位置を概ね確保することができる。
In the member shape arranging method according to claim 3 of the present invention, the plurality of rotating angles are 0 °, 90 ° and 18 °.
It is characterized by having four kinds of angles of 0 ° and 270 °. By setting multiple angles to these four types,
It is possible to prevent the processing time of the computer from becoming long, and if these four types of rotation angles can be secured, it is possible to secure a position where the height of the components to be arranged is the lowest.

【0011】本発明の請求項4に係る部品形状の配置方
法は、配置ラインに沿って一旦配置した部品形状を予め
定めた一方向に移動可能かどうかを調べ、移動可能であ
れば最大限該一方向に移動することを特徴としている。
According to a fourth aspect of the present invention, in the method of arranging a part shape, whether or not the part shape once arranged along the arranging line can be moved in one predetermined direction is checked, and if the part can be moved, the maximum shape It is characterized by moving in one direction.

【0012】このようにすると、配置ラインに沿って順
次部品形状を配置していく時に母材のある一辺に詰めて
配置することができ、より多くの部品形状を配置できる
とともに、すきま形状の面積を小さくできる。
With this configuration, when the component shapes are sequentially arranged along the arrangement line, they can be arranged on one side of the base material so that more component shapes can be arranged and the area of the clearance shape can be increased. Can be made smaller.

【0013】本発明の請求項5に係る部品形状の配置方
法は、上記の配置を進めていくに従ってすきま形状がで
きるが、このすきま形状ができた時にそのすきまに対し
て配置可能な部品形状を配置するものであって、その場
合に、配置すべき部品を外接矩形に置き換えることなく
そのまま配置可能かどうかを調べる。すなわち、すきま
形状の各端点と部品形状の各頂点同士を合わせて部品形
状の一辺を底辺として配置した時の組み合わせを全て調
査し、それらの中から高さが最も低くなる姿勢を選択し
て当該部品形状をすきま形状内に配置する。勿論この場
合、1つの部品形状をすきま形状内に配置した後にはそ
のすきま形状が更新され、更新されたすきま形状内に更
に配置可能な部品形状がある場合、その部品形状が更に
配置されるようになる。また、端点と頂点同士を合わせ
て配置出来ない場合には、部品形状を左右にシフトして
配置出来るかどうかを調べる。もし配置出来れば、その
位置で配置する。
According to the fifth aspect of the present invention, in which the component shape is arranged, a clearance shape can be formed as the above-described arrangement is advanced. It is arranged, and in that case, it is checked whether or not the parts to be arranged can be arranged as they are without being replaced with a circumscribing rectangle. That is, all the combinations when the end points of the clearance shape and the vertices of the part shape are aligned and one side of the part shape is arranged as the bottom side are investigated, and the posture with the lowest height is selected from them. Place the part shape within the clearance shape. In this case, of course, after arranging one component shape in the clearance shape, the clearance shape is updated, and if there is a component shape that can be further arranged in the updated clearance shape, the component shape is arranged further. become. If the end points and the vertices cannot be arranged together, it is checked whether the component shapes can be shifted to the left or right. If possible, place at that position.

【0014】この方法では、部品形状を外接矩形形状に
置き換えることなくそのままの形状ですきま形状内に配
置しているために、また、すきま形状の各端点と部品形
状の各端点と頂点同士を合わせ、この部分を底辺として
高さが最も低くなる姿勢を選択するようにしているため
に、可能な限り大きな部品をすきま形状内に配置できる
可能性が高まる。
In this method, since the shape of the part is not changed to the circumscribed rectangular shape and the shape is placed in the clearance shape as it is, the end points of the clearance shape, the end points of the part shape and the vertices are matched. Since this portion is used as the base and the posture in which the height is the lowest is selected, the possibility that the largest possible component can be arranged in the clearance shape is increased.

【0015】本発明の請求項6に係る部品形状の配置方
法は、部品形状を、長方形、平行四辺形、台形等の予め
決められた基本形状でない場合には、これらの基本形状
に近似させることを特徴としている。部品形状を、この
ような基本形状に近似させることにより、部品の配置処
理に要する所要時間の短縮を図ることができ、また部品
形状が単一の外接矩形形状ではなく複数の基本形状に分
類されるために、歩留りの低下を防ぐことが可能であ
る。
According to a sixth aspect of the present invention, in the method of arranging a part shape, if the part shape is not a predetermined basic shape such as a rectangle, a parallelogram, or a trapezoid, it is approximated to these basic shapes. Is characterized by. By approximating the part shape to such a basic shape, it is possible to reduce the time required for the part placement process, and the part shape is classified into multiple basic shapes instead of a single circumscribed rectangular shape. Therefore, it is possible to prevent a decrease in yield.

【0016】本発明の請求項7に係る部品形状の配置方
法は、2つの同一形状、同一寸法の部品を組み合わせて
一つの部品として取り扱う方法であって、前記基本形状
に近似させる際、2つの同一形状の部品形状をいずれか
一方を180°回転させた状態で各頂点と一辺同士を合
わせた組み合わせ形状の全てにおいて、外接長方形が最
小で且つ該外接長方形の面積に対して2つの部品形状面
積が一定比率以上の面積がある時、該2つの組み合わせ
形状を一対の形状として1つの部品形状に設定すること
を特徴とする。
According to a seventh aspect of the present invention, there is provided a method of arranging component shapes, which is a method of combining two components having the same shape and the same size as one component. In all of the combination shapes in which one of the vertices and one side are combined in the state where one of the same shape is rotated by 180 °, the circumscribed rectangle is the minimum, and the area of the two component shapes is the area of the circumscribed rectangle. When there is an area of a certain ratio or more, the two combined shapes are set as a pair of shapes and set as one component shape.

【0017】このような組み合わせ方法を使用すること
により、たとえば部品形状が正三角形の場合、この正三
角形を2つ組み合わせて平行四辺形の基本形状とするこ
とができる。
By using such a combining method, for example, when the component shape is an equilateral triangle, two equilateral triangles can be combined to form a parallelogram basic shape.

【0018】[0018]

【発明の実施の形態】図1は、本発明に係る配置方法を
実施する自動加工用のプログラムを作成する装置の構成
図である。同装置は、図形データ(CADデータ)から
自動加工用のプログラムを作成する装置であって、同図
において、10は演算処理装置(CPU)、11、1
2、13、14は、各々、主記憶装置(メモリ)、キー
ボード、表示装置、外部記憶装置を示す。キーボード1
2より、母材の形状データなどが入力され、この母材上
に配置される部品の形状データは、CADデータからな
り、外部記憶装置14に記憶されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of an apparatus for creating a program for automatic machining that implements a placement method according to the present invention. This device is a device for creating a program for automatic processing from graphic data (CAD data), and in the figure, 10 is an arithmetic processing unit (CPU), 11, 1
Reference numerals 2, 13, and 14 denote a main storage device (memory), a keyboard, a display device, and an external storage device, respectively. Keyboard 1
2, the shape data of the base material and the like are input, and the shape data of the parts arranged on the base material are CAD data and are stored in the external storage device 14.

【0019】図2〜図12は、本発明に係る配置方法の
実施の形態を模式的に示す図である。
2 to 12 are diagrams schematically showing an embodiment of the arrangement method according to the present invention.

【0020】同図に示す例では、元の部品形状1が正三
角形であり、この正三角形の部品形状1が2つ組み合わ
されて平行四辺形の部品形状2に置き換えられている。
そして、母材形状3の底辺を基準辺とし、この基準辺に
基づいて設定される配置ライン4の左側端部Aから右方
向に順次部品形状が配置されていく。部品形状2を右方
向に配置可能なだけ配置した後は、その上方の左側より
右方向に向けて部品形状が配置されていく。部品形状が
配置されていない最初の状態では、基準辺は部品形状を
順次配置していくための配置ライン4に一致している。
なお、組み合わせが容易な単純な部品形状に対しては事
前に組み合わされており、その後に面積の大きなものか
らソートされ、そのソート順に従って面積の大きいもの
から配置されていく。
In the example shown in the figure, the original component shape 1 is an equilateral triangle, and two equilateral triangular component shapes 1 are combined and replaced by a parallelogram component shape 2.
Then, with the bottom side of the base material shape 3 as a reference side, the component shapes are sequentially arranged in the right direction from the left end A of the arrangement line 4 set based on the reference side. After arranging the component shape 2 in the right direction as much as possible, the component shapes are arranged from the upper left side to the right direction. In the initial state in which the component shapes are not arranged, the reference side coincides with the arrangement line 4 for sequentially arranging the component shapes.
It should be noted that simple component shapes that can be easily combined are combined in advance, then sorted in descending order of area, and arranged in descending order of area according to the sorting order.

【0021】図2において、平行四辺形の部品形状(正
三角形の部品形状1同士が組み合わされ一つの部品形状
とされている)2を、配置ライン4に沿って左側から配
置する時、まず、配置ライン4の端点AおよびBと部品
形状2の頂点P1〜P4とを各々合わせて、配置ライン
4の各端点位置AおよびBにおいて部品形状2を複数の
角度0°、90°、180°、270°に回転させ、そ
の中から配置ライン4に対する高さが最も低くなる回転
姿勢の位置で該部品形状2を該回転姿勢で配置する。図
3および図4は、上記の動作の内、配置ライン4の端点
Aにおいて部品形状2の頂点P1およびP2を合わせて
上記の複数の角度で回転させる例を示している。すなわ
ち図3においては、配置ライン4の端点Aと部品形状2
の第1の頂点P1を合わせて部品形状2を、0°(2
a)、90°(2b)、180°(2c)、270°
(2d)回転させた状態を示す。この4つの回転姿勢2
a〜2dの内、2b〜2dは母材形状3の外側であるた
めに配置できない。したがって回転角0°の回転姿勢2
aが配置候補となる。次に、図4に示すように、配置ラ
イン4の端点Aと部品形状2の第2の頂点P2を合わせ
て上記と同様に0°(2e)、90°(2f)、180
°(2g)、および270°(2h)それぞれ回転さ
せ、それらの回転姿勢が配置可能かどうかをテストす
る。次に示すように、この場合全ての回転姿勢2e〜2
hが全て母材形状3と干渉するために配置不可能であ
る。したがってこの場合には配置候補はない。以下同様
にして、配置ライン4のA点と部品形状2の第3の頂点
P3および第4の頂点P4をそれぞれ合わせて上記と同
様に4つの回転姿勢を調べ、配置可能なものがあれば候
補とする。さらに、配置ライン4のもう1つの端点B点
と上記部品形状2の各頂点P1〜P4とをそれぞれ合わ
せて上記と同様な調査を行う。そして、配置可能なもの
を全て候補に上げる。このようにして得られた全ての回
転姿勢の候補の中から配置ライン4に対して部品形状の
高さ最も低くなるものを選択し、母材形状3に配置す
る。この場合、端点Aと端点Bで部品形状を回転させた
結果、部品形状高さが同じものがそれぞれ1個以上ある
場合には、母材形状3のいずれか所定の一辺に近い方に
位置するものを選択する。ここでは、左側に位置するも
のを選択の優先順位が高いものとする。したがって、左
側の端点Aに位置するものを選択する。この結果、図に
示す例では、図2に示すように部品形状2は配置ライン
4の左側端点Aに部品形状2の頂点P1が一致し、且つ
部品形状2の底辺が配置ライン4に一致している状態が
最終配置位置として選択される。
In FIG. 2, when arranging a parallelogram-shaped component shape (which is a combination of equilateral triangular component shapes 1 into one component shape) 2 from the left side along an arrangement line 4, first, By aligning the end points A and B of the arrangement line 4 and the vertices P1 to P4 of the component shape 2, respectively, the component shape 2 is formed at a plurality of angles 0 °, 90 °, 180 ° at the respective end point positions A and B of the arrangement line 4. It is rotated to 270 °, and the part shape 2 is arranged in the rotation posture at a position in which the height with respect to the arrangement line 4 is the lowest. FIG. 3 and FIG. 4 show an example in which the vertices P1 and P2 of the component shape 2 are combined at the end point A of the arrangement line 4 and rotated at the above-mentioned plurality of angles among the above operations. That is, in FIG. 3, the end point A of the placement line 4 and the part shape 2
Align the first apex P1 of
a), 90 ° (2b), 180 ° (2c), 270 °
(2d) shows a rotated state. These four rotational postures 2
Among a to 2d, 2b to 2d cannot be arranged because they are outside the base material shape 3. Therefore, the rotation posture 2 with the rotation angle of 0 °
a is a placement candidate. Next, as shown in FIG. 4, the end point A of the arrangement line 4 and the second apex P2 of the part shape 2 are combined and 0 ° (2e), 90 ° (2f), 180 as in the above.
Rotate each (° g (2g) and 270 ° (2h)) and test whether their rotational postures can be arranged. As shown below, in this case, all rotation postures 2e to 2e
Since h all interferes with the base material shape 3, it cannot be arranged. Therefore, in this case, there are no placement candidates. In the same manner, point A of the placement line 4 and the third vertex P3 and the fourth vertex P4 of the part shape 2 are respectively matched and the four rotational postures are examined in the same manner as described above. And Further, the other end point B of the arrangement line 4 and each of the vertices P1 to P4 of the component shape 2 are combined together and the same investigation as above is performed. Then, all those that can be arranged are selected as candidates. From all the rotational posture candidates obtained in this way, the one having the lowest component shape height with respect to the arrangement line 4 is selected and arranged on the base material shape 3. In this case, as a result of rotating the part shape at the end point A and the end point B, if there are one or more parts having the same part shape height, the base material shape 3 is located closer to one of the predetermined sides. Select one. Here, the one located on the left side has a higher priority of selection. Therefore, the one located at the left end point A is selected. As a result, in the example shown in the figure, as shown in FIG. 2, in the component shape 2, the vertex P1 of the component shape 2 coincides with the left end point A of the arrangement line 4, and the bottom of the component shape 2 coincides with the arrangement line 4. The state of being placed is selected as the final placement position.

【0022】上記のようにして最初の部品形状2の配置
を終えた後、次にメモリに登録されている母材形状の更
新を行う。すなわち、部品配置後の残母材形状を決め、
新たな配置ラインを設定する。残母材形状は、その直前
の残母材形状(最初は母材形状に等しい)から配置した
部品形状を除去した形状である。すなわち、図に示す例
では、平行四辺形の部品形状2を除去した形状が残母材
形状となる。図5は、図2において平行四辺形の部品形
状2が除去された後の残母材形状を示す。また、この残
母材形状が更新された結果、新たな配置ラインはA−C
−D−E−Bとなる。
After the placement of the first part shape 2 is completed as described above, the base material shape registered in the memory is updated next. In other words, decide the shape of the remaining base material after parts placement,
Set a new placement line. The residual base material shape is a shape obtained by removing the arranged component shape from the immediately preceding residual base material shape (initially equal to the base material shape). That is, in the example shown in the figure, the shape obtained by removing the parallelogram-shaped component shape 2 becomes the residual base material shape. FIG. 5 shows the shape of the remaining base material after the parallelogram-shaped part shape 2 in FIG. 2 is removed. In addition, as a result of updating the shape of the remaining base material, the new placement line is A-C.
-DEB.

【0023】上記のようにして設定された新たな配置ラ
イン4は、図5に示すようにA,C,D,E,Bの合計
5個の端点を備えている。したがって、2つ目の部品形
状2を配置する場合には、この2つ目の部品形状2の各
頂点と上記新たな配置ライン4の合計5個の端点とを合
わせて図3〜図4に示したような調査を行って配置ライ
ン4に対して部品配置の高さが最も低くなる回転姿勢を
選択する。図6は、配置ライン4のE点において2つ目
の部品形状2を回転させている状態を示している。当然
に理解され得るように、配置ライン4の端点ACDの位
置においては、それらの端点に、部品形状2のP1〜P
4のどの頂点が合わせられても各回転角度の部品形状の
回転姿勢は残母材形状内に配置出来ないか、或いは端点
E点における回転姿勢2iに比べて部品配置の高さがE
端に比べてかなり高いものとなる。また、配置ライン4
のB点における各回転姿勢も残母材形状に配置出来ない
か高さHが上記回転姿勢2iと同じものとなる。したが
って、図5に示す配置ライン4では、図6に示す回転姿
勢2iが選択されて配置されることになる。図7は、こ
の回転姿勢2iで部品形状2が配置された直後の状態を
示している。
The new placement line 4 set as described above has a total of five end points A, C, D, E and B as shown in FIG. Therefore, when arranging the second part shape 2, the respective vertices of the second part shape 2 and the total of 5 end points of the new arrangement line 4 are combined and shown in FIGS. The investigation as shown is performed, and the rotational posture in which the height of component placement is the lowest with respect to the placement line 4 is selected. FIG. 6 shows a state in which the second component shape 2 is rotated at the point E on the arrangement line 4. As can be understood as a matter of course, at the positions of the end points ACD of the placement line 4, P1 to P of the part shape 2 are located at those end points.
No matter which vertex of 4 is aligned, the rotational posture of the component shape at each rotational angle cannot be arranged in the residual base material shape, or the height of the component arrangement is E compared to the rotational posture 2i at the end point E.
It will be much higher than the edge. In addition, placement line 4
The respective rotational postures at point B cannot be arranged in the shape of the residual base metal, or the height H becomes the same as the rotational posture 2i. Therefore, in the arrangement line 4 shown in FIG. 5, the rotational posture 2i shown in FIG. 6 is selected and arranged. FIG. 7 shows a state immediately after the component shape 2 is arranged in this rotation posture 2i.

【0024】上記のようにして2つの部品形状2が配置
されると、残母材形状が再び更新され、配置ラインもそ
れにしたがって図8に示すようにA−C−F−G−Bと
なる。この後図5に示す場合と同じように順次右方向に
部品形状2が配置されていく。ただし、ここでは正三角
形1が組み合わされた部品形状2を多数配置する場合に
ついて説明している。
When the two component shapes 2 are arranged as described above, the residual base material shape is updated again, and the arrangement line is accordingly changed to ACF GGB as shown in FIG. . After this, as in the case shown in FIG. 5, the component shapes 2 are sequentially arranged in the right direction. However, here, the case where a large number of component shapes 2 in which the equilateral triangles 1 are combined are arranged is described.

【0025】平行四辺形(正三角形の組み合わせ形状)
の部品形状2が上記と同じようにして右方向に順次配置
されていくと、図9に示すように配置ライン4がA−C
−H−I−Bとなった段階で頂点Iの位置にもはや部品
形状2を配置できなくなる。すると、端点Cに部品形状
2の頂点P1を合わせて角度を0°の回転姿勢が選択さ
れて配置される。この場合、新たに配置された平行四辺
形の部品形状2の左側には大きな空間が存在する。そこ
で、このような場合には部品形状2を図の矢印の方向、
すなわち予め定めた基準方向である左方向に配置が可能
なだけシフトする。配置が可能なだけシフトするとは、
部品形状2のいずれかの頂点が左方向に存在する部材
(図9では残母材形状3)形状の輪郭線または端点に当
接するまでシフトすることを意味する。したがって、図
9の状態から部品形状2が基準方向(左方向)にシフト
されると、部品形状の頂点P1が残母材形状3の左辺に
当接するまでシフトすることになって、図10に示すよ
うになる。部品形状を配置した後、続いて残母材形状3
が更新され、図11に示すように新たな配置ラインは、
A−C−J−K−L−M−H−I−Bとなる。この時、
図11に示すSの領域が残母材形状から分離されたすき
ま形状となっている。このすきま形状Sができると、該
すきま形状Sに対していずれかの部品形状が配置できる
かどうかを調査する。すきま形状Sに対していずれかの
部品形状が配置できるかどうかを調査する方法は次のよ
うにして行う。
Parallelogram (combined shape of regular triangles)
When the component shapes 2 of No. 2 are sequentially arranged in the right direction in the same manner as described above, the arrangement line 4 becomes A-C as shown in FIG.
At the stage of -HIB, the part shape 2 can no longer be arranged at the position of the vertex I. Then, the vertex P1 of the component shape 2 is aligned with the end point C, and the rotational posture with an angle of 0 ° is selected and arranged. In this case, a large space exists on the left side of the newly arranged parallelogram-shaped component shape 2. Therefore, in such a case, the component shape 2 is set in the direction of the arrow in the figure,
That is, it is shifted as much as possible in the leftward direction, which is a predetermined reference direction. To shift the position as much as possible
It means that any one of the vertices of the part shape 2 shifts until it comes into contact with the contour line or the end point of the member (remaining base material shape 3 in FIG. 9) shape existing in the left direction. Therefore, when the component shape 2 is shifted in the reference direction (leftward) from the state of FIG. 9, the vertex P1 of the component shape is shifted until it comes into contact with the left side of the residual base material shape 3, and FIG. As shown. After arranging the parts shapes, then the remaining base material shape 3
Is updated, and the new placement line as shown in FIG.
A-C-J-K-L-M-H-I-B. This time,
A region S shown in FIG. 11 has a clearance shape separated from the shape of the residual base material. When this clearance shape S is formed, it is investigated whether any component shape can be arranged with respect to the clearance shape S. The method for investigating whether any component shape can be arranged with respect to the clearance shape S is performed as follows.

【0026】まず、すきま形状Sの輪郭を形成している
要素(一般には直線と円弧)の端点と部品形状2の輪郭
を形成している要素(一般には直線と円弧)の頂点とを
合わせて部品形状が配置できるかどうかを調査する。こ
の場合、すきま形状の各端点A,C,Jと部品形状の各
頂点とを合わせ、その位置を中心に部品形状を先に説明
した4種類の角度で回転させ、部品形状の各要素がすき
ま形状の各要素に干渉せず、且つ初期の配置ライン4
(図11ではAとBを結んだ直線)に対して最も高さが
低くなる姿勢を配置候補として選ぶ。このような調査は
すきま形状の各端点に対して行う。各端点での調査した
候補群の中で高さが最も低くなるものを選んで配置す
る。その後、すきま形状から配置した部品形状を除去し
て新たなすきま形状を更新し、さらに順次同様に新たな
部品の配置を行う。このような作用によってすきま形状
内に部品形状を配置できない時には、部品形状を初期の
配置ライン4に対して水平方向にシフトしたり、すきま
形状の要素に沿ってシフトしたりしてみて配置できるか
どうかを調査する。配置できれば、その位置で部品形状
を配置する。図12に示す例では、部品形状の内、四角
形の部品形状2′がすきま形状S内に配置できたことを
示し、その結果、図13に示すように新たな2つのすき
ま形状S1、S2が形成され、これらのすきま形状に対
して再び他の部品形状が配置できるかどうかが調査され
る。いずれの部品形状も配置できなくなると、そのすき
ま形状Sはデッドスペースとして処理される。すなわ
ち、図14に示すように、残母材形状3は、もうこれ以
上部品形状を配置できないすきま形状Sを除去した新た
な残母材形状に更新され、それに伴って新たな配置ライ
ンJ−K−L−M−H−I−Bが設定される。以下同様
にして、設定されている配置ラインに沿って面積の大き
い順にソートされた部品形状を順次配置していく。
First, the end points of elements (generally straight lines and arcs) forming the contour of the clearance shape S and the vertices of elements (generally straight lines and arcs) forming the contour of the part shape 2 are combined. Investigate whether the part shape can be placed. In this case, the end points A, C, and J of the clearance shape are aligned with the vertices of the part shape, and the part shape is rotated at the four types of angles described above so that each element of the part shape has a clearance. Initial placement line 4 that does not interfere with each element of the shape
The orientation having the lowest height with respect to (the straight line connecting A and B in FIG. 11) is selected as the placement candidate. Such an investigation is performed for each end point of the clearance shape. Among the candidate groups investigated at each end point, the one with the lowest height is selected and placed. After that, the shape of the placed component is removed from the clearance shape, a new clearance shape is updated, and a new component is sequentially arranged in the same manner. When the component shape cannot be arranged in the clearance shape due to such an action, can the component shape be arranged by shifting it horizontally with respect to the initial arrangement line 4 or by shifting along the clearance shape element? Investigate. If it can be placed, the component shape is placed at that position. In the example shown in FIG. 12, it is shown that, of the component shapes, the quadrangle component shape 2'can be arranged in the clearance shape S, and as a result, two new clearance shapes S1 and S2 are generated as shown in FIG. Once formed, it is investigated whether other component shapes can be placed again for these clearance shapes. When it becomes impossible to arrange any of the component shapes, the clearance shape S is processed as a dead space. That is, as shown in FIG. 14, the residual base material shape 3 is updated to a new residual base material shape in which the clearance shape S in which the component shape can no longer be arranged is removed, and accordingly a new arrangement line J-K is formed. -L-M-H-I-B is set. Similarly, the component shapes sorted in descending order of area are sequentially arranged along the set arrangement line.

【0027】以上、図2〜図14を参照して、本発明の
実施の形態の説明を行ったが、部品形状としては、正三
角形1を2つ組み合わせて平行四辺形形状とするよう
に、所定の組み合わせ条件を満たすものは一対にするの
が望ましく、また配置決定の処理時間を短くするため
に、部品形状としては長方形、平方四辺形、台形等の予
め決められた単純な複数の基本形状に近似させておくこ
とが望ましい。たとえば、図15に示すように部品形状
2が実線で示すような形状の場合、図の点線で示すよう
な外接長方形に予め近似させる。
The embodiment of the present invention has been described above with reference to FIGS. 2 to 14. As the component shape, two equilateral triangles 1 are combined to form a parallelogram shape. It is desirable to make a pair that satisfies the predetermined combination condition, and in order to shorten the processing time for arranging the layout, as the component shape, a plurality of predetermined simple basic shapes such as rectangle, square quadrangle, trapezoid etc. It is desirable to approximate to. For example, when the component shape 2 is a shape shown by a solid line as shown in FIG. 15, it is approximated in advance to a circumscribed rectangle shown by a dotted line in the figure.

【0028】次に本発明に係る部品形状の配置方法の具
体的な動作について図16以下のフローチャートを参照
して説明する。
Next, a specific operation of the component shape arranging method according to the present invention will be described with reference to the flowcharts shown in FIG.

【0029】図16は、上記配置方法のメインルーチン
を示している。まず、ステップST1において部品形状
の登録を行い、続いて、ST2で母材形状の登録を行
う。次に、ST3で複数の部品形状の中から組み合わせ
できるものを自動的に選択して必要な処理を行って組み
合わせ形状に設定する。次にST4において部品形状の
再登録を行い、ST5において部品形状の面積の大きい
順にソートを行う。面積の大きい順のソート処理を行う
と、たとえば図17に示すような結果となる。次に、S
T6で母材形状に部品形状の登録出来る領域があるかど
うかの判定を行い、なければST2に戻り次の母材形状
の登録を行うようにし、母材形状に部品形状の登録出来
る領域があればST7に進む。次にST7において配置
処理に移り、配置が終了するとST8において配置を行
った部品形状の登録削除を行い、ST5で残母材形状の
更新を行う。この残母材形状の更新では、上述のように
新たな配置ライン4の設定も行われる。すなわち母材形
状3を配置した状態で部品形状を予め定めた方向の左下
から右方向に向けて順次配置していく場合、母材形状の
底辺に相当するラインが配置ライン4として設定され
る。ST7での配置の結果、すきまがあれば(ST1
0)ST11のすきま埋め処理に移り、すきまがなけれ
ば未配置の残りの部品形状があるかどうかの判断を行
い、まだある場合には再びST6以下の処理を行う。な
お、すきま埋め処理の結果部品形状の配置が行われた場
合には、ST12で同部品形状の登録削除が行われる。
FIG. 16 shows the main routine of the arrangement method. First, in step ST1, the part shape is registered, and subsequently in ST2, the base material shape is registered. Next, in ST3, a shape that can be combined is automatically selected from a plurality of component shapes, and necessary processing is performed to set the combination shape. Next, in ST4, the part shapes are re-registered, and in ST5, the parts are sorted in descending order of area. When the sorting process is performed in the descending order of area, the result shown in FIG. 17 is obtained. Then S
At T6, it is determined whether or not there is a region in which the part shape can be registered in the base material shape. If not, the process returns to ST2 to register the next base material shape, and there is an area in which the part shape can be registered in the base material shape. If so, proceed to ST7. Next, in ST7, the placement process is started. When the placement is completed, the shape of the placed part is deleted and registered in ST8, and the remaining base material shape is updated in ST5. In this update of the shape of the remaining base material, the new placement line 4 is set as described above. That is, when the component shapes are sequentially arranged from the lower left to the right in the predetermined direction with the base material shape 3 arranged, a line corresponding to the base of the base material shape is set as the arrangement line 4. If there is a gap as a result of the placement in ST7 (ST1
0) The process proceeds to the clearance filling process of ST11, and if there is no clearance, it is determined whether or not there is an unarranged remaining part shape, and if there is any, the processes of ST6 and subsequent steps are performed again. If the component shape is placed as a result of the gap filling process, the registration of the component shape is deleted in ST12.

【0030】図18は2つ以上の部品形状を配置する場
合を示し、上記ST3の処理の動作を示すフローチャー
トである。まず、部品形状の中に同一形状、同一寸法の
ものが2つ以上あるかどうかを判断し(ST15)、2
つ以上あれば、そのうちの一方を180°回転したもの
を2つ組み合わせてみる(ST16)。次に、その時の
外接長方形(図15参照)の面積が最小で且つ歩留りが
80%以上のもの、すなわち、外接長方形の面積に対し
て2つの部品形状面積が80%比率以上のものがある場
合には、ST13に進み、それらの2つの組み合わせ形
状を組み合わせ形状として設定する。以上の組み合わせ
動作を部品配置を行う全ての部品形状に対して処理す
る。
FIG. 18 shows a case where two or more component shapes are arranged, and is a flow chart showing the operation of the process of ST3. First, it is judged whether or not there are two or more parts having the same shape and the same size (ST15), 2
If there are two or more, one of them is rotated by 180 ° and two are combined (ST16). Next, when the area of the circumscribed rectangle (see FIG. 15) at that time is the smallest and the yield is 80% or more, that is, when the two component shape areas are 80% or more of the area of the circumscribed rectangle. In step ST13, the two combined shapes are set as a combined shape. The above combination operation is processed for all component shapes for which component placement is performed.

【0031】次に、図19に配置処理のフローチャート
を示す。ST20においてその時の配置ラインの端点の
配列を設定し、ST21においてその時に選ばれている
部品形状の頂点の配列を設定する。続いて、ST22で
配置ラインの端点ループを定義し(配列Pの数だけ繰り
返す)、ST23で部品形状の頂点ループを定義する
(配列Qの数だけ繰り返す)。さらにST24で部品形
状の回転ループを定義する(4種類の回転角度での処理
を繰り返す)。以上のループの定義の後、ST25にお
いて、上記に説明した端点,頂点合わせによる配置ライ
ンに対しての高さが最も低くなる(Hmin)配置状態
(回転姿勢)を選択する。そして、選択された回転姿勢
の部品形状が左詰め(左シフト)の可能性がある場合に
はST29で左詰めし、そうでない場合はそのままST
30に進み、このST30で最終的に全ての部品に対し
て部品形状の配置を行う。なお配置の完了した部品形状
については部品形状の配列から順次取り除いていく。
Next, FIG. 19 shows a flowchart of the arrangement process. In ST20, the array of the end points of the placement line at that time is set, and in ST21, the array of the vertexes of the component shape selected at that time is set. Subsequently, in ST22, the end point loops of the placement line are defined (repeated by the number of arrays P), and the vertex loops of the part shape are defined in ST23 (repeated by the number of arrays Q). Further, in ST24, a rotation loop of the component shape is defined (processing at four types of rotation angles is repeated). After the definition of the above loop, in ST25, the arrangement state (rotational posture) in which the height with respect to the arrangement line due to the end point / vertex alignment described above is the lowest (Hmin) is selected. Then, if there is a possibility that the component shape of the selected rotation posture is left-justified (left-shifted), it is left-justified in ST29, and if not, ST is left as it is.
In step ST30, the component shapes are finally arranged for all the components. It should be noted that the component shapes that have been arranged are sequentially removed from the component shape array.

【0032】図20は、すきま埋め処理の動作を示すフ
ローチャートである。
FIG. 20 is a flow chart showing the operation of the gap filling process.

【0033】まず、ST40で部品形状の配列設定を小
さい順にソートすることによって行う。すなわち、すき
まに対しては小さな面積の部品形状から順次埋め込み配
置するようにしていく。ST41で部品形状のループを
定義し、ST42で部品形状頂点のループを定義し、さ
らにST43ですきま形状端点のループを定義する。こ
こで、ST41の部品形状ループでは、配列設定されて
いる部品形状を1つずつ小さいものから選んでいく処理
を行い、ST42の部品形状用ループでは、ST41で
選択されている部品形状の頂点を1つずつ変更していく
処理を行い、ST43のすきま形状端点ループでは、す
きま形状の端点を1つずつ変更していく処理を行う。そ
して、ST44において、部品形状の頂点とすきま形状
の端点同士を合わせて、部品形状を0°、90°、18
0°、270°回転させたり或いは左右方向にシフトし
たりしながら配置可能なものを抽出し、その中から配置
ラインに対して高さが最も低くなる候補を選択する。S
T45で、選択された候補の中から高さがもっとも低く
なる候補を選択し、その部品形状を当該すきま形状内に
配置する。1つの部品形状の配置が終了すると、ST4
8ですきま形状を更新し、すなわち配置した部品形状を
除去して新たなすきま形状を設定し、再びこのすきま形
状に対し上記の処理を行っていく。なお、部品形状は小
さい順にソートされて配列設定されているために、面積
の小さなものが配置できない場合には、それよりも面積
の大きな部品形状が配置できない可能性が高い。そこ
で、処理を高速化するために、このような場合には以後
の処理を行わないようにすることも可能である。
First, in ST40, the component shape array settings are sorted in ascending order. That is, for the clearance, the parts are arranged so as to have a smaller area in order. A part shape loop is defined in ST41, a part shape vertex loop is defined in ST42, and a clearance shape end point loop is defined in ST43. Here, in the part shape loop of ST41, processing for selecting the arranged part shapes from smaller ones one by one is performed, and in the part shape loop of ST42, the vertex of the part shape selected in ST41 is determined. The processing is changed one by one, and in the clearance shape end point loop of ST43, the processing of changing the clearance shape end points one by one. Then, in ST44, the apex of the part shape and the end points of the clearance shape are matched with each other, and the part shape is set to 0 °, 90 °, 18
Those which can be arranged while being rotated by 0 °, 270 ° or being shifted in the left-right direction are extracted, and a candidate having the lowest height with respect to the arrangement line is selected from them. S
At T45, the candidate having the lowest height is selected from the selected candidates, and the shape of the component is arranged in the clearance shape. When the placement of one part shape is completed, ST4
The gap shape is updated in step 8, that is, the arranged component shape is removed and a new gap shape is set, and the above-mentioned processing is performed again for this gap shape. Since the component shapes are sorted and arranged in an ascending order, if a component having a small area cannot be arranged, there is a high possibility that a component shape having a larger area cannot be arranged. Therefore, in order to speed up the processing, it is possible not to perform the subsequent processing in such a case.

【0034】次に、図21に、母材形状3に多数の部品
形状を上記の手法によって順次配置していった場合の結
果を示す。この例では、正三角形が2つ組み合わされて
平行四辺形の部品形状として設定され、また部品形状と
しては、平行四辺形、長方形、平行四辺形、および台形
が基本形状として使用された場合を示している。
Next, FIG. 21 shows the result when a large number of component shapes are sequentially arranged on the base material shape 3 by the above method. In this example, two equilateral triangles are combined and set as a parallelogram part shape, and as the part shapes, a parallelogram, a rectangle, a parallelogram, and a trapezoid are used as basic shapes. ing.

【0035】最初に、組み合わせ形状を含むこれらの4
種類の部品形状が大きい順にソートされ、面積が最も大
きい、組み合わされた平行四辺形の部品形状から母材形
状3の左下隅から該母材形状3の底辺、すなわち最初の
配置ライン4に沿って順次配置されていく。合計5段に
部品形状20が図のように積み上げられるが、この場合
で示す2段目以降の1番左側の部品形状20が図8に
示す処理により左詰めされる(左方向にいっぱいシフト
される)。続いて、2つの長方形部材を組み合わせた長
方形の部品形状21が順次配列されていき、5段目の
の部品形状を配置した時に全てのこの長方形部品形状の
配置を終了する。この後、の平行四辺形の部品形状が
右方向に配列されていき、さらにその上にの平行四辺
形の部品形状が右方向に合計4個配列される。なお、
およびの右側にはこの段階では未配置の空間が生じて
いるが、の部品形状を配置するには幅が短いためにこ
のの平行四辺形の部品形状をこの空間に配置すること
はできない。ここで、の平行四辺形の左上頂点aと
の長方形の右上頂点bは頂点aの方が頂点bよりも少し
だけ位置が低い。したがって、の平行四辺形を配置し
た後にはの平行四辺形がの上にまず配置され、さら
にの平行四辺形が、その左下の頂点がの長方形の右
上の頂点bに一致するまで左詰めされる。の平行四辺
形から右方向に合計4個配置されると、の平行四辺形
とその右方向に合計5個が配置される。以下同様に、
の平行四辺形を含む4個の平行四辺形が配置され、続い
ての平行四辺形を含む合計6個の平行四辺形が配置
され、さらにその上方に同じようにして平行四辺形が積
み上げられていき、の平行四辺形が配置された後に
端点Cにおいての平行四辺形が角度90°の回転姿
勢で配置される。これは、の平行四辺形の配置した
場合の高さよりもの平行四辺形の90°回転姿勢の
場合の高さが低いからである。の平行四辺形の配置
の後の平行四辺形が配置されるが、このの平行
四辺形は図8に示した処理により左詰めされる。すなわ
ち、の左下の頂点dがに当たるまで左方向にシ
フトされる。以下同様に、平行四辺形の部品形状が積み
上げられていき、の平行四辺形が配置された後に
は、の台形が配置される。この場合も、頂点eが頂
点fよりも少し低いためにの台形に先立って、
の台形の部品形状が配置される。の台形およびその
右方向に6個の台形の部品形状が配置されると、続いて
の台形の部品形状が180°の回転姿勢で配置され
る。この台形の部品形状が配置されると、S1のす
きま形状が形成される。したがってこのS1のすきま形
状に、現在残っている部品形状の中から配置できるもの
があるかどうか調査されるが、この例では配置できるも
のがないためにどの部品形状も配置されることはない。
の台形の部品形状が配置されると、その右下の頂点
gにおいての台形の部品形状が90°の回転姿勢に
おいて配置される。その結果、S2に示すすきま形状が
形成される。すきま形状S2が形成されると、図15の
ST6に示すすきま埋め処理により、図に示すように、
、、、、の合計5個の部品形状が
配置される。以下、の台形の部品形状とその右側に
2個の台形の部品形状が配置され、さらに左側に戻って
の台形の部品形状とその右側に合計5個続けて配置
され、さらにその右側にの台形の部品形状が180
°の回転姿勢で、その右側にの台形の部品形状が0
°の回転姿勢でそれぞれ配置される。以下同様にして上
方向に順次配置されていく。
First, these four containing combination shapes
Sorted in descending order of types of component shapes, the combined area has the largest area, from the combined parallelogram component shape to the bottom of the base material shape 3 from the lower left corner of the base material shape 3, that is, along the first placement line 4. They are arranged one after another. The component shapes 20 are piled up in a total of 5 stages as shown in the figure, but the leftmost component shape 20 on the left side after the second stage shown in this case is left-justified by the process shown in FIG. 8 (shifted fully to the left). ). Then, the rectangular component shapes 21 in which two rectangular members are combined are sequentially arranged, and when the fifth-stage component shapes are arranged, the arrangement of all the rectangular component shapes is completed. After that, the parallelogram-shaped component shapes are arranged in the right direction, and further four parallelogram-shaped component shapes are arranged in the right direction in total. In addition,
At this stage, there is an unplaced space on the right side of and, but the parallelogram part shape cannot be placed in this space because the width of the part shape is short. Here, the upper right apex b of the rectangle with the upper left apex a of the parallelogram is a little lower in the apex a than in the apex b. Therefore, after placing the parallelogram of, the parallelogram of is placed first on top, and the further parallelogram is left-justified until its lower left vertex matches the upper right vertex b of the rectangle of. . When a total of four parallelograms are arranged to the right of the parallelogram, a total of five parallelograms are arranged to the right of the parallelogram. Similarly,
4 parallelograms including the parallelograms are arranged, followed by a total of 6 parallelograms including the parallelograms, and the parallelograms are stacked in the same manner above the parallelograms. Then, after the parallelogram is arranged, the parallelogram at the end point C is arranged in a rotation posture with an angle of 90 °. This is because the height of the parallelogram in the 90 ° rotation posture is lower than that in the parallelogram arrangement. The parallelogram after the parallelogram is arranged is arranged, but this parallelogram is left-justified by the processing shown in FIG. That is, the lower left vertex of is shifted to the left until it hits. Similarly, component shapes of parallelograms are piled up, and after the parallelograms of are arranged, the trapezoids of are arranged. Also in this case, since the vertex e is slightly lower than the vertex f, the trapezoid is
The trapezoidal part shape of is arranged. When the trapezoidal part and the six trapezoidal part shapes are arranged in the right direction, the subsequent trapezoidal part shapes are arranged in a rotation posture of 180 °. When this trapezoidal part shape is arranged, the clearance shape of S1 is formed. Therefore, it is investigated whether or not the clearance shape of S1 can be arranged among the remaining part shapes. However, in this example, there is nothing that can be arranged, and therefore no part shape is arranged.
When the trapezoidal part shape of is arranged, the trapezoidal part shape at the lower right vertex g is arranged in a rotation posture of 90 °. As a result, the clearance shape shown in S2 is formed. When the clearance shape S2 is formed, as shown in the figure, by the clearance filling process shown in ST6 of FIG.
,,,, a total of five component shapes are arranged. Below, the trapezoidal part shape and two trapezoidal part shapes are arranged on the right side, and further back to the left side the trapezoidal part shape and five parts on the right side are arranged consecutively, and further on the right side. The part shape is 180
In the rotation posture of °, the trapezoidal part shape on the right side is 0
They are arranged in a rotating posture of ° respectively. In the same manner, they are sequentially arranged in the upward direction.

【0036】このように、本発明の実施の形態によれ
ば、歩留りが非常に良くなり、また外観上も部品形状が
整然と並んだ状態になる。
As described above, according to the embodiment of the present invention, the yield is extremely improved, and the appearance is such that the shapes of the parts are neatly arranged.

【0037】なお本実施例では、配置ラインを水平に設
定するようにしたが、垂直に設定することも可能であ
る。
In this embodiment, the arrangement line is set to be horizontal, but it may be set to be vertical.

【0038】[0038]

【発明の効果】本発明によれば、部品形状を配置する時
にその部品形状をそのまま配置していき、それによって
更新される母材形状は配置した部品形状がそのまま除去
されたものにし、さらに配置ラインに沿って面積の大き
いものから高さが最も低くなる姿勢で順次配置されるよ
うにしているために、従来の配置方法に比べて極めて配
置効率が良くなり歩留りが向上する利点がある。
According to the present invention, when arranging a part shape, the part shape is arranged as it is, and the base material shape updated by that is the arranged part shape removed as it is, and further arranged. Since they are sequentially arranged along the line in a posture in which the area is the largest and the height is the lowest, there is an advantage that the arrangement efficiency is extremely improved and the yield is improved as compared with the conventional arrangement method.

【0039】また、部品形状の配置に際しては部品形状
を回転させて最も低くなる回転姿勢の位置で配置するよ
うにしていることから、歩留りをより高くできる利点が
ある。
Further, when arranging the component shapes, the component shapes are rotated so as to be arranged at the position of the lowest rotation posture, so that there is an advantage that the yield can be further increased.

【0040】そして、その回転角度を0°、90°、1
80°、270°の4種類に設定することにより計算量
を少なくすることができ、配置処理時間を短く出来る。
The rotation angles are 0 °, 90 °, 1
The calculation amount can be reduced and the placement processing time can be shortened by setting the four types of 80 ° and 270 °.

【0041】また、一旦配置した部品形状を基準方向に
移動できるものであれば移動するようにしているため
に、すきま形状の面積が小さくなり、歩留りをさらに向
上できる利点がある。
Further, since the shape of the component once placed can be moved as long as it can be moved in the reference direction, the area of the clearance shape can be reduced, and the yield can be further improved.

【0042】また、配置の結果すきま形状ができた場合
には、そのすきま形状において部品形状の高さが最も低
くなるように姿勢を選択して配置しているために歩留り
をさらに良くする利点がある。
Further, when a clearance shape is formed as a result of the arrangement, the posture is selected and arranged so that the height of the component shape is the lowest in the clearance shape, so that there is an advantage of further improving the yield. is there.

【0043】部品形状は長方形、平方四辺形、台形等の
予め決められた複数の基本形状に予め近似させるように
しているために、計算量を大幅に少なくできる。
Since the shape of the part is approximated to a plurality of predetermined basic shapes such as a rectangle, a square and a trapezoid, the amount of calculation can be greatly reduced.

【0044】また、一定の条件にある部品形状に際して
は組み合わせ処理を行っているために配置に係る処理時
間を少なくすることができる利点がある。
Further, there is an advantage that the processing time relating to the arrangement can be shortened because the combination processing is performed when the shape of the parts is under a certain condition.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の方法を実施するシステムの構成図であ
る。
FIG. 1 is a block diagram of a system for implementing the method of the present invention.

【図2】〜FIG. 2 ~

【図14】本発明の実施の形態についてその概略を説明
する図である。
FIG. 14 is a diagram illustrating an outline of an embodiment of the present invention.

【図15】部品形状を基本形状に近似させる方法につい
て説明する図である。
FIG. 15 is a diagram illustrating a method of approximating a component shape to a basic shape.

【図16】〜16]

【図20】上記本発明の実施の形態についての具体的な
動作について説明する図である。
FIG. 20 is a diagram illustrating a specific operation according to the embodiment of the present invention.

【図21】本発明の実施例を示す図である。FIG. 21 is a diagram showing an example of the present invention.

【符号の説明】[Explanation of symbols]

2−部品形状 3−母材形状 4−配置ライン S−すきま形状 2-Part shape 3-Base material shape 4-Arrangement line S-Gap shape

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】図形データから自動加工用のプログラムを
作成する装置で部品形状を母材上に配置していく方法に
おいて母材形状内に部品形状を順次配置していく時、母
材形状の基準辺に基づいて配置ラインを設定し、この配
置ラインに沿って1つの部品形状を配置する毎にその時
の母材形状から該部品形状を除去して該母材形状を新た
な母材形状に更新するとともに、配置すべき全ての部品
形状を、面積の大きいものからソートし、このソート順
に従って前記配置ラインに沿って各部品形状が母材形状
の基準辺に対して高さが最も低くなる姿勢で該部品形状
を順次配置していくことを特徴とする、部品形状の配置
方法。
1. A method of arranging a part shape on a base material in a device for creating a program for automatic processing from graphic data, when the part shapes are sequentially arranged within the base material shape, A placement line is set based on the reference side, and every time one component shape is placed along this placement line, the component shape is removed from the base material shape at that time to change the base material shape to a new base material shape. While updating, all the component shapes to be arranged are sorted in descending order of area, and the height of each component shape becomes the lowest with respect to the reference side of the base material shape along the arrangement line according to this sort order. A method of arranging component shapes, characterized in that the component shapes are sequentially arranged in a posture.
【請求項2】配置しようとする部品形状の各頂点と前記
母材形状の配置ラインの各端点とを合わせ、各々の頂点
と端点を合わせた位置で部品形状を所定の複数の角度だ
け回転させ、それらの回転姿勢の中から母材形状の基準
辺に対して最も高さが低くなる回転姿勢の位置で、該部
品形状を該回転姿勢で配置することを特徴とする、請求
項1記載の部品形状の配置方法。
2. An apex of a part shape to be placed and each end point of a placement line of the base material shape are aligned, and the part shape is rotated by a plurality of predetermined angles at a position where each apex and the end point are aligned. 2. The component shape is arranged in the rotation posture at a position of the rotation posture where the height is the lowest with respect to the reference side of the base material shape among the rotation postures. Arrangement method of parts shape.
【請求項3】前記複数の角度は、0°、90°、180
°、270°である請求項2記載の部材形状の配置方
法。
3. The angles are 0 °, 90 °, 180
The method for arranging the member shape according to claim 2, wherein the angle is 270 °.
【請求項4】前記配置ラインに沿って配置した部品形状
を予め定めた方向に移動可能かどうかを調べ、移動可能
であれば該部品形状を母材形状の範囲内で移動できなく
なるまで該方向に移動することを特徴とする請求項1〜
3のいずれかに記載の部品形状の配置方法。
4. It is checked whether or not the part shape arranged along the arrangement line can be moved in a predetermined direction, and if it is movable, the direction is maintained until the part shape cannot be moved within the range of the base material shape. 1 to move to.
4. The method for arranging the component shape according to any one of 3 above.
【請求項5】母材形状から分離された未配置のすきま形
状ができた時、そのすきま形状の各端点と部品形状の各
頂点同士を合わせて該すきま形状内に該部品形状を配置
した時、前記部品形状の高さが最も低くなる姿勢を選択
して該すきま形状内に配置することを特徴とする、請求
項1〜4のいずれかに記載の部品形状の配置方法。
5. When an unplaced crevice shape separated from the base material shape is formed, and when the component shape is arranged within the crevice shape by aligning each end point of the crevice shape and each vertex of the component shape. The component shape arranging method according to any one of claims 1 to 4, wherein a posture in which the height of the component shape is the lowest is selected and the posture is arranged in the clearance shape.
【請求項6】前記部品形状は、長方形、平行四辺形、台
形等の予め決められた基本形状でない時には、これらの
基準形状に近似させることを特徴とする請求項1〜5の
いずれかに記載の部品形状の配置方法。
6. The component according to claim 1, wherein when the shape of the component is not a predetermined basic shape such as a rectangle, a parallelogram, a trapezoid, etc., it is approximated to these reference shapes. Method of arranging the shape of parts.
【請求項7】2つ以上の同一形状同一寸法の部品形状を
配置する際、その内の1つの部品を取り出し180°回
転させた状態で他の一つの部品との各頂点を合わせ、各
頂点から一方向に伸びる直線同士を合わせて組み合わせ
た形状の全ての組合せにおいて、外接長方形が最小で且
つ該外接長方形の面積に対して2つの部品形状面積が該
部品の面積に対し、予め定められた比率に最も近い面積
になる該2つの組み合わせ形状を一対の形状として1つ
の部品形状に設定することを特徴とする請求項1〜6の
いずれかに記載の部品形状の配置方法。
7. When arranging two or more parts having the same shape and the same size, one of the parts is taken out and rotated by 180 °, and the vertices of the other parts are aligned with each other to form the vertices. In all combinations of shapes in which straight lines extending in one direction are combined with each other, the circumscribed rectangle is the minimum, and two component shape areas are predetermined with respect to the area of the circumscribed rectangle. The component shape arranging method according to any one of claims 1 to 6, characterized in that the two combined shapes having an area closest to the ratio are set as a pair of shapes into one component shape.
JP7254134A 1995-09-29 1995-09-29 Arranging method for part shape Pending JPH0994795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7254134A JPH0994795A (en) 1995-09-29 1995-09-29 Arranging method for part shape

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7254134A JPH0994795A (en) 1995-09-29 1995-09-29 Arranging method for part shape

Publications (1)

Publication Number Publication Date
JPH0994795A true JPH0994795A (en) 1997-04-08

Family

ID=17260698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7254134A Pending JPH0994795A (en) 1995-09-29 1995-09-29 Arranging method for part shape

Country Status (1)

Country Link
JP (1) JPH0994795A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014235464A (en) * 2013-05-31 2014-12-15 富士フイルム株式会社 Image editing device, method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014235464A (en) * 2013-05-31 2014-12-15 富士フイルム株式会社 Image editing device, method, and program

Similar Documents

Publication Publication Date Title
CA2168328C (en) Automated design analysis system for generating circuit schematics from high magnification images of an integrated circuit
US7499045B2 (en) Graphics image generation
US7552417B2 (en) System for search and analysis of systematic defects in integrated circuits
CN109003918B (en) Active traversal matching method for chips
US7350174B2 (en) Method and apparatus for layout synthesis of regular structures using relative placement
US6058259A (en) Method and apparatus for automatically generating solid model and computer readable storage medium
JPH0320882A (en) Method for displaying, extracting, and segmenting interested area
US6271852B1 (en) boundary processing of oblique overlapping graphics to achieve dimensionally accurate electron beam irradiation
JPH0994795A (en) Arranging method for part shape
US20030103673A1 (en) Shape searcher
JPH08202733A (en) Method and device for retrieving image
JPH01134672A (en) Divided image processing system
JP3535442B2 (en) Tool reference plane calculation method, computer readable recording medium storing tool reference plane calculation program, and tool reference plane calculation apparatus
US20030014722A1 (en) Automatic layout design method of wirings in semiconductor integrated circuit
JP2836633B2 (en) Machining process decision device in numerical control information creation function
JP3064997B2 (en) Verification method for figure batch exposure data
JP3220743B2 (en) Flat part / standing wall part dividing method and recording medium
JP3858316B2 (en) Member layout method in NC fusing
JPH0696178A (en) Graphic processing system
CN117351170A (en) Method and system for realizing regional three-dimensional model replacement
JP2001136358A (en) Trimming picture preparing device and trimming frame positional information preparing device
JP2003067746A (en) Device for mining shape-characteristic and method therefor
JPH0749949A (en) Search point converging method, tracking type image positioning method, and image searching method
JP2593975B2 (en) Character string extraction method and character string extraction device in electronic typesetting device
JP4545847B2 (en) Image search apparatus and method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040210