JPH0736524A - Cad/cam device - Google Patents

Cad/cam device

Info

Publication number
JPH0736524A
JPH0736524A JP18283493A JP18283493A JPH0736524A JP H0736524 A JPH0736524 A JP H0736524A JP 18283493 A JP18283493 A JP 18283493A JP 18283493 A JP18283493 A JP 18283493A JP H0736524 A JPH0736524 A JP H0736524A
Authority
JP
Japan
Prior art keywords
machining
shape
same
drill hole
processing
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.)
Granted
Application number
JP18283493A
Other languages
Japanese (ja)
Other versions
JP2991006B2 (en
Inventor
Keiko Senda
景子 仙田
Masashi Tomatsu
雅志 戸松
Sadahiko Hasegawa
貞彦 長谷川
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5182834A priority Critical patent/JP2991006B2/en
Publication of JPH0736524A publication Critical patent/JPH0736524A/en
Application granted granted Critical
Publication of JP2991006B2 publication Critical patent/JP2991006B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To shorten the working time of a CAD/CAM device and also to prevent the artificial mistakes by recognizing automatically the same shapes included in a drawing and then defining by the same shapes. CONSTITUTION:When a machining shape defining means 1 defines a machining shape based on the supplied shape data, a machining shape recognizing means 3 having a same shape recognizing means recognizes the same shapes included in a machining drawing. Then a machining start point setting means 7 having a same machining defining means and a machining start element deciding means 8 define the machining so that the exactly same positional relation is secured to the same shapes between the machining start point and the machining start element. A machining condition adding means 9 having the same machining defining means adds the same machining information to the same shapes. Thus the same machining is defined to the same shapes in an automatic defining mode and an exactly same NC program can be acquired. As a result, the same shapes are manually confirmed out of the drawing and the trouble and the time needed for definition of the same machining can be reduced.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、CAD/CAM装置
に関し、さらに詳しくは、ワイヤカット放電加工機の加
工用NCデータの作成を支援するCAD/CAM装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CAD / CAM device, and more particularly to a CAD / CAM device that supports creation of machining NC data for a wire cut electric discharge machine.

【0002】[0002]

【従来の技術】図13は、CAD/CAM装置の一般的
構成を示す図で、21は入力された各種データをもとに
形状データの作成から定義した形状データの加工方法や
加工条件を解析してNCデータを作成する等を行うCP
U、22は入力された各種データを記憶するメモリ、2
3は画面の印刷などを行うプリンタ、24は定義済みの
形状データや加工経路・加工条件・入力要求メッセージ
等を画面に表示するCRT、25は形状データ・加工条
件等の各種データを入力するキーボード、26はCRT
24上に表示される図形やメニューの選択を行うマウ
ス、27は定義済みの形状データ等を保存する、あるい
は保存した形状データを読み出すための補助記憶装置、
28は作成した図面を用紙上に出力するプロッタであ
る。上記各装置はすべてバス29を介して接続されてい
る。
2. Description of the Related Art FIG. 13 is a diagram showing a general structure of a CAD / CAM device, and 21 is a method of processing shape data defined from creation of shape data based on various input data and processing conditions. CP that creates and creates NC data
U and 22 are memories for storing various input data, 2
3 is a printer that prints a screen, 24 is a CRT that displays defined shape data, processing paths, processing conditions, input request messages, etc. on the screen, and 25 is a keyboard that inputs various data such as shape data and processing conditions , 26 are CRT
A mouse for selecting figures and menus displayed on the screen 24, an auxiliary storage device 27 for storing defined shape data, or for reading out the stored shape data,
28 is a plotter for outputting the created drawing on a sheet. All of the above devices are connected via a bus 29.

【0003】次に、このようなCAD/CAM装置で加
工する形状を作成する従来の構成について説明する。図
14に示すように、加工形状定義手段31において、キ
ーボード25やマウス26から加工形状についての各種
データを入力すると、バス29を介してCPU21に転
送され、オペレータの指示に基づく処理を行った後に、
点、線、円等の形状データや寸法線、注記等のデータが
作成されてCRT24上に表示されるとともに形状デー
タ記憶手段32によりメモリ22に格納される。CRT
24の表示内容より処理結果を確認しながら、形状デー
タの入力を繰り返し、加工する形状を作成する。あるい
は、他のCAD装置で作成された形状データを補助記憶
装置27から読み込む。その結果は例えば、図18−a
のような加工形状となる。
Next, a conventional configuration for creating a shape to be processed by such a CAD / CAM device will be described. As shown in FIG. 14, when the machining shape defining means 31 inputs various data regarding the machining shape from the keyboard 25 or the mouse 26, the data is transferred to the CPU 21 via the bus 29, and after performing processing based on the operator's instruction. ,
Shape data of points, lines, circles, etc., data of dimension lines, notes, etc. are created and displayed on the CRT 24, and are stored in the memory 22 by the shape data storage means 32. CRT
While confirming the processing result from the display contents of 24, input of shape data is repeated to create a shape to be processed. Alternatively, the shape data created by another CAD device is read from the auxiliary storage device 27. The result is, for example, FIG. 18-a.
The processed shape is as follows.

【0004】次に、作成された形状が、閉形状に連続化
して加工可能な形状であるかを加工形状認識手段33に
より認識し、加工方法判定条件設定手段34により拡大
加工(図19−a)、あるいは切り落とし加工(図19
−b)のいずれの方法で加工する形状かを判定する条件
として拡大加工を行う形状面積を設定し、加工工程登録
手段35により表1のように複数の加工工程を登録し、
加工方法対応工程決定手段36により加工工程登録手段
35で登録された複数工程の中から表2のように拡大加
工時の工程(表2−a)と、切り落とし加工時の工程
(表2−b)を選択する。
Next, the machining shape recognizing means 33 recognizes whether the created shape is a shape that can be machined continuously into a closed shape, and the machining method determination condition setting means 34 enlarges the shape (FIG. 19-a). ), Or cut-off processing (Fig. 19)
As a condition for determining which method of (b) is to be used for processing, the shape area for performing the enlarged processing is set, and the processing step registration means 35 registers a plurality of processing steps as shown in Table 1.
Among the plurality of steps registered by the processing step registration means 35 by the processing method corresponding step determination means 36, a step during expansion processing (Table 2-a) and a step during cut-off processing (Table 2-b) as shown in Table 2. ) Is selected.

【表1】 [Table 1]

【表2】 [Table 2]

【0005】加工開始点作成手段37については、図1
5のフローチャートを用いて説明する。ステップ(S4
1)で加工形状から最適な加工を開始する位置を求め
る。また、ステップ(S42)で加工開始点としてステ
ップ(S41)で求めた位置に点要素を作成する。ま
た、ステップ(S43)ではステップ(S42)で作成
された点要素に加工開始点である情報を付加する。
The processing start point creating means 37 is shown in FIG.
This will be described using the flowchart of FIG. Step (S4
In 1), the optimum position for starting machining is determined from the machining shape. Further, a point element is created at the position obtained in step (S41) as a processing start point in step (S42). Further, in step (S43), information that is the processing start point is added to the point element created in step (S42).

【0006】加工開始要素決定手段38については、図
16のフローチャートを用いて説明する。ステップ(S
51)で加工形状の面積が、加工方法判定条件設定手段
34で設定された拡大加工とする最大面積以下であると
判定されたならば、拡大加工としてステップ(S52)
で加工開始点から遠いところに位置する要素を得る(図
20−a)。ステップ(S51)でそれ以外で切り落と
し加工と判定されたならば、ステップ(S53)で加工
開始点から近いところに位置する要素を得る(図20−
b)。また、ステップ(S54)でステップ(S52)
またはステップ(S53)で得られた要素に対して加工
開始点から正常に加工できると判定されたならば、ステ
ップ(S57)で要素に対して加工開始要素である情報
を付加する。ステップ(S54)でそれ以外と判定され
たならば、ステップ(S55)で隣接する別の要素を得
る。ステップ(S56)で判定済みでない要素が存在し
たならば、ステップ(S54)以降を繰り返す。
The machining start element determining means 38 will be described with reference to the flowchart of FIG. Step (S
If it is determined in 51) that the area of the machining shape is equal to or smaller than the maximum area set by the machining method determination condition setting unit 34 as the enlarging machining, the enlarging step is performed (S52).
An element located far from the machining start point is obtained with (FIG. 20-a). If it is determined in step (S51) that the cutting operation is other than that, in step (S53), an element located near the processing start point is obtained (FIG. 20-
b). Also, in step (S54), step (S52)
Alternatively, if it is determined that the element obtained in step (S53) can be processed normally from the processing start point, information that is the processing start element is added to the element in step (S57). If it is determined otherwise in step (S54), another adjacent element is obtained in step (S55). If there is an element that has not been determined in step (S56), step (S54) and subsequent steps are repeated.

【0007】加工条件付加手段39については、図17
のフローチャートを用いて説明する。ステップ(S6
1)で加工方法判定条件設定手段34で設定された拡大
加工とする最大面積以下であると判定されたならば、ス
テップ(S62)で加工方法対応工程決定手段36で決
定された拡大加工の工程情報(表2−a)を得る。ステ
ップ(S61)でそれ以外と判定されたならば、ステッ
プ(S63)で加工方法対応工程決定手段36で決定さ
れた切り落とし加工の工程情報(表2−b)を得る。ま
た、ステップ(S64)ではステップ(S62)または
ステップ(S63)で得られた工程情報を加工開始要素
に付加する。
The processing condition adding means 39 is shown in FIG.
This will be described with reference to the flowchart of. Step (S6
If it is determined in 1) that the area is not larger than the maximum area set by the machining method determination condition setting means 34, the enlargement process determined by the machining method corresponding process determination means 36 in step (S62). Obtain information (Table 2-a). If it is determined otherwise in step (S61), the cut-off process process information (Table 2-b) determined by the process method corresponding process determining means 36 is obtained in step (S63). In step (S64), the process information obtained in step (S62) or step (S63) is added to the processing start element.

【0008】加工順序変更手段40については、加工時
間短縮のため加工経路が最短になるような加工順序に変
更する。また、ドリル穴定義手段41については、ドリ
ル穴を定義する加工形状については、加工開始点作成手
段37で作成された加工開始点要素に対してオペレータ
が1個ずつドリル穴形状の情報を付加する。例えば、図
18−bにこのようにして図18−aを加工定義した形
状を示している。
The machining order changing means 40 changes the machining order so that the machining path becomes the shortest in order to shorten the machining time. Further, regarding the drill hole defining means 41, regarding the machining shape defining the drill hole, the operator adds information on the drill hole shape one by one to the machining start point element created by the machining start point creating means 37. . For example, FIG. 18-b shows a shape obtained by processing and defining FIG. 18-a in this way.

【0009】[0009]

【発明が解決しようとする課題】従来のCAD/CAM
装置は、以上のように構成されているので加工形状を図
面として定義し、図面の中に同一形状が存在した場合、
その形状に同じ加工定義をすることにより全く同一のN
Cプログラムを作成することができるが、自動的に加工
定義を行う場合には同一形状である認識ができず、同一
形状であるにも係わらず別のNCプログラムが作成され
てしまうことがあった。また、手動で加工定義する場合
でも図面作成者と別の人がその図面に対して加工定義を
行うことが多く、その場合、同一形状である確認をする
のに手間と時間がかかるという問題があった。更に、ワ
イヤを通す穴をドリルで開ける際、形状の定義時に人手
を介して加工形状毎にドリル用の円形状を作成しなけれ
ばならず、手間と時間がかかるという問題点があった。
また、ドリル用の穴を最も加工効率が良くなるように空
けるためには加工形状毎に手計算しなければならず、時
間がかかる上に人為的ミスが発生するという問題点もあ
った。
Conventional CAD / CAM
Since the device is configured as described above, the processed shape is defined as a drawing, and if the same shape exists in the drawing,
If the same machining definition is applied to the shape, the same N
A C program can be created, but when automatically defining a machining, the same shape cannot be recognized, and another NC program may be created despite the same shape. . Even when the machining definition is manually performed, a person who is different from the drawing creator often performs the machining definition for the drawing, and in that case, it takes time and effort to confirm that the drawings have the same shape. there were. Furthermore, when drilling a hole through which a wire is to be drilled, it is necessary to manually create a circular shape for each drilled shape when defining the shape, which is troublesome and time consuming.
In addition, in order to open a hole for drilling so that the machining efficiency is maximized, it is necessary to manually calculate for each machining shape, which takes time and causes a human error.

【0010】この発明は上記のような問題点を解決する
ためになされたもので、図面中の同一形状である確認と
同一形状である加工の定義を人手を介さず行うため、大
幅に手間と時間を短縮することができ、同一形状につい
ては全く同一の加工NCプログラムを容易に作成するこ
とができる。また、ワイヤを通す穴をドリルで空ける際
のドリル用の円形状を加工の定義時に同時に行うため、
手作業が減少し、手間と時間を短縮することができる。
更に、ワイヤを通す穴をドリルで空ける際、最も効率よ
く穴を開けられるように穴形状を表示し、後工程の時間
を減らすことができるCAD/CAM装置を提供するこ
とを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and since the confirmation of the same shape in the drawings and the definition of the machining having the same shape are performed without human intervention, a great deal of labor is required. The time can be shortened, and exactly the same machining NC program can be easily created for the same shape. Also, because the circular shape for drilling when drilling a hole to pass the wire is performed at the same time when defining the machining,
The manual work is reduced, and the labor and time can be shortened.
Further, it is another object of the present invention to provide a CAD / CAM device capable of displaying the shape of a hole so that the hole can be most efficiently drilled when a hole through which a wire is to be drilled and reducing the time of the subsequent process.

【0011】[0011]

【課題を解決するための手段】この発明のCAD/CA
M装置は、入力された形状データにより加工形状を定義
する加工形状定義手段と、定義された形状が加工できる
か否かを認識するとともに、複数の加工形状の中から同
じ形状を認識する同一形状認識手段を有する加工形状認
識手段と、加工形状により加工を開始する位置を求め、
同じ形状の場合、加工開始点と加工形状との位置関係が
同じになるように加工開始点を決定する同一加工定義手
段を有する加工開始点作成手段と、加工形状により加工
を開始する要素を決定するとともに、同じ形状の場合、
加工開始要素と加工形状との位置関係が同じになるよう
に加工開始要素を決定する同一加工定義手段を有する加
工開始要素決定手段と、加工形状により加工方法を決定
し、決定された加工方法に応じて加工工程を加工開始要
素に付加するとともに、同一形状には同一の加工情報を
加工開始要素に付加する同一加工定義手段を有する加工
条件付加手段とを具備するものである。
CAD / CA of the present invention
The M device recognizes a machining shape defining unit that defines a machining shape based on the inputted shape data, and the same shape that recognizes whether the defined shape can be machined and that recognizes the same shape from a plurality of machining shapes. A machining shape recognition means having a recognition means, and a position to start machining based on the machining shape are obtained,
In the case of the same shape, the machining start point creating means having the same machining definition means for determining the machining start point so that the positional relationship between the machining start point and the machining shape is the same, and the element for starting machining depending on the machining shape And the same shape,
The machining start element determining means having the same machining definition means for determining the machining start element so that the positional relationship between the machining start element and the machining shape is the same, and the machining method is determined by the machining shape, Accordingly, a machining step is added to the machining start element, and the same shape is provided with machining condition adding means having the same machining definition means for adding the same machining information to the machining start element.

【0012】また、入力された形状データにより加工形
状を定義する加工形状定義手段と、定義された形状が加
工できるか否かを認識する加工形状認識手段と、加工形
状により加工を開始する加工開始点を決定する加工開始
点作成手段と、ワイヤ挿入用のドリル穴情報を設定する
ドリル穴情報設定手段と、加工開始点と加工形状により
ドリル穴情報設定手段で設定された大きさのドリル穴を
作成するドリル穴作成定義手段と、加工形状により加工
開始する要素を決定する加工開始要素決定手段と、加工
形状により加工方法を決定し、決定された加工方法に応
じて加工工程を加工開始要素に付加する加工条件付加手
段とを具備するものである。
Further, a machining shape defining means for defining a machining shape by the inputted shape data, a machining shape recognizing means for recognizing whether or not the defined shape can be machined, and a machining start for starting machining by the machining shape. Machining start point creating means for deciding points, drill hole information setting means for setting drill hole information for wire insertion, and a drill hole of the size set by the drill hole information setting means according to the machining start point and machining shape. A drill hole creation defining means to be created, a machining start element determining means for deciding an element to be machined according to the machining shape, a machining method is decided according to the machining shape, and a machining step is set as a machining start element according to the decided machining method. And a processing condition adding means to be added.

【0013】また、加工方法毎にワイヤ挿入用のドリル
穴情報を設定することができる加工方法別ドリル穴情報
設定手段を有するドリル穴情報設定手段と、加工方法別
ドリル穴情報設定手段により設定されたドリル穴情報と
加工方法によりドリル穴を作成する加工方法別ドリル穴
作成手段を有するドリル穴作成定義手段とを具備するも
のである。
Further, it is set by the drill hole information setting means having the drill hole information setting means for each processing method capable of setting the drill hole information for wire insertion for each processing method, and the drill hole information setting means for each processing method. And a drill hole creation defining unit having a drill hole creating unit for each working method for creating a drill hole based on the drill hole information and the working method.

