JPH02260003A - Producing device for external form working data - Google Patents

Producing device for external form working data

Info

Publication number
JPH02260003A
JPH02260003A JP8277389A JP8277389A JPH02260003A JP H02260003 A JPH02260003 A JP H02260003A JP 8277389 A JP8277389 A JP 8277389A JP 8277389 A JP8277389 A JP 8277389A JP H02260003 A JPH02260003 A JP H02260003A
Authority
JP
Japan
Prior art keywords
machining
data
maximum
rectangle
area
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
JP8277389A
Other languages
Japanese (ja)
Inventor
Masato Ogiwara
正人 荻原
Naoko Ishikawa
石川 奈穂子
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP8277389A priority Critical patent/JPH02260003A/en
Publication of JPH02260003A publication Critical patent/JPH02260003A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To automatically rearrange many working graphic data in the order of smaller graphics by rearranging these graphic data in the order of smaller areas of rectangles where two points shown by the maximum and minimum coordinate values are defined as the diagonal points for each working graphic. CONSTITUTION:A keyboard 1 reads the working graphic data and a storage 2 divides the working graphic data for each independent working graphic to store them. A processing part 3 reads one of those independent working graphic data and calculates the maximum and minimum coordinates of the working graphic to obtain the points shown by the maximum and minimum coordinate values. Then the area of a rectangle where two points shown by the maximum and minimum coordinate values are defined as the diagonal points, and the rectangle areas of all working graphics are calculated. These rectangle areas are compared with each other to decide whether these rectangles should be rearranged or not. If so, the working graphic data are rearranged in the order of smaller areas. If not, it is checked whether the graphic data are rearranged in the order of smaller areas or not. If so, the process is through. If not, the process is repeated until the graphic data are rearranged in the order of smaller areas.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、刃物、レーザビーム、ウォータジェット等
を用いて板状素材を切断加工するための外形加工データ
を作成する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an apparatus for creating contour processing data for cutting a plate-shaped material using a cutter, a laser beam, a water jet, or the like.

【従来の技術〕[Conventional technology]

一般に、刃物、レーザビーム、ウォータジェット等によ
って板状素材を切断加工する自動工作機械に、加工図形
データを作成して送出する外形加工データ作成装置では
、加工図形データを切断加工する順に送出するようにし
ている。このj項番は加工の際に素材に歪みが生じたす
せず、加工ごとに素材を固定し直さずに作業を継続でき
るように、内包関係にある加工図形については内側から
加工するのがよいとされている。
Generally, an external processing data creation device that creates and sends machining figure data to an automatic machine tool that cuts plate-shaped materials using a knife, laser beam, water jet, etc., sends the machined figure data in the order in which it will be cut. I have to. This number J indicates that it is recommended to process the machining figures from the inside in a connotative relationship so that the work can be continued without re-fixing the material each time the work is done, in case the material is distorted during machining. It is considered good.

従来、このような外形加工データ作成装置として、人手
により加工頭座を決定して手入方によりその順番に多数
の加工図形データを作成するが並び換えるものや、特開
昭63−62639号公報にみられるように、加工図形
データを読み込んで、その複数の加工図形ごとの包含関
係を判定し、内包される加工図形については内側から加
工できるように自動的に加工図形データの順序を並べ換
えるようにしたものがある。
Conventionally, as such an external shape machining data creation device, there is one that manually determines the machining head seat and creates and rearranges a large number of machining figure data in that order according to the method of machining. As shown in , it reads machining shape data, determines the inclusion relationship for each of its multiple machining shapes, and automatically rearranges the order of machining shape data so that included machining shapes can be machined from the inside. There is something like this.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、このような従来の外形加工データ作成装
置では、前者の人手により加工順序を決定して加工図形
データを作成したり並べ換えるのでは、複雑な加工図形
が多数ある場合に作業者の負担が大きく効率が悪くなる
However, with such conventional external shape machining data creation devices, the former manually determines the machining order and creates and rearranges the machining figure data, which places a burden on the worker when there are a large number of complex machining figures. This greatly reduces efficiency.

また、後者では加工図形の内包関係を判定する処理に時
間がかかるうえ、全ての加工図形が完全な閉ループ状に
なっていなければ加工順序を決定できないという不都合
があった。
Further, in the latter case, it takes time to determine the connotation relationship of the machining figures, and the machining order cannot be determined unless all the machining figures are in a completely closed loop.

この発明は上記の点に鑑みてなされたものであり、外形
加工データ作成装置において、多数の加工図形データを
自動的に小さい図形の順に並べ換えられるようにするこ
とを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to enable an external shape processing data creation device to automatically rearrange a large number of processed figure data in the order of the smallest figure.

〔課題を解決するための手段〕[Means to solve the problem]

この発明は上記の目的を達成するために、第1図の機能
ブロック図に示すように、内包関係にある加工図形を含
む複数の独立した加工図形のデータを読み込む加工図形
読込手段Aと、この手段Aによって読み込んだ各加工図
形ごとに最大及び最小座標値を算出する最大・最小座標
値算出手段Bと、前述の各加工図形ごとに最大・最小座
標値算出手段Bによって算出さ九た最大座標値の点と最
小座標値の点を対角点とする矩形の面積を算出する矩形
面積算出手段Cと、この手段Cによって算出した各矩形
の面積の大小を比較して、矩形の面積が小さい順に各加
工図形のデータを並べ換えるデータ並べ換え手段りとを
備えた外形加工データ作成装置を提供するものである。
In order to achieve the above object, the present invention includes a machining figure reading means A that reads data of a plurality of independent machining figures including machining figures having a connotative relationship, as shown in the functional block diagram of FIG. Maximum/minimum coordinate value calculation means B calculates maximum and minimum coordinate values for each machining figure read by means A, and nine maximum coordinates calculated by maximum/minimum coordinate value calculation means B for each machining figure mentioned above. Rectangle area calculation means C calculates the area of a rectangle whose diagonal points are the value point and the minimum coordinate value point, and the area of each rectangle calculated by this means C is compared to determine whether the area of the rectangle is small. An object of the present invention is to provide an external shape machining data creation device including a data rearranging means for sequentially rearranging data of each machining figure.

(作 用〕 この発明による外形加工データ作成装置は、読み込んだ
複数の独立した加工図形ごとに最大・最小座標値を算出
し、その各加工図形について最大・最小座標値で表され
る2点を対角点(対角線の両端の点)とする矩形の面積
を算出してそれぞれ比較し、これらの矩形の面積の小さ
い順に加工図形データを並べ換える。
(Operation) The external shape machining data creation device according to the present invention calculates the maximum and minimum coordinate values for each of a plurality of read independent machining figures, and calculates the two points represented by the maximum and minimum coordinate values for each of the machining figures. The areas of rectangles that are diagonal points (points at both ends of the diagonal line) are calculated and compared, and the processed figure data is sorted in descending order of the area of these rectangles.

〔実施例〕〔Example〕

以下、この発明の実施例を図面に基づいて具体的に説明
する。
Embodiments of the present invention will be specifically described below with reference to the drawings.

第2図は、この発明を実施した外形加工データ作成装置
の構成の一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of the configuration of an external shape machining data creation device embodying the present invention.

この外形加工データ作成装置は、キーボード1゜記憶袋
M2.処理部31表示部4からなり、処理部3はマイク
ロコンピュータによって実現される。
This external shape processing data creation device consists of a keyboard 1° memory bag M2. It consists of a processing section 31 and a display section 4, and the processing section 3 is realized by a microcomputer.

キーボード1は1図示しない文字キー、機能指示キー等
を備え、オペレータによる加工図形データの読み込み、
加工図形データの作成指示等の入力を行なう。
The keyboard 1 is equipped with character keys (not shown), function instruction keys, etc., and is used by the operator to read machining figure data,
Input instructions for creating processed figure data.

記憶装置2は、加工図形データを格納し、キーボード1
の指示によってこの加工図形データを後述する処理部3
に読み出す。
The storage device 2 stores processing figure data, and the keyboard 1
Processing unit 3, which will process this processed figure data later in accordance with instructions from
Read out.

処理部3は、この装置全体の制御を司ると共に、各加工
図形の最大座標値及び最小座標値を算出する処理、最大
・最小座標値から対角点を求めて各加工図形に外に外接
する矩形の面積を算出する処理、その矩形の面積が小さ
い順に各加工図形データの順序を並べ換える処理等も行
なう。
The processing unit 3 is in charge of controlling the entire device, and also performs processing for calculating the maximum and minimum coordinate values of each machining figure, finding diagonal points from the maximum and minimum coordinate values, and circumscribing each machining figure to the outside. Processing for calculating the area of a rectangle, processing for rearranging the order of each processed figure data in descending order of the area of the rectangle, etc. are also performed.

表示部4は、CRTデイスプレィ等であり、加工図形の
表示、オペレータへの各種の操作メツセージ等を表示す
る。
The display section 4 is a CRT display or the like, and displays machining figures and various operation messages to the operator.

次に、第3図は前述した処理部3による加工図形データ
の並べ換えに係・わる処理の流れを示した説明図である
Next, FIG. 3 is an explanatory diagram showing the flow of processing related to rearrangement of processed figure data by the processing section 3 described above.

まず、加工図形群をx−y座標系上に表わして。First, represent the machining figures on the x-y coordinate system.

その各加工図形がx−y座標上に占める領域の最小座標
値(すなわち、最も左側のX座標値と最も下方のX座標
値)と最大座標値(すなわち、最も右側のX座標値と最
も上方のX座標値)を算出して、最小座標値で表わされ
る点と最大座標値で表わされる点の2点を求める(イ)
The minimum coordinate values (i.e., the leftmost X coordinate value and the lowermost X coordinate value) and the maximum coordinate values (i.e., the rightmost X coordinate value and the uppermost ), and find two points: the point represented by the minimum coordinate value and the point represented by the maximum coordinate value (a)
.

そして、この最小座標値の点と最大座標値の点を対角点
とする矩形の面積を、対角点同士のX座標値の差と9座
標値の差との積から算出する(口)。
Then, the area of a rectangle whose diagonal points are the point with the minimum coordinate value and the point with the maximum coordinate value is calculated from the product of the difference in the X coordinate value and the difference in the 9 coordinate values between the diagonal points. .

ここで、対角点とは、矩形の対角線の両端の2頂点を言
う。
Here, the diagonal points refer to two vertices at both ends of a diagonal line of a rectangle.

こうして、各加工図形に外接する矩形の面積を算出する
と、その矩形の面積の大小関係を比較しくハ)、矩形の
面積が小さい順に各加工図形データを並べ換える(二)
In this way, after calculating the area of the rectangle circumscribing each machining figure, compare the size relationship of the area of the rectangle (c), and rearrange each machining figure data in descending order of the area of the rectangle (2)
.

次に、第4図はX−Y座標上の加工図形群の一例を示す
図であり、この例によって上述の処理について説明する
Next, FIG. 4 is a diagram showing an example of a group of processed figures on the X-Y coordinates, and the above-mentioned processing will be explained using this example.

板状の素材から切り抜く4種類の独立した加工図形10
,11,12,15が、それぞれ11が10に、′13
が12に内包されてX−Y座標平面上に表わされている
4 types of independent machining figures 10 cut out from plate-shaped materials
, 11, 12, 15, respectively 11 becomes 10, '13
is included in 12 and is represented on the XY coordinate plane.

まず、図形10に注目すると、この図形の最小座標値は
図中の点P1のX座標χminと点P2のV座標y w
inであり、最大座標値は点P3のχ座標x waxと
点P4のV座標y maxである。
First, paying attention to figure 10, the minimum coordinate values of this figure are the X coordinate χmin of point P1 and the V coordinate yw of point P2 in the figure.
in, and the maximum coordinate values are the χ coordinate x wax of point P3 and the V coordinate y max of point P4.

そして、この図形の最小・最大座標値の点は、それぞれ
A (zmin、 ymin)及びA ’ (xmax
The minimum and maximum coordinate values of this figure are A (zmin, ymin) and A' (xmax
.

すwax)となる。(wax).

すると、この2点AとA′を対角点とする矩形14は点
線で示すように図形10に外接し、その面積は次式によ
って算出される。
Then, a rectangle 14 having these two points A and A' as diagonal points circumscribes the figure 10 as shown by the dotted line, and its area is calculated by the following equation.

S= (xmax−Ocmin) x (、y wax
 −y win)同様に1図形11,12.13にそれ
ぞれ外接する矩形15.18.17の面積は、11の最
小座標値の点B及び最大座標値の点B′から、12の最
小・最大座標値の点のC及びC′から、13の最小・最
大座標値の点のD及びD′から各々上述の方法で算出さ
れる。
S= (xmax-Ocmin) x (, y wax
-y win) Similarly, the areas of rectangles 15, 18, and 17 that circumscribe each figure 11, 12, and 13 are calculated from the minimum and maximum coordinates of 12 from point B of the minimum coordinate value and point B' of the maximum coordinate value of 11. They are calculated from the coordinate values of points C and C' and from the 13 minimum and maximum coordinate value points D and D', respectively, using the above-described method.

こうして、4つの図形にそれぞれ外接する矩形14〜1
7の面積を算出し、その各矩形の面積の大小関係を比較
して、小さい順に加工図形データを並び換える。
In this way, rectangles 14 to 1 circumscribing each of the four figures
7 is calculated, the magnitude relationship of the areas of each rectangle is compared, and the processed figure data is sorted in descending order.

