JPH05297923A - Tool path data creating device - Google Patents

Tool path data creating device

Info

Publication number
JPH05297923A
JPH05297923A JP4106369A JP10636992A JPH05297923A JP H05297923 A JPH05297923 A JP H05297923A JP 4106369 A JP4106369 A JP 4106369A JP 10636992 A JP10636992 A JP 10636992A JP H05297923 A JPH05297923 A JP H05297923A
Authority
JP
Japan
Prior art keywords
offset
line
tool path
tool
paths
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.)
Withdrawn
Application number
JP4106369A
Other languages
Japanese (ja)
Inventor
Kataru Ichikawa
語 市川
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 Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP4106369A priority Critical patent/JPH05297923A/en
Publication of JPH05297923A publication Critical patent/JPH05297923A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To accurately create a tool path within an area which is enclosed by a closed curve. CONSTITUTION:A closed curve 21 is approximated by a broken line included in a tolerance (t) for creation of a 1st path P1. Then the undesired loops are deleted out of a group of offset segments including each internal offset segment of the path P1, the offset segments formed by the circular arcs at each segment end part, and the offset segments obtained by connecting the offset segments and circular arcs together. Thus a 2nd path P2 is obtained. Both paths P3 and P4 are produced in the same way as the path P2. These obtained paths P1-P4 are used as the tool paths.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は工具径路データ作成装置
に関し、CAD/CAMシステム、自動プログラミング
装置、NC装置等に適用して有用である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tool path data creating device, which is useful when applied to a CAD / CAM system, an automatic programming device, an NC device or the like.

【0002】[0002]

【従来の技術】例えば無垢材に対し等高線荒取り加工を
する場合に、各加工高さに対して得られる等高線形状
(閉曲線で囲まれた加工領域)について、領域加工パス
(工具径路)を作成する必要がある。
2. Description of the Related Art For example, when contour roughening is performed on a solid material, an area machining path (tool path) is created for a contour shape (machining area surrounded by a closed curve) obtained for each machining height. There is a need to.

【0003】工具径路データ作成装置は、CAD等で作
成した加工形状データが入力されると、任意の閉曲線で
囲まれた加工領域(これは前記加工形状データで示され
る)内を加工するための全ての工具径路を算出し、これ
ら工具径路を示す工具径路データを出力する。そして工
具径路データを基に、工作機械にて工具径路を制御する
ことにより、例えば等高線荒取り加工が実行できる。
When the machining shape data created by CAD or the like is input, the tool path data creating device is for machining the inside of a machining area surrounded by an arbitrary closed curve (this is indicated by the machining shape data). All tool paths are calculated, and tool path data indicating these tool paths are output. Then, by controlling the tool path with the machine tool based on the tool path data, for example, contour line rough cutting can be executed.

【0004】ここで、従来の工具径路データ作成装置に
より、加工形状データから工具径路を求める手法を、図
6に基づき説明する。図6に示すように加工形状を示す
閉曲線(実線のもの)01が入力されると、閉曲線01
をあるトレランス(許容誤差)内で近似した線分群(図
中点線で示す)を創成し、点線で示す線分相互の交点、
交点が無いときは線分の延長線上の交点を求めて全体の
オフセット線分群(点線で示す線分群)02を求める。
このオフセット線群02のうち、ループ部となっている
ものを方向(時計回り方向か反時計回り方向か)で判定
し不要なループ部を削除すると、残ったループ線(太い
点線で示す)が求める工具径路02aとなる。このた
め、加工形状を示す閉曲線1上の点,,,,
は、工具径路2a上の点′,′,′,′,′
に対応する。
Now, a method of obtaining a tool path from machining shape data by a conventional tool path data creating apparatus will be described with reference to FIG. As shown in FIG. 6, when a closed curve (solid line) 01 indicating a machining shape is input, the closed curve 01
Create a line segment group (shown by the dotted line in the figure) that approximates to within a certain tolerance (tolerance), and intersect the line segments shown by the dotted line,
When there is no intersection, the intersection on the extension line of the line segment is obtained to obtain the entire offset line segment group (line segment group indicated by the dotted line) 02.
If the loop portion of the offset line group 02 is judged in the direction (clockwise direction or counterclockwise direction) and the unnecessary loop portion is deleted, the remaining loop line (shown by a thick dotted line) becomes This is the desired tool path 02a. Therefore, the points on the closed curve 1 showing the machining shape ,,,
Are points', ',', ',' on the tool path 2a.
Corresponding to.

