JPS6048244A - Cutting path searching method - Google Patents
Cutting path searching methodInfo
- Publication number
- JPS6048244A JPS6048244A JP15743183A JP15743183A JPS6048244A JP S6048244 A JPS6048244 A JP S6048244A JP 15743183 A JP15743183 A JP 15743183A JP 15743183 A JP15743183 A JP 15743183A JP S6048244 A JPS6048244 A JP S6048244A
- Authority
- JP
- Japan
- Prior art keywords
- curved surface
- curve
- cutting path
- points
- dimensional curved
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
- G05B19/41—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by interpolation, e.g. the computation of intermediate points between programmed end points to define the path to be followed and the rate of travel along that path
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/42—Recording and playback systems, i.e. in which the program is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine
- G05B19/4202—Recording and playback systems, i.e. in which the program is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine preparation of the program medium using a drawing, a model
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35115—Project 3-D surface on 2-D plane, define grid in plane
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分野〉
本発明は三次元曲面上の切削経路をめる切削経路探索方
法に係り、特に三次元曲面を特定するデータと、該曲面
上の切削経路を所定平面に投影した投影曲線を特定する
データとを入力し、これらデータから三次元曲面上の切
削経路をめる切削経路探索方法に関する。[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a cutting path search method for finding a cutting path on a three-dimensional curved surface, and in particular, data for specifying a three-dimensional curved surface and a cutting path on the curved surface. The present invention relates to a cutting path searching method that inputs data specifying a projected curve projected onto a predetermined plane and finds a cutting path on a three-dimensional curved surface from these data.
〈従来技術〉
三次元金型等の設計図面上の曲面は一般に複数の断面曲
線によって表現されており、ある断面曲線と次の断面曲
線間の形状データは存在しない。ところで、数値制御加
工に際してはこのように中間の形状が与えられていない
にもかかわらず上記2つの断面曲線間を滑めらかにつな
がるように加工することが要求される。このことは、換
言するならば、上記2つの断面曲線間の曲面を、該断面
曲線のデータ等から生成し、該生成された曲面に関する
データをNCテープに穿孔し、該NCテープからの指令
により加工をしなけらばならないことを意味する。この
ため、三次元曲面体のいくつかの断面断面曲線を特定す
るデータとから所定の規則に従って複数の中間断面を生
成すると共に、該中間断面による曲面体の断面曲線(中
間断面曲線)をめ、該生成した複数の中間断面曲線によ
り三次元曲面体の曲面を生成する方法が開発され、実用
化されている。この方法によれば断面データからなめら
かな曲面を生成でき有効である。<Prior Art> A curved surface on a design drawing of a three-dimensional mold or the like is generally represented by a plurality of cross-sectional curves, and shape data between one cross-sectional curve and the next does not exist. By the way, in numerical control machining, it is required to process the two cross-sectional curves so as to smoothly connect them, even though the intermediate shape is not provided. In other words, a curved surface between the above two cross-sectional curves is generated from the data of the cross-sectional curve, data regarding the generated curved surface is perforated on an NC tape, and according to commands from the NC tape. This means that it must be processed. For this purpose, a plurality of intermediate cross sections are generated according to a predetermined rule from data specifying several cross-sectional cross-sectional curves of a three-dimensional curved surface body, and a cross-sectional curve (intermediate cross-sectional curve) of the curved surface body by the intermediate cross sections is calculated. A method of generating a curved surface of a three-dimensional curved body using the plurality of generated intermediate cross-sectional curves has been developed and put into practical use. This method is effective because it can generate a smooth curved surface from cross-sectional data.
〈従来技術の欠点〉
ところで、加工によっては曲面上に所定形状の溝切り加
工等が要求される場合があるが、従来方法では曲面を生
成することはできるが、かかる曲面上の三次元切削通路
を生成することができなかった。<Disadvantages of the prior art> By the way, depending on the processing, grooving of a predetermined shape on a curved surface may be required, and although the conventional method can generate a curved surface, it is difficult to cut a three-dimensional path on such a curved surface. could not be generated.
〈発明の目的〉
本発明の目的は三次元曲面を特定するデータと、該曲面
上の切削経路を所定平面(たとえばX−Y平面)に投影
した投影曲線データとから曲面上の該切削経路をめるこ
とができる切削経路探索方法を提供することである。<Objective of the Invention> The object of the present invention is to determine the cutting path on the curved surface from data specifying a three-dimensional curved surface and projection curve data obtained by projecting the cutting path on the curved surface onto a predetermined plane (for example, the X-Y plane). An object of the present invention is to provide a cutting path searching method that can be used to
〈発明の概要〉
第1図は本発明の概略説明図で、第1図(A)は曲面斜
視図、第1図(B)は第1図(A)の一部拡大図である
。本発明は三次元曲面41上の切削経路31をめる切削
経路探索方法であり、三次元曲面41を特定するデータ
(たとえば動作曲線11a、12a、基準曲線21a、
22aを特定するデータ)と該曲面上の切削経路31の
所定平面(XY平面)に対する投影曲線31aを特定す
るデータを入力し、三次元曲面41を多数の微小四辺形
よりなるバッチ51、51…に分割し、XY平面上投影
したバッチ51の四辺ia、ib、ja、jbと投影曲
線31aとが交叉する交叉点P1i、P2iをめ、該交
叉点P1i、P2iをそれぞれ三次元曲面41上のポイ
ントP1′iP2′iに変換してその座標値を記憶し、
得られたポイント群を順次連結してなる通路を三次元曲
面41上の切削経路31とする切削経路探索方法である
。<Summary of the Invention> FIG. 1 is a schematic explanatory diagram of the present invention, FIG. 1(A) is a curved perspective view, and FIG. 1(B) is a partially enlarged view of FIG. 1(A). The present invention is a cutting path search method for finding a cutting path 31 on a three-dimensional curved surface 41, and includes data for specifying the three-dimensional curved surface 41 (for example, operating curves 11a, 12a, reference curve 21a,
22a) and data specifying the projection curve 31a of the cutting path 31 on the curved surface with respect to a predetermined plane (XY plane) are input, and the three-dimensional curved surface 41 is shaped into batches 51, 51, . . . Find intersection points P1i, P2i where the projection curve 31a intersects the four sides ia, ib, ja, jb of the batch 51 projected on the XY plane, and place the intersection points P1i, P2i on the three-dimensional curved surface 41, respectively. Convert to point P1'iP2'i and store its coordinate values,
This is a cutting route searching method in which a path formed by sequentially connecting the obtained point group is used as the cutting route 31 on the three-dimensional curved surface 41.
〈実施例〉
第2図は本発明の実施例ブロック図、第3図は処理の流
れ図、第4図は曲面生成説明図である。<Embodiment> FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a flowchart of processing, and FIG. 4 is an explanatory diagram of curved surface generation.
第2図において、101はデータ入力用のキーボード、
102はプロセッサ、103はコントロールプログラム
記憶用のROM、104はRAM、105はワーキング
メモリ、106は生成された3次元曲面データを記憶す
る曲面記憶メモリ、106は生成された切削経路を紙テ
ープ、磁気テープなどの外部記憶媒体108に出力する
出力装置、109はアドレスバス、110はデータバス
である。In FIG. 2, 101 is a keyboard for data input;
102 is a processor, 103 is a ROM for storing a control program, 104 is a RAM, 105 is a working memory, 106 is a curved surface storage memory for storing generated three-dimensional curved surface data, and 106 is a memory for storing generated cutting paths on paper tape or magnetic tape. 109 is an address bus, and 110 is a data bus.
以下、本発明に係る切削経路探索処理について説明する
。The cutting path search process according to the present invention will be explained below.
(イ)まず、キーボード101から三次元曲面41、及
び該三次元曲面上の切削通路31をXY平面に投影した
投影曲線31aを特定するデータをそれぞれ入力する。(a) First, data specifying the three-dimensional curved surface 41 and the projection curve 31a obtained by projecting the cutting passage 31 on the three-dimensional curved surface onto the XY plane are inputted from the keyboard 101, respectively.
これら入力されたデータはRAM104に格納される。These input data are stored in the RAM 104.
尚、三次元曲面41はたとえば動作曲線11a、12a
並びに基準曲線21a、22aにより特定されるから、
これら曲線データを入力することにより三次元曲面41
は特定される。Note that the three-dimensional curved surface 41 is, for example, the motion curves 11a, 12a.
Also, since it is specified by the reference curves 21a and 22a,
By inputting these curve data, the three-dimensional curved surface 41
is specified.
(ロ)データが入力されればプロセッサ102はまず公
知の手法により曲面生成処理を実行する。第4図はかか
る曲面生成処理の説明図であり、第4図(A)において
11、12は3次元曲面体41の断面(与断面)、11
a、12aはそれぞれ与断面11、12により3次元曲
面体41を切断した場合の断面曲線で動作曲線(与断面
曲線)、21は動作曲線11a、12a上の第1の点P
1、P1′をそれぞれ含む第1の基準面、22は動作曲
線11a、12a上の第2の点P2、P2′をそれぞれ
含む第2の基準面、21a、22aはそれぞれ第1及び
第2の基準面21、22上に存在し、3次元曲面体41
の外形を特定する第1及び第2の基準曲線、13は前記
第1及び第2の基準曲線21a、22aをそれぞれm:
nに内分する点P1″、P2″を含み、且つ分割点P2
″より第1の基準面21におろした垂線と該第1の基準
面21との交点P3″をも含む中間断面である。さて、
曲面41は以下の(1)〜(6)のステップにより生成
される。すなわち、
(1)対象とする中間断面13の断面情報(分割比m:
n)をめる。換言すれば、基準曲線21a、22aをm
:nに内分する分割点P1″、P2″を含む中間断面1
3を生成する。(b) When data is input, the processor 102 first executes a curved surface generation process using a known method. FIG. 4 is an explanatory diagram of such a curved surface generation process, and in FIG.
a and 12a are cross-sectional curves when the three-dimensional curved surface body 41 is cut by the given surfaces 11 and 12, respectively, and 21 is the first point P on the motion curves 11a and 12a.
1 and P1'respectively; 22 is a second reference plane including second points P2 and P2' on the operating curves 11a and 12a, respectively; 21a and 22a are first and second reference planes, respectively; Exists on the reference planes 21 and 22, and is a three-dimensional curved body 41
The first and second reference curves 13 specify the outer shape of the first and second reference curves 21a and 22a, respectively.
Including points P1'' and P2'' that are internally divided into n, and dividing point P2
This is an intermediate cross section that also includes an intersection point P3'' between a perpendicular drawn to the first reference plane 21 and the first reference plane 21. Now,
The curved surface 41 is generated by the following steps (1) to (6). That is, (1) Cross-sectional information of the target intermediate cross-section 13 (split ratio m:
n). In other words, the reference curves 21a, 22a are
: Intermediate cross section 1 including division points P1'' and P2'' internally divided into n
Generate 3.
(2)ついで動作曲線11a、12aと、中間断面13
と第1、第2の基準曲線21a、22aとの交点P1″
、P2″を同一平面上に変換する(第4図(B))。尚
、以下の(2−1)〜(2−3)の操作を行うことによ
り動作曲線11a、12a交点P1″、P2″を同一平
面上の曲線として考えることができる。(2) Next, the operating curves 11a and 12a and the intermediate cross section 13
Intersection point P1'' with the first and second reference curves 21a and 22a
, P2'' are converted to be on the same plane (Fig. 4 (B)). By performing the following operations (2-1) to (2-3), the intersection points P1'' and P2 of the operating curves 11a and 12a are '' can be considered as curves on the same plane.
(2−1)基準曲線21aと両与断面11、12との交
点P1、P1′並びに交点P1″を同一点とする。(2-1) Let the intersection points P1, P1' and the intersection point P1'' between the reference curve 21a and the given cross sections 11 and 12 be the same point.
(2−2)基準面21と与断面′11、12、中間断面
13との交線HL、HL′、HL″を考えると、それぞ
れの交線HL、HL′、HL″は交点P1、P1′、P
1″によって2分される。(2-2) Considering the intersection lines HL, HL', HL'' between the reference plane 21, the given planes '11, 12, and the intermediate section 13, the respective intersection lines HL, HL', HL'' are at the intersections P1, P1 ',P
Divided into two by 1″.
この2分された線分を重ねる。Overlap these bisected line segments.
(2−3)基準曲線21aと与断面11、12、中間断
面13との交点P1、P1′P1″を通り、基準曲線2
1aに垂直な直線VL、VL′、VL″を各与断面11
、12、中間断面13上に考えると、それぞれの交線V
L、VL′、VL″は交点P1、P1′、P1″によっ
て2分される。この2分された線分のうち基準曲線21
aに対し同一方向にある線分を重ねてとる。(2-3) Pass through the intersections P1, P1'P1'' of the reference curve 21a, the given sections 11, 12, and the intermediate section 13, and the reference curve 2
Straight lines VL, VL', VL'' perpendicular to 1a are drawn on each given section 11.
, 12, and the intermediate cross section 13, each intersection line V
L, VL', and VL'' are divided into two by intersections P1, P1', and P1''. The reference curve 21 of this bisected line segment
Line segments in the same direction relative to a are superimposed.
(3)上記(2)のステップにより得られた所定平面上
の動作曲線11a′と12a′(第4図(B)参照)を
用いて該平面上にて中間断面曲線13bを生成する。(3) Using the operating curves 11a' and 12a' (see FIG. 4(B)) on a predetermined plane obtained in step (2) above, an intermediate cross-sectional curve 13b is generated on the plane.
この中間断面曲線13bは以下の手順により生成される
。This intermediate cross-sectional curve 13b is generated by the following procedure.
(3−1)動作曲線11a′、12a′の線長をそれぞ
れa:bに分割する点Q1、Q2を以下の手法でめる。(3-1) Points Q1 and Q2 that divide the line lengths of the operating curves 11a' and 12a' into a:b, respectively, are determined by the following method.
(3−1a)動作曲線11a′、12a′の各要素(動
作曲線を構成する線分あるいは円弧を要素と称する)の
長さをめ、それ等を合計して動作曲線11a′、12a
′の長さDをめる。(3-1a) Calculate the length of each element (line segments or circular arcs that make up the motion curve are called elements) of the motion curves 11a', 12a' and add them together to form the motion curves 11a', 12a.
Find the length D of '.
(3−1b)a/(a+b)・D=D′をめる。(3-1b) Find a/(a+b)・D=D'.
(3−1c)分割の基点となる一方の端よりD′の長さ
の位置を含む要素を抽出する。この要素の抽出は最初の
要素の長さをD1、次の要素の長さをD2、以下同様に
D3、…、Di…とするとき
となるkをめることにより行われる。(3-1c) Extract an element that includes a position of length D' from one end that is the base point of division. This element extraction is performed by finding k when the length of the first element is D1, the length of the next element is D2, and so on D3, . . . , Di, . . . .
(3−1d)k番目の要素に対し、その始点より
となるk番目の要素上の点をめる。このめた点が動作曲
線11a′、12a′を一方の端点P1、P1′からa
:bに分割する点である。尚、(3−1c)においてk
=1のとき
とする。(3-1d) For the kth element, find a point on the kth element that is closer to the starting point. These points move the operating curves 11a' and 12a' from one end point P1 and P1' to a
: This is the point of division into b. Furthermore, in (3-1c) k
= 1.
(3−2)分割点Q1とQ2を結ぶ直線をステップ(1
)の分割比m:nで分割する分割点Riを演算する(第
4図(C))。(3-2) Step (1 step) straight line connecting dividing points Q1 and Q2
) is calculated at a division point Ri at a division ratio of m:n (FIG. 4(C)).
尚、分割点Q1、Q2の座標値をそれぞれ(x1、y1
)+(x2、y2)とすれば分割点Riの座標値R1(
X、Y)は
により演算される。In addition, the coordinate values of dividing points Q1 and Q2 are respectively (x1, y1
)+(x2, y2), the coordinate value R1(
X, Y) are calculated by.
(3−3)ステップ(3−1)の分割比a:bの値を0
から1に順次変化させながらR1点(1=1.2.…)
の点列により中間断面曲線13bを生成する(第4図(
C))。尚、この分割比a:bの変化を細かくとること
により、より滑めらかな中間断面曲線13bをうること
かできる。(3-3) Set the value of division ratio a:b in step (3-1) to 0.
R1 point while changing sequentially from to 1 (1 = 1.2...)
An intermediate section curve 13b is generated by the point sequence (see Fig. 4 (
C)). Incidentally, by carefully changing the division ratio a:b, a smoother intermediate cross-sectional curve 13b can be obtained.
(4)上記(3)のステップにより得られた所定平面上
の中間断面曲線13bと交点P1″とP2″を用いて該
平面上にて中間断面曲線13a′を生成する。尚、この
中間断面曲線13a′は以下の手順により生成される。(4) Using the intermediate cross-sectional curve 13b on the predetermined plane obtained in step (3) above and the intersection points P1'' and P2'', an intermediate cross-sectional curve 13a' is generated on the plane. Note that this intermediate cross-sectional curve 13a' is generated by the following procedure.
(4−1)中間断面曲線13bの始点P1″と終点Pe
を結ぶ線分の長さkと前記交点P1″、P2″を結ぶ線
分の長さlとの比k/l並びに、角度PeP1″P2″
の線分P1″PeよりP1″P2″へとった右回りを正
とする回転角θを演算する(第4図(D))。(4-1) Starting point P1″ and ending point Pe of intermediate cross-sectional curve 13b
The ratio k/l of the length k of the line segment connecting the above and the length l of the line segment connecting the intersections P1'' and P2'', and the angle PeP1''P2''
The rotation angle θ taken from the line segment P1″Pe to P1″P2″ with the clockwise rotation being positive is calculated (FIG. 4(D)).
(4−2)中間断面曲線13bをa:bに分割する分割
点Slをステップ(3−1a)〜(3−1d)と同一手
法でめる。(4-2) Determine the dividing point Sl that divides the intermediate cross-sectional curve 13b into a:b using the same method as steps (3-1a) to (3-1d).
(4−3)線分P1Slをk:lで外分する外分点Sl
′をθ回転させたときの点Sl″を演算する(第4図(
D))。(4-3) External division point Sl that externally divides line segment P1Sl by k:l
' is rotated by θ and calculates the point Sl'' (see Figure 4 (
D)).
尚、中間断面曲線13bをa:bに分割する分割点Sl
の座標を(xi、yi)、P1″の座標をx0、y0)
.Sl″の座標を(X、Y)とすればによりSl″の座
標値がまる。Note that the dividing point Sl that divides the intermediate cross-sectional curve 13b into a:b
The coordinates of P1″ are (xi, yi), and the coordinates of P1″ are x0, y0)
.. If the coordinates of Sl'' are (X, Y), then the coordinate values of Sl'' will be smaller.
(4−4)・ステップ(4−2)の分割比a/bの値を
0から1に順次変化させなからSl″点(i=1、2、
3…)の点列により中間断面曲線13a′を生成する(
第4図(D))。尚、この分割比a/bの変化を細かく
とることにより、より滑めらかな中間断面曲線13a′
をうることができる。(4-4) - Since the value of the division ratio a/b in step (4-2) is changed sequentially from 0 to 1, the Sl'' point (i=1, 2,
3...) to generate the intermediate cross-sectional curve 13a' (
Figure 4(D)). Incidentally, by carefully changing the division ratio a/b, a smoother intermediate cross-sectional curve 13a' can be obtained.
can be obtained.
(5)・ステップ(4)で得られた所定平面上での中間
断面曲線13a′を定義空間内の中間断面13(第4図
(E))上に変換すれば、基準曲線21a、22aをm
:nに分割する分割点P1″、P2″を含む中間断面1
3による中間断面曲線13aが生成される。(5) - If the intermediate cross-section curve 13a' on the predetermined plane obtained in step (4) is converted onto the intermediate cross-section 13 (Fig. 4 (E)) in the defined space, the reference curves 21a and 22a can be m
: Intermediate cross section 1 including dividing points P1'' and P2'' divided into n
3 is generated.
(6)・以上のステップ(2)〜(5)をステップ(1
)における分割比m/nをOから1に順次変換させて実
行すれば三次元曲面41が生成される。尚、第5図に示
すように基準曲線21a上のj番目の分割点を含む中間
断面曲線を13a(j)と表現し、各中間断面曲線13
a(j)(j=1、2、…n)の1番目の分割点を連結
してなる曲線を14(i)と表現するとき、曲線13a
(j)、13a(j+1)14(i)、14(i+1)
により囲まれる四辺形をバッチP(i、j)という。そ
して、バッチP(i、j)の4つの頂点Q1、Q2、Q
3、Q4はそれぞれ上記曲面生成処理により作成されて
曲面記憶メモリ106に記憶されている。(6)・Set steps (2) to (5) above in step (1)
), the three-dimensional curved surface 41 is generated by sequentially converting the division ratio m/n from O to 1. Incidentally, as shown in FIG. 5, the intermediate section curve including the j-th division point on the reference curve 21a is expressed as 13a(j),
When expressing the curve formed by connecting the first division points of a(j) (j=1, 2,...n) as 14(i), the curve 13a
(j), 13a (j+1) 14(i), 14(i+1)
The quadrilateral surrounded by is called a batch P(i,j). Then, the four vertices Q1, Q2, Q of batch P(i,j)
3 and Q4 are each created by the above curved surface generation process and stored in the curved surface storage memory 106.
以上のステップ(ロ)により曲面生成処理が完了すれば
プロセッサ102は切削経路探索処理を開始する。When the curved surface generation process is completed through the above step (b), the processor 102 starts the cutting route search process.
(ハ)まず、0→i、0→jとする。(c) First, let 0→i and 0→j.
(ニ)バッチP(i、j)の4つの頂点Q1〜Q4の座
標値を曲面記憶メモリ106がらワーキングメモリ10
5に読み出し、しかる後バッチP(i、j)をXY平面
上に投影してなる四辺形が投影曲線31aの始点Q5を
包含するか(投影曲線と交叉するか)を判別する。(d) The coordinate values of the four vertices Q1 to Q4 of batch P(i, j) are stored in the working memory 10 from the curved surface memory memory 106.
5, and then it is determined whether the quadrilateral formed by projecting the batch P(i, j) onto the XY plane includes the starting point Q5 of the projection curve 31a (does it intersect with the projection curve)?
(ホ)ステップ(ニ)において、交叉しなければi≦(
M−1)(5)
かどうかを判別する。尚、Mは中間断面曲線の最大分割
数である。(e) In step (d), if there is no crossover, i≦(
M-1) (5) Determine whether or not. Note that M is the maximum number of divisions of the intermediate cross-sectional curve.
(へ)ステップ(ホ)の判別により(5)式を満足して
いれば
i+1→j
としてステップ(2)へ飛び投影曲線31aと交叉する
バッチを探索する処理を行なう。(v) If the equation (5) is satisfied by the determination in step (e), the process moves to step (2) as i+1→j and performs processing to search for a batch that intersects the projection curve 31a.
(ト)ステップ(ホ)の判別により(5)式が満たされ
ていなければ
0→1、j+1→j
として、ステップ(ニ)へ飛び投影曲線31aと交叉す
るバッチの探索処理行なう。(g) If the equation (5) is not satisfied as determined in step (e), 0→1, j+1→j, and the process jumps to step (d) to search for a batch that intersects the projection curve 31a.
一方、ステップ(ニ)の判別処理においてバッチP(i
、j)が投影曲線31aと交叉していれば以下の処理を
行なう。On the other hand, in the determination process of step (d), batch P(i
, j) intersects the projection curve 31a, the following processing is performed.
(4)投影曲線31aと、バッチP(i.j)をXY平
面上に投影してなる四辺ia、ib、ja、jb(第1
図(B)参照)のうち所定の2辺との交叉点P1iP2
iの座標値(x1i、y1i)、(x2i、y2i)を
算出してワーキングメモリ105に記憶する。尚、四辺
ia、ib、ja、jbをそれぞれ直線とみなすことに
より、バッチP(i、j)の4つの頂点Q1〜Q4の座
標値と投影曲線データとから交叉点P1i、P2iの座
標値が算出される。又、バッチP(i、j)の4つの頂
点Q1−Q4の座標値(xi、yi、zi)(i=1、
2、3、4)は曲面記憶メモリ106からワーキングメ
モリ105に読み出されている。(4) Projection curve 31a and four sides ia, ib, ja, jb (first
(see figure (B)), the intersection point P1iP2 with two predetermined sides
The coordinate values of i (x1i, y1i) and (x2i, y2i) are calculated and stored in working memory 105. By regarding the four sides ia, ib, ja, and jb as straight lines, the coordinate values of the intersection points P1i and P2i can be calculated from the coordinate values of the four vertices Q1 to Q4 of batch P(i, j) and the projection curve data. Calculated. Also, the coordinate values (xi, yi, zi) of the four vertices Q1-Q4 of batch P(i, j) (i=1,
2, 3, and 4) are read out from the curved surface storage memory 106 to the working memory 105.
(リ)交叉点P1i、P2iの座標値がまれば、該交叉
点に対応する三次元曲面41上のポイントP1i′、P
2i′のZ軸座標値z1i、z2iを次式によりめる。(li) If the coordinate values of the intersection points P1i and P2i are equal, then the points P1i' and P on the three-dimensional curved surface 41 corresponding to the intersection points
The Z-axis coordinate values z1i and z2i of 2i' are determined by the following equation.
今、投影曲線31aが辺ia、ibと交叉するものとし
(第1図(B)参照)辺iaの端点をQ1′Q2′、辺
ibの端点をQ3′、Q4′とし、点Q1′、Q2′、
Q3′、Q4′に対応する三次元曲面上のポイントをQ
1、Q2、Q3、Q4各ポイントQ1〜Q4の座標値を
(x1、y1、z1)、(x2、y2、z2)、(x3
、y3、z3)、、(x4、y4、z4)とすれば、z
1i、z2iはそれぞれ
より算出される。尚、(6)、(7)式に替えて、より
ポイントP1i′、P2i′の2軸座標値をめてもよい
。Now, assume that the projection curve 31a intersects sides ia and ib (see Fig. 1(B)), and let the end points of side ia be Q1'Q2', the end points of side ib be Q3' and Q4', and point Q1', Q2′,
The point on the three-dimensional surface corresponding to Q3' and Q4' is Q
1, Q2, Q3, Q4 The coordinate values of each point Q1 to Q4 are (x1, y1, z1), (x2, y2, z2), (x3
, y3, z3), , (x4, y4, z4), then z
1i and z2i are calculated from each. Note that instead of formulas (6) and (7), the two-axis coordinate values of points P1i' and P2i' may be determined.
(ヌ)しかる後、(x1i、y1i、z1i)、(x2
i、y2i、z2i)をそれぞれ三次元曲面41上の切
削通路31上のポイントP1i′、P2i′としてRA
M104に記憶する。(nu) After that, (x1i, y1i, z1i), (x2
i, y2i, z2i) as points P1i' and P2i' on the cutting path 31 on the three-dimensional curved surface 41, respectively.
Store in M104.
(ル)ついで、投影曲線31aが交叉する次のバッチを
める。尚、第6図から明らかなように投影曲線31aが
交叉する次のバッチはパッチP(i、j)を囲む4つの
バッチP(i−1、j)、P(i、j−1)、P(i+
1、j)、P(i、j+1)のうちのどれか1つである
。但し、バッチP(i、j)の頂点Q1′〜Q4′を投
影曲線31aが通る場合を考えると投影曲線31aが交
叉する次のバッチはバッチP(i、j)を囲む8つのバ
ッチのどれかであるが実施例では頂点Q1′〜Q4′を
通らないものとして説明する。(l) Next, find the next batch where the projection curves 31a intersect. As is clear from FIG. 6, the next batch where the projection curve 31a intersects is the four batches P(i-1, j), P(i, j-1), P(i, j-1) surrounding the patch P(i, j). P(i+
1, j), P(i, j+1). However, considering the case where the projection curve 31a passes through the vertices Q1' to Q4' of the batch P(i, j), which of the eight batches surrounding the batch P(i, j) is the next batch that the projection curve 31a intersects? However, in the embodiment, the description will be made assuming that the vertices do not pass through the vertices Q1' to Q4'.
従って、バッチP(i−1、j)、P(i、j−1)、
P(i+1、j)、P(i、j+1)のうち投影曲線3
1aと交叉するバッチをめ、そのバッチを新たにP(i
、j)としてステップ(チ)へ飛び切削経路探索処理を
行なう。尚、第6図矢印方向に各パッチと交叉する交叉
点がめられてきたときには、投影曲線31aはパッチP
(i、j+1)と交叉するが、既に利用されたバッチP
(i、j−1)は捨てる。Therefore, batches P(i-1,j), P(i,j-1),
Projection curve 3 among P(i+1,j) and P(i,j+1)
Find a batch that intersects with 1a, and create a new batch of P(i
, j), the process jumps to step (h) and performs a cutting route search process. Incidentally, when the intersection point that intersects each patch is found in the direction of the arrow in FIG.
Batch P that intersects (i, j+1) but has already been used
(i, j-1) is discarded.
(ヲ)ステップ(ル)の処理において投影曲線が交叉す
るバッチが存在しなければ、切削経路が生成されたもの
として処理を終了する。しかる後RAM104に記憶さ
れた切削経路データを出力装置107を介して外部記憶
媒体に出力すればNCデータの作成処理が完了する。(2) If there is no batch in which the projection curves intersect in the process of step (1), it is assumed that the cutting path has been generated and the process ends. Thereafter, if the cutting path data stored in the RAM 104 is output to an external storage medium via the output device 107, the NC data creation process is completed.
尚、以上においてはXY平面に三次元曲面上の切削通路
を投影した投影曲線データを入力した場合について説明
したが、本発明は係る場合に限定されるものではなく、
YZ平面、Z−X平面等に投影した投影曲線データを入
力するように構成してもよい。又、工具中心軸ベクトル
については説明の都合上省略したが、(6)〜(7)式
の比例配分の手法により工具中心軸ベクトルを演算でき
ることは当然である。更に、投影曲線の始点を含むバッ
チの探索においては該投影曲線の始点における向きが右
下り、右上り、左下り、左上りのときにはそれぞれバッ
チP(0、0)、P(M、O)、P(0、N)、P(M
、N)から第6図矢印方向に向けてバッチ探索処理を行
なうとよい。In addition, although the case where the projection curve data which projected the cutting path on a three-dimensional curved surface on the XY plane was inputted above was described, the present invention is not limited to such a case.
It may be configured to input projection curve data projected onto a YZ plane, a Z-X plane, or the like. Further, although the tool center axis vector has been omitted for convenience of explanation, it goes without saying that the tool center axis vector can be calculated by the proportional allocation method of equations (6) to (7). Furthermore, when searching for a batch that includes the starting point of a projection curve, when the direction of the starting point of the projection curve is downward to the right, upward to the right, downward to the left, or upward to the left, the batches P(0, 0), P(M, O), P(0, N), P(M
, N) in the direction of the arrow in FIG. 6.
又、投影曲線の始点がバッチの四辺上に存在しない場合
には、投影曲線の始点データと、該始点を含むバッチの
頂点座標値から、曲面上の始点座標値が得られる。Further, if the starting point of the projection curve does not exist on the four sides of the batch, the starting point coordinate value on the curved surface is obtained from the starting point data of the projection curve and the vertex coordinate value of the batch including the starting point.
〈発明の効果〉
以上、本発明によれば三次元曲面を特定するデータと該
曲面上の切削経路の所定平面に対する投影曲線を特定す
るデータを入力し、前記三次元曲面を多数の微小四辺形
よりなるバッチに分割し、前記平面上に投影したバッチ
の四辺と前記投影曲線とが交叉する交叉点P1i、P2
iをめ、該交叉点P1i、P2iをそれぞれ前記三次元
曲面上のポイントをP1i′、P2i′に変換して記憶
し、得られたポイント群を順次連結してなる通路を三次
元曲面上の切削経路としたから、三次元曲面上の曲線に
沿った溝切りなどのNCデータを提供でき有効である。<Effects of the Invention> As described above, according to the present invention, data specifying a three-dimensional curved surface and data specifying a projection curve of a cutting path on the curved surface with respect to a predetermined plane are input, and the three-dimensional curved surface is shaped into a large number of micro quadrilaterals. Intersection points P1i, P2 where the projection curve intersects the four sides of the batch divided into batches and projected onto the plane.
i, the intersection points P1i and P2i are converted and stored as points on the three-dimensional curved surface into P1i' and P2i', respectively, and a path formed by sequentially connecting the obtained points is created on the three-dimensional curved surface. Since it is a cutting path, it is effective because it can provide NC data such as grooving along a curve on a three-dimensional curved surface.
第1図は本発明の概略説明図、第2図は本発明の実施例
ブロック図、第3図は本発明の処理の流れ図、第4図は
曲面生成法説明図、第5図及び第6図は本発明の説明図
である。
101…キーボード、102…プロセッサ、103…R
OM、104…RAM、
105…ワーキングメモリ、
106…3次元曲面記憶メモリ、
107…NCデータ出力装置。
特許出願人ファナック株式会社
代理人弁理士身藤千幹
jF;圀CA)
蓼1図(B)FIG. 1 is a schematic explanatory diagram of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a flowchart of the processing of the present invention, FIG. 4 is an explanatory diagram of the curved surface generation method, and FIGS. 5 and 6 The figure is an explanatory diagram of the present invention. 101...keyboard, 102...processor, 103...R
OM, 104... RAM, 105... Working memory, 106... Three-dimensional curved surface storage memory, 107... NC data output device. Patent applicant FANUC Co., Ltd. Representative Patent Attorney Chiki Mito JF; Kuni CA) Figure 1 (B)
Claims (3)
において、該三次元曲面を特定するデータと該曲面上の
切削経路を所定平面に投影した投影曲線を特定するデー
タを入力し、前記三次元曲面を多数の微小四辺形よりな
るバッチに分割し、前記平面上に投影したバッチの四辺
と前記投影曲線とが交叉する交叉点をめ、該交叉点をそ
れぞれ前記三次元曲面上のポイントに変換してその座標
値記憶し、同様に得られたポイント群を順次連結してな
る通路を三次元曲面上の切削経路とすることを特徴とす
る切削経路探索方法。(1) In a cutting path search method for determining a cutting path on a three-dimensional curved surface, inputting data specifying the three-dimensional curved surface and data specifying a projection curve obtained by projecting the cutting path on the curved surface onto a predetermined plane, Divide the three-dimensional curved surface into batches consisting of a large number of micro quadrilaterals, find intersection points where the four sides of the batch projected onto the plane intersect with the projection curve, and place the intersection points on each of the three-dimensional curved surfaces. A cutting path searching method characterized by converting the points into points and storing their coordinate values, and defining a path formed by sequentially connecting a group of similarly obtained points as a cutting path on a three-dimensional curved surface.
曲線と交叉する辺の端点Q1′Q2′に対応する3次元
曲面上のポイントQ1、Q2の座標値と、前記交叉点の
座標値とを用いて比例配分により該交叉点に対応する三
次元曲面上ポイントの第3軸座標値をめることを特徴と
する特許請求の範囲第(1)項記載の切削経路探索方法
。(2) The coordinate values of points Q1 and Q2 on the three-dimensional curved surface corresponding to the end point Q1'Q2' of the side that intersects the projection curve among the four sides of the batch projected on the plane, and the coordinate value of the intersection point. The method for searching a cutting path according to claim 1, wherein the third axis coordinate value of a point on the three-dimensional curved surface corresponding to the intersection point is determined by proportional allocation using .
成し、前記投影曲線と交叉するバッチを囲むバッチ群の
中から、該投影曲線と交叉する次のバッチを選択するこ
とを特徴とする特許請求の範囲第(1)項又は第(2)
項記載の切削経路探索方法。(3) A patent characterized in that batches on the three-dimensional curved surface are created in a matrix form, and the next batch that intersects with the projection curve is selected from a group of batches surrounding the batch that intersects with the projection curve. Claims paragraph (1) or (2)
Cutting path search method described in section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15743183A JPH0249858B2 (en) | 1983-08-29 | 1983-08-29 | SETSUSAKUKEIROTANSAKUHOHO |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15743183A JPH0249858B2 (en) | 1983-08-29 | 1983-08-29 | SETSUSAKUKEIROTANSAKUHOHO |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6048244A true JPS6048244A (en) | 1985-03-15 |
| JPH0249858B2 JPH0249858B2 (en) | 1990-10-31 |
Family
ID=15649488
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15743183A Expired - Lifetime JPH0249858B2 (en) | 1983-08-29 | 1983-08-29 | SETSUSAKUKEIROTANSAKUHOHO |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0249858B2 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62169210A (en) * | 1986-01-22 | 1987-07-25 | Okuma Mach Works Ltd | System for generating tool locus in nc data generating device |
| JPS6324306A (en) * | 1986-07-16 | 1988-02-01 | Honda Motor Co Ltd | Generating method for tool path data |
| JPS6334063A (en) * | 1986-07-29 | 1988-02-13 | Mitsubishi Electric Corp | Polishing method |
| JPS63244112A (en) * | 1987-03-30 | 1988-10-11 | Toshiba Mach Co Ltd | Generation of 3-dimensional free curved surface |
-
1983
- 1983-08-29 JP JP15743183A patent/JPH0249858B2/en not_active Expired - Lifetime
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62169210A (en) * | 1986-01-22 | 1987-07-25 | Okuma Mach Works Ltd | System for generating tool locus in nc data generating device |
| JPS6324306A (en) * | 1986-07-16 | 1988-02-01 | Honda Motor Co Ltd | Generating method for tool path data |
| JPS6334063A (en) * | 1986-07-29 | 1988-02-13 | Mitsubishi Electric Corp | Polishing method |
| JPS63244112A (en) * | 1987-03-30 | 1988-10-11 | Toshiba Mach Co Ltd | Generation of 3-dimensional free curved surface |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0249858B2 (en) | 1990-10-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0041854A1 (en) | A method of mechining a three-dimensional curved surface | |
| EP0068031B1 (en) | Curved surface forming method | |
| JPH0373882B2 (en) | ||
| WO2016013043A1 (en) | Display device and display method | |
| JP2009037381A (en) | Apparatus, method and program for creating tool reference plane | |
| US4870597A (en) | Complex curved surface creation method | |
| US4825377A (en) | Complex curved surface creation method | |
| JPH0152141B2 (en) | ||
| JP2002207504A (en) | Three-dimensional shape data generation method and three-dimensional shape data generation device | |
| JPS6048244A (en) | Cutting path searching method | |
| JPH09190551A (en) | 3D shape drawing method | |
| JPH067362B2 (en) | Compound surface generation method | |
| KR900007163B1 (en) | Method of forming composite curved surface | |
| JPH0664486B2 (en) | 3D curve creation method | |
| JPS63204413A (en) | Curved surface generation method | |
| WO1988000367A1 (en) | Method of forming cutting path of composite curved plane | |
| WO1993001535A1 (en) | Method for specifying position where fillet curved surface is located | |
| JPH069007B2 (en) | NC data creation method for compound curved surface | |
| JP2629759B2 (en) | Data generation method for numerical control machining | |
| JPH09269809A (en) | Free-form surface processing data creation device and free-form surface processing data creation method | |
| US5151864A (en) | Method of generating cutting passes of complex curved surface | |
| JPH04155585A (en) | Face kind deciding system for three-dimensional wire frame | |
| JP2980820B2 (en) | Method of creating shape data for mold processing | |
| JP2007286858A (en) | Surface model creation device and creation method | |
| JPH05346814A (en) | Three-dimensional machining method |