ここでは、各矩形の面積は小さい順に17゜15.18
.14だから、この順番で加工図形データを並び換える
ゆ 次に、第5図のフローチャートによって、第2図に示し
た外形加工データ作成装置の加工図形データ並び換えの
処理について説明する。
Here, the area of each rectangle is 17°15.18 in descending order.
.. 14, therefore, the process of rearranging the machined figure data in this order will now be described with reference to the flowchart of FIG.

まず、加工図形データを読み込んで、それを独立した加
工図形ごとに分割する。
First, the machining figure data is read and divided into independent machining figures.

そして、複数の独立した加工図形データのうちの1つを
読み込み、その加工図形の最大・最小座標値を算出して
最大・最小座標値で表される点を求め、この2点を対角
点とする矩形の面積を算出する。
Then, read one of the multiple independent machining figure data, calculate the maximum and minimum coordinate values of that machining figure, find the point represented by the maximum and minimum coordinate values, and use these two points as diagonal points. Calculate the area of the rectangle.

1つの加工図形の矩形面積が求まったら、次の独立した
加工図形データを読み込んで同様の処理を行なう。
Once the rectangular area of one processed figure is determined, the next independent processed figure data is read and the same process is performed.

こうして、分割した全ての加工図形に対する矩形の面積
を算出し終わると、次にこれらの各矩形の面積の大小関
係を比較し、各加工図形データの並び換えが必要か否か
を判断する。
After calculating the areas of the rectangles for all the divided processed figures in this way, the size relationship of the areas of these rectangles is then compared to determine whether or not it is necessary to rearrange each piece of processed figure data.

そして、並び換えが必要な時は小さい順に各加工図形デ
ータを並び換えて、必要でない時はその順序のままにし
て、全ての加工図形データが小さい順に並んでいるか否
かを判定する。
Then, when rearrangement is necessary, each processed figure data is rearranged in ascending order, and when it is not necessary, the order is left as is, and it is determined whether all processed figure data are arranged in ascending order.

この判定でYESならば並べ換えの処理を終了するが、
NOならば再び各加工図形に対する矩形面積の大小関係
を比較するステップに戻り、全ての加工図形データが矩
形面積の小さいIt[に並び換えられるまで繰り返した
後この処理を終了する。
If this judgment is YES, the sorting process ends, but
If NO, the process returns to the step of comparing the size relationship of the rectangular area for each processed figure, and this process is repeated until all the processed figure data are sorted into It[ with the smaller rectangular area, and then this process is terminated.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明による加工図形データ作
成装置は、独立した複数の加工図形データをその各加工
図形に外接する矩形の面積をもとに小さい順に並べ換え
るので、各加工図形が内包関係に有っても無くても加工
図形の小さい順に加工図形データを並べることができる
As explained above, the machined figure data creation device according to the present invention sorts a plurality of independent machined figure data in ascending order based on the area of the rectangle circumscribing each of the machined figures, so that each machined figure has an inclusion relationship. Processing figure data can be arranged in ascending order of the machined figure, whether or not it exists.

また、閉形状の加工図形についてもその図形の大小比較
が行なえるので、特に閉形状に近い閉形状の加工図形に
ついても上述の並べ換えができるようになる。
Moreover, since the sizes of closed-shaped processed figures can also be compared, the above-described rearrangement can be performed even for closed-shaped processed figures that are particularly close to closed shapes.

さらに、この装置によって作成された加工図形データは
小さい図形のデータからJlli¥に出力されるので、
板状素材を加工する際に素材のたわみが少なくて済み、
加工精度の向上にも寄与する。
Furthermore, the processed figure data created by this device is output to Jlli\ from small figure data, so
When processing plate-shaped materials, there is less deflection of the material,
It also contributes to improving machining accuracy.

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

第1図はこの発明による加工図形データ作成装置の基本
的な構成を示す機能ブロック図、第2図はこの発明を実
施した加工図形データ作成装置の構成を示すブロック図
、 第3図は第2図に示す処理部3が加工図形データを並び
換える処理の流れを示した説明図、第4図は第3図に示
した処理の実例を説明するための加工図形データの一例
を示す図、 第5図は第2図の加工図形データ作成装置が加工図形デ
ータを並び換える処理のフロー図である。 1・・・キーボード  2・・・記憶装置3・・・処理
部    4・・・表示部第3図 第4図 χmin 工ma× 第1図 第2図 第5図
FIG. 1 is a functional block diagram showing the basic configuration of a machined figure data creation device according to the present invention, FIG. 2 is a block diagram showing the configuration of a machined figure data creation device implementing this invention, and FIG. FIG. 4 is an explanatory diagram showing the flow of processing in which the processing unit 3 rearranges the processed figure data shown in FIG. FIG. 5 is a flowchart of a process in which the machined figure data creation device of FIG. 2 rearranges the machined figure data. 1...Keyboard 2...Storage device 3...Processing section 4...Display section Fig. 3 Fig. 4 χmin max Fig. 1 Fig. 2 Fig. 5

Claims (1)

【特許請求の範囲】 1 内包関係にある加工図形を含む複数の独立した加工
図形のデータを読み込む加工図形読込手段と、 該手段によつて読み込んだ各加工図形ごとに最大及び最
小座標値を算出する最大・最小座標値算出手段と、 前記各加工図形ごとに前記最大・最小座標値算出手段に
よつて算出された最大座標値の点と最小座標値の点を対
角点とする矩形の面積を算出する矩形面積算出手段と、 該手段によつて算出した各矩形の面積の大小を比較して
、該矩形の面積が小さい順に前記各加工図形のデータを
並べ換えるデータ並べ換え手段とを備えたことを特徴と
する外形加工データ作成装置。
[Scope of Claims] 1. Machining figure reading means for reading data of a plurality of independent machining figures including machining figures having a connotative relationship, and calculating maximum and minimum coordinate values for each machining figure read by the means. and an area of a rectangle whose diagonal points are the point of the maximum coordinate value and the point of the minimum coordinate value calculated by the maximum and minimum coordinate value calculation means for each of the processing figures. a rectangular area calculation means for calculating the area of each rectangle, and a data sorting means for comparing the size of the area of each rectangle calculated by the means and rearranging the data of each of the processed figures in descending order of the area of the rectangle. An external shape processing data creation device characterized by the following.
JP8277389A 1989-03-31 1989-03-31 Producing device for external form working data Pending JPH02260003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8277389A JPH02260003A (en) 1989-03-31 1989-03-31 Producing device for external form working data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8277389A JPH02260003A (en) 1989-03-31 1989-03-31 Producing device for external form working data

Publications (1)

Publication Number Publication Date
JPH02260003A true JPH02260003A (en) 1990-10-22

Family

ID=13783753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8277389A Pending JPH02260003A (en) 1989-03-31 1989-03-31 Producing device for external form working data

Country Status (1)

Country Link
JP (1) JPH02260003A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08187642A (en) * 1994-12-29 1996-07-23 Murata Mach Ltd Tool arranging method for plate work graphic data
JP6220925B1 (en) * 2016-06-14 2017-10-25 株式会社アマダホールディングス Part data creation device, part data creation method, part data creation program, sheet data creation device, sheet data creation method, and sheet data creation program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08187642A (en) * 1994-12-29 1996-07-23 Murata Mach Ltd Tool arranging method for plate work graphic data
JP6220925B1 (en) * 2016-06-14 2017-10-25 株式会社アマダホールディングス Part data creation device, part data creation method, part data creation program, sheet data creation device, sheet data creation method, and sheet data creation program
JP2017224078A (en) * 2016-06-14 2017-12-21 株式会社アマダホールディングス Part data creation device, part data creation method and part data creation program, and sheet data creation device, sheet data creation method and sheet data creation program
WO2017217317A1 (en) * 2016-06-14 2017-12-21 株式会社アマダホールディングス Part data creation device, part data creation method, part data creation program, sheet data creation device, sheet data creation method, and sheet data creation program

Similar Documents

Publication Publication Date Title
JPH07104701B2 (en) CAD / CAM device
US5113338A (en) Similar shape part program creation method
JPH02260003A (en) Producing device for external form working data
US4855921A (en) Complex curved surface creation method
JP2649838B2 (en) Method of determining processing method in numerical control information creation device
WO1993001535A1 (en) Method for specifying position where fillet curved surface is located
JPH02172652A (en) Decision of working method in numerical control information preparing device
JP3175401B2 (en) CAD / CAM equipment
JPS63127853A (en) Method of calculating machining path
JP2799531B2 (en) How to create NC data
JPH07220115A (en) Three-dimensional cad system
JPH06143090A (en) Nc data origination system
JP3526292B2 (en) NC data creation apparatus and method
JP3372582B2 (en) NC data creation apparatus and method
JPH0569274A (en) Preparation of free curved surface pocket machining nc data
JPS6054013A (en) Numerical controller
JPS63185552A (en) Data creating device for region cutting
JPH0212309A (en) Cad/cam device
JPH0718872A (en) Method for displaying identification mark
JPS61105614A (en) Working area designating system of nc data generating device
JPH01300306A (en) Automatic programming method
JPH02212904A (en) Programming device
JP2001109510A (en) Automatic nesting method and its device
JPH02180539A (en) Cad/cam device
JPH03179511A (en) Producing device for numerical control information