JPH01120603A - Numerically controlled working method - Google Patents
Numerically controlled working methodInfo
- Publication number
- JPH01120603A JPH01120603A JP27875887A JP27875887A JPH01120603A JP H01120603 A JPH01120603 A JP H01120603A JP 27875887 A JP27875887 A JP 27875887A JP 27875887 A JP27875887 A JP 27875887A JP H01120603 A JPH01120603 A JP H01120603A
- Authority
- JP
- Japan
- Prior art keywords
- points
- point
- vector
- curve
- passing
- 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.)
- Pending
Links
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は数値制御加工方法に関し、特に被加工物の輪郭
等を、与えられた点群を通る三次元曲線に沿って加工す
るのに好適な数値制御加工方法に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a numerically controlled machining method, and is particularly suitable for machining the contour of a workpiece along a three-dimensional curve passing through a given point group. This paper relates to a numerically controlled machining method.
与えられた4つの通過点の連続3点の情報から、中央の
通過点を通る平面を定め、その平面上に他の3つの通過
点の情報で定まる点を求め、この点と2つの通過点とを
制御点として2次ベジェ曲線を生成し、これを3次に次
数を上げることにより、4点を通る3次ベジェ曲線を発
生させることを特徴とし、加工情報の高速生成を可能に
すると共に、通過点の局所変更を容易にし、設計能率を
向上させた数値加工方法である。From the information of three successive points of the four given passing points, determine a plane that passes through the central passing point, find a point on that plane that is determined by the information of the other three passing points, and connect this point and the two passing points. A quadratic Bezier curve is generated using the and as control points, and by increasing the degree to the third degree, a cubic Bezier curve passing through four points is generated, which enables high-speed generation of machining information. , is a numerical processing method that facilitates local changes in passing points and improves design efficiency.
計算機内部で3次元自由曲面のデータを扱い、これらの
データから最終的な製品又は金型をNC工作機械等で自
動加工するためのNCデータ(工具経路データ)を生成
するCAD/CAMシステムが実用化されつつある。A CAD/CAM system that handles three-dimensional free-form surface data inside a computer and generates NC data (tool path data) for automatically machining final products or molds using NC machine tools, etc. is now in practical use. It is becoming more and more popular.
計算機内で製品外形等の曲面を扱う場合、形状の制御性
が良い(変形や修正が容易)とか計算が容易であると云
った設計に好ましい性質を持つべいる。3次元モデルは
、これらの式によって計算することができる線素で構成
された面素(パンチ)の集合として表される。When handling curved surfaces such as product external shapes in a computer, it is desirable to have properties that are favorable for design, such as good shape controllability (easy deformation and modification) and easy calculation. A three-dimensional model is represented as a set of surface elements (punch) made up of line elements that can be calculated using these formulas.
線素は、一般には、通過点を指定して生成したベジェ曲
線から成る三次元自由曲線で定義される。A line element is generally defined as a three-dimensional free curve consisting of a Bezier curve generated by specifying passing points.
このようなベジェ曲線は、従来では、与えられた点群を
通過するB−スプライン曲線をまず生成し、その制御点
からベジェ曲線の制御点を決定していた。Conventionally, such a Bezier curve has been created by first generating a B-spline curve that passes through a given point group, and then determining the control points of the Bezier curve from the control points of the B-spline curve.
CADシステムでは、モデルの局所制御を行うことは、
対話形インターフェースを作る上で極めて重要である。In a CAD system, local control of a model is
This is extremely important in creating an interactive interface.
例えば、第7図に示すように被加工物の断面形状を設計
する場合、点群P、SP、 −・−・−・・・−・を与
え、これらの点群の総てを通るベジェ曲線を生成する。For example, when designing the cross-sectional shape of a workpiece as shown in Fig. 7, a group of points P, SP, -・-・−・・・ is given, and a Bezier curve passing through all of these points is created. generate.
ところが−次的な計算結果では、図のX部に示されるよ
うに加工輪郭線がへこんでしまうことがある。また縦横
の寸法、A、Bが与えられた設計値を外れることもある
。このような゛場合には、点群の幾つかを再設定し、所
望の輪郭が得られるように外形線を計算し直す。However, in the secondary calculation results, the machining contour line may become depressed as shown in the X part of the figure. Further, the vertical and horizontal dimensions, A and B, may deviate from the given design values. In such a case, some of the points are reset and the outline is recalculated to obtain the desired outline.
ところが上述のB−スプライン曲線を媒介にしてベジェ
曲線を生成する方法では、曲線の局所変更を行うのに極
めて多大の計算をする必要があり、実質的に部分修正が
困難と云う欠点がある。However, the method of generating a Bezier curve using the B-spline curve as described above requires an extremely large amount of calculation to locally change the curve, and has the disadvantage that it is substantially difficult to make partial corrections.
第8図に例示すると、通過点P0、Pl−・−−−−一
一一−−・−・Ph(夫々三次元位置ベクトル)が与え
られているとき、各点を通るB−スプライン曲線は制御
点Qい口、−・−・−・−・−Q、(夫々三次元位置ベ
クトル)により、−次の連立方程式で定義される。As an example in FIG. 8, when passing points P0, Pl-・----111--・Ph (each three-dimensional position vector) are given, the B-spline curve passing through each point is The control point Q is defined by the -order simultaneous equations by the control points Q, -.
これらの式より制御点ベクトルQ+−Qs(白丸で示す
)を求め、次に制御点間を直線で結び、三分割してベジ
ェ曲線の制御点(黒丸で示す)を計算する。A control point vector Q+-Qs (indicated by white circles) is obtained from these equations, and then the control points are connected with straight lines and divided into three to calculate control points (indicated by black circles) of the Bezier curve.
従ってp、/のように通過点を局所変更すると、口、〜
Ω、を再計算しなければならない。Therefore, if we locally change the passing point like p, /, the mouth, ~
Ω, must be recalculated.
またベジェ曲線を生成するのに、中間にB−スプライン
曲線の制御点を求めなければならないので、効率が悪い
。なおり−スプライン曲線は曲率連続と云う特長がある
が、三次元モデリングの場合には接平面連続の条件を与
えるので、B−スプライン曲線を生成することの実用的
な価値は少ない。Furthermore, in order to generate a Bezier curve, control points of the B-spline curve must be found in the middle, which is inefficient. Although the Naori-spline curve has the feature of continuous curvature, in the case of three-dimensional modeling, the condition of tangential plane continuity is given, so generating a B-spline curve has little practical value.
本発明はこの問題にかんがみ、与えられた点群を通るベ
ジェ曲線を直接生成することができ、従って被加工物の
輪郭線の局所変更が極めて容易な数値加工データ生成方
法を提供することを目的とする。In view of this problem, it is an object of the present invention to provide a numerical processing data generation method that can directly generate a Bezier curve passing through a given point group, and therefore makes it extremely easy to locally change the outline of a workpiece. shall be.
数値制御加工する加工曲線を定めるためにまず通過点群
が与えられる。In order to determine the machining curve for numerically controlled machining, a group of passing points is first given.
次に、連続した4点Pl−Paを取出し、そのうちの3
点P2〜P#に関し、中央の点P、から両側の点に向か
う2つの弦ベクトルの情報を基にして定められた法線ベ
クトルを持ち且つ点P1を通る平面π。Next, take out 4 consecutive points Pl-Pa and 3 of them
Regarding points P2 to P#, a plane π that has a normal vector determined based on information on two chord vectors from the center point P toward points on both sides and passes through point P1.
を定める。Establish.
次に、上記4点のうちの他の連続した3点P1〜P2を
通る平面上にあり且つP!を通る直線12を定める。Next, P! A straight line 12 passing through is determined.
次に、上記直’sitと上記平面π2との交点Qtを求
め、点P8、Q+、Psを制御点とする2次ベジェ曲線
を生成し、これを3次に次数変換して3次ベジェ曲線を
生成する。Next, find the intersection point Qt of the above straight 'sit and the above plane π2, generate a quadratic Bezier curve with points P8, Q+, and Ps as control points, and transform this to a cubic degree to form a cubic Bezier curve. generate.
このようにして生成した曲線を被加工物の輪郭線とする
数値制御加工データを得る。Numerical control machining data is obtained using the curve thus generated as the contour line of the workpiece.
平面π2は3点pt−p、の情報で定まり、直線ltは
3点P I”” P 3の情報で定める。従って連続し
た4点P1〜P4の情報を基に各点を通るベジェ曲線が
直接生成される。The plane π2 is determined by the information of the three points pt-p, and the straight line lt is determined by the information of the three points PI''''P3. Therefore, a Bezier curve passing through each point is directly generated based on the information of the four consecutive points P1 to P4.
第1図に与えられた点群を通るベジェ曲線の第1の実施
例の生成方法を示し、第2図にフローチャートを示す。FIG. 1 shows a method for generating a first embodiment of a Bezier curve passing through a given point group, and FIG. 2 shows a flowchart.
この第1方法は、3平面の交点を2次のベジェ曲線の制
御点とし、代数演算で2次から3次に次数を上げること
を特徴とする。This first method is characterized in that the intersection of three planes is used as a control point of a quadratic Bezier curve, and the order is increased from quadratic to cubic through algebraic calculations.
第1図において、与えられた通過点はp、、 p、、P
l、P4であり、三次元位置ベクトルのデータで与えら
れている。まず第2図に示すように、ステップS1で点
P2からPlへ向かう弦ベクトルPtP+を正規化して
ベクトルaとする。同様に点P2からP、へ向かう弦ベ
クトルPtPsを正規化してベクトルbとする。更にベ
クトルa、bの和をベクトルn、とする。このベクトル
n、はベクトルa、bの真中に位置する0次にベクトル
n1を法線ベクトルとり、p、通る平面をπ1 とする
(ステップS2)。In Figure 1, the given passing points are p, , p, , P
l, P4, and is given as three-dimensional position vector data. First, as shown in FIG. 2, in step S1, the string vector PtP+ directed from point P2 to Pl is normalized to vector a. Similarly, the string vector PtPs going from point P2 to P is normalized and set as vector b. Furthermore, let the sum of vectors a and b be vector n. For this vector n, the zero-order vector n1 located in the middle of vectors a and b is taken as a normal vector, and the plane passing through p is set as π1 (step S2).
同様に、通過点Pt−Ps、P4についてステップs1
、S2と同様にして法線ベクトルn2を求め、点P3を
通る平面をπ2とする(ステップS3、S4)。次にス
テップS5で、点P1、P2、P、を通る平面をπ、と
し、平面π3、π8、πコの交点を求めて口2とする(
ステップS6)、次にステップS7で、P2、Q2、h
(P2、P、は端点)を制御点とする2次のベジェ曲
線C2を生成し、ステップS8で曲線c2の次数を2次
から3次に上げ、3次のベジェ曲線の制御点02′、Q
t#を得る。Similarly, step s1 for passing points Pt-Ps, P4
, S2, the normal vector n2 is obtained, and the plane passing through the point P3 is defined as π2 (steps S3, S4). Next, in step S5, the plane passing through the points P1, P2, and P is set to π, and the intersection of the planes π3, π8, and π is determined as mouth 2 (
step S6), then in step S7, P2, Q2, h
A quadratic Bezier curve C2 with (P2, P, is an end point) as a control point is generated, and in step S8, the order of the curve c2 is increased from quadratic to cubic, and the control point 02' of the cubic Bezier curve is Q
Get t#.
与えられた通過点がn個の場合には、第2図の説明にお
いて添字1.2.3を、−1、va 、nol とし1
.−8〜7.8について繰り返し行えば、各通過点を通
り連続したベジェ曲線Ct ” C、−zが得られる。When the number of given passing points is n, the subscript 1.2.3 in the explanation of Fig. 2 is changed to -1, va, nol and 1.
.. If the process is repeated for -8 to 7.8, a continuous Bezier curve Ct''C, -z passing through each passing point can be obtained.
なお端点P、の処理については、第2図のステップS9
でまずP、にて任意の接線方向ベクトルvIを与える0
次にステップSIOでベクトルvlの延長線らとステッ
プS2で得られた平面π、との交点Q1を求める。次に
ステップSllでPl、Pt (端点)及びQ+を制御
点とする2次のベジェ曲線c1を生成し、次のステップ
S12で2次から3次に変換して、3次のベジェ曲線を
定義する新たな制御点Q+ ’ 、Q+・“を計算する
。Regarding the processing of the end point P, please refer to step S9 in FIG.
First, give an arbitrary tangential vector vI at P, 0
Next, in step SIO, the intersection Q1 between the extension line of the vector vl and the plane π obtained in step S2 is determined. Next, in step Sll, a quadratic Bezier curve c1 is generated with Pl, Pt (end points) and Q+ as control points, and in the next step S12, the quadratic to cubic curve is converted to define a cubic Bezier curve. new control points Q+', Q+.'' are calculated.
もう一方の端点P、(、=4)も同様であり、ステプS
13でP4に接線ベクトルVtを与えて、以下ステップ
39〜S12と同じ処理を行う。即ち、平面π11−1
とV、の延長線12との交点Q1%−1を制御点とし、
終端部のベジェ曲線CM−1を得て、次数変換する。The same is true for the other end point P, (,=4), and step S
At step 13, the tangent vector Vt is given to P4, and the same processing as steps 39 to S12 is performed. That is, the plane π11-1
Let the intersection Q1%-1 of the extension line 12 of and V be the control point,
A Bezier curve CM-1 at the terminal end is obtained and the order is converted.
なお2次のベジェ曲線を演算操作で3次に変換しても曲
線の形状は変化しない、その証明は以下のとおりである
。The shape of the curve does not change even if a quadratic Bezier curve is transformed into a cubic one by arithmetic operations.The proof of this is as follows.
第3図に示すように、3次元空間内に与えられたPo、
Pt (端点)及びP、から成る3つの制御点ベクトル
によって表されるベジェ曲線は、R(t) = (1−
t + tH) ”Po −−−−−−−−−−(1
)で表される。tは両端点間でO〜1の値を取るパラメ
ータである。またEは各制御点を示すシフト演算子であ
って、P+ ”EPo 、Pg−E”P+である。As shown in Fig. 3, Po given in three-dimensional space,
A Bezier curve represented by three control point vectors consisting of Pt (endpoint) and P, is R(t) = (1-
t + tH) ”Po −−−−−−−−−(1
). t is a parameter that takes a value of O to 1 between both end points. Further, E is a shift operator indicating each control point, and is P+"EPo, Pg-E"P+.
同様に3次のベジェ曲線は、 R(t) −(1−t + tE) ”P。Similarly, the cubic Bezier curve is R(t)-(1-t+tE)"P.
=(1−’t)3po+ 3(1−t)”EPG+ 3
(1−t) t ”E”PO+t”E’po・・−・・
−・(2)で表される。Po、EPO、E仲。、E”P
oは第3図では、3次ベジェ曲線の4つの制御点P0、
Ql、Q2、P2に夫々対応する(f!Po −Q+、
tH”Po=Qz、E’Po−Pg)。=(1-'t)3po+3(1-t)"EPG+3
(1-t) t "E"PO+t"E'po...
−・Represented by (2). Po, EPO, E Naka. ,E”P
In Fig. 3, o is the four control points P0 of the cubic Bezier curve,
Corresponding to Ql, Q2, and P2, respectively (f!Po −Q+,
tH"Po=Qz, E'Po-Pg).
第1式の両辺に(1−t) +t、 −1を掛けると、
((1−t) + t ) R(t)
= ((1t)+t)f(1t)”P0+ 2(1t)
tP+ +t”Pz)=(1−t)3P6+(1−t)
t(2Pl +P(1)十t3P! ・−・−・
・・・−川・−・−(31となる。従って第2式と第3
式とが等しいとすれば、
・−・−・−−−−−・−・−・(4)である、即ち、
第3図に示すように線分pop+を2:1に比例分割す
れば制御点Q、が求まり、線分p、p。Multiplying both sides of the first equation by (1-t) +t, -1, we get
((1-t) + t) R(t) = ((1t)+t)f(1t)”P0+ 2(1t)
tP+ +t”Pz)=(1-t)3P6+(1-t)
t(2Pl +P(1) t3P! ・−・−・
...-River---(31. Therefore, the second and third equations
If the expressions are equal, then ・−・−・−−−−−・−・−・(4), that is,
As shown in FIG. 3, if the line segment pop+ is divided proportionally at a ratio of 2:1, the control point Q is found, and the line segments p, p.
を2:1に比例分割すれば制御点Q2が求まる。このよ
うにして求まった4つの制御点P0、QいQいPtによ
り定まる3次のベジェ曲線は、3つの制御点P0、P2
、Plで定まる2次のベジェ曲線と同一である。The control point Q2 can be found by proportionally dividing 2:1. The cubic Bezier curve determined by the four control points P0 and QiQiPt found in this way is the three control points P0 and P2.
, Pl is the same as a quadratic Bezier curve.
次に第4図は与えられた点群を通るベジェ曲線の第2の
生成方法を示し、第5図はその手順のフローチャートを
示す、この第2方法は、指定点の前後の点の方向に着目
して2次のベジェ曲線の制御点を発生させ、3次に変換
することを特徴とする。Next, Fig. 4 shows a second method of generating a Bezier curve passing through a given point group, and Fig. 5 shows a flowchart of the procedure. The method is characterized in that control points of a quadratic Bezier curve are generated and converted into a cubic curve.
まず第5図に示すように、ステップS1で、点Pt5P
1、P4について、中間点P3を通り、両隣りの点Pい
P4の弦ベクトルhP+と平行なベクトルをa2とする
。First, as shown in FIG. 5, in step S1, point Pt5P
1. Regarding P4, let a2 be a vector that passes through the intermediate point P3 and is parallel to the string vector hP+ of the point P4 on both sides.
次にステップS2で、P、から見たP:、Piの弦ベク
トルhPz及びP3P#の外積をとってベクトルb、と
する。Next, in step S2, the cross product of the chord vectors hPz and P3P# of P:, Pi as seen from P is taken as a vector b.
このベクトルは3点Pl、 P3、P9を通る平面π2
の法線ベクトルである。This vector is a plane π2 passing through three points Pl, P3, and P9
is the normal vector of
次にステップS3でベクトルa、とb2の外積をとり、
正規化してベクトルhとする0次にステップS4でP3
を通り、n、を法線ベクトルとする平面をπ3とする。Next, in step S3, take the cross product of vectors a and b2,
P3 in step S4 is normalized and becomes vector h.
Let π3 be a plane that passes through , and has n as its normal vector.
この平面π8は、P、を通り、弦P2P4と平行であり
、前記のP2、Pl、P#を通る平面と直交している0
次にステップS5でP!を通り、弦ベクトルP。This plane π8 passes through P, is parallel to the chord P2P4, and is orthogonal to the plane passing through P2, Pl, and P#.
Next, in step S5, P! , the chord vector P.
1才と平行なベクトルa1を求め、a、の延長線18と
°平面π2との交点Qzを求める。以下第1方法と同様
に、Pl、P3、Q8を制御点とする2次ベジェ曲線C
tを生成し、2次から3次に次数を増やして制御点08
′、Q□′を求める(ステップS6、S7)。A vector a1 parallel to the 1 year old is found, and the intersection Qz of the extension line 18 of a and the degree plane π2 is found. Hereinafter, as in the first method, a quadratic Bezier curve C with Pl, P3, and Q8 as control points
t, increase the order from 2nd to 3rd and control point 08
', Q□' are determined (steps S6, S7).
n個の通過点が与えられた場合には、Pl−1、P、、
P、+、に関し31〜S7の処理を、=2〜..−2に
ついて繰り返せば、連続したベジェ曲線が得られる。When n passing points are given, Pl-1, P, ,
Regarding P, +, the processing of 31 to S7 is performed as =2 to . .. -2, a continuous Bezier curve is obtained.
端部のベジェ曲wACIについては、まず第4図に示す
ように始端のPIに任意の接続ベクトルV、を与える。Regarding the Bezier piece wACI at the end, first, as shown in FIG. 4, an arbitrary connection vector V is given to the PI at the start end.
次に上述の81〜S4の手順をP2について行って、P
gを通りベクトルn、 (弦ベクトルp、p、、ptp
sの外積)を法線ベクトルとする平面π、を得て、vI
の延長Hti l と平面π1との交点を口、とする。Next, the steps 81 to S4 described above are performed for P2, and P
Through g, vector n, (string vector p, p,, ptp
Obtain the plane π whose normal vector is the cross product of s, and vI
Let the intersection of the extension Hti l and the plane π1 be the mouth.
そしてP、、 Q、、P2を制御点とする2次ベジェ曲
線を生成し、それを3次に変換してベジェ曲線Ctの制
御点Q、 ′、Q、″を求める。Then, a quadratic Bezier curve with control points P, , Q, , P2 is generated, and it is converted to cubic to obtain control points Q, ′, Q,″ of the Bezier curve Ct.
同様に、終端Pnにおいて接線ベクトルv2を与え、そ
の延長線と平面π7−2(第4図の例ではπ2)との交
点を制御点とすることにより、終端部のベジェ曲線C*
−1を得ることができる。Similarly, by giving a tangent vector v2 at the terminal end Pn and setting the intersection of its extension and the plane π7-2 (π2 in the example of FIG. 4) as a control point, the Bezier curve C* at the terminal end
-1 can be obtained.
この第2方法の特徴は、成る通過点から延びるベジェ曲
線が次の点を通り更に次の点(例えばP8に対しP9)
に向かうように生成されることである。The feature of this second method is that the Bezier curve extending from the passing point passes through the next point (for example, P9 to P8).
It is to be generated in such a way that it moves towards.
つまり弦ベクトルptp、と平行な平面上に制御点u2
を求めている。従って点間距離の変化が大きいほど、第
1の方法とは異なる曲線が得られる。In other words, the control point u2 is on the plane parallel to the string vector ptp.
I'm looking for. Therefore, the larger the change in the distance between points, the more a different curve from the first method is obtained.
以上の2方法を用いて、通過点を与えながら3次のベジ
ェ曲線で4辺形又は3辺形などの境界的vAw4を形成
し、ベジェ曲面のモデルを作ることができる0通過点の
局所変更は容易であり、変更点の前後を再計算するだけ
でよい。またB−スプライン曲線を中間生成しないので
、例えば第6図のような接線不連続な曲線も生成するこ
とができる。Using the above two methods, a boundary vAw4 such as a quadrilateral or trilateral is formed with a cubic Bezier curve while giving a passing point, and a model of a Bezier surface can be created by local modification of the 0 passing point. is easy; all you need to do is recalculate before and after the change. Furthermore, since the B-spline curve is not intermediately generated, it is also possible to generate a tangentially discontinuous curve as shown in FIG. 6, for example.
なお本発明の方法を用いた3次のベジェ曲線で境界線網
を形成し、自由曲面モデルを形成した場合、各境界線が
接線連続の条件を満足していなくても、接平面連続の条
件の一つを満足するため、総ての曲面をなめらかに接続
するための一要件を備える。接平面連続の条件の一つは
、隣接面素の境界に沿うベクトルと境界を横断する方向
のベクトルとの法線ベクトルが、両面素に関し同一方向
を向くことである。接平面連続の曲面生成法については
、本出願人による、例えば特願昭61−69385号明
細書に示されている。Note that when a boundary line network is formed using cubic Bezier curves using the method of the present invention to form a free-form surface model, even if each boundary line does not satisfy the tangent continuity condition, the tangent plane continuity condition In order to satisfy one of the requirements, one requirement is provided to connect all curved surfaces smoothly. One of the conditions for tangent plane continuity is that the normal vectors of the vector along the boundary of adjacent surface elements and the vector in the direction across the boundary point in the same direction with respect to both surface elements. A method of generating a curved surface with continuous tangent planes is disclosed in, for example, Japanese Patent Application No. 69385/1985 by the present applicant.
生成した3次元自由曲面の幾何モデルデータは、次に自
由曲面切削工具経路の生成システムに入力され、NGミ
ーリングマシン(NCフライス盤)用の加工データに変
換される。The generated three-dimensional free-form surface geometric model data is then input to a free-form surface cutting tool path generation system and converted into machining data for an NG milling machine (NC milling machine).
なお上述の説明では、通過点群を3次元空間において与
えているが、平面上において通過点群を指定してベジェ
表現の平面曲線を生成することもできる。この場合、2
次及び3次のベジェ曲線の制御点を作図して求めること
もできるので、直観的に曲線を予想できる。In the above description, the group of passing points is given in a three-dimensional space, but it is also possible to specify the group of passing points on a plane to generate a plane curve in Bezier representation. In this case, 2
Since the control points of the next and cubic Bezier curves can be drawn and obtained, the curves can be predicted intuitively.
なお第1方法において、第2方法と同じく弦ベクトルP
、P3と平行な線をP8上に形成し、この線と平面π2
との交点を02としてもよい。Note that in the first method, as in the second method, the string vector P
, a line parallel to P3 is formed on P8, and this line and the plane π2
The intersection point with 02 may be set as 02.
本発明の数値加工方法によれば、与えられた点群を通る
3次ベジェ曲線をB−スプライン曲線を媒介とせずに直
線生成することができるので、能率的に高速に加工情報
を生成することができ、しかも局所変更が極めて容易に
なるので、コンビエータとの高度な対話形インターフェ
ースを構築することができ、設計者の意図通りの形状モ
デリングが可能となる。According to the numerical processing method of the present invention, a cubic Bezier curve that passes through a given point group can be generated as a straight line without using a B-spline curve, so processing information can be generated efficiently and at high speed. Moreover, since local changes are extremely easy, it is possible to construct a highly interactive interface with the combiator, and shape modeling can be performed as intended by the designer.
第1図は本発明の一実施例を示す通過点が指定されたベ
ジェ曲線の第1の生成方法を示す線図、第2図は第1方
法の手順を示すフローチャート、第3図はベジェ曲線と
制御点を示す線図、第4図は第2の生成方法を示す線図
、第5図は第2方法の手順を示すフローチャート、第6
図は生成したベジェ曲線の例を示す線図、第7図は加工
物の断面モデルの線図、第8図は従来のB−スプライン
曲線を中間生成するベジェ曲線生成法を示す線図である
。
なお図面に用いた符号において、
P l”” P 4・−・−・−・−・・・−・−通過
点π1〜π3−−−・〜−−−−平面
01〜C++−1−・・−・・−・・・ベジェ曲線であ
る。FIG. 1 is a diagram showing a first method of generating a Bezier curve with designated passing points, which represents an embodiment of the present invention, FIG. 2 is a flowchart showing the steps of the first method, and FIG. 3 is a Bezier curve. FIG. 4 is a diagram showing the second generation method, FIG. 5 is a flowchart showing the steps of the second method, and FIG. 6 is a diagram showing the control points.
The figure is a diagram showing an example of a generated Bezier curve, Figure 7 is a diagram of a cross-sectional model of a workpiece, and Figure 8 is a diagram showing a conventional Bezier curve generation method that intermediately generates a B-spline curve. . In addition, in the symbols used in the drawings, P l"" P 4・−・−・−・−・・−・− Passing point π1~π3−−−・〜−−−−Plane 01~C++−1−・・-・・・-・・・It is a Bezier curve.
Claims (1)
法であって、 連続した4点P_1〜P_4を取出し、そのうちの3点
P_2〜P_4に関し、中央の点P_3から両側の点に
向かう2つの弦ベクトルの情報を基にして定められた法
線ベクトルを持ち且つ点P_3を通る平面π_2を定め
る過程と、 上記4点のうちの他の連続した3点P_1〜P_3を通
る平面上にあり且つP_2を通る直線l_2を定める過
程と、 上記直線l_2と上記平面π_2との交点Q_2を求め
、点P_2、Q_2、P_3を制御点とする2次ベジエ
曲線を生成し、これを3次に次数変換して3次ベジエ曲
線を生成する過程とから成り、 生成した曲線を被加工物の輪郭線とする数値制御加工デ
ータを得るようにした数値制御加工方法。[Claims] A method of numerically controlled machining along a curve passing through a given point group, in which four consecutive points P_1 to P_4 are taken out, and three of them P_2 to P_4 are processed from the center point P_3. The process of determining a plane π_2 that has a normal vector determined based on the information of the two chord vectors directed to the points on both sides and that passes through the point P_3, and the other three consecutive points P_1 to P_3 among the four points above. A process of determining a straight line l_2 that is on a plane passing through and passing through P_2, and determining an intersection Q_2 between the straight line l_2 and the plane π_2, and generating a quadratic Bezier curve with points P_2, Q_2, and P_3 as control points, This numerically controlled machining method consists of a process of converting this into a third order to generate a cubic Bezier curve, and obtaining numerically controlled machining data using the generated curve as the contour line of the workpiece.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27875887A JPH01120603A (en) | 1987-11-04 | 1987-11-04 | Numerically controlled working method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27875887A JPH01120603A (en) | 1987-11-04 | 1987-11-04 | Numerically controlled working method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01120603A true JPH01120603A (en) | 1989-05-12 |
Family
ID=17601779
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP27875887A Pending JPH01120603A (en) | 1987-11-04 | 1987-11-04 | Numerically controlled working method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01120603A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014190766A (en) * | 2013-03-26 | 2014-10-06 | Bridgestone Corp | Behaviour analysis device and behaviour analysis method |
| CN104317247A (en) * | 2014-10-13 | 2015-01-28 | 华中科技大学 | Control method for common-track motion of two working points, machining method and device |
-
1987
- 1987-11-04 JP JP27875887A patent/JPH01120603A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014190766A (en) * | 2013-03-26 | 2014-10-06 | Bridgestone Corp | Behaviour analysis device and behaviour analysis method |
| CN104317247A (en) * | 2014-10-13 | 2015-01-28 | 华中科技大学 | Control method for common-track motion of two working points, machining method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102637216B (en) | Method for generating numerical-control side milling machining tool path for complicated curved surfaces | |
| Dokken | Finding intersections of B-spline represented geometries using recursive subdivision techniques | |
| JPH0373882B2 (en) | ||
| Lin et al. | Smooth contour-parallel tool path generation for high-speed machining through a dual offset procedure | |
| JP6629808B2 (en) | Numerical control unit | |
| Kuragano | FRESDAM system for design of aesthetically pleasing free-form objects and generation of collision-free tool paths | |
| JP2003022285A (en) | Computer aided product design equipment | |
| CN113504764A (en) | Continuous line segment numerical control machining path smoothing method based on position vector weighted integral | |
| CN106814690B (en) | A method for determining smooth tool path in triangular mesh milling | |
| JPS58160041A (en) | Numerical controlled machining method | |
| CN103902786A (en) | Root extending segment appearance parameterization design method of turbine air-cooling moving blade | |
| JPH01120603A (en) | Numerically controlled working method | |
| JP2638851B2 (en) | Numerical control processing method | |
| CN109991921A (en) | A kind of smooth B-spline track directly generates method | |
| JPH01120675A (en) | Production of free curved surface | |
| CN113835397A (en) | Linear NC machining path smoothing method based on B-spline curve and path integral | |
| CN118551130A (en) | Calculation method for geodesic equidistant line for constructing known curve on parameter curved surface | |
| Engeli et al. | A computer program for the design of turbomachinery blades | |
| JP2638852B2 (en) | Method of generating a fillet surface | |
| CN109033669A (en) | Spiral bevel gear machining simulation modeling method based on the driving of omnipotent kinematic parameter | |
| CN111026035B (en) | Method for solving cyclone milling blade tool location point based on curvature change | |
| CN118410594B (en) | Topology design method for joggle joint structure of air-cooled turbine blade | |
| Töpfer | Models for smooth curve fitting | |
| CN118605388B (en) | Error-controllable linear machining path fitting method and system | |
| JPH01120674A (en) | Production of free curved surface |