【0014】[0014]

【作用】この発明におけるCAD/CAM装置は、同一
形状認識手段を有する加工形状認識手段は、加工用図面
中の同じ形状を同一形状であると認識し、同一加工定義
手段を有する加工開始点作成手段と加工開始要素決定手
段は、同一形状に対して加工開始点と加工開始要素との
位置関係が全く同じになるように加工の定義を行う。同
一加工定義手段を有する加工条件付加手段は、同一形状
に対して同一の工程情報を付加する。これにより、自動
定義時に同一形状については同じ加工定義を行い、全く
同一のNCプログラムを作成することができるため、手
動で図面の中から同一形状を確認して、同一の加工を行
う定義をする手間と時間を短縮することができる。
In the CAD / CAM apparatus according to the present invention, the machining shape recognizing means having the same shape recognizing means recognizes the same shape in the machining drawing as the same shape, and creates the machining start point having the same machining defining means. The means and the processing start element determining means define the processing so that the positional relationship between the processing start point and the processing start element is the same for the same shape. The processing condition addition means having the same processing definition means adds the same process information to the same shape. As a result, the same machining definition can be made for the same shape during automatic definition, and the same NC program can be created. Therefore, the same shape can be manually confirmed from the drawings and the same machining can be defined. The labor and time can be reduced.

【0015】また、ドリル穴情報設定手段はドリル穴の
大きさ情報を設定する。ドリル穴作成定義手段はドリル
穴情報設定手段により設定されたドリル穴の大きさ情報
をもとに、加工開始点作成手段で求められた加工開始位
置を中心点とする円要素を作成し、加工開始点にドリル
穴要素の情報を付加する。これにより、ワイヤを通すド
リル穴を人手を介さず行うことができるため、手間と時
間を短縮することができ、また手計算によるミスを回避
することができる。
Further, the drill hole information setting means sets the size information of the drill hole. Based on the size information of the drill hole set by the drill hole information setting means, the drill hole creation defining means creates a circular element with the machining start position obtained by the machining start point creating means as the center point, and performs machining. Add drill hole element information to the starting point. As a result, a drill hole through which a wire can be inserted can be performed without manpower, so that labor and time can be shortened, and mistakes due to manual calculation can be avoided.

【0016】また、加工方法別ドリル穴情報設定手段を
有するドリル穴情報設定手段は、加工方法によって作成
するドリル穴の大きさを設定する。加工方法別ドリル穴
作成手段を有するドリル穴作成定義手段は、ドリル穴情
報設定手段により設定されたドリル穴の大きさ情報をも
とに、加工方法によって指定の大きさのドリル穴要素を
作成する。これにより、ドリル用穴の大きさを人手を介
して計算する際の計算ミスを回避することができる。ま
た、加工方法によってドリル用の穴の大きさを変更でき
るため、より効率の良い加工用NCプログラムを作成す
ることができる。
Further, the drill hole information setting means having the drill hole information setting means for each processing method sets the size of the drill hole created by the processing method. The drill hole creation defining means having the drill hole creating means for each processing method creates a drill hole element of a specified size according to the processing method based on the size information of the drill hole set by the drill hole information setting means. . This makes it possible to avoid a calculation error when manually calculating the size of the drill hole. Further, since the size of the drilling hole can be changed depending on the machining method, a more efficient machining NC program can be created.

【0017】[0017]

【実施例】以下、この発明の実施例を図について説明す
る。いずれの実施例のCAD/CAM装置も図13に示
す全体構成をしている。
Embodiments of the present invention will be described below with reference to the drawings. The CAD / CAM device of any of the embodiments has the entire configuration shown in FIG.

【0018】実施例1.図1において、1はキーボード
25やマウス26等を用いて図11−aに示すような形
状を作成する加工形状定義手段、2は加工形状定義手段
1により作成された図面のデータを記憶する形状データ
記憶手段、3は加工形状定義手段1によって作成された
形状が閉形状に連続化して加工できる形状かどうかを認
識するとともに、図面内の同じ形状を判定する同一形状
認識手段を有する加工形状認識手段、4は加工の方法を
決定するための条件を設定する加工方法判定条件設定手
段、5は複数の加工工程を登録しておくことができる加
工工程登録手段、6は加工工程登録手段5で登録された
複数の加工工程の中から加工方法に対して1つの工程を
選ぶ加工方法対応工程決定手段、7は同一加工定義手段
を有し、加工形状より最適な加工開始位置を決め、加工
開始点を作成する加工開始点作成手段、8は同一加工定
義手段を有し、加工の方法に応じて加工開始要素を決定
する加工開始要素決定手段、9は同一加工定義手段を有
し、加工工程などの加工条件を加工開始要素に付加する
加工条件付加手段、10は加工経路が短縮されるように
加工の順番を変更する加工順序決定手段、11はワイヤ
挿入用ドリル穴情報を加工開始点作成手段8で作成され
た加工開始点に付加するドリル穴定義手段である。
Example 1. In FIG. 1, reference numeral 1 is a machining shape defining means for creating a shape as shown in FIG. 11-a by using a keyboard 25, a mouse 26, etc., and 2 is a shape for storing drawing data created by the machining shape defining means 1. The data storage means 3 recognizes whether or not the shape created by the processing shape definition means 1 can be processed into a closed shape continuously, and also has a processed shape recognition means for determining the same shape in the drawing. Means 4, a machining method determination condition setting means for setting conditions for determining a machining method, 5 a machining step registration means capable of registering a plurality of machining steps, and 6 a machining step registration means 5. A machining method corresponding process selecting means for selecting one process from a plurality of registered machining processes for a machining method, and 7 having the same machining defining means, which is an optimum machining start position from a machining shape. Machining start point creating means for deciding and creating a machining starting point, 8 has the same machining defining means, machining starting element determining means for deciding the machining starting element according to the machining method, and 9 has the same machining defining means However, the processing condition adding means for adding the processing conditions such as the processing step to the processing start element, 10 is the processing order determining means for changing the processing order so as to shorten the processing path, and 11 is the wire insertion drill hole information. It is a drill hole defining means to be added to the machining start point created by the machining start point creating means 8.

【0019】次に動作について説明する。加工形状定義
手段1において、キーボード25やマウス26から形状
についての各種データを入力すると、バス29を介して
そのデータがCPU21に転送され、オペレータの指示
に基づく処理を行った後に、点、線、円等の形状データ
や寸法線、注記等のデータが作成されてCRT24に表
示されるとともに、形状データ記憶手段2によりメモリ
22に格納される。表示内容より処理結果を確認しなが
ら、形状データの入力を繰り返し、加工する形状を作成
する。
Next, the operation will be described. In the machining shape defining means 1, when various data regarding the shape is input from the keyboard 25 or the mouse 26, the data is transferred to the CPU 21 via the bus 29, and after the processing based on the instruction of the operator, the points, lines, Shape data such as circles, dimension lines, data such as notes are created and displayed on the CRT 24, and stored in the memory 22 by the shape data storage unit 2. While confirming the processing result from the displayed contents, the shape data is repeatedly input to create the shape to be processed.

【0020】加工形状認識手段3については、図4,図
5のフローチャートと図11を用いて説明する。上記の
ような手順で図11−aを作成し、ステップ(S1)で
図面内の形状を順に得て、ステップ(S2)で図11−
bのように連続化を行い、ステップ(S3)で閉形状に
連続化できたと判断されたならば、ステップ(S4)で
連続化できた形状を同一形状検索対象とし、ステップ
(S3)でそれ以外と判定されたならば、ステップ(S
5)で開形状を同一形状検索対象外とする。また、ステ
ップ(S1)ですべての形状の連続化が終了したと判定
されたならば、ステップ(S6)で同一形状検索対象か
ら同一形状が存在するか判定する基準形状を得る(図1
1−c(A))。ステップ(S6)で検索する基準形状
がなくなったならば終了し、それ以外ならばステップ
(S7)で基準形状の基準要素を決定する(図11−c
の要素1)。次にステップ(S8)でチェックする形状
を得る(図11−c(B))。ステップ(S9)でチェ
ックする形状の仮基準要素を決定する(図11−cの要
素5)。
The machining shape recognition means 3 will be described with reference to the flow charts of FIGS. 4 and 5 and FIG. 11-a is created by the above-mentioned procedure, the shapes in the drawing are sequentially obtained in step (S1), and the step shown in FIG.
If it is determined in step (S3) that the closed shape can be made continuous as in step b, the shape that can be made continuous in step (S4) is set as the same shape search target, and in step (S3) If it is determined to be other than the step (S
In 5), the open shape is excluded from the same shape search target. Further, if it is determined in step (S1) that the continuation of all shapes is completed, a reference shape for determining whether or not the same shape exists from the same shape search target is obtained in step (S6) (FIG. 1).
1-c (A)). If there is no reference shape to be searched in step (S6), the process ends, otherwise, in step (S7), the reference element of the reference shape is determined (FIG. 11-c).
Element 1). Next, the shape to be checked in step (S8) is obtained (FIG. 11-c (B)). In step (S9), the provisional reference element of the shape to be checked is determined (element 5 in FIG. 11-c).

