JPH077295B2 - Toolpath generation method - Google Patents

Toolpath generation method

Info

Publication number
JPH077295B2
JPH077295B2 JP15287487A JP15287487A JPH077295B2 JP H077295 B2 JPH077295 B2 JP H077295B2 JP 15287487 A JP15287487 A JP 15287487A JP 15287487 A JP15287487 A JP 15287487A JP H077295 B2 JPH077295 B2 JP H077295B2
Authority
JP
Japan
Prior art keywords
shape
offset
tool path
output
reference shape
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.)
Expired - Fee Related
Application number
JP15287487A
Other languages
Japanese (ja)
Other versions
JPS63316210A (en
Inventor
茂樹 南角
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 JP15287487A priority Critical patent/JPH077295B2/en
Publication of JPS63316210A publication Critical patent/JPS63316210A/en
Publication of JPH077295B2 publication Critical patent/JPH077295B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は外側閉形状と内側閉形状の間の領域を内側形
状に沿って加工する時のツールパス生成方法に関するも
のである。
Description: TECHNICAL FIELD The present invention relates to a tool path generation method for machining a region between an outer closed shape and an inner closed shape along an inner shape.

[従来の技術] 第10図は数値制御装置のハードウエア構成,CRTディスプ
レイの一画面を示す図で,(1)はCPU(中央処理装
置),(2)はCPU(1)を制御するコントロールプロ
グラム及び加工プログラム等の入った主記憶装置,
(3)は加工プログラム等を主記憶装置(2)に入力す
るためのキーボード,(4)は加工プログラムの表示等
を行なうCRTディスプレイ,(5)はCPU(1)から送ら
れてくる移動データーを実際にサーボモーター(6)を
動かすパルス数変換するサーボ機構,(6)はサーボモ
ーター,(7)は工作機械である。
[Prior Art] FIG. 10 is a diagram showing a hardware configuration of a numerical control device and one screen of a CRT display. (1) is a CPU (central processing unit), and (2) is a control for controlling the CPU (1). Main memory containing programs and machining programs,
(3) is a keyboard for inputting a machining program into the main memory (2), (4) is a CRT display for displaying the machining program, etc. (5) is movement data sent from the CPU (1) Is a servo mechanism for converting the number of pulses to actually move the servo motor (6), (6) is a servo motor, and (7) is a machine tool.

なお、本明細書において外側形状を工具径/2(荒加工時
は工具径/2+仕上げ代)だけ内側にオフセットした形状
を外側基準形状,内側形状を外側に工具径/2(荒加工時
は工具径/2+仕上げ代)外側にオフセットした形状を内
側基準形状と呼ぶ。
In this specification, the outer shape is offset to the inside by the tool diameter / 2 (the tool diameter / 2 during rough machining + the finishing allowance), the outer reference shape, and the inner shape is the outer tool diameter / 2 (during rough machining). Tool diameter / 2 + finishing allowance) The outer offset shape is called the inner reference shape.

又外側基準形状と内側基準形状が交点をもたないこと又
は内側基準形状が外側基準形状の内側にあるということ
が前提である。
It is also premised that the outer reference shape and the inner reference shape do not have an intersection or the inner reference shape is inside the outer reference shape.

これは言い換えると少くとも1回は外側形状又は内側形
状のみにもとづくオフセット形状が作成出来ることが前
提である。
In other words, it is premised that the offset shape based on only the outer shape or the inner shape can be created at least once.

第2図において,(i)は外側基準形状,(ii)は内側
基準形状,(iii)は加工不能形状である。
In FIG. 2, (i) is an outer reference shape, (ii) is an inner reference shape, and (iii) is an unworkable shape.

第3図はAND形状,OR形状,DIFF形状の説明である。FIG. 3 is an explanation of the AND shape, OR shape, and DIFF shape.

