JP2000155609A - Graphic working method/device - Google Patents

Graphic working method/device

Info

Publication number
JP2000155609A
JP2000155609A JP10329016A JP32901698A JP2000155609A JP 2000155609 A JP2000155609 A JP 2000155609A JP 10329016 A JP10329016 A JP 10329016A JP 32901698 A JP32901698 A JP 32901698A JP 2000155609 A JP2000155609 A JP 2000155609A
Authority
JP
Japan
Prior art keywords
data
processing
graphic
point
graphic data
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
JP10329016A
Other languages
Japanese (ja)
Inventor
Hiroki Arita
博樹 有田
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP10329016A priority Critical patent/JP2000155609A/en
Publication of JP2000155609A publication Critical patent/JP2000155609A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a graphic working method/device for working data from inner data and improving the working quality by changing the working order of graphic data generated by CAD. SOLUTION: A process for extracting graphic data required for working (S1), a process (S2) deleting unnecessary data from extracted graphic data (S2), a process (S3) classing data for respective work types, a process (S4) integrating segments which can be integrated and a process (S7) inverting the working order of data on whole working types are installed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、CADの機能を利用し
て作成した図形の加工を行う図形加工装置に関し、特
に、加工順を変更することにより、加工品質を向上させ
ることが可能な図形加工方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processing apparatus for processing a graphic created using a CAD function, and more particularly to a graphic processing apparatus capable of improving the processing quality by changing the processing order. The present invention relates to a processing method and an apparatus.

【0002】[0002]

【従来の技術】紙容器等の作成においては、CADで設
計した図形データを、プロッタ、レーザ、抜き型等の加
工装置に渡し、最終的な製品の形に加工している。この
場合、従来は、CADで設計した図形データは、そのま
まの順序で加工装置に渡されていた。そのため、このま
まの順序で加工すると、加工ツールの無駄な位置決め動
作が頻繁に発生して加工効率が悪かった。この問題の解
決のため、本出願人は、特開平6−242814号に示
すような加工ツールの位置決め動作を最小にするようデ
ータの順序を変更する図形加工装置を提案した。
2. Description of the Related Art In the production of a paper container or the like, graphic data designed by CAD is transferred to a processing device such as a plotter, a laser, a cutting die or the like, and processed into a final product shape. In this case, conventionally, graphic data designed by CAD has been passed to the processing apparatus in the same order. Therefore, if processing is performed in this order, useless positioning operation of the processing tool frequently occurs, resulting in poor processing efficiency. In order to solve this problem, the present applicant has proposed a graphic processing apparatus which changes the order of data so as to minimize the positioning operation of a processing tool as disclosed in Japanese Patent Application Laid-Open No. 6-242814.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、前記図
形加工装置では、加工効率の向上だけを目的にして加工
順序の変更を行ったので、品質の面において満足できる
ものではなかった。実際の加工は、加工装置において、
複数のバキューム、すなわち吸引孔によるエアー吸着方
式により、用紙を固定した状態で行われる。このため、
外側を先にカットするとカットされてなくなった部分の
バキュームによる吸着はなされなくなり、吸着面積が小
さくなるので用紙のずれが大きくなる。本発明は、この
ような加工工程によるずれの特徴を考慮して為されたも
のであり、CADにより作成された図形データの加工順
序を変更することにより、内側のデータから加工するよ
うにして、加工品質を向上することが可能な図形加工方
法および装置を提供することを目的とする。
However, in the above-mentioned figure processing apparatus, since the processing order was changed only for the purpose of improving the processing efficiency, it was not satisfactory in terms of quality. The actual processing is performed by the processing equipment
This is performed in a state where the paper is fixed by a plurality of vacuums, that is, an air suction method using suction holes. For this reason,
If the outer side is cut first, suction of the portion that is no longer cut by vacuum will not be performed, and the suction area will be reduced, so that the displacement of the sheet will increase. The present invention has been made in consideration of the feature of the shift due to such a processing step, and by changing the processing order of the graphic data created by CAD, processing from the inner data is performed. It is an object of the present invention to provide a graphic processing method and apparatus capable of improving processing quality.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するた
め、本願請求項1、4に記載の発明は、加工に必要な図
形データを抽出し、前記抽出した図形データを加工種類
毎に分類し、同一加工種類のデータを、外側のデータが
後で加工されるように並び替え、加工装置用にデータの
形式を変換することを特徴とする。請求項1、4に記載
の発明では、加工種類毎に外側のデータを後で加工する
ようにしたので、ずれが少なく、結果として加工精度の
良い製品が得られる。
In order to solve the above-mentioned problems, the invention according to claims 1 and 4 of the present application extracts graphic data necessary for processing and classifies the extracted graphic data for each processing type. The data of the same processing type is rearranged so that the outer data is processed later, and the data format is converted for the processing apparatus. According to the first and fourth aspects of the present invention, since the outer data is processed later for each processing type, the deviation is small, and as a result, a product with high processing accuracy is obtained.