【0021】次に、ステップ(S10)で基準形状とチ
ェック形状の基準要素が等しく、基準形状とチェック形
状の基準要素に隣接する次の要素の大きさと位置関係と
が等しいならば、ステップ(S11)で基準形状の基準
要素にチェック形状の仮基準要素が重なるようにチェッ
ク形状を移動させ、ステップ(S12)で基準要素、隣
接要素、およびその他の要素の位置関係が基準形状とチ
ェック形状とで等しいと判定されたならば、ステップ
(S13)で基準形状、チェック形状ともに同一形状で
ある情報を付加し、ステップ(S8)以降を繰り返す。
ステップ(S10)、またはステップ(S12)でそれ
以外と判定されたならば、ステップ(S14)で基準形
状とチェック形状の基準要素が等しく、基準形状の隣接
要素とチェック形状の隣接要素の反対側の隣接要素の大
きさと位置関係とが等しいならば、ステップ(S15)
で基準形状の基準要素にチェック形状の仮基準要素が重
なるようにチェック形状を回転させ、ステップ(S1
6)で基準要素、隣接要素、およびその他の要素の位置
関係が基準形状とチェック形状とで等しいと判定された
ならば、ステップ(S17)で基準形状、チェック形状
ともに同一形状である情報を付加し、ステップ(S8)
以降を繰り返す。ステップ(S14)、またはステップ
(S16)でそれ以外と判定されたならば、ステップ
(S18)でチェック形状の要素の中から次の仮基準要
素を決定する。次の要素が存在したならば、ステップ
(S10)以降を繰り返す。ステップ(S18)でチェ
ック形状を構成する要素全てに対して判定を終了したな
らば、ステップ(S8)以降を繰り返す。
Next, if the reference shape and the check shape reference elements are equal in step (S10), and the size and positional relationship of the next element adjacent to the reference shape and the check shape reference element are equal, step (S11). ), The check shape is moved so that the temporary reference element of the check shape overlaps the reference element of the reference shape, and in step (S12), the positional relationship between the reference element, the adjacent element, and the other elements is different between the reference shape and the check shape. If it is determined that they are equal, information that the reference shape and the check shape are the same shape is added in step (S13), and step (S8) and subsequent steps are repeated.
If it is determined otherwise in step (S10) or step (S12), the reference shape and the reference shape reference element are equal in step (S14), and the adjacent element of the reference shape and the adjacent element of the check shape are opposite to each other. If the size and the positional relationship of the adjacent elements of are equal, step (S15)
Rotate the check shape so that the temporary reference element of the check shape overlaps the reference element of the reference shape in step S1.
If it is determined in 6) that the reference element, the adjacent element, and the other elements have the same positional relationship between the reference shape and the check shape, information that the reference shape and the check shape are the same is added in step (S17). And step (S8)
Repeat the above. If it is determined otherwise in step (S14) or step (S16), the next temporary reference element is determined from the check shape elements in step (S18). If the next element exists, step (S10) and subsequent steps are repeated. When the determination is completed for all the elements forming the check shape in step (S18), step (S8) and subsequent steps are repeated.

【0022】例えば、図11−cの(B)の仮基準要素
が要素5ならば、(A)の基準要素である要素1とは等
しくないので、(B)の仮基準要素を要素6に変更する
と基準要素(要素1)と仮基準要素(要素6)の大きさ
が等しく基準要素に隣接する要素(要素2と要素7)の
大きさが等しいが基準要素と隣接要素との位置関係が異
なるため、次にチェック形状の反対側の隣接要素(要素
5)を得る。この場合、大きさが等しいが基準要素と隣
接要素との位置関係が異なるため、チェック形状の仮基
準要素を変更する。次に、仮基準要素が基準要素と等し
くなる要素8を仮基準要素とする。基準要素(要素1)
と仮基準要素(要素8)の長さが等しく基準要素に隣接
する要素(要素2と要素5)は大きさが等しいが基準要
素と隣接要素との位置関係が異なるため、次に、チェッ
クする形状の反対側の隣接要素(要素7)を得る。この
場合、大きさが等しいため、チェック形状の仮基準要素
が基準形状の基準要素に重なるように(B)を移動させ
る(図11−d(B))。その結果、基準要素とその他
の隣接要素の位置関係が等しいため、(A),(B)は
同一形状であり、形状に対して同一形状である情報が付
加される。
For example, if the temporary reference element of FIG. 11C is element 5, it is not equal to element 1 which is the reference element of FIG. 11A, so the temporary reference element of FIG. If changed, the reference element (element 1) and the temporary reference element (element 6) have the same size, and the elements (element 2 and element 7) adjacent to the reference element have the same size, but the positional relationship between the reference element and the adjacent element is Since it is different, the next adjacent element (element 5) on the opposite side of the check shape is obtained. In this case, although the sizes are the same, the positional relationship between the reference element and the adjacent element is different, so that the temporary reference element having the check shape is changed. Next, the element 8 whose provisional reference element is equal to the reference element is set as the provisional reference element. Reference element (element 1)
And the elements (element 2 and element 5) adjacent to the reference element having the same length as the temporary reference element (element 8) have the same size, but the positional relationship between the reference element and the adjacent element is different. Obtain the adjacent element on the opposite side of the shape (element 7). In this case, since the sizes are the same, (B) is moved so that the temporary reference element of the check shape overlaps the reference element of the reference shape (FIG. 11-d (B)). As a result, since the positional relationship between the reference element and other adjacent elements is the same, (A) and (B) have the same shape, and information that the shape is the same is added to the shape.

【0023】加工方法判定条件設定手段4については、
図14の加工方法判定条件設定手段34と同様に加工の
方法を決定するための判定条件を設定する。加工工程登
録手段5については、図14の加工工程登録手段35と
同様に複数の加工工程を登録する。加工方法対応工程決
定手段6については、図14の加工方法対応工程決定手
段36と同様に加工工程登録5で登録された複数工程の
中から加工方法に対して1つずつ工程を選択する。
Regarding the processing method determination condition setting means 4,
Similar to the processing method determination condition setting means 34 of FIG. 14, the determination condition for determining the processing method is set. Regarding the machining step registration means 5, a plurality of machining steps are registered in the same manner as the machining step registration means 35 of FIG. The processing method corresponding process determining means 6 selects one step for each processing method from the plurality of steps registered in the processing step registration 5, similarly to the processing method corresponding step determining means 36 of FIG.

【0024】加工開始点作成手段7については、図6の
フローチャートを用いて説明する。ステップ(S21)
では加工定義済みの形状の中で加工形状認識手段3で同
一形状であると判定された形状が存在したならば、ステ
ップ(S23)で同じ形状の加工形状に対して加工開始
点が同じ位置関係になる位置を求める。ステップ(S2
1)でそれ以外と判定されたならば、ステップ(S2
2)で加工するのに最適な加工を開始する位置が求めら
れる。ステップ(S24)では、ステップ(S22)、
またはステップ(S23)で求められた位置に点要素が
作成される。ステップ(S24)で作成された点要素に
加工開始点情報が付加される。
The processing start point creating means 7 will be described with reference to the flowchart of FIG. Step (S21)
Then, if there is a shape determined to be the same shape by the processing shape recognition unit 3 among the processing-defined shapes, the processing start point has the same positional relationship with respect to the processing shape having the same shape in step (S23). To find the position. Step (S2
If it is determined otherwise in step 1), step (S2
The optimum position for starting the machining in 2) is obtained. In step (S24), step (S22),
Alternatively, a point element is created at the position obtained in step (S23). The processing start point information is added to the point element created in step (S24).

【0025】加工開始要素決定手段8については、図7
のフローチャートを用いて説明する。ステップ(S3
1)では加工定義済みの形状の中で加工形状認識手段3
で同一形状であると判定された形状が存在したならば、
ステップ(S39)で基準形状の加工開始要素と同じ要
素にあたるものを同一加工形状の加工開始要素と決定
し、ステップ(S38)で要素に加工を開始する要素で
ある情報が付加される。ステップ(S31)でそれ以外
と判定されたならば、ステップ(S32)で加工形状の
面積が加工方法判定条件設定手段4で設定された拡大加
工とする最大面積以下であると判定されたならば、拡大
加工としてステップ(S33)で加工開始点から遠いと
ころに位置する要素を得る。ステップ(S32)でそれ
以外で切り落とし加工と判定されたならば、ステップ
(S34)で加工開始点から近いところに位置する要素
を得る。また、ステップ(S35)でステップ(S3
3)またはステップ(S34)で得られた要素に対して
加工開始点から正常に加工できると判定されたならば、
ステップ(S38)で要素に加工を開始する要素である
情報が付加される。ステップ(S35)でそれ以外と判
定されたならば、隣接する別の要素を得る。ステップ
(S37)で判定済みでない要素が存在したならば、ス
テップ(S35)以降を繰り返す。
The processing start element determining means 8 is shown in FIG.
This will be described with reference to the flowchart of. Step (S3
In 1), the processing shape recognition means 3 among the processing-defined shapes
If there is a shape that is determined to be the same shape in,
In step (S39), the element that corresponds to the same element as the machining start element of the reference shape is determined as the machining start element of the same machining shape, and in step (S38), information that is an element to start machining is added to the element. If it is determined in step (S31) that it is other than that, if it is determined in step (S32) that the area of the machining shape is equal to or less than the maximum area for enlarging machining set by the machining method determination condition setting means 4 In step (S33) as enlargement processing, an element located far from the processing start point is obtained. If it is determined in step (S32) that the cutting-off process is otherwise performed, in step (S34), an element located near the machining start point is obtained. Also, in step (S35), step (S3)
3) or if it is determined that the element obtained in step (S34) can be normally machined from the machining start point,
In step (S38), information that is an element for starting processing is added to the element. If it is determined otherwise in step (S35), another adjacent element is obtained. If there is an element that has not been determined in step (S37), step (S35) and subsequent steps are repeated.

【0026】加工条件付加手段9については、図8のフ
ローチャートを用いて説明する。ステップ(S41)で
は加工定義済みの形状の中で加工形状認識手段3で同一
形状であると判定された形状が存在したならば、ステッ
プ(S46)で同一形状と同じ加工の工程情報を得る。
ステップ(S41)でそれ以外と判定されたならば、ス
テップ(S42)で加工方法判定条件設定手段34で設
定された拡大加工とする最大面積以下であると判定され
たならば、ステップ(S43)で加工方法対応工程決定
手段6で決定された拡大加工の工程情報を得る。ステッ
プ(S42)でそれ以外と判定されたならば、ステップ
(S44)で加工方法対応工程決定手段6で決定された
切り落とし加工の工程情報を得る。また、ステップ(S
45)ではステップ(S43,S44またはS46)で
得られた工程情報が加工開始要素に付加される。
The processing condition adding means 9 will be described with reference to the flowchart of FIG. In step (S41), if there is a shape determined to be the same shape by the processing shape recognition means 3 among the processing-defined shapes, step (S46) obtains process information of the same processing as the same shape.
If it is determined in step (S41) that it is other than that, if it is determined in step (S42) that it is less than or equal to the maximum area for enlargement processing set by the processing method determination condition setting means 34, step (S43). The process information of the enlarging process determined by the process method corresponding process determining means 6 is obtained at. If it is determined otherwise in step (S42), the process information of the cut-off processing determined by the processing method corresponding process determining means 6 is obtained in step (S44). In addition, step (S
In 45), the process information obtained in step (S43, S44 or S46) is added to the processing start element.

【0027】加工順序変更手段10については、図14
の加工順序変更手段40と同様に加工順序を変更する。
また、ドリル穴定義手段11については、図14のドリ
ル穴定義手段41と同様に加工開始点要素にドリル穴形
状情報を付加する。例えば、図18−cはこのように図
18−aを加工定義した形状を示している。従って、以
上の加工工程により自動定義時に、同一形状について
は、同一のNCプログラムを作成することができる。
The processing sequence changing means 10 is shown in FIG.
The processing order is changed in the same manner as the processing order changing unit 40.
Further, with respect to the drill hole defining means 11, the drill hole shape information is added to the processing start point element similarly to the drill hole defining means 41 of FIG. For example, FIG. 18-c shows a shape obtained by processing and defining FIG. 18-a in this way. Therefore, the same NC program can be created for the same shape at the time of automatic definition by the above processing steps.

【0028】実施例2.図2において、1,2は図1の
加工形状定義手段1、形状データ記憶手段2と同様に形
状を作成し、図面データを記憶する加工形状定義手段、
形状データ記憶手段、12は加工形状定義手段1によっ
て作成された形状が加工できる形状かどうかを判定する
加工形状認識手段、4は図1の4と同様の加工方法判定
条件設定手段、5は図1の5と同様の加工工程登録手
段、6は図1の6と同様の加工方法対応工程決定手段、
13はワイヤ用ドリル穴の大きさ情報を設定するドリル
穴情報設定手段、14は加工形状より最適な加工開始位
置を決め、加工開始点を作成する加工開始点作成手段、
15は加工開始点を中心とし、ドリル穴情報設定手段1
3で設定された大きさの円要素を作成し、加工開始点に
ドリル穴要素情報を付加するドリル穴作成定義手段、1
6は加工の方法に応じて加工開始要素を決定する加工開
始要素決定手段、17は加工工程などの加工条件を加工
開始要素に付加する加工条件付加手段、10は図1の1
0と同様の加工順序変更手段である。
Example 2. 2, reference numerals 1 and 2 denote machining shape defining means for creating a shape and storing drawing data, like the machining shape defining means 1 and the shape data storing means 2 in FIG.
Shape data storage means, 12 is a processing shape recognition means for determining whether or not the shape created by the processing shape defining means 1 is a shape that can be processed, 4 is a processing method determination condition setting means similar to 4 in FIG. 1 is a machining step registration means similar to 5, 5 is a machining method corresponding step determination means similar to 6 in FIG.
Reference numeral 13 is a drill hole information setting means for setting size information of a wire drill hole, 14 is a processing start point creating means for determining an optimum processing start position from a processing shape and creating a processing start point,
15 is a drill hole information setting means 1 centering on the machining start point
Drill hole creation defining means for creating a circle element of the size set in 3 and adding drill hole element information to the machining start point, 1
6 is a machining start element determining means for deciding a machining start element according to a machining method, 17 is a machining condition adding means for adding machining conditions such as a machining process to the machining start element, and 10 is 1 in FIG.
This is a processing sequence changing means similar to 0.

【0029】次に動作について説明する。加工形状定義
手段1、形状データ記憶手段2については図1の1,2
と同様に加工する形状を作成し、図面データを記憶す
る。加工形状認識手段12については、図14の加工形
状認識手段33と同様に作成された形状が加工できる形
状かどうかを判定する。加工方法判定条件設定手段4に
ついては、図1の加工方法判定条件設定手段4と同様に
加工の方法を決定するための判定条件を設定する。加工
工程登録手段5については、図1の加工工程登録手段5
と同様に複数の加工工程を登録する。加工方法対応工程
決定手段6については、図1の加工方法対応工程決定手
段6と同様に加工工程登録5で登録された複数工程の中
から加工方法に対して1つずつ工程を選択する。
Next, the operation will be described. The machining shape definition means 1 and the shape data storage means 2 are shown in FIGS.
Create a shape to be processed in the same manner as in step 1 and store the drawing data. The machining shape recognition unit 12 determines whether the shape created similarly to the machining shape recognition unit 33 of FIG. 14 is a shape that can be machined. With respect to the processing method determination condition setting means 4, similar to the processing method determination condition setting means 4 of FIG. 1, determination conditions for determining the processing method are set. Regarding the machining step registration means 5, the machining step registration means 5 of FIG.
Register a plurality of processing steps in the same manner as. As for the processing method corresponding process determining means 6, like the processing method corresponding step determining means 6 of FIG. 1, one step is selected for each processing method from the plurality of steps registered in the processing step registration 5.

【0030】ドリル穴情報設定手段13については、ワ
イヤを挿入するドリル穴の大きさを設定する。加工開始
点作成手段14については、図14の加工開始点作成手
段37と同様に加工開始点を作成する。ドリル穴作成定
義手段15については、図9のフローチャートを用いて
説明する。ステップ(S51)で加工開始点と加工要素
より作成できる最大のドリル穴の直径を求め、ステップ
(S52)でドリル穴情報設定手段13で設定されたド
リル穴の直径がステップ(S51)で求めた最大のドリ
ルの直径より大きいと判定されたならば、ドリル穴作成
定義を終了する。ステップ(S52)でそれ以外と判定
されたならば、ステップ(S53)で作成するドリル穴
の直径が10mmより小さいと判定されたならば、実際
に存在するドリルに合わせて作成するドリル穴の直径を
0.5mm単位で小さくする。ステップ(S54)のあ
と、または、ステップ(S53)でそれ以外と判定され
たならば、ステップ(S55)で加工開始点を中心とす
る円要素を作成し、ステップ(S56)で加工開始点に
ステップ(S55)で作成した円要素の情報をドリル穴
情報として付加する。
With respect to the drill hole information setting means 13, the size of the drill hole into which the wire is inserted is set. The processing start point creating means 14 creates a processing start point in the same manner as the processing start point creating means 37 of FIG. The drill hole creation defining means 15 will be described with reference to the flowchart of FIG. In step (S51), the diameter of the maximum drill hole that can be created from the machining start point and the machining element is obtained, and in step (S52), the diameter of the drill hole set by the drill hole information setting means 13 is obtained in step (S51). If it is determined that the diameter is larger than the maximum drill diameter, the drill hole creation definition is ended. If it is determined otherwise in step (S52), the diameter of the drill hole created in step (S53) is smaller than 10 mm, the diameter of the drill hole created according to the actual drill. Is reduced by 0.5 mm. After step (S54) or if it is determined otherwise in step (S53), a circular element centering on the machining start point is created in step (S55), and the machining element is set as the machining start point in step (S56). The information of the circle element created in step (S55) is added as drill hole information.

【0031】加工開始要素決定手段16については、図
14の加工開始要素決定手段38と同様に加工を開始す
る要素を決定する。加工条件付加手段17については、
図14の加工条件付加手段39と同様に加工の工程情報
が加工開始要素に付加される。加工順序変更手段10に
ついては、図1の10と同様に加工順序を変更する。こ
れにより、ワイヤを通すドリル穴を自動的に行うことが
できる。
The processing start element determining means 16 determines an element for starting the processing, similarly to the processing start element determining means 38 of FIG. Regarding the processing condition adding means 17,
Similar to the processing condition addition means 39 of FIG. 14, processing step information is added to the processing start element. The processing order changing means 10 changes the processing order in the same manner as 10 in FIG. As a result, it is possible to automatically perform a drill hole through which the wire is passed.

【0032】実施例3.図3において、1,2は図1の
加工形状定義手段1、形状データ記憶手段2と同様に形
状を作成し、図面データを記憶する加工形状定義手段、
形状データ記憶手段、12は加工形状定義手段1によっ
て作成された形状が加工できる形状かどうかを判定する
加工形状認識手段、4は図1の4と同様の加工方法判定
条件設定手段、5は図1の5と同様の加工工程登録手
段、6は図1の6と同様の加工方法対応工程決定手段、
18は加工方法毎にワイヤ用ドリル穴の大きさ情報を設
定する加工方法別ドリル穴情報設定手段を有するドリル
穴情報設定手段、14は図2の14と同様に加工形状よ
り最適な加工開始位置を決め、加工開始点を作成する加
工開始点作成手段、19は加工方法毎に大きさを変えて
ドリル穴を作成する加工方法別ドリル穴作成手段を有す
るドリル穴作成定義手段、16は図2の16と同様に加
工の方法に応じて加工開始要素を決定する加工開始要素
決定手段、17は図2の17と同様に加工工程などの加
工条件を加工開始要素に付加する加工条件付加手段、1
0は図1の10と同様の加工順序変更手段である。
Example 3. In FIG. 3, reference numerals 1 and 2 denote machining shape defining means for creating a shape and storing drawing data in the same manner as the machining shape defining means 1 and the shape data storing means 2 in FIG.
Shape data storage means, 12 is a processing shape recognition means for determining whether or not the shape created by the processing shape defining means 1 is a shape that can be processed, 4 is a processing method determination condition setting means similar to 4 in FIG. 1 is a machining step registration means similar to 5, 5 is a machining method corresponding step determination means similar to 6 in FIG.
Reference numeral 18 is a drill hole information setting unit having a drill hole information setting unit for each processing method for setting the size information of the wire drill hole for each processing method, and 14 is the optimum processing start position from the processing shape as in 14 of FIG. 2 is a machining starting point creating means for creating a machining starting point, 19 is a drilling hole creating defining means having a drilling hole creating means for each machining method for creating a drill hole by changing the size for each machining method, and 16 is shown in FIG. Similar to 16, processing start element determining means for determining a processing start element according to the processing method, 17 is processing condition adding means for adding processing conditions such as a processing step to the processing start element, as in 17 of FIG. 1
Reference numeral 0 is a processing sequence changing means similar to 10 in FIG.

【0033】次に動作について説明する。加工形状定義
手段1、形状データ記憶手段2については図1の1,2
と同様に加工する形状を作成し、図面データを記憶す
る。加工形状認識手段12については、図2の加工形状
認識手段12と同様に作成された形状が加工できる形状
かどうかを判定する。加工方法判定条件設定手段4につ
いては、図1の加工方法判定条件設定手段4と同様に加
工の方法を決定するための判定条件を設定する。加工工
程登録手段5については、図1の加工工程登録手段5と
同様に複数の加工工程を登録する。加工方法対応工程決
定手段6については、図1の加工方法対応工程決定手段
6と同様に加工工程登録5で登録された複数工程の中か
ら加工方法に対して1つずつ工程を選択する。
Next, the operation will be described. The machining shape definition means 1 and the shape data storage means 2 are shown in FIGS.
Create a shape to be processed in the same manner as in step 1 and store the drawing data. The machining shape recognition unit 12 determines whether the shape created similarly to the machining shape recognition unit 12 in FIG. 2 is a shape that can be machined. With respect to the processing method determination condition setting means 4, similar to the processing method determination condition setting means 4 of FIG. 1, determination conditions for determining the processing method are set. With respect to the machining step registration means 5, a plurality of machining steps are registered in the same manner as the machining step registration means 5 of FIG. As for the processing method corresponding process determining means 6, like the processing method corresponding step determining means 6 of FIG. 1, one step is selected for each processing method from the plurality of steps registered in the processing step registration 5.

【0034】加工方法別ドリル穴情報設定手段を有する
ドリル穴情報設定手段18については、加工方法毎にワ
イヤを挿入するドリル穴の大きさを設定する。例えば、
加工方法別ドリル穴情報設定手段によって、表3のよう
に設定されたならば、拡大加工、切り落とし加工それぞ
れ図11のようにドリル穴を作成する。加工開始点作成
手段14については、図2の加工開始点作成手段14と
同様に加工開始点を作成する。
With respect to the drill hole information setting means 18 having the drill hole information setting means for each processing method, the size of the drill hole into which the wire is inserted is set for each processing method. For example,
When the drill hole information setting means for each processing method sets as shown in Table 3, a drill hole is created as shown in FIG. 11 for each of the enlargement processing and the cut-off processing. The processing start point creating means 14 creates a processing start point in the same manner as the processing start point creating means 14 in FIG.

【表3】 加工方法別ドリル穴作成手段を有するドリル穴作成定義
手段19については、図10のフローチャートを用いて
説明する。ステップ(S61)で加工開始点と加工要素
より作成できる最大のドリル穴の直径を求める。ステッ
プ(S62)で加工方法が拡大加工であると判定された
ならば、ステップ(S63)で最大ドリル穴直径とドリ
ル穴情報設定手段18で設定された拡大加工ドリル穴最
大残り代(表3−a)との差を拡大加工の時に作成する
ドリル穴の直径とする。ステップ(S64)でドリル穴
情報設定手段18で設定された切り落とし加工ドリル穴
直径(表3−b)を得る。作成するドリル穴の直径が求
められた後、ステップ(S65)でステップ(S63,
S64)で得られたドリル穴の直径がステップ(S6
1)で求めた最大のドリル穴の直径より大きいと判定さ
れたならば、ドリル穴作成定義を終了する。ステップ
(S65)でそれ以外と判定されたならば、ステップ
(S66)で作成するドリル穴の直径が10mmより小
さいと判定されたならば、ステップ(S67)で作成す
るドリル穴の直径を0.5mm単位で小さくする。ステ
ップ(S67)のあと、または、ステップ(S66)で
それ以外と判定されたならば、ステップ(S68)で加
工開始点を中心とする円要素を作成し、ステップ(S6
9)で加工開始点にステップ(S68)で作成した円要
素の情報をドリル穴情報として付加する。
[Table 3] The drill hole creation defining means 19 having a drill hole creating means for each processing method will be described with reference to the flowchart of FIG. In step (S61), the diameter of the largest drill hole that can be created from the machining start point and machining element is determined. If it is determined in step (S62) that the machining method is enlargement machining, then in step (S63) the maximum machining hole diameter and the maximum machining drill hole maximum remaining margin set by the drill hole information setting means 18 (Table 3- The difference from a) is the diameter of the drill hole created during expansion processing. In step (S64), the cut-off drill hole diameter (Table 3-b) set by the drill hole information setting means 18 is obtained. After the diameter of the drill hole to be created is obtained, in step (S65), step (S63,
The diameter of the drill hole obtained in S64) is the step (S6
When it is determined that the diameter is larger than the maximum diameter of the drill hole obtained in 1), the drill hole creation definition is ended. If it is determined in step (S65) other than that, if it is determined that the diameter of the drill hole created in step (S66) is smaller than 10 mm, the diameter of the drill hole created in step (S67) is set to 0. Decrease by 5 mm. After step (S67) or if it is determined otherwise in step (S66), a circular element centered on the machining start point is created in step (S68), and step (S6).
In 9), information on the circular element created in step (S68) is added to the machining start point as drill hole information.

【0035】加工開始要素決定手段16については、図
2の加工開始要素決定手段16と同様に加工を開始する
要素を決定する。加工条件付加手段17については、図
2の加工条件付加手段17と同様に加工の工程情報が加
工開始要素に付加される。加工順序変更手段10につい
ては、図1の加工順序変更手段10と同様に加工順序を
変更する。従って、以上のことにより、加工方法によっ
てドリル穴を変更できるので、効率の良いNCプログラ
ムを作成でき、ドリル用の穴の大きさの計算ミスを解消
できる。
With respect to the machining start element determining means 16, the element for starting machining is determined in the same manner as the machining starting element determining means 16 of FIG. Regarding the processing condition adding means 17, processing step information of processing is added to the processing start element as in the processing condition adding means 17 of FIG. Regarding the processing order changing means 10, the processing order is changed in the same manner as the processing order changing means 10 of FIG. Therefore, as described above, since the drill hole can be changed depending on the machining method, an efficient NC program can be created, and a mistake in calculating the size of the drill hole can be eliminated.

【0036】[0036]

【発明の効果】以上のようにこの発明によれば、図面内
に存在する同一形状を自動的に同一形状であると認識
し、同一形状である定義を行うため、大幅に作業時間を
短縮することができるとともに、同一形状については全
く同一のNCプログラムを容易に作成することができる
効果がある。更に、加工形状毎に加工方法を指定しなが
ら自動的に加工の定義を行うため、加工定義の時間の短
縮を図ることができるとともに、手動で加工方法の設定
をしないため、人為的ミスを防止することができる効果
がある。
As described above, according to the present invention, since the same shape existing in the drawings is automatically recognized as the same shape and the definition of the same shape is made, the working time is greatly shortened. In addition, it is possible to easily create the same NC program for the same shape. Furthermore, since the machining definition is automatically performed while specifying the machining method for each machining shape, it is possible to shorten the machining definition time and prevent human error because the machining method is not set manually. There is an effect that can be.

【0037】また、ドリル穴情報設定手段により設定さ
れたドリル穴の大きさ情報をもとに加工開始点にドリル
穴要素の情報を付加するので、ワイヤを通すドリル穴の
作成を自動的に行うことができ、作業時間を短縮するこ
とができる。
Further, since the information of the drill hole element is added to the processing starting point based on the size information of the drill hole set by the drill hole information setting means, the drill hole for passing the wire is automatically created. Therefore, the working time can be shortened.

【0038】また、加工方法によってドリル用の穴の大
きさを変更できるので、効率の良い加工用NCプログラ
ムを作成することができる効果がある。
Further, since the size of the drill hole can be changed depending on the machining method, there is an effect that an efficient NC program for machining can be created.

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

【図1】この発明の実施例1におけるCAD/CAM装
置の要部構成図である。
FIG. 1 is a configuration diagram of essential parts of a CAD / CAM device according to a first embodiment of the present invention.

【図2】この発明の実施例2におけるCAD/CAM装
置の要部構成図である。
FIG. 2 is a configuration diagram of main parts of a CAD / CAM device according to a second embodiment of the present invention.

【図3】この発明の実施例3におけるCAD/CAM装
置の要部構成図である。
FIG. 3 is a configuration diagram of a main part of a CAD / CAM device according to a third embodiment of the present invention.

【図4】図1の加工形状認識手段の動作を示すフローチ
ャートである。
FIG. 4 is a flowchart showing the operation of the machining shape recognition means in FIG.

【図5】図1の加工形状の動作を示すフローチャートで
あり、図4の続きである。
5 is a flowchart showing the operation of the machining shape of FIG. 1, which is a continuation of FIG.

【図6】図1の加工開始点作成手段の動作を示すフロー
チャートである。
FIG. 6 is a flowchart showing the operation of the processing start point creating means in FIG.

【図7】図1の加工開始要素決定手段の動作を示すフロ
ーチャートである。
FIG. 7 is a flowchart showing the operation of the processing start element determining means of FIG.

【図8】図1の加工条件付加手段の動作を示すフローチ
ャートである。
8 is a flowchart showing the operation of the processing condition adding means of FIG.

【図9】図2のドリル穴作成定義手段の動作を示すフロ
ーチャートである。
9 is a flowchart showing the operation of the drill hole creation defining means of FIG.

【図10】図3のドリル穴作成定義手段の動作を示すフ
ローチャートである。
10 is a flowchart showing the operation of the drill hole creation defining means of FIG.

【図11】図1のCAD/CAM装置で形状定義し、同
一形状の認識経過を示す図である。
FIG. 11 is a diagram showing a recognition process of the same shape when the shape is defined by the CAD / CAM device shown in FIG. 1;

【図12】加工方法別のワイヤ挿入用のドリル穴の作成
状態を示す。
FIG. 12 shows a state of creating a drill hole for inserting a wire according to a processing method.

【図13】CAD/CAM装置の全体構成図である。FIG. 13 is an overall configuration diagram of a CAD / CAM device.

【図14】従来のCAD/CAM装置の要部構成図であ
る。
FIG. 14 is a main part configuration diagram of a conventional CAD / CAM device.

【図15】従来のCAD/CAM装置の加工開始点作成
手段の動作を示すフローチャートである。
FIG. 15 is a flowchart showing an operation of a machining start point creating unit of a conventional CAD / CAM device.

【図16】従来のCAD/CAM装置の加工開始要素決
定手段の動作を示すフローチャートである。
FIG. 16 is a flowchart showing the operation of a machining start element determining means of a conventional CAD / CAM device.

【図17】従来のCAD/CAM装置の加工条件付加手
段の動作を示すフローチャートである。
FIG. 17 is a flowchart showing an operation of a processing condition adding unit of a conventional CAD / CAM device.

【図18】従来と実施例1のCAD/CAM装置で形状
定義、自動定義した加工形状を示す図である。
FIG. 18 is a diagram showing a machining shape defined and automatically defined by the conventional CAD / CAM apparatus according to the first embodiment.

【図19】拡大加工・切り落とし加工の加工経路を示す
図である。
FIG. 19 is a diagram showing a processing route of enlargement processing / cutting-off processing.

【図20】拡大加工・切り落とし加工の加工開始形状を
示す図である。
FIG. 20 is a diagram showing a processing start shape of enlargement processing / cut-off processing.

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

1 加工形状定義手段 2 形状データ記憶手段 3 加工形状認識手段(同一形状認識手段) 4 加工方法判定条件設定手段 5 加工工程登録手段 6 加工方法対応工程決定手段 7 加工開始点作成手段(同一加工定義手段) 8 加工開始要素決定手段(同一加工定義手段) 9 加工条件付加手段(同一加工定義手段) 10 加工順序変更手段 11 ドリル穴定義手段 12 加工形状認識手段 13 ドリル穴情報設定手段 14 加工開始点作成手段 15 ドリル穴作成定義手段 16 加工開始要素決定手段 17 加工条件付加手段 18 ドリル穴情報設定手段(加工方法別ドリル穴情報
設定手段) 19 ドリル穴作成定義手段(加工方法別ドリル穴作成
手段)
1 Machining shape definition means 2 Geometry data storage means 3 Machining shape recognition means (identical shape recognition means) 4 Machining method determination condition setting means 5 Machining process registration means 6 Machining method corresponding process decision means 7 Machining start point creation means (same machining definition Means) 8 Machining start element determining means (same machining definition means) 9 Machining condition adding means (same machining definition means) 10 Machining order changing means 11 Drill hole defining means 12 Machining shape recognizing means 13 Drill hole information setting means 14 Machining start point Creating means 15 Drill hole creation defining means 16 Machining start element determining means 17 Machining condition adding means 18 Drill hole information setting means (drilling hole information setting means by machining method) 19 Drilling hole creation defining means (drill hole creation means by machining method)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 長谷川 貞彦 名古屋市東区矢田南五丁目1番14号 三菱 電機株式会社名古屋製作所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Sadahiko Hasegawa 5-14 Yanda Minami 5-chome, Higashi-ku, Nagoya City Mitsubishi Electric Corporation Nagoya Works

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力された形状データにより加工形状を
定義する加工形状定義手段と、定義された形状が加工で
きるか否かを認識するとともに、複数の加工形状の中か
ら同じ形状を認識する同一形状認識手段を有する加工形
状認識手段と、加工形状により加工を開始する位置を求
め、同じ形状の場合、加工開始点と加工形状との位置関
係が同じになるように加工開始点を決定する同一加工定
義手段を有する加工開始点作成手段と、加工形状により
加工を開始する要素を決定するとともに、同じ形状の場
合、加工開始要素と加工形状との位置関係が同じになる
ように加工開始要素を決定する同一加工定義手段を有す
る加工開始要素決定手段と、加工形状により加工方法を
決定し、決定された加工方法に応じて加工工程を加工開
始要素に付加するとともに、同一形状には同一の加工情
報を加工開始要素に付加する同一加工定義手段を有する
加工条件付加手段とを具備することを特徴とするCAD
/CAM装置。
1. A machining shape defining unit that defines a machining shape based on input shape data, and the same shape that recognizes whether or not the defined shape can be machined and that recognizes the same shape from a plurality of machining shapes. The machining shape recognizing means having the shape recognizing means and the position to start the machining based on the machining shape are obtained, and in the case of the same shape, the machining starting point is determined so that the positional relationship between the machining starting point and the machining shape is the same. The machining start point creating means having the machining definition means and the element to start machining depending on the machining shape are determined, and in the case of the same shape, the machining start element is set so that the positional relationship between the machining start element and the machining shape becomes the same. When a machining start element determination means having the same machining definition means to be determined and a machining method are determined by a machining shape and a machining step is added to the machining start element according to the determined machining method Both are provided with machining condition adding means having the same machining definition means for adding the same machining information to the machining start element for the same shape.
/ CAM device.
【請求項2】 入力された形状データにより加工形状を
定義する加工形状定義手段と、定義された形状が加工で
きるか否かを認識する加工形状認識手段と、加工形状に
より加工を開始する加工開始点を決定する加工開始点作
成手段と、ワイヤ挿入用のドリル穴情報を設定するドリ
ル穴情報設定手段と、加工開始点と加工形状によりドリ
ル穴情報設定手段で設定された大きさのドリル穴を作成
するドリル穴作成定義手段と、加工形状により加工開始
する要素を決定する加工開始要素決定手段と、加工形状
により加工方法を決定し、決定された加工方法に応じて
加工工程を加工開始要素に付加する加工条件付加手段と
を具備することを特徴とするCAD/CAM装置。
2. A machining shape defining means for defining a machining shape based on inputted shape data, a machining shape recognizing means for recognizing whether or not the defined shape can be machined, and a machining start for starting machining by the machining shape. Machining start point creating means for deciding points, drill hole information setting means for setting drill hole information for wire insertion, and a drill hole of the size set by the drill hole information setting means according to the machining start point and machining shape. A drill hole creation defining means to be created, a machining start element determining means for deciding an element to be machined according to the machining shape, a machining method is decided according to the machining shape, and a machining step is set as a machining start element according to the decided machining method. A CAD / CAM device comprising a processing condition adding means for adding.
【請求項3】 加工方法毎にワイヤ挿入用のドリル穴情
報を設定することができる加工方法別ドリル穴情報設定
手段を有するドリル穴情報設定手段と、加工方法別ドリ
ル穴情報設定手段により設定されたドリル穴情報と加工
方法によりドリル穴を作成する加工方法別ドリル穴作成
手段を有するドリル穴作成定義手段とを具備することを
特徴とする特許請求の範囲第2項記載のCAD/CAM
装置。
3. A drill hole information setting unit having a drill hole information setting unit for each processing method capable of setting drill hole information for inserting a wire for each processing method, and a drill hole information setting unit for each processing method. 3. The CAD / CAM according to claim 2, further comprising: drill hole creation defining means having drill hole creating means for creating a drill hole according to the drilling hole information and the working method.
apparatus.
JP5182834A 1993-07-23 1993-07-23 CAD / CAM equipment Expired - Lifetime JP2991006B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5182834A JP2991006B2 (en) 1993-07-23 1993-07-23 CAD / CAM equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5182834A JP2991006B2 (en) 1993-07-23 1993-07-23 CAD / CAM equipment

Publications (2)

Publication Number Publication Date
JPH0736524A true JPH0736524A (en) 1995-02-07
JP2991006B2 JP2991006B2 (en) 1999-12-20

Family

ID=16125284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5182834A Expired - Lifetime JP2991006B2 (en) 1993-07-23 1993-07-23 CAD / CAM equipment

Country Status (1)

Country Link
JP (1) JP2991006B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199424A (en) * 2014-09-15 2014-12-10 湖北华威科智能技术有限公司 Electrode full life cycle control system and method based on RFID (radio frequency identification)
JP2018149610A (en) * 2017-03-10 2018-09-27 ファナック株式会社 Program generating device
JP2021135771A (en) * 2020-02-27 2021-09-13 株式会社アマダ Processing system and processing result managing method for processor
WO2023112206A1 (en) * 2021-12-15 2023-06-22 ファナック株式会社 Graphic data editing device, processing program creation device, and graphic data editing method
WO2023112207A1 (en) * 2021-12-15 2023-06-22 ファナック株式会社 Map-data-editing device, processing program creation device, and map-data-editing method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199424A (en) * 2014-09-15 2014-12-10 湖北华威科智能技术有限公司 Electrode full life cycle control system and method based on RFID (radio frequency identification)
JP2018149610A (en) * 2017-03-10 2018-09-27 ファナック株式会社 Program generating device
TWI682254B (en) * 2017-03-10 2020-01-11 日商發那科股份有限公司 Program creation apparatus
US10908586B2 (en) 2017-03-10 2021-02-02 Fanuc Corporation Program creation apparatus and program creation method in program creation apparatus
JP2021135771A (en) * 2020-02-27 2021-09-13 株式会社アマダ Processing system and processing result managing method for processor
WO2023112206A1 (en) * 2021-12-15 2023-06-22 ファナック株式会社 Graphic data editing device, processing program creation device, and graphic data editing method
WO2023112207A1 (en) * 2021-12-15 2023-06-22 ファナック株式会社 Map-data-editing device, processing program creation device, and map-data-editing method

Also Published As

Publication number Publication date
JP2991006B2 (en) 1999-12-20

Similar Documents

Publication Publication Date Title
JPH0863346A (en) Program editing method and device therefor
JPH0736524A (en) Cad/cam device
JP3696781B2 (en) Bending order and bending die proposing apparatus and proposing method for sheet metal parts
JP2011107881A (en) Monitoring control display system
JP3199029B2 (en) Method and system for creating shape information with manufacturing information
JPH08263536A (en) Flowchart generating device
JPH0122106B2 (en)
JPH0985579A (en) Interactive numerical control system
JP2821245B2 (en) Processing area designation device
JP3564721B2 (en) CAD / CAM equipment
JP3252701B2 (en) Sequence circuit CAD system
JPH0679318B2 (en) Design evaluation device
JP2789982B2 (en) CAD / CAM equipment
JP2593975B2 (en) Character string extraction method and character string extraction device in electronic typesetting device
JP2004234693A (en) Cad/cam device
JPH04100105A (en) Flowcharting device
JPH0836569A (en) File edition processor
JPH05225270A (en) Cad/cam device
JPH07320081A (en) Device and method for graphic editing
JPH02274454A (en) Cad/cam device
JPH079301A (en) Producing method of tool unit form
JPH07220045A (en) Picture output control method and device therefor
JP2002297211A (en) Method for summarizing nc program
JPH06180696A (en) Document editing device
JPS62140746A (en) Processing device for machining process in automatic machine

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071015

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20081015

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20091015

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091015

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101015

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20111015

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121015

Year of fee payment: 13

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 14

Free format text: PAYMENT UNTIL: 20131015

EXPY Cancellation because of completion of term