第3図(i)は2つの閉領域の共通部分を示すAND形状
(A形状×B形状),(ii)は2つの閉領域のどちらか
の部分を示すOR形状(A形状+B形状),(iii)は1
つの閉領域と他の閉領域の差を示すDIFF形状(A形状−
B形状)である。
FIG. 3 (i) is an AND shape (A shape × B shape) showing a common part of two closed areas, and (ii) is an OR shape (A shape + B shape) showing one of the two closed areas, (Iii) is 1
DIFF shape (A shape − showing the difference between one closed area and another closed area)
B shape).

第4図(i)の素材形状を加工して(ii)の形状を作成
する場合を例として,従来技術の動作について述べる。
The operation of the prior art will be described by taking as an example the case of processing the material shape of FIG. 4 (i) to create the shape of (ii).

即ち,第10図でCRTディスプレイ(4)上の(8)のよ
うな画面から(9)のような外側形状と内側形状を入力
すると,CPU(1)はメモリ(2)上のコントロールプロ
グラムに従って,外側基準形状及び内側基準形状を生成
すると共に,外側基準形状を外側に次々オフセットして
ゆく。
That is, when the outside shape and the inside shape such as (9) are input from the screen such as (8) on the CRT display (4) in FIG. 10, the CPU (1) follows the control program on the memory (2). The outer reference shape and the inner reference shape are generated, and the outer reference shape is offset outward one after another.

その過程で内外基準形状と1箇所でも交差していればOR
形状をツールパスとする。
In the process, OR if it intersects with the inside and outside reference shapes even at one place
Let the shape be the toolpath.

これは外側基準形状のオフセット形状がなくなってしま
うか,又は外側基準形状が内側基準形状に含まれてしま
うまで処理される。
This is processed until the offset shape of the outer reference shape disappears or the outer reference shape is included in the inner reference shape.

その後内側基準形状を出力して処理を終える。After that, the inner reference shape is output and the processing is completed.

第11図及び第12図が上記処理のフローであり,第13図〜
第15図が第4図のような形状を加工する時のツールパス
生成例で,主にこれらの図を用いて以下にそのツールパ
ス生成の詳細を説明する。
FIG. 11 and FIG. 12 show the flow of the above process, and FIG.
FIG. 15 shows an example of toolpath generation when machining the shape shown in FIG. 4, and the details of the toolpath generation will be described below mainly using these figures.

第11図及び第12図において,ステップ1で外側閉形状を
工具径/2だけ内側にオフセットして第2図(i)に示す
ような外側基準形状を作成した後,ステップ2で内側閉
形状を工具径/2だけ外側にオフセットして第2図(ii)
に示すような内側基準形状を作成する。次にステップ3
で外側基準形状と内側基準形状とを比較し,両形状が第
2図(iii)に示すような重なる関係にあるとき,エラ
ー(ツールパスが生成できない)出力する。又両形状が
重ならない場合にはステップ4に移行し、外側基準形状
を出力する。
11 and 12, in step 1, the outer closed shape is offset inward by the tool diameter / 2 to create the outer reference shape as shown in FIG. 2 (i), and then in step 2, the inner closed shape is formed. Offset to the outside by tool diameter / 2 / Fig. 2 (ii)
Create an inner reference shape as shown in. Next step 3
The outer reference shape and the inner reference shape are compared with each other, and when both shapes have an overlapping relationship as shown in FIG. 2 (iii), an error (a tool path cannot be generated) is output. If the two shapes do not overlap, the process proceeds to step 4 and the outer reference shape is output.

なお,このステップ4で出力される外側基準形状が,第
13図(b)で示す最初のツールパスとなる。
The outer reference shape output in step 4 is
This is the first tool path shown in Fig. 13 (b).

次にステップ5でオフセット量をクリアし,ステップ6
でオフセット量+切込量分をオフセット量として,ステ
ップ7でそのオフセット量だけ外側基準形状を内側にオ
フセットした形状を作成する。次にステップ8でオフセ
ット形状の有無を判断し,有の場合にはステップ9に移
行し,ステップ9でオフセット形状が外側基準形状の内
側か否かを判断する。そして内側でない場合にはそのオ
フセット形状等に基づくツールパスが生成できるわけで
あるので,ステップ10に移行し,このステップ10でオフ
セット形状が内側基準形状と重なるか否かを判断する。
そして重ならない場合にはそのオフセット形状に基づく
ツールパスが生成できるわけであるので,ステップ11で
そのオフセット形状を出力する。そしてステップ11にて
オフセット形状を出力した場合には再びステップ6に戻
り,ステップ6で,その出力したオフセット形状を生成
したオフセット量に切込量を加えたオフセット量を作成
し,以後上述したステップ繰り返す。そしてステップ10
で,オフセット形状が内側基準形状と重なる場合には,
第12図におけるステップ12に移行し,第3図(ii)に示
すようなオフセット形状と内側基準形状とのOR形状を作
成し,ステップ13でそのOR形状を出力する。
Next, in step 5, the offset amount is cleared, and in step 6
At step 7, the offset amount + cut amount is taken as the offset amount, and at step 7, the outer reference shape is offset to the inside by the offset amount to create a shape. Next, in step 8, it is determined whether or not there is an offset shape. If yes, the process proceeds to step 9, and in step 9, it is determined whether the offset shape is inside the outer reference shape. If it is not inside, a tool path based on the offset shape or the like can be generated. Therefore, the process proceeds to step 10, and in step 10, it is determined whether or not the offset shape overlaps the inside reference shape.
If they do not overlap, a tool path based on the offset shape can be generated, so the offset shape is output in step 11. When the offset shape is output in step 11, the process returns to step 6 again, and in step 6, an offset amount is created by adding the cut amount to the generated offset amount of the output offset shape. repeat. And step 10
Then, when the offset shape overlaps the inner reference shape,
The process shifts to step 12 in FIG. 12, an OR shape of the offset shape and the inner reference shape as shown in FIG. 3 (ii) is created, and the OR shape is output in step 13.

なお,このステップ13で出力されるOR形状が,第13図
(c),第14図(d)で示すツールパスとなる。
The OR shape output in step 13 is the tool path shown in FIGS. 13 (c) and 14 (d).

そしてステップ13でOR形状を出力した場合には再びステ
ップ6に戻り,以後上述したステップを繰り返す。そし
てステップS8でオフセット形状が無いと判断されたなら
ば,そのオフセット形状に基づくツールパスが生成でき
るわけであるので,内側基準形状を出力し,第14図
(e)に示すようなその出力に基づくツールパスを生成
してツールパス生成処理を終了する。
When the OR shape is output in step 13, the process returns to step 6, and the above steps are repeated thereafter. If it is determined in step S8 that there is no offset shape, it is possible to generate a tool path based on that offset shape. Therefore, the inner reference shape is output and the output shown in FIG. 14 (e) is output. A tool path based on the generated tool path is generated, and the tool path generation process ends.

又ステップ9でオフセット形状が外側基準形状の内側に
存在すると判断されたならば,そのオフセット形状に基
づくツールパス生成ができるわけであるので,内側基準
形状を出力し,第14図(e)に示すようなその出力に基
づくツールパスを生成してツールパス生成処理を終了す
る。
If it is determined in step 9 that the offset shape exists inside the outer reference shape, it is possible to generate a tool path based on the offset shape. Therefore, the inner reference shape is output and shown in FIG. 14 (e). A tool path based on the output as shown is generated, and the tool path generation processing is ended.

なお最後に内側基準形状に基づくツールパスを生成する
のは,第15図に示すように削り残しを避けるためであ
る。
Finally, the reason for generating the tool path based on the inner reference shape is to avoid uncut parts as shown in Fig. 15.

以上の演算によって次々計算されたツールパスの座標値
は,サーボ機構(5)に送られ実際にサーボモーター
(6)を動かすパルス数に変換され,これがサーボモー
ター(6)に送られることによって工作機械(7)を動
かして指定形状に加工する。
The coordinate values of the tool paths calculated one after another by the above calculation are sent to the servo mechanism (5) and converted into the number of pulses for actually moving the servo motor (6), and this is sent to the servo motor (6) to make the work. Move the machine (7) to process into the specified shape.

[発明が解決しようとする問題点] 従来の数値制御装置は以上のように構成されているの
で,第16図のように内側形状が外側形状の中心部から偏
っていると,内側形状にそった同じ部分(a)を何度も
削ることになり,加工時間が大幅にかかるなどの問題点
があった。因みに第16図の場合,(a)の部分は2〜7
のパスで重複する。
[Problems to be Solved by the Invention] Since the conventional numerical control device is configured as described above, if the inner shape is deviated from the center of the outer shape as shown in FIG. Moreover, the same part (a) is repeatedly cut, which causes a problem that machining time is significantly increased. By the way, in the case of FIG. 16, the part (a) is 2 to 7.
Overlap in the path.

この発明は上記のような問題点を解消するためになされ
たもので,上記の重複したパスを除き効率のよいツール
パスを生成し加工時間を短縮した数値制御装置を得るこ
とを目的とする。
The present invention has been made in order to solve the above problems, and an object of the present invention is to obtain a numerical control device in which an efficient tool path is generated by eliminating the above-mentioned overlapping paths and the machining time is shortened.

[問題点を解決するための手段] この発明に係るツールパス生成方法は,外側閉形状と内
側閉形状の間の領域を内側形状に沿って加工する時のツ
ールパス生成方法において, (a)外側閉形状を内側に所定量だけオフセットした外
側基準形状及び内側閉形状を外側に所定量だけオフセッ
トした内側基準形状を生成するステップ, (b)上記内側基準形状を内側に所定量だけオフセット
した外側オフセット形状を生成するステップと, (c)上記外側オフセット形状と内側基準形状との交差
が1個所になったとき,その両形状のOR形状を生成し,
その後その両形状のDIFF形状(外側オフセット形状−内
側基準形状)を生成するステップ, を有するものである。
[Means for Solving Problems] A tool path generation method according to the present invention is a tool path generation method for machining a region between an outer closed shape and an inner closed shape along an inner shape, including the steps (a): Generating an outer reference shape in which the outer closed shape is offset inward by a predetermined amount and an inner reference shape in which the inner closed shape is offset outward by a predetermined amount, (b) the outer reference shape is inwardly offset by a predetermined amount Generating an offset shape, and (c) when the outer offset shape and the inner reference shape intersect at one location, generate an OR shape of both the shapes,
After that, a step of generating a DIFF shape (outer offset shape-inner reference shape) of both shapes is performed.

[作用] この発明の係るツールパス生成方法によれば、外側閉形
状と内側閉形状の間の領域を外側形状に沿って加工する
際、先ず外側閉形状を内側に所定量だけオフセットした
外側基準形状及び内側閉形状を外側に所定量だけオフセ
ットした内側基準形状を生成し、次に外側基準形状を内
側に所定量だけオフセットした外側オフセット形状を生
成する。そしてこの生成された外側オフセット形状と上
記内側基準形状とを比較し、重複したツールパスを生成
しないよう、その交差が1個所になったとき、ツールパ
スとなるその両形状のOR形状を生成し、その後ツールパ
スとなるその両形状のDIFF形状を生成する。なお、外側
オフセット形状と内側基準形状とが交差しない場合、ま
たは外側オフセット形状と内側基準形状との交差が2箇
所以上の場合には、従来と同様の処理、例えば外側オフ
セット形状と内側基準形状とが交差しない場合にはその
外側オフセット形状をツールパスとして使用し、また外
側オフセット形状と内側基準形状との交差が2箇所以上
の場合にはその両形状のOR形状をツールパスとすればよ
い。
[Operation] According to the tool path generation method of the present invention, when processing the region between the outer closed shape and the inner closed shape along the outer shape, first, the outer reference shape is obtained by offsetting the outer closed shape inward by a predetermined amount. An inner reference shape is generated by offsetting the shape and the inner closed shape outward by a predetermined amount, and then an outer offset shape is generated by offsetting the outer reference shape inward by a predetermined amount. Then, the generated outer offset shape is compared with the above-mentioned inner reference shape, and when there is one intersection so as not to generate a duplicate tool path, an OR shape of both shapes that will become a tool path is generated. , And then generate DIFF shapes for both shapes that will be the toolpath. If the outer offset shape and the inner reference shape do not intersect with each other, or if the outer offset shape and the inner reference shape intersect at two or more locations, the same processing as in the related art, for example, the outer offset shape and the inner reference shape is performed. If the two do not intersect, the outer offset shape is used as the tool path, and if the outer offset shape and the inner reference shape intersect at two or more locations, the OR shape of both shapes may be used as the tool path.

[発明の実施例] 以下この発明の一実施例を第1図〜第9図を用いて説明
する。
[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to FIGS. 1 to 9.

即ち,第4図(i)の素材形状を加工して(ii)の形状
を作成する場合,第10図でCRTディスプレイ(4)上の
(8)のような画面から(9)のような外側形状と内側
形状を入力すると,CPU(1)はメモリ(2)上のコント
ロールプログラムに従って,第5図及び第6図に示すよ
うにツールパスを生成する。
That is, when the material shape in FIG. 4 (i) is processed to create the shape in (ii), the screen like (8) on the CRT display (4) in FIG. When the outer shape and the inner shape are input, the CPU (1) generates a tool path as shown in FIGS. 5 and 6 according to the control program on the memory (2).

第5図及び第6図において,ステップ1で外側閉形状を
工具径/2だけ内側にオフセットして第2図(i)に示す
ような外側基準形状を作成した後,ステップ2で内側閉
形状を工具径/2だけ外側にオフセットして第2図(ii)
に示すような内側基準形状を作成する。次にステップ3
で外側基準形状と内側基準形状とを比較し,両形状が第
2図(iii)に示すような重なる関係にあるとき,エラ
ー(ツールパスが生成できない)出力する。又両形状が
重ならない場合にはステップ4に移行し,外側基準形状
を出力する。
5 and 6, in step 1, the outer closed shape is offset inward by the tool diameter / 2 to create the outer reference shape as shown in FIG. 2 (i), and then in step 2, the inner closed shape is formed. Offset to the outside by tool diameter / 2 / Fig. 2 (ii)
Create an inner reference shape as shown in. Next step 3
The outer reference shape and the inner reference shape are compared with each other, and when both shapes have an overlapping relationship as shown in FIG. 2 (iii), an error (a tool path cannot be generated) is output. If the two shapes do not overlap, the process proceeds to step 4 and the outer reference shape is output.

なお,このステップ4で出力される外側基準形状が,第
8図(b)で示す最初のツールパスとなる。
The outer reference shape output in step 4 is the first tool path shown in FIG. 8 (b).

次にステップ5でオフセット量をクリアし,ステップ6
でオフセット量+切込量分をオフセット量として,ステ
ップ7でそのオフセット量だけ外側基準形状を内側にオ
フセットした形状を作成する。次にステップ8でオフセ
ット形状の有無を判断し,有の場合にはステップ9に移
行し,ステップ9でオフセット形状が内側基準形状の内
側か否かを判断する。そして内側でない場合にはそのオ
フセット形状等に基づくツールパスが生成できるわけで
あるので,ステップ14に移行し,このステップ14でオフ
セット形状と内側基準形状との交差が1ケ所か否かを判
断する。
Next, in step 5, the offset amount is cleared, and in step 6
At step 7, the offset amount + cut amount is taken as the offset amount, and at step 7, the outer reference shape is offset to the inside by the offset amount to create a shape. Next, in step 8, it is determined whether or not there is an offset shape. If yes, the process proceeds to step 9, and in step 9 it is determined whether or not the offset shape is inside the inner reference shape. If it is not inside, a tool path based on the offset shape or the like can be generated. Therefore, the process proceeds to step 14, and in this step 14, it is judged whether or not there is one intersection between the offset shape and the inside reference shape. .

そして1ケ所でない場合には,ステップ15に移行し,ス
テップ15で第3図(ii)に示すようなオフセット形状と
内側基準形状のOR形状を作成し、ステップ16でそのOR形
状を出力する。
If the number is not one, the process proceeds to step 15. In step 15, the OR shape of the offset shape and the inner reference shape as shown in FIG. 3 (ii) is created, and in step 16, the OR shape is output.

なお,このステップで出力されるOR形状が第8図(d)
で示すツールパスとなる。
The OR shape output in this step is shown in Fig. 8 (d).
It becomes the tool path shown by.

また図示していないが,従来と同様にオフセット形状が
内側基準形状と重ならない場合には第8図(c)に示す
ようにオフセット形状そのものを出力する。
Although not shown, when the offset shape does not overlap the inner reference shape as in the conventional case, the offset shape itself is output as shown in FIG. 8 (c).

そしてオフセット形状又はOR形状を出力した場合には再
びステップ6に戻り,ステップ6でその出力したオフセ
ット形状を生成したオフセット量に切込量を加えたオフ
セット量を作成し,以後上述したステップ繰り返す。そ
してステップ14で,オフセット形状と内側基準形状との
交差が1ケ所と判断されたならば,第6図におけるステ
ップ17に移行し,オフセット形状と内側基準形状のOR形
状を作成し,ステップ18にてそのOR形状を出力する。
Then, when the offset shape or the OR shape is output, the process returns to step 6 again, and in step 6, an offset amount is created by adding the cut amount to the offset amount that generated the output offset shape, and the above steps are repeated thereafter. If it is determined in step 14 that the intersection between the offset shape and the inner reference shape is one, the process proceeds to step 17 in FIG. 6 to create an OR shape of the offset shape and the inner reference shape, and then to step 18. Output the OR shape.

なおこのステップ18で出力されるOR形状が第8図(e)
で示すツールパスとなる。
The OR shape output in step 18 is shown in Fig. 8 (e).
It becomes the tool path shown by.

そしてステップ19で,第3図(iii)に示すようなステ
ップ14におけるオフセット形状と内側基準形状とのDIFF
形状(オフセット形状−内側基準形状)を作成し,ステ
ップ20でそのDIFF形状を出力する。
Then, in step 19, the DIFF between the offset shape and the inner reference shape in step 14 as shown in FIG.
A shape (offset shape-inner reference shape) is created, and the DIFF shape is output in step 20.

なお,このステップ20で出力されたDIFF形状が第9図
(f)で示すツールパスとなる。なおこのツールパスを
作成するのは,第9図(g)に示すように削り残しを避
けるためである。
The DIFF shape output in step 20 becomes the tool path shown in FIG. 9 (f). The tool path is created in order to avoid uncut parts as shown in FIG. 9 (g).

そしてステップ21でオフセット量をクリアし,ステップ
22でオフセット量+切込量分をオフセット量として,ス
テップ23でそのオフセット量だけDIFF形状を内側にオフ
セットした形状を作成する。次にステップ24でDIFF形状
のオフセット形状が存在するか否かを判断し,存在する
場合にはステップ25でそのDIFF形状のオフセット形状を
出力する。
Then, in step 21, the offset amount is cleared, and step
In step 22, the offset amount + cut amount is set as the offset amount, and in step 23, a shape in which the DIFF shape is offset inward by the offset amount is created. Next, at step 24, it is judged whether or not there is a DIFF-shaped offset shape, and if it exists, at step 25, the DIFF-shaped offset shape is output.

そしてステップ25でDIFF形状のオフセット形状を出力し
た場合には再びステップ22に戻り,ステップ22で,その
出力したオフセット形状を生成したオフセット量に切込
量を加えたオフセット量を作成し,以後上述したステッ
プを繰返す。
When the offset shape of the DIFF shape is output in step 25, the process returns to step 22 again, and in step 22, an offset amount is created by adding the cut amount to the offset amount that generated the output offset shape. Repeat the steps you did.

そしてステップ24でオフセット形状が無いと判断された
ならば,そのオフセット形状に基づくツールパスが生成
できないわけであるので,ツールパス生成処理を終了す
る。また,ステップS8でオフセット形状が無いと判断さ
れたならば従来と同様にそのオフセット形状に基づくツ
ールパスが生成できないわけであるので,内側基準形状
を出力し,第14図(e)に示すようなその出力に基づく
ツールパスを生成してツールパス生成処理を終了する。
If it is determined in step 24 that there is no offset shape, it means that the tool path based on the offset shape cannot be generated, and the tool path generation processing is terminated. If it is determined in step S8 that there is no offset shape, the tool path based on that offset shape cannot be generated as in the conventional case. Therefore, the inner reference shape is output and as shown in FIG. 14 (e). A toolpath is generated based on the output, and the toolpath generation processing is ended.

又ステップ9でオフセット形状が内側基準形状の内側に
存在すると判断されたならば,従来と同様にそのオフセ
ット形状に基づくツールパス生成ができないわけである
ので,内側基準形状を出力し,第14図(e)に示すよう
なその出力に基づくツールパスを生成してツールパス生
成処理を終了する。
If it is determined in step 9 that the offset shape exists inside the inner reference shape, it is not possible to generate the toolpath based on the offset shape as in the conventional method. Therefore, the inner reference shape is output, and FIG. A tool path based on the output as shown in (e) is generated, and the tool path generation processing is ended.

なおステップ8,ステップ9で内側基準形状に基づくツー
ルパスを生成するのは,従来と同様に第15図に示すよう
に削り残しを避けるためである。
The reason why the tool path based on the inner reference shape is generated in steps 8 and 9 is to avoid uncut portions as shown in FIG. 15 as in the conventional case.

以上の演算によって次々計算されたツールパスの座標値
は,サーボ機構(5)に送られ実際にサーボモーター
(6)を動かすパルス数に変換され,これがサーボモー
ター(6)に送られることによって工作機械(7)を動
かして指定形状に加工する。
The coordinate values of the tool paths calculated one after another by the above calculation are sent to the servo mechanism (5) and converted into the number of pulses for actually moving the servo motor (6), and this is sent to the servo motor (6) to make the work. Move the machine (7) to process into the specified shape.

[発明の効果] 以上のようにこの発明によれば,重複したツールパスを
作成しないので,加工時間が短縮される効果がある。
[Advantages of the Invention] As described above, according to the present invention, since the duplicate tool paths are not created, the machining time can be shortened.

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

第1図〜第9図は本発明に係る図で,第1図は数値制御
装置のハードウエア構成及びCRTディスプレイの一画面
を示す図,第2図は内側基準形状と外側基準形状を説明
するための図,第3図はAND形状,OR形状,及びDIFF形状
を説明するための図,第4図は被加工物を示す図,第5
図及び第6図は動作を説明するためのフローチャート,
第7図〜第9図はツールパスを説明するための図,第10
図〜第16図は従来例に係る図で,第10図は数値制御装置
のハードウエア構成及びCRTディスプレイの一画面を示
す図,第11図及び第12図は動作を説明するためのフロー
チャート,第13図〜第15図はツールパスを説明するため
の図,第16図は欠点を説明するための図である。 なお,図中同一符号は,同一又は相当部分を示し,
(1)はCPU,(2)はメモリ,(3)はキーボード,
(4)はCRTディスプレイである。
1 to 9 are diagrams relating to the present invention, FIG. 1 is a diagram showing a hardware configuration of a numerical control device and one screen of a CRT display, and FIG. 2 is a diagram for explaining an inner reference shape and an outer reference shape. Figure 3 is a figure for explaining AND shape, OR shape, and DIFF shape, and Figure 4 is a figure showing the workpiece, 5
6 and 6 are flowcharts for explaining the operation,
7 to 9 are diagrams for explaining the tool path, and FIG.
FIGS. 16 to 16 are diagrams relating to a conventional example, FIG. 10 is a diagram showing a hardware configuration of a numerical control device and one screen of a CRT display, and FIGS. 11 and 12 are flowcharts for explaining the operation, 13 to 15 are diagrams for explaining the tool path, and FIG. 16 is a diagram for explaining the defect. The same reference numerals in the drawings indicate the same or corresponding parts,
(1) is CPU, (2) is memory, (3) is keyboard,
(4) is a CRT display.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】外側閉形状と内側閉形状の間の領域を内側
形状に沿って加工する時のツールパス生成方法におい
て, (a)外側閉形状を内側に所定量だけオフセットした外
側基準形状及び内側閉形状を外側に所定量だけオフセッ
トした内側基準形状を生成するステップ, (b)上記外側基準形状を内側に所定量だけオフセット
した外側オフセット形状を生成するステップと, (c)上記外側オフセット形状と内側基準形状との交差
が1個所になったとき,その両形状のOR形状を生成し,
その後その両形状のDIFF形状(外側オフセット形状−内
側基準形状)を生成するステップ, を有することを特徴とするツールパス生成方法。
1. A method for generating a tool path for machining a region between an outer closed shape and an inner closed shape along an inner shape, comprising: (a) an outer reference shape in which the outer closed shape is offset inward by a predetermined amount; A step of generating an inner reference shape in which the inner closed shape is offset to the outside by a predetermined amount, (b) a step of generating an outer offset shape in which the outer reference shape is inwardly offset by a predetermined amount, and (c) the outer offset shape When there is only one intersection between the inside reference shape and the inside reference shape, an OR shape for both shapes is generated,
After that, a step of generating a DIFF shape (outer offset shape-inner reference shape) of both shapes is provided, and a tool path generation method.
JP15287487A 1987-06-19 1987-06-19 Toolpath generation method Expired - Fee Related JPH077295B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15287487A JPH077295B2 (en) 1987-06-19 1987-06-19 Toolpath generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15287487A JPH077295B2 (en) 1987-06-19 1987-06-19 Toolpath generation method

Publications (2)

Publication Number Publication Date
JPS63316210A JPS63316210A (en) 1988-12-23
JPH077295B2 true JPH077295B2 (en) 1995-01-30

Family

ID=15550006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15287487A Expired - Fee Related JPH077295B2 (en) 1987-06-19 1987-06-19 Toolpath generation method

Country Status (1)

Country Link
JP (1) JPH077295B2 (en)

Also Published As

Publication number Publication date
JPS63316210A (en) 1988-12-23

Similar Documents

Publication Publication Date Title
JP2584104B2 (en) Wheel shape definition device
JPH0319022B2 (en)
JPH022663B2 (en)
JPH0457008B2 (en)
JPS61288959A (en) Data input device in interactive numerically controlled grinder
JPH077295B2 (en) Toolpath generation method
JP2649838B2 (en) Method of determining processing method in numerical control information creation device
JPH05297926A (en) Machining definition method
JPH077294B2 (en) Toolpath generation method
JP2836633B2 (en) Machining process decision device in numerical control information creation function
JPH02172652A (en) Decision of working method in numerical control information preparing device
EP0509102A1 (en) Method of working simulation
JPH0498301A (en) Numerically controlled machine tool and numerical controller
JPH0628021A (en) Interactive numerical controller
JP2799531B2 (en) How to create NC data
JP3175401B2 (en) CAD / CAM equipment
JPH06250722A (en) Interactive numerical controller
JPH0218603A (en) Numerical controller
JP2966672B2 (en) How to create NC data for corners
WO1992013303A1 (en) Interactive numerical controller
JPS61274845A (en) Method of simulating track of tool in nc device
JPH0695293B2 (en) Machining simulation method in numerical controller
JPS60222904A (en) Control method of coordinate system conversion of numerically controlled lathe
JPH0926810A (en) Numerical controller
EP0411137A1 (en) Method of forming composite curved surface

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees