JP3520200B2 - Loop generation method in tool path - Google Patents

Loop generation method in tool path

Info

Publication number
JP3520200B2
JP3520200B2 JP17232698A JP17232698A JP3520200B2 JP 3520200 B2 JP3520200 B2 JP 3520200B2 JP 17232698 A JP17232698 A JP 17232698A JP 17232698 A JP17232698 A JP 17232698A JP 3520200 B2 JP3520200 B2 JP 3520200B2
Authority
JP
Japan
Prior art keywords
loop
loop element
interference
elements
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
JP17232698A
Other languages
Japanese (ja)
Other versions
JP2000010613A (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.)
Roland DG Corp
Original Assignee
Roland DG 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 Roland DG Corp filed Critical Roland DG Corp
Priority to JP17232698A priority Critical patent/JP3520200B2/en
Publication of JP2000010613A publication Critical patent/JP2000010613A/en
Application granted granted Critical
Publication of JP3520200B2 publication Critical patent/JP3520200B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】この発明は、加工具を移動さ
せて被加工物を切削加工することにより、所定の造形物
を得る際に生成するオフセット形状における干渉ループ
の処理に関するものである。 【0002】 【従来の技術】従来から、コンピューター制御により駆
動する切削加工装置を用いて、切削加工を行うことによ
り造形物を得ることが行われている。このような切削加
工装置では、ドリル等の棒状加工具が取り付けられてお
り、この棒状加工具を駆動させて、造形用材料を任意の
形状に切削加工することが行われている。 【0003】このような切削加工においては、棒状加工
具の太さを考慮して、輪郭形状を基にオフセット処理を
行い、得られたオフセット形状に沿って、棒状加工具を
移動させることが行われる。たとえば、切削部の輪郭形
状が、図8に示した輪郭形状21の場合、オフセット形
状22は、輪郭形状21から棒状加工具(図示せず)径
の半径r分離れた部分に生成される。 【0004】この場合、輪郭形状21における辺ghお
よび辺hiのh側部分に対応するオフセット形状22の
部分は三角jklのようになる。しかしながら、この三
角jklを含むオフセット形状22に沿って棒状加工具
を移動させて切削加工を行うと、輪郭形状21における
辺gh,hiの部分は抉れてしまい、加工の精度が悪く
なるという問題がある。 【0005】このため、オフセット形状22における三
角jklのような閉ループを構成する部分は削除し、図
9に示した閉ループのないオフセット形状23のデータ
を用いて切削加工を行うことがなされている。このよう
な技術を開示したものとして、特開平1−255007
号公報がある。 【0006】 【発明が解決しようとする課題】上記の方法において
は、輪郭形状がもう少し複雑な形状の場合、たとえば、
図10に示した輪郭形状24の場合、オフセット形状2
5は、二つの閉ループmno,opqを含むようにな
る。この二つの閉ループmno,opqのうち、閉ルー
プmnoは干渉ループで本来削除されるべきものである
が、閉ループopqは非干渉ループで、これに対応する
部分は残して処理を行うべき部分である。 【0007】しかしながら、前述した従来の技術では、
これらの閉ループをすべて除去してしまうため、非干渉
の閉ループに対応する輪郭形状の切削加工が行われなか
った。このため、複雑な輪郭形状の場合、輪郭形状に対
応する正確な切削加工ができないという問題があった。 【0008】この発明は、このような事情に鑑みなされ
たもので、干渉ループは除去し、非干渉ループは除去せ
ずに残して、輪郭形状に対応した正確な切削加工が行
え、かつ、その処理においてループを生成する際の、ル
ープ要素の接続が効果的に行える工具経路におけるルー
プ生成方法の提供をその目的とする。 【0009】 【課題を解決するための手段】上記の目的を達成するた
め、この発明にかかる工具経路におけるループ生成方法
の請求項1は、輪郭形状をもとに、工具の寸法によって
定まるオフセット距離を考慮して形成したオフセット形
を工具経路とする工具経路におけるループ生成方法で
あって、オフセット形状をオフセット形状の各交点で分
割して複数のループ要素とし、これらのループ要素で構
成される各ループに、輪郭形状と交差するか、または輪
郭形状との間の距離がオフセット距離よりも小さいルー
プ要素が含まれていれば、そのループを干渉ループとし
てオフセット形状から除去し、ループには前記干渉ルー
プ要素と前記干渉ループ以外の非干渉ループ要素とが存
し、上記請求項1における各ループの生成に際して
は、輪郭形状の内部側が一定方向に位置するように進行
方向を設定して、一つのループ要素の始点から順次各ル
ープ要素を接続していく。そして、接続先に複数のルー
プ要素がある場合には、接続元のループ要素の進行方向
の左右でそれぞれ最も接続元のループ要素と角度が近接
し進行方向も等しく、かつ干渉・非干渉のループ要素
同じループ要素を接続先として選択し、一度使用したル
ープ要素は使用せず、接続先にループ要素がなくなると
そのループの生成を終了し、次のループの生成に移る。 【0010】これによって、閉ループが干渉ループか非
干渉ループかを簡単に判定でき、非干渉ループは残し、
干渉ループのみを除去することができるようになる。こ
の結果、求めようとする輪郭形状により近い正確な形状
の切削加工ができるようになる。 【0011】 【0012】すなわち、このような処理においては、ル
ープが干渉ループか非干渉ループかを判定するととも
に、各ループを効果的に生成することが好ましい。この
ため、ここでは、まず、オフセット形状を各交点で区切
って複数のループ要素にするとともに、各ループ要素を
接続していく方向を、例えば、進行方向の左側に輪郭形
状の内部側が位置するようにする等、一定の方向になる
ように設定する。 【0013】そして、あるループ要素の一端を始点と
し、その始点から順次連続するループ要素を接続してい
く際、接続先に複数のループ要素があれば、以下の条件
を満たすものを選択する。すなわち、接続元のループ要
素と進行方向が等しく、その進行方向の左右でそれぞれ
最も角度が接続元のループ要素に近接している一個かま
たは二個のループ要素で、かつ、接続元のループ要素と
干渉・非干渉が同じという条件を満たすループ要素を接
続先として選択する。 【0014】また、上記において選択したものの中に、
選択可能なループ要素が二個ある場合には、接続元のル
ープが存在する側のループ要素を選択し、一度使用した
ループ要素は使用せず、接続先にループ要素がなくなる
とそのループの生成を終了し、次のループの生成に移り
同様の処理を繰り返してすべてのループを生成する。 【0015】すなわち、接続元のループ要素の進行方向
の左右に選択可能なループ要素が一個しかない場合に
は、そのループ要素を接続先として選択する。また、接
続元のループ要素の進行方向の左右にそれぞれ選択可能
なループ要素が存在する場合には、それまでに接続され
てすでに形成されているループの位置する側、いいかえ
れば、そのループの始点に向かってループを閉じようと
する方向を有するループ要素を選択する。 【0016】このような一連の処理を行うことにより、
効率的にループを生成することができ、この処理をすべ
てのループ生成について繰り返していくことにより、よ
り効率のよい処理を行うことができる。つぎに、この発
明による工具経路におけるループ生成方法を図面を用い
て詳しく説明する。 【0017】 【発明の実施の形態】図1は、この発明にかかる工具経
路におけるループ生成方法を行うための切削装置の一例
を示している。すなわち、図1において、1は入力装置
であり、切削部の形状データや工具速度等、切削に必要
な情報などのデータが入力され、そのデータを、連結さ
れたCPU2を介してメモリ3に送り記憶させる。 【0018】上記CPU2は、各種のデータや情報に基
づいて演算処理をしながら、メモリ3が記憶するプログ
ラムに沿って作動し、連結された切削加工部4の棒状加
工具5を駆動させ、被加工物6を切削加工するようにな
っている。 【0019】また、上記メモリ3には、各種のデータを
記憶する記憶部が備わっているが、このメモリ3では、
特に、切削部の輪郭形状のデータを記憶する輪郭形状デ
ータ記憶部7および輪郭形状データに基づいてCPU2
がオフセット処理することにより算出されるオフセット
形状データを記憶するオフセット形状データ記憶部8が
設けられている。 【0020】このような切削装置を用いて、この発明に
かかる工具経路におけるループ生成方法は、図2に示し
たフローチャートに沿って行われる。ここでは、図3お
よび図4に示した輪郭形状9の形状データを用いて、輪
郭形状9の外側部分を切削除去することによって輪郭形
状9の内側部分を平面状に浮き立たせる切削加工につい
て説明する。 【0021】この場合、まず最初に、輪郭形状9の形状
データをメモリ3の輪郭形状データ記憶部7に記憶させ
ておく。ついで、上記輪郭形状データをもとに、CPU
2でオフセット処理を行うことにより、輪郭形状9の輪
郭よりも、棒状加工具5の半径R分外側に工具経路を移
動させたオフセット形状10のデータを作成し、これを
オフセット形状データ記憶部8に記憶させる。 【0022】つぎに、図3のように、上記オフセット形
状10を、交点a,bで分割し、複数のループ要素LE
0,LE1,LE2,LE3,LE4とする。ここで
は、始点をoとして、始点oと交点aの間をLE0、交
点aと交点bの間をLE1、交点bを出て再び交点bに
戻るループをLE2、交点bと交点aの間をLE3、交
点aから始点oの間をLE4、の5個のループ要素とし
ている。 【0023】そして、上記分割した各ループ要素LE
0,LE1,LE2,LE3,LE4について、それぞ
れ干渉ループ要素であるか非干渉ループ要素であるかを
判定しておく。この判断は、各ループ要素LE0,LE
1,LE2,LE3,LE4が輪郭形状9と交差する
か、または輪郭形状9との間の距離が棒状加工具5の半
径よりも小さい場合には、干渉ループ要素とし、それ以
外のものは非干渉ループ要素とする。この場合、ループ
要素LE1とLE3が干渉ループ要素となる。 【0024】次に、図2のフローチャートに沿ってルー
プの生成を行う。このループの生成は、各ループ要素を
順次接続していくことにより行うが、その接続の進行方
向は、図3の矢印で示した方向とする。すなわち、ルー
プ要素の進行方向に向かって、左側に必ず対応する輪郭
形状9の内部側が位置するようにする。 【0025】そして、図2に示したフローチャートをス
タートする。まず、図示のステップ1で、すべてのルー
プ要素が使用済みか否かを判断する。なお、この処理に
おいては、一度使用した使用済みのループ要素は二度と
使用しないようにする。ここでは、すべてのループ要素
が未使用であるため、NOとなり、ステップ2に進む。 【0026】ステップ2では、次の未使用ループ要素、
すなわち、始点oから出発して最初のループ要素LE0
を取得する。そして、ステップ3に進み、ループ要素L
E0をこれから生成されるループに加える。ついで、ス
テップ4で、ループ要素LE0の終点に交点があるか否
かを判断する。ループ要素LE0の終点は交点aである
ため、YESとなりステップ5に進む。 【0027】ステップ5では接続先のループ要素が選択
される。ここで、接続先のループ要素としては、複数の
ループ要素がある場合、次の条件を満たすものが選ばれ
る。まず、接続元のループ要素と進行方向が等しいルー
プ要素を選び、その中で、その進行方向の左右でそれぞ
れ最も角度が接続元のループ要素に近接し、かつ干渉・
非干渉が同じループ要素を接続先として選択する。 【0028】この場合、接続元のループ要素は、ループ
要素LE0であるから、これと同じ進行方向を有するも
のは、ループ要素LE1とLE4である。したがって、
ループ要素LE3が、まず候補から外される。ついで、
進行方向の左右にあるループ要素もループ要素LE1と
LE4であるが、このうち、ループ要素LE1は干渉ル
ープ要素である。このため、ループ要素LE1も接続先
の候補から外され、残ったループ要素LE4が接続先と
して選択される。 【0029】ついで、ステップ6に進み、接続先がある
か否かの判定が行われるが、上記のように、ループ要素
LE4が選択されているため、YESとなり、ステップ
7に進む。ここで、ループ要素LE4もループに加えら
れ、ステップ4に戻る。ステップ4では、ループ要素L
E4の終点に交点があるか否かが判断されるが、ループ
要素LE4の終点は、始点oであるため、NOとなり、
ステップ8に進む。 【0030】これで、現在のループが閉じられ、ループ
要素LE0とLE4からなる一つのループが生成され
た。つぎに、次の空のループを用意し、ステップ1から
同様の処理を行っていく。次にくるループ要素LE1
が、ステップ2で、未使用ループ要素として取得され、
ステップ3で、次に生成されるループに加えられる。 【0031】ついで、ステップ4に進み、ループ要素L
E1の終点は交点bであるため、ループ要素の終点に交
点があるか否かの判定は、YESと判定されステップ5
に進む。そして、ステップ5で、接続先のループ要素が
選択される。ここで、ループ要素LE1と同じ進行方向
を有するものは、ループ要素LE2の退出側とLE3で
あるため、ループ要素LE2の進入側が、まず候補から
外される。 【0032】ついで、残ったループ要素のうち、ループ
要素LE3は、ループ要素LE1と同じ干渉ループ要素
であるが、ループ要素LE2は非干渉ループ要素である
ため、ループ要素LE3がループ要素LE1の接続先と
して選択される。そして、ステップ6で、接続先有りと
判定され、ステップ7で、ループ要素LE3がループに
加えられる。 【0033】次に、再度、ステップ4に戻り、ループ要
素LE3の終点に交点があるか否かが判断されるが、ル
ープ要素LE3の終点は、交点aであるため、YESと
なり、ステップ5に進む。また、ステップ5では、接続
先の選択が行われるが、ループ要素LE3の先方のルー
プ要素LE0,LE1,LE4はすべて使用済みである
ため、接続先はなく(ステップ6)、ループ要素LE1
とLE3からなる一つの干渉ループが生成される。 【0034】つぎに、ステップ8に進み、次の空のルー
プを用意し、ステップ1から再度処理を行っていく。こ
こで、次にくるループ要素はループ要素LE2であるた
め、これが、ステップ2で、未使用ループ要素として取
得され、ステップ3で、次に生成されるループに加えら
れる。 【0035】ついで、ステップ4で、ループ要素LE2
の終点に交点があるか否かが判断されるが、ループ要素
LE2は一個のループ要素でループが構成され、交点b
を始点とし、終点も交点bであるため、YESとなり、
ステップ5に進む。また、ステップ5では、接続先の選
択が行われるが、ループ要素LE2の先方のループ要素
LE1,LE3はともに使用済みであるため、接続先は
ない。 【0036】このため、ステップ6でNOとなって、ス
テップ8からステップ1に進む。ここで、すべてのルー
プ要素が使用済みであるため、YESとなってループ生
成処理が終了する。そして、最後に、干渉ループである
ループ要素LE1とLE3からなるループを除去し、輪
郭形状9の外周に位置する工具経路11と、輪郭形状9
の凹部に対応する工具経路12が、図4に示した状態に
求められる。 【0037】つぎに、輪郭形状が上記の輪郭形状9とは
異なる形状で、接続先に選択可能なループ要素が二個あ
る場合について説明する。例えば、ループが、図5に示
したように、接続元のループ要素13の先方の左右にそ
れぞれ選択可能な条件を満たす二個のループ要素14,
15が存在する場合には、接続先のループ要素として
は、ループ要素13を含むループ16側に位置するルー
プ要素を選択する。この場合、ループ要素14が選択さ
れる。 【0038】このように、この実施の形態では、閉ルー
プのうちの干渉ループのみを除去し、非干渉ループは残
したまま処理を行うため、求めようとする輪郭形状9に
より近い正確な形状の加工物を得ることができるように
なる。また、この一連の処理を行うに先だって、各ルー
プを効果的に生成することができるようになる。特に、
非干渉ループ要素から干渉ループ要素への進入、また、
その逆の進入を防止し、非干渉ループ要素同士または干
渉ループ要素同士を接続していくことにより、より効果
的な処理が行えるようになる。 【0039】なお、上記の実施の形態では、ループ要素
LE1,LE3からなる干渉ループも一旦生成したの
ち、後処理でこれを除去するようにしているが、これは
初めから生成しないようにしてもよい。これによって、
さらに、ループの生成が効率よく行えるようになる。 【0040】特に、図6に示した輪郭形状17のオフセ
ット形状18のような場合、交点c,d,e,fで分割
されるループ要素は、LE5,LE6,LE7,LE
8,LE9,LE10,LE11,LE12,LE1
3,LE14の10個のループ要素からなる複雑なもの
となる。 【0041】この場合、ループ要素LE5,LE14を
除く、他のすべてのループ要素LE6,LE7,LE
8,LE9,LE10,LE11,LE12,LE13
は干渉ループ要素であるため、これらのループ要素で構
成されるループを初めから生成しないようにすれば、処
理は極めて簡単なものとなる。すなわち、図7に示すよ
うにループ要素LE5とLE14からなる工具経路19
を簡単に求めることができる。 【0042】 【発明の効果】以上のように、この発明にかかる工具経
路におけるループ生成方法では、オフセット形状を構成
する各ループ要素と輪郭形状との間の距離がオフセット
距離よりも小さかったり、交わる場合には、このループ
要素を含むループを干渉ループとしてオフセット輪郭か
ら除去するようにしている。これによって、非干渉ルー
プは残し、干渉ループのみを除去することができ、求め
ようとする輪郭形状により近い正確な形状の切削加工が
できるようになる。 【0043】また、各ループの生成に際しては、オフセ
ット形状を交点で分割して複数のループ要素とし、各ル
ープ要素を接続していく進行方向を一定にしている。そ
して、接続元のループ要素の進行方向の左右で最も接続
元のループ要素と角度が近接し進行方向も等しく、かつ
干渉・非干渉が同じループ要素を接続先として選択する
うようにしている。 【0044】このため、非干渉ループ要素から干渉ルー
プ要素への進入、また、その逆の進入を防止し、非干渉
ループ要素同士または干渉ループ要素同士を接続してい
くことにより、より効果的な処理が行えるようになる。 【0045】また、上記の条件において選択可能なルー
プ要素が二個ある場合に、接続元のループが存在する側
のループ要素を選択することによって、さらに効果的な
ループの生成が行えるようになる。そして、このような
一連の処理をすべてのループの生成に行うことにより、
ループの生成処理全体が効率的なものになる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an offset shape which is generated when a predetermined shaped object is obtained by cutting a workpiece by moving a processing tool. It relates to the processing of the interference loop. 2. Description of the Related Art Conventionally, a molded article has been obtained by performing cutting using a cutting apparatus driven by a computer. In such a cutting apparatus, a rod-shaped processing tool such as a drill is attached, and the rod-shaped processing tool is driven to cut a molding material into an arbitrary shape. In such a cutting process, it is necessary to perform offset processing based on the contour shape in consideration of the thickness of the bar-shaped processing tool, and to move the bar-shaped processing tool along the obtained offset shape. Is For example, when the contour shape of the cutting portion is the contour shape 21 shown in FIG. 8, the offset shape 22 is generated at a portion separated from the contour shape 21 by a radius r of the diameter of a rod-shaped processing tool (not shown). In this case, a portion of the offset shape 22 corresponding to the side gh and the h-side portion of the side hi in the contour shape 21 becomes a triangle jkl. However, when the rod-shaped processing tool is moved along the offset shape 22 including the triangle jkl to perform the cutting, the portions of the sides gh and hi in the contour shape 21 are hollowed out, and the processing accuracy is deteriorated. There is. For this reason, a portion forming a closed loop such as a triangle jkl in the offset shape 22 is deleted, and cutting is performed using data of the offset shape 23 without a closed loop shown in FIG. Japanese Patent Application Laid-Open No. 1-255007 discloses such a technique.
There is an official gazette. [0006] In the above method, when the contour shape is a slightly more complicated shape, for example,
In the case of the contour shape 24 shown in FIG.
5 includes two closed loops mno, opq. Of these two closed loops mno and opq, the closed loop mno is originally an interference loop and should be deleted, but the closed loop opq is a non-interference loop and a part corresponding to this is to be processed while leaving the corresponding part. However, in the above-mentioned conventional technology,
Since all of these closed loops were removed, cutting of a contour shape corresponding to non-interfering closed loops was not performed. For this reason, in the case of a complicated contour shape, there has been a problem that accurate cutting corresponding to the contour shape cannot be performed. The present invention has been made in view of such circumstances, and an interference loop is removed, and a non-interference loop is not removed, and accurate cutting corresponding to a contour shape can be performed. It is an object of the present invention to provide a method for generating a loop in a tool path in which a loop element can be effectively connected when a loop is generated in a process. [0009] [Means for Solving the Problems] To achieve the above object, claim 1 of the loop generation method in the tool path according to the present invention, based on the contour shape, the dimensions of the tool
A method for generating a loop in a tool path using an offset shape formed in consideration of a determined offset distance as a tool path, wherein the offset shape is divided at each intersection point of the offset shape into a plurality of loop elements, and is configured by these loop elements. If each of the loops includes a loop element that intersects the contour shape or the distance between the contour shape is smaller than the offset distance, the loop is removed from the offset shape as an interference loop, and the loop is removed. Is the interference loop
Loop element and a non-interference loop element other than the interference loop exist.
Standing and, upon generation of each loop in the first aspect, by setting the direction of travel such that the internal side of the profile shape is positioned in a predetermined direction, sequentially connecting each loop element from the starting point of one loop element . When there are a plurality of loop elements at the connection destination, the left and right sides of the traveling direction of the connection source loop element are closest in angle to the connection source loop element, the traveling directions are the same, and the interference / non-interference loop element select the same loop element as a connection destination, once the loop element used is not used to terminate the generation of the the loop-loop elements on the connection destination is eliminated, it proceeds to generate the next loop. This makes it possible to easily determine whether the closed loop is an interference loop or a non-interference loop, and leaves the non-interference loop.
Only the interference loop can be eliminated. As a result, it is possible to perform a cutting process of an accurate shape closer to the contour shape to be obtained. That is, in such processing, it is preferable to determine whether a loop is an interference loop or a non-interference loop, and to effectively generate each loop. For this reason, here, first, the offset shape is divided at each intersection into a plurality of loop elements, and the direction in which the loop elements are connected is, for example, such that the inner side of the contour shape is located on the left side in the traveling direction. , Etc., so as to be in a certain direction. [0013] When one end of a certain loop element is set as a start point and successive loop elements are connected sequentially from the start point, if there are a plurality of loop elements at the connection destination, a loop element that satisfies the following conditions is selected. That is, one or two loop elements having the same traveling direction as the connection source loop element, the left and right sides of the traveling direction being closest to the connection source loop element, and the connection source loop element. And a loop element satisfying the condition that interference and non-interference are the same are selected as connection destinations. Also, among the selections made above,
If there are two selectable loop elements, select the loop element on the side where the connection source loop exists, do not use the loop element that has been used once, and create the loop when there is no loop element at the connection destination Is completed, the process proceeds to the generation of the next loop, and the same processing is repeated to generate all loops. That is, when there is only one loop element that can be selected on the left and right in the traveling direction of the connection source loop element, that loop element is selected as the connection destination. If there are loop elements that can be selected on the left and right sides of the traveling direction of the connection source loop element, respectively, the side where the previously connected loop is located, in other words, the starting point of the loop Select a loop element that has a direction that attempts to close the loop toward. By performing such a series of processing,
A loop can be efficiently generated, and by repeating this processing for all loop generations, more efficient processing can be performed. Next, a method for generating a loop in a tool path according to the present invention will be described in detail with reference to the drawings. FIG. 1 shows an example of a cutting apparatus for performing a method for generating a loop in a tool path according to the present invention. That is, in FIG. 1, an input device 1 receives data such as shape data of a cutting portion and information necessary for cutting, such as a tool speed, and sends the data to the memory 3 via the connected CPU 2. Remember. The CPU 2 operates in accordance with a program stored in the memory 3 while performing arithmetic processing based on various data and information, and drives the bar-shaped processing tool 5 of the connected cutting section 4 to perform processing. The workpiece 6 is cut. The memory 3 has a storage unit for storing various data.
In particular, the contour shape data storage section 7 for storing contour shape data of the cutting portion and the CPU 2 based on the contour shape data.
Is provided with an offset shape data storage unit 8 for storing offset shape data calculated by performing an offset process. Using such a cutting device, a method for generating a loop in a tool path according to the present invention is performed according to a flowchart shown in FIG. Here, a description will be given of a cutting process in which the outer part of the contour 9 is cut and removed by using the shape data of the contour 9 shown in FIGS. 3 and 4 so that the inner part of the contour 9 is raised in a plane. . In this case, first, the shape data of the contour shape 9 is stored in the contour shape data storage unit 7 of the memory 3. Then, based on the contour shape data, the CPU
By performing the offset processing in Step 2, the data of the offset shape 10 in which the tool path is moved to the outside of the contour of the contour shape 9 by the radius R of the rod-shaped processing tool 5 is created, and the offset shape data storage unit 8 To memorize. Next, as shown in FIG. 3, the offset shape 10 is divided at intersections a and b, and a plurality of loop elements LE are divided.
0, LE1, LE2, LE3, and LE4. Here, assuming that the starting point is o, LE0 is between the starting point o and the intersection a, LE1 is between the intersection a and the intersection b, LE2 is a loop that exits the intersection b and returns to the intersection b again, and LE2 is between the intersection b and the intersection a. LE3, a portion between the intersection point a and the start point o is set as five loop elements LE4. Then, each of the divided loop elements LE
For 0, LE1, LE2, LE3, and LE4, it is determined whether they are interference loop elements or non-interference loop elements. This judgment is made for each loop element LE0, LE
When 1, LE2, LE3, and LE4 intersect with the contour shape 9 or the distance between the contour shape 9 is smaller than the radius of the rod-shaped processing tool 5, it is regarded as an interference loop element. This is an interference loop element. In this case, the loop elements LE1 and LE3 are interference loop elements. Next, a loop is generated according to the flowchart of FIG. This loop is generated by sequentially connecting the loop elements, and the connection proceeds in the direction indicated by the arrow in FIG. That is, the inside of the corresponding contour shape 9 is always located on the left side in the traveling direction of the loop element. Then, the flowchart shown in FIG. 2 is started. First, in step 1 shown in the drawing, it is determined whether or not all loop elements have been used. In this process, a used loop element used once is not used again. Here, since all the loop elements are not used, the determination is NO, and the process proceeds to step 2. In step 2, the next unused loop element is:
That is, starting from the starting point o, the first loop element LE0
To get. Then, the process proceeds to step 3, where the loop element L
Add E0 to the loop to be created. Next, in step 4, it is determined whether or not there is an intersection at the end point of the loop element LE0. Since the end point of the loop element LE0 is the intersection point a, the determination becomes YES and the process proceeds to step S5. In step 5, a loop element to be connected is selected. Here, when there are a plurality of loop elements as connection destination loop elements, those that satisfy the following conditions are selected. First, a loop element whose traveling direction is the same as that of the connection source loop element is selected, and the left and right sides of the traveling direction are closest to the connection source loop element, and
Non-interference selects the same loop element as the connection destination. In this case, since the connection source loop element is the loop element LE0, those having the same traveling direction are the loop elements LE1 and LE4. Therefore,
The loop element LE3 is first excluded from the candidates. Then
The loop elements on the left and right in the traveling direction are also the loop elements LE1 and LE4, of which the loop element LE1 is an interference loop element. For this reason, the loop element LE1 is also excluded from the connection destination candidates, and the remaining loop element LE4 is selected as the connection destination. Then, the process proceeds to step 6, where it is determined whether or not there is a connection destination. Since the loop element LE4 has been selected as described above, the result is YES, and the process proceeds to step 7. Here, the loop element LE4 is also added to the loop, and the process returns to Step 4. In step 4, the loop element L
It is determined whether or not there is an intersection at the end point of E4. However, since the end point of the loop element LE4 is the start point o, the result is NO.
Proceed to step 8. Thus, the current loop is closed, and one loop including the loop elements LE0 and LE4 is generated. Next, the next empty loop is prepared, and the same processing is performed from step 1. Next loop element LE1
Is obtained as an unused loop element in step 2,
In step 3, it is added to the next generated loop. Then, the process proceeds to a step 4, wherein the loop element L
Since the end point of E1 is the intersection point b, the determination as to whether or not there is an intersection point at the end point of the loop element is determined as YES, and step 5 is performed.
Proceed to. Then, in step 5, a connection destination loop element is selected. Here, those having the same traveling direction as the loop element LE1 are the exit side and the LE3 of the loop element LE2, so that the entry side of the loop element LE2 is first excluded from the candidates. Next, of the remaining loop elements, the loop element LE3 is the same interference loop element as the loop element LE1, but since the loop element LE2 is a non-interference loop element, the loop element LE3 is connected to the loop element LE1. Selected as the destination. Then, in step 6, it is determined that there is a connection destination, and in step 7, the loop element LE3 is added to the loop. Next, returning to step 4 again, it is determined whether or not there is an intersection at the end point of the loop element LE3. However, since the end point of the loop element LE3 is the intersection point a, the result is YES, and the flow returns to step 5. move on. In step 5, a connection destination is selected. However, since all of the loop elements LE0, LE1, and LE4 preceding the loop element LE3 have been used, there is no connection destination (step 6), and the loop element LE1 is not used.
And an interference loop composed of LE3. Next, proceeding to step 8, a next empty loop is prepared, and the process is repeated from step 1. Here, since the next loop element is the loop element LE2, this is obtained as an unused loop element in step 2 and added to the next loop generated in step 3. Next, at step 4, the loop element LE2
It is determined whether or not there is an intersection at the end point of the loop element. The loop element LE2 forms a loop with one loop element.
Is the start point, and the end point is also the intersection b, so that the answer is YES,
Proceed to step 5. In step 5, the connection destination is selected, but there is no connection destination because both the loop elements LE1 and LE3 ahead of the loop element LE2 have been used. Therefore, the result of step 6 is NO, and the process proceeds from step 8 to step 1. Here, since all the loop elements have been used, the result is YES, and the loop generation processing ends. Finally, the loop composed of the loop elements LE1 and LE3, which are interference loops, is removed, and the tool path 11 located on the outer periphery of the contour 9 and the contour 9
The tool path 12 corresponding to the concave portion is obtained in the state shown in FIG. Next, a case where the contour shape is different from the above-described contour shape 9 and there are two selectable loop elements at the connection destination will be described. For example, as shown in FIG. 5, two loop elements 14 satisfying selectable conditions on the left and right sides of the loop element 13 of the connection source,
When the loop element 15 exists, a loop element located on the side of the loop 16 including the loop element 13 is selected as a connection destination loop element. In this case, the loop element 14 is selected. As described above, in this embodiment, since only the interference loop among the closed loops is removed and the processing is performed while the non-interference loop remains, processing of an accurate shape closer to the contour shape 9 to be obtained is performed. You will be able to get things. Prior to performing this series of processing, each loop can be effectively generated. In particular,
Entry from non-interfering loop element to interfering loop element,
By preventing the reverse approach and connecting the non-interfering loop elements or the interfering loop elements, more effective processing can be performed. In the above-described embodiment, the interference loop composed of the loop elements LE1 and LE3 is generated once and then removed in the post-processing. However, this is not necessarily generated from the beginning. Good. by this,
Further, the loop can be efficiently generated. In particular, in the case of the offset shape 18 of the contour shape 17 shown in FIG. 6, the loop elements divided at the intersections c, d, e, and f are LE5, LE6, LE7, and LE.
8, LE9, LE10, LE11, LE12, LE1
3, a complex structure composed of 10 loop elements of LE14. In this case, all the other loop elements LE6, LE7, LE except the loop elements LE5, LE14
8, LE9, LE10, LE11, LE12, LE13
Is an interference loop element, the processing becomes extremely simple if a loop composed of these loop elements is not generated from the beginning. That is, as shown in FIG. 7, the tool path 19 including the loop elements LE5 and LE14
Can be easily obtained. As described above, in the method for generating a loop in the tool path according to the present invention, the distance between each loop element constituting the offset shape and the contour shape is smaller than or intersects with the offset distance. In such a case, a loop including this loop element is removed from the offset contour as an interference loop. As a result, the non-interference loop can be left, and only the interference loop can be removed, so that it is possible to perform a cutting process of an accurate shape closer to the contour shape to be obtained. In generating each loop, the offset shape is divided at intersections into a plurality of loop elements, and the traveling direction connecting the loop elements is made constant. Then, the left and right sides of the traveling direction of the connection source loop element are closest in angle to the connection source loop element, the traveling directions are also equal, and the same interference / non-interference loop element is selected as the connection destination. For this reason, it is possible to prevent the non-interfering loop element from entering the interfering loop element and vice versa, and to connect the non-interfering loop elements or the interfering loop elements with each other to achieve a more effective operation. Processing can be performed. Further, when there are two loop elements that can be selected under the above conditions, by selecting the loop element on the side where the connection source loop exists, a more effective loop can be generated. . Then, by performing such a series of processing for generating all loops,
The entire loop generation process is efficient.

【図面の簡単な説明】 【図1】この発明の一例で使用する切削装置の構成図で
ある。 【図2】処理の順序を示すフローチャート図である。 【図3】輪郭形状およびオフセット形状を示す説明図で
ある。 【図4】輪郭形状および補正によって得られた工具経路
を示す説明図である。 【図5】選択可能なループ要素が二個ある場合の選択方
法を説明する説明図である。 【図6】他の輪郭形状およびオフセット形状を示す説明
図である。 【図7】他の輪郭形状および補正によって得られた工具
経路を示す説明図である。 【図8】従来技術による輪郭形状およびオフセット形状
を示す平面図である。 【図9】従来技術による輪郭形状および補正によって得
られた工具経路を示す説明図である。 【図10】他の従来技術による輪郭形状およびオフセッ
ト形状を示す説明図である。 【符号の説明】 9,17 …輪郭形状 10,18 …オフセット形状 11,12,19 …工具経路 16 …ループ a,b,c,d,e,f…交点 o …始点 R …棒状加工具の半径 LE0,LE1,LE2,LE3,LE4,LE5,L
E6,LE7,LE8,LE9,LE10,LE11,
LE12,LE13,LE14,13,14,15
…ループ要素
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a configuration diagram of a cutting device used in an example of the present invention. FIG. 2 is a flowchart showing the order of processing. FIG. 3 is an explanatory diagram showing a contour shape and an offset shape. FIG. 4 is an explanatory diagram showing a contour shape and a tool path obtained by correction. FIG. 5 is an explanatory diagram illustrating a selection method when there are two selectable loop elements. FIG. 6 is an explanatory diagram showing another contour shape and an offset shape. FIG. 7 is an explanatory diagram showing another contour shape and a tool path obtained by correction. FIG. 8 is a plan view showing a contour shape and an offset shape according to the related art. FIG. 9 is an explanatory diagram illustrating a contour shape and a tool path obtained by correction according to the related art. FIG. 10 is an explanatory diagram showing a contour shape and an offset shape according to another conventional technique. [Description of Signs] 9, 17 ... contour shapes 10, 18 ... offset shapes 11, 12, 19 ... tool paths 16 ... loops a, b, c, d, e, f ... intersection points o ... starting points R ... rod-shaped processing tools Radius LE0, LE1, LE2, LE3, LE4, LE5, L
E6, LE7, LE8, LE9, LE10, LE11,
LE12, LE13, LE14, 13, 14, 15
… Loop element

Claims (1)

(57)【特許請求の範囲】 【請求項1】輪郭形状をもとに、工具の寸法によって定
まるオフセット距離を考慮して形成したオフセット形状
を工具経路とする工具経路におけるループ生成方法であ
って、 オフセット形状をオフセット形状の各交点で分割して複
数のループ要素とし、これらのループ要素で構成される
各ループに、輪郭形状と交差するか、または輪郭形状と
の間の距離がオフセット距離よりも小さいループ要素が
含まれていれば、そのループを干渉ループ要素としてオ
フセット形状から除去し、前記ループには前記干渉ループ要素と前記干渉ループ以
外の非干渉ループ要素とが存在 し、各ループを生成する
に際し、輪郭形状の内部側が一定方向に位置するように
進行方向を設定して、一つのループ要素の始点から順次
各ループ要素を接続していき、接続先に複数のループ要
素がある場合には、接続元のループ要素の進行方向の左
右でそれぞれ最も接続元のループ要素と角度が近接し進
行方向も等しく、かつ干渉・非干渉のループ要素が同じ
ループ要素を接続先として選択、一度使用したループ
要素は使用せず、接続先にループ要素がなくなるとその
ループの生成を終了し、次のループの生成に移る工具経
路におけるループの生成方法。
(57) [Claims] [Claim 1] Determined by the dimensions of the tool based on the contour shape
Offset shape formed considering the full offset distance
A loop generation method in a tool path having the following as a tool path, wherein an offset shape is divided at each intersection point of the offset shape into a plurality of loop elements, and each loop constituted by these loop elements intersects the contour shape. or if it contains a small loop element than the distance offset distance between the contour, removes from the offset shape the loop as an interference loop element, the said loop and the interference loop element the interference loop Less than
There is an outside non-interfering loop element, and when generating each loop, set the traveling direction so that the inner side of the contour shape is located in a fixed direction, and connect each loop element sequentially from the start point of one loop element If there are multiple loop elements at the connection destination, the angles are closest to the connection source loop elements on the left and right sides of the traveling direction of the connection source loop element, the traveling directions are the same, and interference / non-interference the loop element is the same loop element selected as the connection destination, once the loop element used is not used to terminate the generation of the loop elements to the destination is eliminated the loop, in the tool path proceeds to the generation of the next loop How to create a loop.
JP17232698A 1998-06-19 1998-06-19 Loop generation method in tool path Expired - Fee Related JP3520200B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17232698A JP3520200B2 (en) 1998-06-19 1998-06-19 Loop generation method in tool path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17232698A JP3520200B2 (en) 1998-06-19 1998-06-19 Loop generation method in tool path

Publications (2)

Publication Number Publication Date
JP2000010613A JP2000010613A (en) 2000-01-14
JP3520200B2 true JP3520200B2 (en) 2004-04-19

Family

ID=15939842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17232698A Expired - Fee Related JP3520200B2 (en) 1998-06-19 1998-06-19 Loop generation method in tool path

Country Status (1)

Country Link
JP (1) JP3520200B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10118378B2 (en) 2015-11-20 2018-11-06 Roland Dg Corporation Cross-section data generating device and cross-section data generating method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10118378B2 (en) 2015-11-20 2018-11-06 Roland Dg Corporation Cross-section data generating device and cross-section data generating method

Also Published As

Publication number Publication date
JP2000010613A (en) 2000-01-14

Similar Documents

Publication Publication Date Title
US7089523B2 (en) Method and apparatus for using connection graphs with potential diagonal edges to model interconnect topologies during placement
EP0145967B1 (en) Curvilinear interpolation system and method
JP2824424B2 (en) 3D machining method
US7363103B2 (en) Method and apparatus for generating machining information, and computer product
US7055120B2 (en) Method and apparatus for placing circuit modules
JP5238810B2 (en) A computer-aided design method for edges connecting faces of modeled objects
US6904580B2 (en) Method and apparatus for pre-computing placement costs
CN109033176A (en) Determination method, apparatus, storage medium and the computer equipment of road curvature
US6877146B1 (en) Method and apparatus for routing a set of nets
US20080033699A1 (en) Program and method for generating approximate curve from approximate point group data
JP3520200B2 (en) Loop generation method in tool path
JP2800404B2 (en) Polygon division method and apparatus
US20050107921A1 (en) Robot operation program modification device
US4506331A (en) Numerical control method
Nowak et al. A Ray Tracing technique for the navigation on a non-convex Pareto front
EP0314798B1 (en) Nc data preparation for working curved surface
US4672551A (en) Die machining apparatus in automatic programming
US6976238B1 (en) Circular vias and interconnect-line ends
JPS63204301A (en) Method for deciding optimum packing route of nc packing machine
JPH03184740A (en) How-to-determine recessing method in numerical control information making function
JP3408403B2 (en) Method of removing abnormal tool path in cutting
CN117251917A (en) GH-based Chinese Qing dynasty bucket arch digital simulation model parameterized modeling method
JPH10307615A (en) Automatic generating method for machining path of recessed groove position for cam
JPH11102387A (en) Scheduling method and recording medium
JPH1020917A (en) Cutting order determining method for tool movement path for machining

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040127

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040202

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090206

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090206

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100206

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100206

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110206

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110206

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120206

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130206

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140206

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees