JP2764941B2 - Setting the cutter path - Google Patents

Setting the cutter path

Info

Publication number
JP2764941B2
JP2764941B2 JP63234230A JP23423088A JP2764941B2 JP 2764941 B2 JP2764941 B2 JP 2764941B2 JP 63234230 A JP63234230 A JP 63234230A JP 23423088 A JP23423088 A JP 23423088A JP 2764941 B2 JP2764941 B2 JP 2764941B2
Authority
JP
Japan
Prior art keywords
cutter
information
trajectory
cutting
line segment
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
JP63234230A
Other languages
Japanese (ja)
Other versions
JPH0283140A (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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP63234230A priority Critical patent/JP2764941B2/en
Publication of JPH0283140A publication Critical patent/JPH0283140A/en
Application granted granted Critical
Publication of JP2764941B2 publication Critical patent/JP2764941B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 この発明はカッターを移動させて切削加工を行なう際
のカッターの移動軌跡を設定するための方法に関し、特
にNC(数値制御)フライス加工のためのプログラミング
にあたって加工残りが生じないようカッター軌跡を求め
るための方法に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for setting a trajectory of a cutter when a cutter is moved to perform a cutting process, and in particular, programming for NC (numerical control) milling. In this case, the present invention relates to a method for obtaining a cutter trajectory so that no machining residue occurs.

従来の技術 NCフライス加工のためのカッター軌跡は、基本的には
対象とする被切削面の形状に従ったものとなるが、加工
効率の点からすると、無駄な動きを可及的に少なくし、
同時に加工残りが生じない軌跡とすることが必要であ
る。そこで、被切削面やカッター軌跡を数値情報とする
ことができるので、従来では、被切削面の情報とカッタ
ーの情報とをデータ処理してCRT上に被切削面形状とカ
ッター軌跡とを重ね合わせて表示し、その表示されたカ
ッター軌跡に沿って、カッターと同一径の図形を移動さ
せ、その際の図形の移動領域のオーバーラップの度合を
目視することにより加工残り(すなわち被切削面のうち
前記図形の通過しない箇所)の有無を調べ、加工残りが
生じている場合には、カッター軌跡を部分的に修正し、
最終的には加工残りが皆無となるようカッター軌跡を設
定していた。またCRTを使用しない場合には、被切削面
とカッター軌跡とを図面上で重ね合わせ、これを上記の
CRT上のグラフィックに替え、カッターと同一径のチェ
ック板をカッター軌跡に沿って移動させることにより、
上述した手順と同様な手順でカッター軌跡を求めてい
た。
Conventional technology The cutter trajectory for NC milling basically follows the shape of the target surface to be cut, but in terms of machining efficiency, useless movement is minimized. ,
At the same time, it is necessary to make the trajectory such that no unprocessed portion occurs. Therefore, since the surface to be cut and the path of the cutter can be used as numerical information, conventionally, the information of the surface to be cut and the information of the cutter are processed and the shape of the surface to be cut and the path of the cutter are superimposed on the CRT. The figure having the same diameter as the cutter is moved along the displayed cutter trajectory, and the degree of overlap of the moving area of the figure at that time is visually checked to determine the remaining machining (that is, The location where the figure does not pass) is checked to see if there is any unprocessed portion.
Ultimately, the cutter trajectory was set so that there was no remaining machining. When the CRT is not used, the cutting surface and the cutter path are superimposed on the drawing and
By replacing the graphic on the CRT with a check plate of the same diameter as the cutter along the cutter path,
The cutter trajectory has been determined by the same procedure as described above.

他方、従来、加工情報の干渉をチェックする方式が特
開昭59−36810号によって提案されている。これは複数
の加工情報を色情報に変換するとともにそれぞれをカラ
ーグラフィック上に表示させ、干渉している部分が混合
色となることにより、加工情報の干渉を認識する方式で
ある。この方式において、一つの加工情報を被切削面の
情報とし、かつ他の一つの加工情報をカッターの移動に
伴う切削領域の情報とすれば、加工残りの部分は両者の
情報が干渉し合わずに単色となるので、加工残りを認識
することができる。
On the other hand, a method of checking interference of processing information has been proposed in Japanese Patent Application Laid-Open No. Sho 59-36810. This is a method in which a plurality of pieces of processing information are converted into color information and displayed on a color graphic, and the interference part becomes a mixed color, thereby recognizing the interference of the processing information. In this method, if one piece of processing information is information of a surface to be cut and the other piece of processing information is information of a cutting area associated with the movement of the cutter, the remaining part of the processing does not interfere with both pieces of information. Since it becomes a single color, the unprocessed portion can be recognized.

発明が解決しようとする課題 しかるにCRTに写し出たカッター軌跡に沿ってチェッ
ク板もしくは図形を移動させることにより加工残りの有
無を調べ、かつ必要に応じてカッター軌跡を修正する上
記従来の方法では、作業者の目視により加工残りの有無
を確認するために、確実性に欠けるうえに作業効率が低
く、その結果、加工残りの見落しにより実際の加工時に
切削工具や工作機械が損傷する事態が生じることがあ
り、また被切削面の形状が複雑になるに従って作業時間
が長くなる不都合が生じていた。
Problems to be Solved by the Invention However, in the above-mentioned conventional method of checking the presence or absence of remaining machining by moving a check plate or a figure along a cutter locus projected on a CRT, and correcting the cutter locus if necessary, Workers visually check the presence or absence of unprocessed parts, which lacks certainty and reduces work efficiency. As a result, oversight of unprocessed parts may cause damage to cutting tools and machine tools during actual machining. In some cases, there has been a problem that the working time becomes longer as the shape of the surface to be cut becomes more complicated.

また前述した特開昭59−36810号の方法をカッター軌
跡の設定の作業に転用するとした場合、カラーグラフィ
ックディスプレイを必要とするために設備費が高くなる
うえに、非干渉領域(すなわち加工残り)が微少である
場合には、混合色か単色かの色調からの判断では、加工
残りの有無の判断に誤りが生じやすい問題がある。
If the method of JP-A-59-36810 described above is diverted to the work of setting a cutter locus, a color graphic display is required, so that equipment costs are increased, and a non-interference area (that is, unprocessed area) is required. Is small, there is a problem that it is easy to make an error in the determination of the presence or absence of the unprocessed portion when judging from the color tone of the mixed color or the single color.

この発明は上記の事情を背景としてなされたもので、
確実かつ容易に加工残りの検出を行なってカッター軌跡
の修正を行なうことができ、しかも安価な設備で実施す
ることのできるカッター軌跡の設定方法を提供すること
を目的とするものである。
The present invention has been made in view of the above circumstances,
It is an object of the present invention to provide a method of setting a cutter locus that can reliably and easily detect the remaining machining and correct the cutter locus, and can be performed with inexpensive equipment.

課題を解決するための手段 この発明は、上記の目的を達成するために、被加工箇
所に沿ってカッターを移動させる軌跡を求めるにあた
り、被加工箇所に沿ってカッターを移動させる軌跡を求
めるにあたり、被加工箇所を該被加工箇所の面内に含ま
れる複数の線分によってモデル化するとともにその線分
の情報を記憶し、また前記カッターが前記被加工箇所の
少なくとも一部を横切るようにカッターの仮の移動軌跡
を定めるとともにその仮の移動軌跡に沿ってカッターを
移動させた際の切削領域の情報を記憶し、さらに前記被
加工箇所と前記仮の移動軌跡に沿って移動させた際のカ
ッターの切削領域とを重ね合わせた状態での前記線分の
情報とカッターの切削領域の情報とに基づいて前記線分
の前記カッターの切削領域に含まれる割合が増大するよ
うに前記カッターの仮の移動軌跡を修正してカッター軌
跡を設定することを特徴とする方法である。
Means for Solving the Problems In order to achieve the above object, the present invention provides a method for obtaining a trajectory for moving a cutter along a processing location, and a method for obtaining a trajectory for moving a cutter along a processing location. The processing location is modeled by a plurality of line segments included in the plane of the processing location and the information of the line segment is stored, and the cutter is moved so that the cutter crosses at least a part of the processing location. A temporary movement locus is determined and information of a cutting area when the cutter is moved along the temporary movement locus is stored. Further, the cutter when moving along the work piece and the temporary movement locus. The ratio of the line segment included in the cutting region of the cutter increases based on the information of the line segment in a state where the cutting region is overlapped with the information of the cutting region of the cutter. In this manner, the temporary movement locus of the cutter is corrected to set the cutter locus.

作用 この発明の方法では、先ず被加工箇所をその面内に含
まれる複数の線分によってモデル化するとともに、その
情報を記憶し、またその被加工箇所に沿ってカッターを
移動させる仮の軌跡を定め、その仮の軌跡に沿ってカッ
ターを移動させた場合の切削領域の情報を記憶する。そ
してモデル化した被加工箇所と仮のカッター軌跡とを重
ね合せる。これは例えば線分と切削領域との交点計算に
よって行なわれる。そして前記線分の情報と切削領域の
情報とを比較することにより、線分が切削領域に含まれ
ているか否かの判断が行なわれる。したがって切削領域
に含まれない線分が有れば、その線分の箇所は切削加工
が施されず、加工残りとなることになるので、前記仮の
軌跡を修正(例えばカッターの径方向の切込み量を減
少)して線分の全てが前記切削領域に含まれるよう軌跡
を設定する。したがってこの発明の方法では、各情報の
数値処理によって、加工残りの生じないカッター軌跡を
求めることができる。
According to the method of the present invention, first, a processing location is modeled by a plurality of line segments included in the plane, the information is stored, and a temporary trajectory for moving the cutter along the processing location is formed. The information of the cutting area when the cutter is moved along the temporary trajectory is stored. Then, the modeled processed portion and the temporary cutter locus are overlapped. This is performed, for example, by calculating the intersection between the line segment and the cutting area. Then, by comparing the information of the line segment with the information of the cutting area, it is determined whether or not the line segment is included in the cutting area. Therefore, if there is a line segment that is not included in the cutting area, the portion of the line segment is not subjected to the cutting process and is left unprocessed, so that the temporary trajectory is corrected (for example, cutting in the radial direction of the cutter). The trajectory is set so that all the line segments are included in the cutting area by reducing the amount). Therefore, according to the method of the present invention, it is possible to obtain a cutter trajectory in which no machining remains by numerical processing of each information.

実 施 例 つぎにこの発明を実施例に基づいて詳細に説明する。Embodiments Next, the present invention will be described in detail based on embodiments.

第1図はこの発明の方法の一例を説明するためのフロ
ーチャートであって、先ずステップ1では、カッターを
移動させる仮の軌跡を計算する。これは例えば第2図に
示す加工形状1に対して所定の幾何学的図形処理を施し
て仮の軌跡2を求めることにおり行なう。その場合、使
用するカッターの径に基づいてそのカッターによる切削
領域が求まり、その切削領域の情報を記憶させておく。
また第3図に示すように、加工形状1をその内部に含ま
れる複数の線分3によってモデル化(ステップ2)し、
その情報を記憶させておく。すなわち被加工箇所をその
内部に含まれる複数の線分に置き換えるとともにそれら
の線分のついで第4図に示すように、仮の軌跡2に基づ
いて定まる切削領域4と線分3によってモデル化した加
工形状1とを重ね合わせる(ステップ3)。これは例え
ば記憶させた情報に基づいて切削領域4と線分3との交
点計算として行なうことができる。
FIG. 1 is a flowchart for explaining an example of the method of the present invention. First, in step 1, a temporary trajectory for moving the cutter is calculated. This is performed, for example, by performing predetermined geometric figure processing on the machined shape 1 shown in FIG. In that case, a cutting area by the cutter is obtained based on the diameter of the cutter to be used, and information on the cutting area is stored.
Further, as shown in FIG. 3, the machining shape 1 is modeled by a plurality of line segments 3 included therein (step 2),
The information is stored. That is, the machined portion was replaced with a plurality of line segments contained therein, and the line segments were modeled by a cutting area 4 and a line segment 3 determined based on the temporary trajectory 2 as shown in FIG. The processing shape 1 is superimposed (step 3). This can be performed, for example, as an intersection calculation between the cutting area 4 and the line segment 3 based on the stored information.

そして加工残りの有無の判断を行なう(ステップ
4)。これは切削領域4の情報と線分3の情報とを比較
することにより、線分3が切削領域に含まれているか否
かを判断することにより行なうことができ、全ての線分
3が切削領域4に含まれていれば、すなわちステップ4
の判断結果が「ノー」の場合には、加工残りが存在しな
いことになるので、前記の仮軌跡2をカッター軌跡とし
て採用する(ステップ5)。他方ステップ4の判断結果
が「イエス」の場合、すなわち切削領域4に含まれない
線分3が存在する場合は例えば第5図の状態であり、こ
のような場合には、カッターの径方向の切込み量(第2
図に矢印で示す方向の切込み量)を減少させる(ステッ
プ6)。その減少量は予め一定量に定めておき、加工残
りが存在する都度、その一定量づつ切込み量を減少させ
る。なお、カッターや使用する工作機械の構成などによ
って切込み量の限界値が存在するから、減少させた後の
切込み量が限界値以下であるか否かの判断を行ない(ス
テップ7)、切込み量が限界値以下であってステップ7
の判断結果が「イエス」となれば、カッター軌跡の修正
が不可能と判断して、最初に設定した仮の軌跡をカッタ
ー軌跡として採用するとともに、加工残りを出力する
(ステップ8)。これは、例えばプリンタから印書とし
て出力し、またCRTを使用している場合には画面に図形
表示として出力する。これに対してステップ7の判断結
果が「ノー」の場合、切込み量を減少させた値に置換し
てカッター軌跡を再計算することにより前記の仮の軌跡
を修正し(ステップ9)、しかる後に走査過程は前記ス
テップ3の前に戻り、上述したステップを順次実行す
る。すなわち切削領域4に含まれる線分の割合が増大す
る方向に仮の軌跡を修正する。そして修正したカッター
軌跡に基づく切削領域4に全ての線分が含まれることに
なれば、ステップ4の判断結果が「ノー」となって修正
後の軌跡がカッター軌跡として作用される(ステップ
5)。また修正が不十分であれば、再度上述した場合と
同様にして軌跡が修正され、その修正した軌跡が線分3
の全てを含むか否かの判断が行なわれる。
Then, it is determined whether there is any unprocessed portion (step 4). This can be performed by comparing the information of the cutting region 4 with the information of the line segment 3 to determine whether or not the line segment 3 is included in the cutting region. If it is included in region 4, that is, step 4
If the judgment result is "No", it means that there is no remaining machining, so the temporary trajectory 2 is adopted as the cutter trajectory (step 5). On the other hand, if the result of the determination in step 4 is “yes”, that is, if there is a line segment 3 not included in the cutting area 4, the state is as shown in FIG. 5, for example. Cutting depth (2nd
The cut amount in the direction indicated by the arrow in the figure) is reduced (step 6). The amount of reduction is set in advance to a fixed amount, and whenever there is remaining machining, the cut amount is reduced by the fixed amount. Since there is a limit value of the cutting amount depending on the configuration of the cutter and the machine tool to be used, it is determined whether or not the reduced cutting amount is equal to or less than the limit value (step 7). Step 7 below the limit value
If the determination result is "yes", it is determined that the correction of the cutter locus is impossible, and the temporary locus set first is adopted as the cutter locus, and the remaining machining is output (step 8). This is output as a seal from a printer, for example, and is output as a graphic display on the screen when a CRT is used. On the other hand, if the determination result in step 7 is “NO”, the temporary trajectory is corrected by replacing the value of the cutting depth with a reduced value and recalculating the cutter trajectory (step 9). The scanning process returns to before step 3 and sequentially executes the steps described above. That is, the temporary trajectory is corrected in a direction in which the ratio of the line segment included in the cutting area 4 increases. If all the line segments are included in the cutting area 4 based on the corrected cutter trajectory, the result of the determination in step 4 becomes “No”, and the corrected trajectory acts as the cutter trajectory (step 5). . If the correction is insufficient, the trajectory is corrected again in the same manner as described above, and the corrected trajectory is
Is determined as to whether or not all are included.

なお、上述した各走査過程の実行内容は、周知のコン
ピュータによる数値処理によって行なうことができる。
The contents of each of the scanning processes described above can be performed by numerical processing using a known computer.

発明の効果 以上の説明から明らかなようにこの発明の方法によれ
ば、加工形状を複数の線分によってモデル化し、その情
報とカッターの切削領域の情報との比較によって加工残
りの有無の判断を行なうことができ、したがってこの発
明によれば、確実にしかも効率よく、加工残りのないカ
ッター軌跡を設定できる。それに伴い、加工残りの判断
が確実であることによりカッター軌跡が不必要に長くな
ることが防止され、その結果、効率の良いフライス加工
などの加工を行なうことが可能になる。さらに特に図形
表示を必須としないから、カラーグラフィックディスプ
レイなどの高価な設備を必要とすることなく安価にカッ
ター軌跡の設定を行なうことができる。
Effects of the Invention As is apparent from the above description, according to the method of the present invention, the processing shape is modeled by a plurality of line segments, and the determination of the presence or absence of the remaining processing is made by comparing the information with the information of the cutting area of the cutter. Therefore, according to the present invention, it is possible to reliably and efficiently set a cutter trajectory with no remaining machining. Accordingly, it is possible to prevent the cutter trajectory from becoming unnecessarily long due to the reliable determination of the remaining machining, and as a result, it is possible to perform efficient machining such as milling. Further, since graphic display is not particularly required, setting of the cutter trajectory can be performed at low cost without requiring expensive equipment such as a color graphic display.

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

第1図はこの発明の方法の一例を説明するためのフロー
チャート、第2図は幾何学的図形処理を行なった加工形
状および仮軌跡を示す模式図、第3図は加工形状の線分
モデルを示す模式図、第4図はカッターによる切削領域
と線分モデルとを重ね合せた状態の模式図、第5図は加
工残りが生じる状態を示す模式図である。 1……加工形状、2……仮軌跡、3……線分、4……切
削領域。
FIG. 1 is a flow chart for explaining an example of the method of the present invention, FIG. 2 is a schematic diagram showing a processed shape and a temporary trajectory subjected to geometrical figure processing, and FIG. 3 is a line segment model of the processed shape. FIG. 4 is a schematic diagram showing a state in which a cutting area by a cutter and a line segment model are superimposed, and FIG. 5 is a schematic diagram showing a state in which residual machining occurs. 1 ... processing shape, 2 ... temporary locus, 3 ... line segment, 4 ... cutting area.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】被加工箇所に沿ってカッターを移動させる
軌跡を求めるにあたり、被加工箇所を該被加工箇所の面
内に含まれる複数の線分によってモデル化するとともに
その線分の情報を記憶し、また前記カッターが前記被加
工箇所の少なくとも一部を横切るようにカッターの仮の
移動軌跡を定めるとともにその仮の移動軌跡に沿ってカ
ッターを移動させた際の切削領域の情報を記憶し、さら
に前記被加工箇所と前記仮の移動軌跡に沿って移動させ
た際のカッターの切削領域とを重ね合わせた状態での前
記線分の情報とカッターの切削領域の情報とに基づいて
前記線分の前記カッターの切削領域に含まれる割合が増
大するように前記カッターの仮の移動軌跡を修正してカ
ッター軌跡を設定することを特徴とするカッター軌跡の
設定方法。
In obtaining a trajectory for moving a cutter along a processing location, the processing location is modeled by a plurality of line segments included in the plane of the processing location and information on the line segments is stored. In addition, the temporary movement locus of the cutter is determined so that the cutter crosses at least a part of the processed portion, and information on a cutting area when the cutter is moved along the temporary movement locus is stored. Further, based on the information of the line segment and the information of the cutting region of the cutter in a state in which the processing location and the cutting region of the cutter when moved along the temporary movement trajectory are overlapped, the line segment is Setting a cutter locus by correcting a temporary movement locus of the cutter so as to increase a ratio of the cutter included in a cutting area of the cutter.
JP63234230A 1988-09-19 1988-09-19 Setting the cutter path Expired - Fee Related JP2764941B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63234230A JP2764941B2 (en) 1988-09-19 1988-09-19 Setting the cutter path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63234230A JP2764941B2 (en) 1988-09-19 1988-09-19 Setting the cutter path

Publications (2)

Publication Number Publication Date
JPH0283140A JPH0283140A (en) 1990-03-23
JP2764941B2 true JP2764941B2 (en) 1998-06-11

Family

ID=16967734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63234230A Expired - Fee Related JP2764941B2 (en) 1988-09-19 1988-09-19 Setting the cutter path

Country Status (1)

Country Link
JP (1) JP2764941B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5206875B2 (en) 2009-07-06 2013-06-12 三菱電機株式会社 Numerical control programming method and apparatus, and program causing computer to execute the method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5949608A (en) * 1982-09-14 1984-03-22 Mitsubishi Electric Corp Numerically controlled working system
JPS6234754A (en) * 1985-07-20 1987-02-14 Fanuc Ltd Surface machining method

Also Published As

Publication number Publication date
JPH0283140A (en) 1990-03-23

Similar Documents

Publication Publication Date Title
US4513366A (en) Menu programmed machine tool numerical controller with an interference checking function
US4636938A (en) Method and apparatus for producing numerical control programs
US4994977A (en) Method of detecting an interference in the control of a plurality of mechanical systems
EP0144426B1 (en) Method of checking tool interference
JP2764941B2 (en) Setting the cutter path
KR840006144A (en) Numerical Control Machining Method
EP0478772B1 (en) Part program execution method
EP0113682A2 (en) Numerical control system and method
US5654618A (en) Process for the two-dimensional determination of a work-area contour for lathes
US5047606A (en) Method and device for calculating an offset direction and a tilt direction of the wire electrode of a wire electro-discharge machining apparatus
EP0592687A1 (en) Method of defining machining
JPH06100929B2 (en) NC data creation method for machining uncut parts in NC data creation device
JP2649838B2 (en) Method of determining processing method in numerical control information creation device
JPH0688191B2 (en) A method for determining a machining part in a numerical control information creation device
JP2746170B2 (en) Numerical control data creation device
JP3467811B2 (en) NC data creation method and NC processing method
KR100440153B1 (en) Method of generating a roughing work program for computer numerical control
JP3096216B2 (en) How to find the tool path
US6681144B1 (en) Process and system for working a workpiece through numerically controlled machine tools
JPH0981221A (en) Nc data preparing device and its correction data preparing method
JPH0747256B2 (en) NC data creation method for side area processing
Spur et al. Dynamic simulation system for NC-turning programs
JP3035946B2 (en) Axial feed speed control method in axial feed cutting
JP2685328B2 (en) Shape definition method in numerical control information creation device
JPH07108438A (en) Working interference check method by computer and composing method of working interference evasion program

Legal Events

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