【0005】本願請求項2に記載の発明は、請求項1に
記載の発明の同一加工種類のデータを、外側のデータが
後で加工されるように並び替える工程を、基準点に最も
近い図形データ上の点を開始点として図形データを探索
し、外側のデータを並べ替える工程と、外側のデータの
終点に最も近い図形データ上の点を新たな開始点として
図形データを探索し内側のデータを並べ替える工程と、
同一加工種類の全図形データの加工順を逆転させると共
に始点と終点を入れ替える工程、により実現することを
特徴とする。請求項2に記載の発明では、基準点から最
も近い点を探索の開始点とするため、最初に外側の図形
データを並べ替え、続いて内側の図形データを並び替え
ることになる。これにより、加工データの順序を逆転す
るだけで、簡単に内側から加工するようにデータを並べ
替えることができる。
According to a second aspect of the present invention, the step of rearranging data of the same processing type according to the first aspect of the present invention so that outer data is processed later is performed by using a pattern closest to the reference point. Searching the figure data starting from a point on the data and rearranging the outer data, and searching for the figure data starting from the point on the figure data closest to the end point of the outer data as the new starting point Rearranging the
It is realized by a process of reversing the processing order of all graphic data of the same processing type and exchanging the start point and the end point. According to the second aspect of the invention, the outermost graphic data is rearranged first, and then the inner graphic data is rearranged in order to set the point closest to the reference point as the search start point. Thus, by simply reversing the order of the processed data, the data can be rearranged so as to be processed easily from the inside.

【0006】本願請求項3に記載の発明は、請求項1に
記載の発明において、加工に必要な図形データを抽出し
た後、不要な図形データを除去する工程を有することを
特徴とする。請求項3に記載の発明では、加工順の変更
の前に不要なデータを除去するため、加工順変更の処理
時に不要なデータを含むことがなく、より高速に処理を
行えると共に高品質な製品を製造することが可能にな
る。
A third aspect of the present invention is characterized in that, in the first aspect of the present invention, a step of extracting unnecessary graphic data after extracting graphic data necessary for processing is provided. According to the third aspect of the present invention, unnecessary data is removed before the change of the processing order, so that unnecessary data is not included in the processing of the change of the processing order. Can be manufactured.

【0007】[0007]

【発明の実施の形態】以下、図面を参照して発明の実施
の形態について詳細に説明する。図1は、本発明の図形
加工装置の一実施形態を示す構成図である。図1に示す
図形加工装置は、CADの機能を有する図形作成装置1
で作成された図形データを受け取り、データ処理して加
工装置4に渡す演算手段2と、図形作成装置1で作成さ
れた図形データおよび演算手段2で処理された図形デー
タを記憶する図形データ記憶手段3と、演算手段2で処
理されたデータに従って加工処理を行う加工装置4によ
り構成される。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration diagram showing an embodiment of the graphic processing apparatus of the present invention. The figure processing apparatus shown in FIG. 1 is a figure creating apparatus 1 having a CAD function.
Arithmetic means 2 for receiving the graphic data created in step (1), processing the data and passing it to the processing device 4, and graphic data storage means for storing the graphic data created by the graphic creating device 1 and the graphic data processed by the arithmetic means 2 3 and a processing device 4 for performing processing according to the data processed by the arithmetic means 2.

【0008】演算手段2は、詳細には、図形作成装置1
もしくは図形データ記憶手段2から処理すべき図形デー
タを抽出する図形データ抽出手段21、抽出した図形デ
ータのうち、不要なデータを削除するデータ削除手段2
2、品質向上のため、図形データの統合、順序の変更を
行うデータ変更手段23、加工手段用にデータ形式の変
換を行うデータ変換手段24を有する。
The arithmetic means 2 is, in detail, a figure creating device 1
Alternatively, a graphic data extracting means 21 for extracting graphic data to be processed from the graphic data storage means 2, and a data deleting means 2 for deleting unnecessary data from the extracted graphic data.
2. To improve the quality, there are a data changing means 23 for integrating graphic data and changing the order, and a data converting means 24 for converting a data format for processing means.

【0009】具体的には、演算手段2はパーソナルコン
ピュータのCPUおよびメモリにより構成され、演算手
段2内の各手段21〜24はメモリに格納された専用の
プログラムにより機能する。また、図形データ記憶手段
3は、コンピュータに接続されたハードディスク等の外
部記憶装置で構成される。加工装置4としては、プロッ
タ、レーザ加工装置、抜き型へのデータ出力装置等が利
用形態に応じて用いられる。
More specifically, the arithmetic means 2 comprises a CPU and a memory of a personal computer, and each means 21 to 24 in the arithmetic means 2 functions according to a dedicated program stored in the memory. The graphic data storage means 3 is constituted by an external storage device such as a hard disk connected to a computer. As the processing device 4, a plotter, a laser processing device, a data output device to a punching die, or the like is used according to a use form.

【0010】次に、本図形加工装置の処理動作について
図2のフローチャ−トにしたがって説明する。まず、ス
テップS1で図形データ抽出手段21が図形データ記憶
手段3から図形データを抽出する。続いて、図形データ
抽出手段21は抽出した図形データから加工に必要なデ
ータを抽出して、演算手段2内の図示しないメモリのワ
ークエリア内に格納する。ここで、図形データのうち、
加工に必要なデータとは、ミシン、カット、ペン、押罫
を行うためのデータであり、加工に必要でないデータと
は、文字列、寸法線等のデータである。このとき、抽出
された図形とその図形データを図3に示す。図3の上部
にある図形は実線がカット、点線が押罫であることを示
している。また、矢印は説明のために便宜上付けたもの
であり、実際の図形データには付いていない。この矢印
は図形データの方向を示すものであり、矢印側が終点と
なる。図3の下部にあるデータは上部の図形と対応して
おり、一番左の通し番号は上部の図形との対応および加
工順序の識別ために便宜上つけたものである。左から2
列目のデータは加工種類を示すものであり、ミシン加工
するためのミシン、カッターで切るためのカット、ボー
ルペン等で線を記入するためのペン、折り曲げ用に痕を
付けるための押罫の4種類がある。この例では説明の便
宜上、カットと押罫の2種類としてある。3列目、4列
目はそれぞれ、線分の始点のX座標値、Y座標値であ
り、5列目、6列目はそれぞれ、線分の終点のX座標
値、Y座標値である。図3において、原点は図形の左下
の方に定義してあり、横軸がX軸、縦軸がY軸となって
いる。
Next, the processing operation of the figure processing apparatus will be described with reference to the flowchart of FIG. First, the graphic data extracting means 21 extracts graphic data from the graphic data storage means 3 in step S1. Subsequently, the graphic data extracting means 21 extracts data necessary for processing from the extracted graphic data, and stores the data in a work area of a memory (not shown) in the arithmetic means 2. Here, of the figure data,
The data required for processing is data for performing sewing, cutting, pen, and pressing, and the data not required for processing is data such as character strings and dimension lines. FIG. 3 shows the figure extracted at this time and its figure data. In the figure at the top of FIG. 3, a solid line indicates a cut and a dotted line indicates a pressed rule. Arrows are provided for convenience of explanation and are not attached to actual graphic data. This arrow indicates the direction of the graphic data, and the arrow side is the end point. The data in the lower part of FIG. 3 corresponds to the upper figure, and the leftmost serial number is given for convenience in order to correspond to the upper figure and identify the processing order. 2 from left
The data in the column indicates the type of processing, and includes a sewing machine for processing, a cut for cutting with a cutter, a pen for writing a line with a ballpoint pen, etc., and a ruled line for making a mark for bending. There are types. In this example, for convenience of description, there are two types of cutting and pressing. The third and fourth columns are the X and Y coordinate values of the start point of the line segment, respectively, and the fifth and sixth columns are the X and Y coordinate values of the end point of the line segment, respectively. In FIG. 3, the origin is defined at the lower left of the figure, and the horizontal axis is the X axis and the vertical axis is the Y axis.

【0011】次にステップS2で、データ削除手段22
が抽出されたデータの中から不要なデータを削除する。
削除するデータはその長さで判定し、設定値以下のもの
は削除するようにする。設定値を「5」としておくと、
図3に示す加工順(14)のデータはそれ以下であるので、
削除されることになる。CADでの図形の作成では、そ
の過程において、誤って余分な点を付けたり、目印のた
めにわざと印を付けたりして、不要なデータが残ってい
ることがあるが、これにより、不要なデータの削除が可
能となる。この例では、設定値を、この座標系において
「5」としたが、現実には、微小な点を削除することが
狙いなので、用紙等に出力された場合に、0.001m
m程度以下のものが削除されるように設定しておく。
Next, in step S2, the data deleting means 22
Deletes unnecessary data from the extracted data.
The data to be deleted is determined based on its length, and those below the set value are deleted. If the setting value is set to “5”,
Since the data of the processing order (14) shown in FIG.
Will be deleted. In the process of creating a graphic by CAD, unnecessary data may be left by mistakenly adding an extra point or intentionally making a mark for a mark in the process. Data can be deleted. In this example, the set value is set to “5” in this coordinate system. However, since it is actually aimed at deleting a minute point, when output to paper or the like, 0.001 m
The setting is made so that the thing less than about m is deleted.

【0012】不要なデータの削除が終了したら、ステッ
プS3で、データ変更手段23は各線分データを加工種
類別に並び替える。ここでは、加工種類別に分類するだ
けで、同一加工種類のデータ内では並び替えは行わな
い。そのため、単純にカットのデータ、押罫のデータの
順に並び替える。並び替えた後の状態を図4に示す。並
び替える前の状態の図3と比較すると、加工順(4)、(1
0)であった押罫のデータが加工順(12)、(13)となってい
る。
When the unnecessary data is deleted, in step S3, the data changing means 23 rearranges each line segment data according to the processing type. Here, only sorting by processing type is performed, and sorting is not performed within data of the same processing type. Therefore, the data is simply rearranged in the order of the cut data and the pressed data. FIG. 4 shows the state after the sorting. Compared to FIG. 3 before sorting, the processing order (4), (1
The data of the pressed rule that was 0) is in the processing order (12), (13).

【0013】次に、ステップS4で、データ変更手段2
3は統合可能な線分について、線分の統合を行う。統合
可能な線分とは、同一直線上にある線分であり、図4に
おいては、X軸に平行な加工順(2)、(4)、(9)の線分、
同じくX軸に平行な加工順(3)、(8)、(10)の線分が該当
する。加工順(2)、(4)、(9)の線分は1つに統合され、
加工順(2)の線分となる。統合後の加工順(2)の線分の方
向は、統合前の加工順(2)の線分と同一方向とされる。
同様に、加工順(3)、(8)、(10)の線分は、加工順(3)の
線分として統合される。統合後の図形を図5に示す。
Next, in step S4, the data changing means 2
3 integrates the line segments that can be integrated. The line segments that can be integrated are line segments that are on the same straight line. In FIG. 4, the line segments in the processing order (2), (4), (9) parallel to the X axis,
Similarly, the processing segments (3), (8), and (10) which are parallel to the X axis correspond to the line segments. The processing order (2), (4), (9) line segments are integrated into one,
It becomes the line segment of the processing order (2). The direction of the line segment in the processing order (2) after integration is the same direction as the line segment in the processing order (2) before integration.
Similarly, the line segments in the processing order (3), (8), and (10) are integrated as the line segment in the processing order (3). FIG. 5 shows the figure after the integration.

【0014】ステップS5では、データ変更手段23
は、加工ツールの動きを最小にするため、互いに接続さ
れているデータを一筆書きの動きで加工可能になるよう
に、加工順の変更を行う。このステップS5の処理の詳
細を図6のフローチャートに示す。図6のステップS5
1においてデータ変更手段23が開始点の検出を行う。
図形データは、この時点で、図5に示すように加工ツー
ル毎に並んでいるので、先に並んでいる「カット」から
作業を行う。まず、「カット」のデータの中で基準点す
なわち座標(0,0)の点に最も近い点を探し出す。す
ると、点A(100,100)が処理点として検出され
る。
In step S5, the data changing means 23
In order to minimize the movement of the processing tool, the processing order is changed so that data connected to each other can be processed by one-stroke movement. Details of the processing in step S5 are shown in the flowchart of FIG. Step S5 in FIG.
In step 1, the data change means 23 detects the start point.
At this point, since the graphic data is arranged for each processing tool as shown in FIG. 5, the work is performed from the “cut” arranged first. First, a point closest to the reference point, that is, the point at the coordinates (0,0) is searched for in the data of “cut”. Then, point A (100, 100) is detected as a processing point.

【0015】次に、ステップS52で、線分の選択を行
う。検出した処理点を端点に持つ線分を選択して、次の
並び順のデータとする。処理点を持つ線分が2つ以上あ
る場合は、予め優先順位を決めておき、それに従って処
理する。例えば、本例では、各線分の他の端点と処理点
のX座標の差が最小のものを選択するようにしている。
図5の例では、点Aを端点に持つ線分は加工順(1)のデ
ータと加工順(3)のデータの2種類あるが、線分の反対
側の端点と点AのX座標の差が小さい加工順(1)のデー
タが選択される。また、単純に加工順番号の若いものを
優先して選択するような設定にしておいても良い。
Next, in step S52, a line segment is selected. A line segment having the detected processing point as an end point is selected as data in the next arrangement order. If there are two or more line segments having processing points, priorities are determined in advance, and processing is performed according to the priorities. For example, in this example, the one having the smallest difference between the X-coordinate of the processing point and the other end point of each line segment is selected.
In the example of FIG. 5, the line segment having the point A as the end point has two types of data of the processing order (1) and the data of the processing order (3). The data in the processing order (1) with the smaller difference is selected. Alternatively, a setting may be made so that the one with the lower processing order number is simply selected with priority.

【0016】次に、ステップS53で、選択した線分の
終点を処理点として、この処理点を端点として有する他
の線分を検索する。ここで、該当する線分があれば、ス
テップS52に戻って、線分の選択処理を行う。該当す
る線分がなければ、一筆書きで動ける線分がなくなった
ことを意味するので、ステップS54に進む。図5の例
では、加工順(1)のデータの終点(100,160)を
処理点とすると、この処理点を端点として有する線分は
加工順(2)のデータ1つだけであるので、加工順(2)のデ
ータが選択される。ただし、始点が(100,160)
となるので、終点が(220,160)となり、線分方
向が逆になる。このようにして、加工順(7)、加工順(3)
のデータが選択され、図7のように図形データは並びか
えられることになる。
Next, in step S53, an end point of the selected line segment is set as a processing point, and another line segment having this processing point as an end point is searched. If there is a corresponding line segment, the process returns to step S52 to perform a line segment selection process. If there is no corresponding line segment, it means that there is no longer any line segment that can be moved with one stroke, and the process proceeds to step S54. In the example of FIG. 5, if the end point (100, 160) of the data in the processing order (1) is a processing point, there is only one line segment having the processing point as an end point, and thus there is only one data in the processing order (2). The data of the processing order (2) is selected. However, the starting point is (100, 160)
Therefore, the end point is (220, 160), and the direction of the line segment is reversed. In this way, the processing order (7), the processing order (3)
Is selected, and the graphic data is rearranged as shown in FIG.

【0017】図7における加工順(4)のデータが選択さ
れると、その終点である点A(0,0)が処理点となる
が、処理点Aを端点として有する線分である加工順(1)
のデータと加工順(4)のデータは選択済となっているの
で、接続する他の線分はないことになり、ステップS5
4に進む。ステップS54では、同種の加工ツールで未
選択のデータがあるかどうかを検索する。ここで、未選
択のデータがなければ、ステップS5の加工順の変更処
理を終了する。未選択のデータが残っていれば、ステッ
プS51に戻って、最後に選択処理を行ったデータの終
点に最も近い点を新たな開始点として選択し、残ってい
るデータに対して変更処理を行う。図7の例では、残っ
ている加工順(5)、(6)、(7)のデータのうち、終点Aに
最も近い点B(140,115)が新たな開始点として
選択される。以後、開始点Aから処理したときと同様に
ステップS52、ステップS53の処理を繰り返し、図
8に示すように加工順(5)、(6)、(7)のデータが変更さ
れる。加工順(7)のデータの終点Bを端点として有する
新たなデータはないため、ステップS53からステップ
S54に進み、同種の加工ツールで未選択のデータがあ
るかどうかを検索する。同種の加工ツール「カット」の
データは残っていないため、ステップS5を終了する。
When the data of the processing order (4) in FIG. 7 is selected, the processing point is the point A (0,0) which is the end point, but the processing order is a line segment having the processing point A as an end point. (1)
And the data of the processing order (4) have already been selected, so that there is no other line segment to be connected, and step S5
Proceed to 4. In step S54, it is searched whether there is unselected data with the same type of processing tool. Here, if there is no unselected data, the processing for changing the processing order in step S5 ends. If unselected data remains, the process returns to step S51, where the point closest to the end point of the data that was last selected is selected as a new start point, and change processing is performed on the remaining data. . In the example of FIG. 7, the point B (140, 115) closest to the end point A is selected as a new start point from the remaining data of the processing orders (5), (6), and (7). Thereafter, the processing of steps S52 and S53 is repeated in the same manner as when processing is performed from the start point A, and the data of the processing order (5), (6), and (7) is changed as shown in FIG. Since there is no new data having the end point B of the data in the processing order (7) as an end point, the process proceeds from step S53 to step S54 to search whether there is unselected data with the same type of processing tool. Since no data of the same type of processing tool “cut” remains, step S5 is ended.

【0018】加工ツール「カット」のデータに対する処
理が終わったら、図2のステップS6において、全加工
種類のデータの処理が終わったかどうかを確認する。こ
こでは、「押罫」のデータが残っているため、ステップ
S4に戻り、統合可能な線分について統合処理を行う。
本例では、図8に示すように統合可能な「押罫」のデー
タはないため、ステップS5に進み、加工順の変更処理
を行う。図6のフローチャートのステップS51におい
て、基準点に最も近い点Cを開始点として検出する。開
始点Cを端点に持つ線分は加工順(8)のデータだけであ
るので、始点、終点を逆にして選択される。このときの
図形データの状態を図9に示す。加工順(8)のデータの
終点を端点として有するデータはないため、ステップS
54に進む。未処理の「押罫」データがまだ残っている
ため、ステップS51に戻って、開始点Dを検出する。
点Dを始点とする線分を、そのまま、加工順(9)のデー
タとして選択する。加工順(9)のデータの終点を端点と
して有する他の線分はなく、未処理の「押罫」データも
ないため、ステップS5を終了する。
When the processing for the data of the processing tool "cut" is completed, it is checked in step S6 in FIG. 2 whether or not the processing for all the processing types of data has been completed. Here, since the data of “pressed rule” remains, the process returns to step S4 to perform the integration process for the line segments that can be integrated.
In this example, as shown in FIG. 8, there is no "pressed rule" data that can be integrated, so the process proceeds to step S5, and processing for changing the processing order is performed. In step S51 of the flowchart in FIG. 6, the point C closest to the reference point is detected as a start point. Since the line segment having the start point C as the end point is only the data in the processing order (8), the selection is made with the start point and the end point reversed. FIG. 9 shows the state of the graphic data at this time. Since there is no data having the end point of the data of the processing order (8) as an end point, step S
Proceed to 54. Since unprocessed "pressed rule" data still remains, the process returns to step S51 to detect the start point D.
The line segment starting from the point D is selected as it is as the data of the processing order (9). Since there is no other line segment having the end point of the data in the processing order (9) as an end point, and there is no unprocessed "pressed ruled" data, step S5 is ended.

【0019】図2のフローチャートに戻って、本例で
は、「カット」と「押罫」以外の加工ツールのデータは
ないため、ステップS7に進む。ステップS7では、全
加工ツールのデータを含めた状態で、図形データの加工
順序を逆にするとともに、各線分データの始点と終点を
逆にする。このようにして最終的に加工順序の変更がさ
れた図形データの状態を図10に示す。ステップS8
で、この図形データを図形データ記憶手段3に格納し、
ステップS9でデータ変換手段24により図形データを
加工装置4に合わせたフォーマットに変換する。ステッ
プS10で、変換された図形データを加工装置4に渡
し、製品の加工を行う。
Returning to the flowchart of FIG. 2, since there is no processing tool data other than "cut" and "pressed rule" in this example, the process proceeds to step S7. In step S7, with the data of all the processing tools included, the processing order of the graphic data is reversed, and the start point and end point of each line segment data are reversed. FIG. 10 shows the state of the graphic data in which the processing order is finally changed in this way. Step S8
Then, this graphic data is stored in the graphic data storage means 3,
In step S9, the graphic data is converted by the data conversion means 24 into a format suitable for the processing device 4. In step S10, the converted graphic data is transferred to the processing device 4 to process the product.

【0020】ステップS10で加工装置4により図10
に示すデータを製品として加工する場合、まず、加工ツ
ール「押罫」により、加工順(1)のデータ、加工順(2)の
データに従って加工する。次に、加工ツールを「カッ
タ」に代えて、加工順(3)、(4)、(5)のデータに従って
カット処理を行う。続いて、同じく加工ツール「カッ
タ」により、加工順(6)、(7)、(8)、(9)のデータに従っ
てカット処理を行う。この図10の例で示したように、
同一加工ツールの(3)、(4)、(5)を処理した後、(6)、
(7)、(8)、(9)を処理するため、すなわち、内側のデー
タについて加工した後、外側のデータを加工するように
したので、紙のずれが少なく、結果として品質が向上す
る。
In step S10, the processing apparatus 4 shown in FIG.
In the case of processing the data shown in (1) as a product, first, the data is processed in accordance with the data in the processing order (1) and the data in the processing order (2) using the processing tool “press rule”. Next, a cutting process is performed according to the data of the processing order (3), (4), and (5), instead of the processing tool being “cutter”. Subsequently, a cutting process is performed by the processing tool “cutter” in accordance with the data of the processing order (6), (7), (8), and (9). As shown in the example of FIG.
After processing (3), (4), (5) of the same processing tool, (6),
In order to process (7), (8), and (9), that is, after processing the inner data, the outer data is processed, so that the displacement of the paper is small, and as a result, the quality is improved.

【0021】[0021]

【発明の効果】本発明では、加工に必要な図形データを
抽出し、前記抽出した図形データを加工種類毎に分類
し、同一加工種類のデータを、外側のデータが後で加工
されるように並び替え、加工装置用にデータの形式を変
換するようにしたので、ずれが少なく、結果として加工
精度の良い製品が得られる。さらに、同一加工種類のデ
ータを、外側のデータが後で加工されるように並び替え
る工程を、基準点に最も近い図形データ上の点を開始点
として図形データを探索し、外側のデータを並べ替える
工程と、外側のデータの終点に最も近い図形データ上の
点を新たな開始点として図形データを探索し内側のデー
タを並べ替える工程と、同一加工種類の全図形データの
加工順を逆転させると共に始点と終点を入れ替える工
程、により実現するようにしたので、外側から図形デー
タを加工可能な順序に変更することが可能となる。
According to the present invention, graphic data necessary for processing is extracted, the extracted graphic data is classified for each processing type, and data of the same processing type is processed so that outer data is processed later. Since the data format is changed for the rearrangement and the processing apparatus, a product with less deviation and high processing accuracy can be obtained. Furthermore, the step of rearranging data of the same processing type so that the outer data is processed later is performed by searching for graphic data starting from the point on the graphic data closest to the reference point and arranging the outer data. Reordering, reordering the inner data by searching for the graphic data using the point on the graphic data closest to the end point of the outer data as a new starting point, and reversing the processing order of all graphic data of the same processing type And the step of exchanging the start point and the end point is realized, so that the order in which the graphic data can be processed from the outside can be changed.

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

【図1】本発明の図形加工装置の一実施形態を示す構成
図である。
FIG. 1 is a configuration diagram illustrating an embodiment of a graphic processing apparatus according to the present invention.

【図2】図形加工装置の処理動作を示すフローチャート
である。
FIG. 2 is a flowchart illustrating a processing operation of the graphic processing apparatus.

【図3】初期状態の図形データを示す模式図である。FIG. 3 is a schematic diagram showing graphic data in an initial state.

【図4】加工種類別に分類後の図形データを示す模式図
である。
FIG. 4 is a schematic diagram showing graphic data after classification by processing type;

【図5】線分統合後の図形データを示す模式図である。FIG. 5 is a schematic diagram showing graphic data after line integration.

【図6】図2のステップS5の詳細処理を示すフローチ
ャートである。
FIG. 6 is a flowchart showing a detailed process of step S5 in FIG. 2;

【図7】外側の線の順番変更後の図形データを示す模式
図である。
FIG. 7 is a schematic diagram showing graphic data after the order of outer lines is changed.

【図8】内側の線の順番変更後の図形データを示す模式
図である。
FIG. 8 is a schematic diagram showing graphic data after the order of inner lines is changed.

【図9】押罫データの順番変更後の図形データを示す模
式図である。
FIG. 9 is a schematic diagram showing graphic data after the order of pressed ruled data is changed.

【図10】最終状態の図形データを示す模式図である。FIG. 10 is a schematic diagram showing graphic data in a final state.

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

1・・・図形作成装置 2・・・演算手段 3・・・図形データ記憶手段 4・・・加工装置 21・・・図形データ抽出手段 22・・・データ削除手段 23・・・データ変更手段 24・・・データ変換手段 DESCRIPTION OF SYMBOLS 1 ... Graphic creation apparatus 2 ... Calculation means 3 ... Graphic data storage means 4 ... Processing apparatus 21 ... Graphic data extraction means 22 ... Data deletion means 23 ... Data change means 24 ... Data conversion means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 加工に必要な図形データを抽出する工程
と、前記抽出した図形データを加工種類毎に分類する工
程と、同一加工種類のデータを、外側のデータが後で加
工されるように並び替える工程と、加工装置用にデータ
の形式を変換する工程と、を有することを特徴とする図
形加工方法
A step of extracting graphic data required for processing; a step of classifying the extracted graphic data for each processing type; and a step of converting data of the same processing type so that outer data is processed later. A graphics processing method comprising: a step of rearranging; and a step of converting a data format for a processing apparatus.
【請求項2】 前記同一加工種類のデータを、外側のデ
ータが後で加工されるように並び替える工程は、基準点
に最も近い図形データ上の点を開始点として図形データ
を探索し、外側のデータを並び替える工程と、外側のデ
ータの終点に最も近い図形データ上の点を新たな開始点
として図形データを探索し内側のデータを並び替える工
程と、同一加工種類の全図形データの加工順を逆転させ
ると共に始点と終点を入れ替える工程と、を有すること
を特徴とする請求項1に記載の図形加工方法
2. The step of rearranging the data of the same processing type so that the outer data is processed later is performed by searching for graphic data starting from a point on the graphic data closest to a reference point. The process of rearranging the data, the process of searching for the graphic data using the point on the graphic data closest to the end point of the outer data as a new starting point, and rearranging the inner data, and the processing of all the graphic data of the same processing type 2. The method according to claim 1, further comprising a step of reversing the order and exchanging a start point and an end point.
【請求項3】 前記加工に必要な図形データを抽出する
工程の後、不要な図形データを除去する工程を有するこ
とを特徴とする請求項1に記載の図形加工方法
3. The graphic processing method according to claim 1, further comprising a step of removing unnecessary graphic data after the step of extracting graphic data necessary for the processing.
【請求項4】 加工に必要な図形データを抽出する図形
データ抽出手段と、前記抽出した図形データを加工種類
毎に分類し、同一加工種類のデータを、外側のデータが
後で加工されるように並び替えるデータ変更手段と、加
工装置用にデータの形式を変換するデータ変換手段と、
を有することを特徴とする図形加工装置
4. A graphic data extracting means for extracting graphic data necessary for processing, and classifying the extracted graphic data for each processing type so that data of the same processing type is processed later for outer data. A data changing unit for rearranging the data, a data converting unit for converting a data format for the processing device,
Figure processing device characterized by having
JP10329016A 1998-11-19 1998-11-19 Graphic working method/device Pending JP2000155609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10329016A JP2000155609A (en) 1998-11-19 1998-11-19 Graphic working method/device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10329016A JP2000155609A (en) 1998-11-19 1998-11-19 Graphic working method/device

Publications (1)

Publication Number Publication Date
JP2000155609A true JP2000155609A (en) 2000-06-06

Family

ID=18216666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10329016A Pending JP2000155609A (en) 1998-11-19 1998-11-19 Graphic working method/device

Country Status (1)

Country Link
JP (1) JP2000155609A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005513665A (en) * 2001-12-31 2005-05-12 ポステック・ファウンデーション Method for automatically generating part program for STEP-NC
JP5274714B1 (en) * 2012-03-02 2013-08-28 三菱電機株式会社 Machining program generation device, machining program generation method, and machining program generation program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005513665A (en) * 2001-12-31 2005-05-12 ポステック・ファウンデーション Method for automatically generating part program for STEP-NC
JP5274714B1 (en) * 2012-03-02 2013-08-28 三菱電機株式会社 Machining program generation device, machining program generation method, and machining program generation program
US9740189B2 (en) 2012-03-02 2017-08-22 Mitsubishi Electric Corporation Machining program creating apparatus, machining program creating method, and machining program creating program

Similar Documents

Publication Publication Date Title
US7643682B2 (en) Method of identifying redundant text in an electronic document
JPS61267177A (en) Retrieving system for document picture information
JP2606460B2 (en) Data generation method for CAD / CAM device
CN103136184A (en) Automatic typesetting method and automatic typesetting device
CN110968039A (en) Graph cutting and sorting processing method applied to laser cutting numerical control machining
JP2000155609A (en) Graphic working method/device
JP3679110B2 (en) CAD / CAM system for sheet metal working, program and recording medium recording program
JP2008108114A (en) Document processor and document processing method
WO2013128625A1 (en) Working program generation device, working program generation method, and working program generation program
JPH0687036A (en) Device for optimizing die allocation
JP2003263216A (en) Process design method and its device
JP4347675B2 (en) Form OCR program, method and apparatus
JPS63237839A (en) Automatic creating device for machining data by two-dimensional cad drawing
JP2006309611A (en) Analysis device, program and recording medium
JPH07227738A (en) Character engraving device using general purpose type numerically controlled machine
JP2754805B2 (en) How to convert board material figure data
JP4334987B2 (en) DTP editing apparatus having area designation function and data cutout function
JP3878174B2 (en) Record extraction method, record extraction device, and record extraction program
JP2001109510A (en) Automatic nesting method and its device
JPH04349506A (en) Converting method for plate working graphic data
JP2682873B2 (en) Recognition device for tabular documents
JP2018032277A (en) Method for forming rectangular mesh
JPH07191721A (en) Device for preparing nc data for sheet metal working
JP2000339149A (en) State transition model preparation method and its device
CN114445847A (en) Metal plate model bending data feature identification method based on three-dimensional vector data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080318

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080805