【0005】[0005]

【発明が解決しようとする課題】ところで従来技術で
は、例えば比較的単純な図6のような形状の場合であっ
ても、太い点線で示すオフセット形状(工具径路)2a
が実線で示すもとの形状(閉曲線)01から張り出る
等、正しいオフセット形状が得られないことがあった。
正しいオフセット形状が得られないときには、指定され
た加工領域外を加工するおそれがある。
In the prior art, however, the offset shape (tool path) 2a shown by the thick dotted line is used even in the case of a relatively simple shape as shown in FIG. 6, for example.
In some cases, a correct offset shape could not be obtained, for example, the original shape (closed curve) 01 indicated by a solid line overhangs.
If the correct offset shape cannot be obtained, there is a risk of processing outside the specified processing area.

【0006】本発明は、上記従来技術に鑑み、正しいオ
フセット形状を得ることによって最適な工具径路データ
を作成することのできる工具径路データ作成装置を提供
することを目的とする。
In view of the above-mentioned conventional technique, it is an object of the present invention to provide a tool path data creating apparatus which can create optimum tool path data by obtaining a correct offset shape.

【0007】[0007]

【課題を解決するための手段】上記課題を解決する本発
明の構成は、加工形状データが入力されると、任意の閉
曲線で囲まれた加工領域内を加工するための全ての工具
径路を算出してこれら工具径路を示す工具径路データを
出力する工具径路データ作成装置において、先ず閉曲線
をあるトレランス内の折線で近似してこれを第1パスと
し、次に第1パスである折線を形成する線分群をそれぞ
れ内側に一定量オフセットしてオフセット線分を設定
し、更に各線分の端点で端点を中心として前記オフセッ
ト量と同一の半径の円弧を描き、この円弧と前後のオフ
セット線分とを接続して得られる全体のオフセット線群
でループ部を捜し、各ループについてその方向が元の線
分群と同一方向でないときは削除することによって得ら
れるオフセット線群を第2パスとし、第2パスよりも内
側の領域では、第2パスを求めるときに用いたのと同じ
手法を繰り返し用いて更に内側のパスを次々と求めてい
き、求めた全体のパスを工具径路とし、これら工具径路
を示すデータを工具径路データとして出力することを特
徴とする。
According to the configuration of the present invention for solving the above problems, when machining shape data is input, all tool paths for machining within a machining area surrounded by an arbitrary closed curve are calculated. Then, in the tool path data creation device for outputting tool path data indicating these tool paths, first, a closed curve is approximated by a polygonal line within a certain tolerance to make it a first pass, and then a polygonal line which is a first path is formed. Offset each line segment group by a certain amount to set an offset line segment, draw an arc with the same radius as the offset amount around the end point of each line segment, and connect this arc and the front and back offset line segments. Offset line group obtained by searching for the loop part in the entire offset line group obtained by connecting and deleting if the direction of each loop is not the same as the original line segment group The second pass is set, and in the area inside the second pass, the same method as that used to find the second pass is repeatedly used to find more inner passes one after another, and the found overall pass is used as a tool. It is characterized in that a path is set and data indicating these tool paths is output as tool path data.

【0008】[0008]

【作用】本発明では、加工形状データで示す閉曲線に対
し、閉曲線の折線近似、折線の各線分を内側にオフセッ
ト、線分端部の円弧によるオフセット、オフセット線群
(オフセットした線分とオフセットによる円弧を接続し
た線)の中の不要なループの削除という処理を繰り返し
て、工具径路となるパスを求める。
According to the present invention, the closed curve indicated by the machining shape data is approximated to a polygonal line of the closed curve, each line segment of the polygonal line is offset to the inside, an offset is formed by a circular arc at the end of the line segment, an offset line group (the offset line segment and the offset line The process of deleting unnecessary loops in the line connecting the arcs) is repeated to find the path to be the tool path.

【0009】[0009]

【実施例】以下に本発明の実施例を図面に基づき詳細に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0010】図1に示すように、CADデータ10等の
加工形状データD1は工具径路データ作成装置11に送
られる。工具径路データ作成装置11は、後述する演算
処理をして、工具径路を求め工具径路データD2を出力
する。工具径路データD2はフロッピー12等に記憶さ
れ、工作機械13に使用される。工作機械13では、工
具径路データD2を基に工具の径路を制御して良好な加
工ができる。
As shown in FIG. 1, machining shape data D1 such as CAD data 10 is sent to a tool path data creating device 11. The tool path data creation device 11 performs a calculation process described later to obtain a tool path and outputs tool path data D2. The tool path data D2 is stored in the floppy disk 12 or the like and used by the machine tool 13. In the machine tool 13, the tool path can be controlled based on the tool path data D2 to perform good machining.

【0011】ここで工具径路データ作成装置11によ
り、加工形状データD1から工具径路データD2を得る
ために行う演算処理の手順を、図2〜図4を参照して説
明する。
Here, the procedure of the arithmetic processing performed by the tool path data creating device 11 to obtain the tool path data D2 from the machining shape data D1 will be described with reference to FIGS.

【0012】(1)加工形状データD1から加工領域を
規定する閉曲線21を求める(図3参照)。 (2)閉曲線21を、あるトレランス(許容誤差)t内
の折線で近似して、図3に示すように、折線に沿った第
1パスP1を創成する(ステップ1,2)。 (3)図4に示すように折線である第1パスP1を形成
する線分L12,L23,L34・・・群を、それぞれ
ある一定量(ピックフィート量)eだけ内側にオフセッ
トして、オフセット線分L′12,L′23,L′34
・・・を設定する(ステップ3)。 (4)各線分L12,L23,L34・・・の端点で、
半径eの円弧R2′2”,R3′3”を描く。描く範囲
は各オフセット線分の端点から端点までである(ステッ
プ4)。 (5)オフセット線分L′12,L′23,L′34・
・・と円弧R2′2”,R3′3”・・・とを接続して
オフセット線群を得る。そしてオフセット線群(図4で
点線で示す線)の中でループ部(交差部分)を捜し、各
ループ部についてその方向(時計回り方向か反時計回り
方向か)が、もとの線分L12,L23,L34・・・
の方向と反対のものは削除する(ステップ5)。 (6)削除して残ったオフセット線群に沿い第2パスP
2(図3参照)を創成する(ステップ6)。 (7)以下、(2)〜(5)に示すのと同じ手法を繰り
返して、領域内のすべての加工ができるように、更に内
側のパスP3,P4(図3参照)を次々と求めていく
(ステップ7)。 (8)このようにして全領域の加工をするために求めた
パスP1〜P4を工具径路とし、これを示す工具径路デ
ータD2を出力する。
(1) A closed curve 21 defining a machining area is obtained from the machining shape data D1 (see FIG. 3). (2) The closed curve 21 is approximated by a polygonal line within a certain tolerance (tolerance) t to create a first path P1 along the polygonal line as shown in FIG. 3 (steps 1 and 2). (3) Offset the line segments L12, L23, L34, ... Forming the first path P1, which is a broken line, by a certain amount (pick foot amount) e inward as shown in FIG. Line segments L'12, L'23, L'34
... is set (step 3). (4) At the end points of the line segments L12, L23, L34, ...
Draw arcs R2'2 "and R3'3" of radius e. The drawing range is from the end point to the end point of each offset line segment (step 4). (5) Offset line segments L'12, L'23, L'34
.. and arcs R2'2 ", R3'3" ... Are connected to obtain an offset line group. Then, the loop portion (intersection portion) is searched in the offset line group (the line indicated by the dotted line in FIG. 4), and the direction (clockwise direction or counterclockwise direction) of each loop portion is the original line segment L12. , L23, L34 ...
Those opposite to the direction of are deleted (step 5). (6) Second path P along the offset line group that remains after deletion
2 (see FIG. 3) (step 6). (7) Hereinafter, by repeating the same method as shown in (2) to (5), the inner paths P3 and P4 (see FIG. 3) are successively obtained so that all the processing in the region can be performed. Go (step 7). (8) The paths P1 to P4 thus obtained for machining the entire area are set as tool paths, and tool path data D2 indicating the paths are output.

【0013】図5(a)は他の具体例であり、実線で示
す閉曲線31が入力されると、工具径路データ作成装置
11は、上述した手順に沿い、閉曲線の折線近似、折線
の各線分のオフセット、線分端点の円弧によるオフセッ
ト、オフセット線群の中の不要ループ部の削除、という
処理をして、図中太点線で示すように最終的なオフセッ
ト形状(パスP)が得られる。このパスPは閉曲線31
の外に出ることなく正しいオフセット形状となってい
る。
FIG. 5A shows another specific example. When the closed curve 31 shown by a solid line is input, the tool path data creating device 11 follows the above-mentioned procedure and approximates the closed curve to each broken line and each broken line segment. Of the line segment, the arc of the line segment end point, and the unnecessary loop portion in the offset line group are deleted to obtain the final offset shape (path P) as shown by the thick dotted line in the figure. This path P is a closed curve 31
It has the correct offset shape without going outside.

【0014】なお図5(a)の点のように2つの線分
L45,L51の支角が180°を越える場合は、円弧
ではなく、図5(b)に示すように前後のオフセット線
L′45,L′51を延長して線分端点のオフセットを
するようにしてもよい。
When the fulcrum angle of the two line segments L45 and L51 exceeds 180 ° as shown by the point in FIG. 5 (a), it is not a circular arc but front and rear offset lines L as shown in FIG. 5 (b). ′45 and L′ 51 may be extended to offset the line segment end points.

【0015】[0015]

【発明の効果】以上実施例とともに具体的に説明したよ
うに本発明によれば、領域加工用の正しい工具径路デー
タが作成できる。また、無垢材からの等高線荒取り加工
においては、各加工高さに対して得られる等高線形状
(閉領域)について領域加工パスを作成する必要があ
り、このような分野において本発明が有用となる。
According to the present invention as described in detail with reference to the above embodiments, correct tool path data for area machining can be created. Further, in rough contour cutting from a solid material, it is necessary to create a region machining path for the contour shape (closed region) obtained for each machining height, and the present invention is useful in such fields. ..

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

【図1】本発明の実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明の動作を示すフロー図。FIG. 2 is a flowchart showing the operation of the present invention.

【図3】閉曲線及び工具径路の一例を示す説明図。FIG. 3 is an explanatory diagram showing an example of a closed curve and a tool path.

【図4】線分端点のオフセットを示す説明図。FIG. 4 is an explanatory diagram showing offsets of line segment end points.

【図5】本発明によるオフセット形状を示す説明図。FIG. 5 is an explanatory view showing an offset shape according to the present invention.

【図6】従来技術によるオフセット形状を示す説明図。FIG. 6 is an explanatory view showing an offset shape according to a conventional technique.

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

01,21,31 閉曲線 02 オフセット線分群 02a 工具径路 10 CADデータ 11 工具径路データ作成装置 12 フロッピー 13 工作機械 P,P1,P2,P3,P4 パス(工具径路) L 線分 L′ オフセット線分 D1 加工形状データ D2 工具径路データ 01, 21, 31 Closed curve 02 Offset line segment group 02a Tool path 10 CAD data 11 Tool path data creation device 12 Floppy 13 Machine tool P, P1, P2, P3, P4 Path (tool path) L Line segment L'Offset line segment D1 Machining shape data D2 Tool path data

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 加工形状データが入力されると、任意の
閉曲線で囲まれた加工領域内を加工するための全ての工
具径路を算出してこれら工具径路を示す工具径路データ
を出力する工具径路データ作成装置において、 先ず閉曲線をあるトレランス内の折線で近似してこれを
第1パスとし、 次に第1パスである折線を形成する線分群をそれぞれ内
側に一定量オフセットしてオフセット線分を設定し、更
に各線分の端点で端点を中心として前記オフセット量と
同一の半径の円弧を描き、この円弧と前後のオフセット
線分とを接続して得られる全体のオフセット線群でルー
プ部を捜し、各ループについてその方向が元の線分群と
同一方向でないときは削除することによって得られるオ
フセット線群を第2パスとし、 第2パスよりも内側の領域では、第2パスを求めるとき
に用いたのと同じ手法を繰り返し用いて更に内側のパス
を次々と求めていき、 求めた全体のパスを工具径路とし、これら工具径路を示
すデータを工具径路データとして出力することを特徴と
する工具径路データ作成装置。
1. A tool path for inputting machining shape data, calculating all tool paths for machining in a machining area surrounded by an arbitrary closed curve, and outputting tool path data indicating these tool paths. In the data preparation device, first, a closed curve is approximated by a polygonal line within a certain tolerance to make this the first pass, and then a line segment group forming the polygonal line which is the first pass is offset inward by a predetermined amount to obtain an offset line segment. Set a circle, draw an arc with the same radius as the offset amount around the end point of each line segment, and search for the loop part with the entire offset line group obtained by connecting this arc and the front and rear offset line segments. , For each loop, if the direction is not the same as the original line segment group, the offset line group obtained by deleting is used as the second pass, and in the area inside the second pass, Repeating the same method as used to find the two passes, the inner paths are obtained one after another, and the obtained overall paths are used as tool paths, and the data indicating these tool paths are output as tool path data. A tool path data creation device characterized in that
JP4106369A 1992-04-24 1992-04-24 Tool path data creating device Withdrawn JPH05297923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4106369A JPH05297923A (en) 1992-04-24 1992-04-24 Tool path data creating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4106369A JPH05297923A (en) 1992-04-24 1992-04-24 Tool path data creating device

Publications (1)

Publication Number Publication Date
JPH05297923A true JPH05297923A (en) 1993-11-12

Family

ID=14431814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4106369A Withdrawn JPH05297923A (en) 1992-04-24 1992-04-24 Tool path data creating device

Country Status (1)

Country Link
JP (1) JPH05297923A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100397979B1 (en) * 2000-12-26 2003-09-19 현대자동차주식회사 Method of making a zigzag tool path
JP2010123106A (en) * 2008-10-22 2010-06-03 Matsuura Machinery Corp Deviation detection method for shaped object and deviation correction method for shaped object based on the detection
JP2015022640A (en) * 2013-07-22 2015-02-02 三菱電機株式会社 Numerical control device and numerical control method
CN110414706A (en) * 2018-04-28 2019-11-05 西安合众思壮导航技术有限公司 The methods, devices and systems in formation curve path

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100397979B1 (en) * 2000-12-26 2003-09-19 현대자동차주식회사 Method of making a zigzag tool path
JP2010123106A (en) * 2008-10-22 2010-06-03 Matsuura Machinery Corp Deviation detection method for shaped object and deviation correction method for shaped object based on the detection
JP2015022640A (en) * 2013-07-22 2015-02-02 三菱電機株式会社 Numerical control device and numerical control method
CN110414706A (en) * 2018-04-28 2019-11-05 西安合众思壮导航技术有限公司 The methods, devices and systems in formation curve path

Similar Documents

Publication Publication Date Title
JPH02264329A (en) Automatic program generating device
US6591156B1 (en) Method and apparatus for providing numerical control information
US20160154400A1 (en) Tool path curve generation method and tool path curve generation apparatus
US4870597A (en) Complex curved surface creation method
JPH05297923A (en) Tool path data creating device
JPH0439706A (en) Nc program generating method
JPH07121219A (en) Numerical control information generating method
JP2661554B2 (en) Correction method of plate material processing figure data
JP2000003212A (en) Method for interpolating curve
JP2663786B2 (en) Automatic programming device
JP2771361B2 (en) Rough cutter path generation system
JPH02148175A (en) Relational type data base system
JPH1011123A (en) Determination system for machining area and machining method for lathe nc data
JPS60105013A (en) Circular arc approximation method
JP2000190165A (en) Tool path preparing device
JPH01166104A (en) Automatic part program generating method
JPH06236259A (en) Automatic program generator
JPH10307615A (en) Automatic generating method for machining path of recessed groove position for cam
JPH0251779A (en) Generating method for offset curve
JP2003117773A (en) Nc data forming device
JPH09160626A (en) Nc data generation system
JPS61122758A (en) Edit processing system
JPH02220105A (en) Method and device for production of numerical control data for crossing line working
JPH02285476A (en) Data generating method for free curve
JPH0863619A (en) Device and method for automatically preparing part

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990706