Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH067361B2 - Curved surface generation method - Google Patents
[go: Go Back, main page]

JPH067361B2 - Curved surface generation method - Google Patents

Curved surface generation method

Info

Publication number
JPH067361B2
JPH067361B2 JP59105476A JP10547684A JPH067361B2 JP H067361 B2 JPH067361 B2 JP H067361B2 JP 59105476 A JP59105476 A JP 59105476A JP 10547684 A JP10547684 A JP 10547684A JP H067361 B2 JPH067361 B2 JP H067361B2
Authority
JP
Japan
Prior art keywords
curved surface
point
points
curve
section
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 - Lifetime
Application number
JP59105476A
Other languages
Japanese (ja)
Other versions
JPS60250403A (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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP59105476A priority Critical patent/JPH067361B2/en
Publication of JPS60250403A publication Critical patent/JPS60250403A/en
Publication of JPH067361B2 publication Critical patent/JPH067361B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical 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/41Numerical 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は曲面生成方法に係り、特に与えられたいくつか
の断面曲線を用いて曲面を生成する曲面生成方法に関す
る。
TECHNICAL FIELD The present invention relates to a curved surface generation method, and more particularly to a curved surface generation method for generating a curved surface using a number of given sectional curves.

<背景技術> 3次元金型等の設計図面上の曲面は一般に複数の断面曲
線によって表現されており、ある断面曲線と次の断面曲
線間の形状データは存在しない。
<Background Art> A curved surface on a design drawing of a three-dimensional mold or the like is generally represented by a plurality of cross-section curves, and there is no shape data between one cross-section curve and the next cross-section curve.

ところで、数値制御加工に際してはこのように中間の形
状が与えられていないにもかかわらず、上記2つの断面
曲線間をなめらかにつながるように加工することが要求
される。このことは、換言するならば上記2つの断面曲
線間の曲面を、該断面曲線のデータ等から生成し、該生
成された曲面に関するデータを用いて曲面加工用のNC
データを作成し、該NCデータに基づいて加工しなけれ
ばならないことを意味する。このため、従来より種々の
曲面生成方法が提案されて実用化されているが、簡単な
方法で滑らかにつながるように曲面を生成できなかっ
た。
By the way, in the case of numerically controlled processing, it is required to perform processing so as to smoothly connect between the above-mentioned two cross-sectional curves, although such an intermediate shape is not given. In other words, this means that a curved surface between the two cross-section curves is generated from the data of the cross-section curve, etc., and the NC for the curved surface processing is performed using the data relating to the generated curved surface.
This means that data must be created and processed based on the NC data. For this reason, various curved surface generation methods have been proposed and put to practical use in the past, but curved surfaces could not be generated by a simple method so as to connect them smoothly.

<発明の目的> 本発明の目的は与えられた断面曲線に滑めらかにつなが
る3次元自由曲面を簡単な方法で生成できる曲面生成方
法を提供することである。
<Object of the Invention> An object of the present invention is to provide a curved surface generation method capable of generating a three-dimensional free-form surface smoothly connected to a given cross-sectional curve by a simple method.

<発明の概要> 本発明は第1の与えられた断面曲線を2つの与えられた
第2、第3の断面曲線に沿って変化させながら移動さ
せ、該移動により形成される曲面を生成する曲面生成方
法であり、この方法においては第1の断面曲線をM分割
した時のi番目の中間点Pi,Oの座標値を求めるステッ
プ、第2、第3の断面曲線をそれぞれN分割した時のj
番目の各ポイントPO,j、PM,jの座標値を求めるステッ
プ、第1の断面曲線の始点PO,Oと終点PM,Oと前記中間点
Pi,Oの関係を用いて、ポイントPO,j、PM,jをそれぞれ始
点、終点とする中間断面曲線上の前記中間点Pi,Oに対応
する中間点Pi,jを求めるステップ、i、jを変化させて
全ポイントPi,j(i=1、2、・・M;j=1、2、・
・・N)により曲面を生成するステップを有する。この
方法によれば、簡単にいくつかの断面曲線に囲まれた曲
面を生成できる。
<Summary of the Invention> The present invention moves a first given cross-section curve while changing it along two given second and third cross-section curves, and creates a curved surface formed by the movement. This is a generation method, and in this method, the step of obtaining the coordinate value of the i-th intermediate point P i, O when the first sectional curve is divided into M, and the second and third sectional curves are divided into N respectively. J
The step of obtaining the coordinate values of the respective points P O, j , P M, j of the th, the starting point P O, O and the ending point P M, O of the first section curve and the intermediate point
With P i, O relationship, determining the point P O, j, P M, respectively j start, the intermediate point P i on the intermediate section curve end point, intermediate point P i that corresponds to O, j All the points P i, j (i = 1, 2, ... M; j = 1, 2, ...
··· N) has a step of generating a curved surface. According to this method, a curved surface surrounded by several sectional curves can be easily generated.

<実施例> 第1図は本発明に係る曲面生成方法を説明する説明図、
第2図は処理の流れ図である。第1図において、11は
3次元曲面体を切断する断面、11aは断面11により
3次元曲面体を切断した場合の断面曲線(動作曲線)、
21、22は動作曲線11aの始点PO,O、終点PM,Oをそ
れぞれ含む断面、、21a、22aはそれぞれ断面2
1、22により3次元曲面体を切断した場合の断面曲線
(基準曲線)であり、各基準曲線の終点はPO,N,PM,N
ある。13は基準曲線21a、22aをそれぞれN分割
した場合の第j番目のポイントPO,j、PM,jを含み、かつ
ポイントPM,jより断面21に降ろした垂線の足Qを含む
中間断面である。13aは後述する方法により生成され
る中間断面曲線、Pi,jは中間断面曲線上の中間点であ
る。
<Example> FIG. 1 is an explanatory view for explaining a curved surface generation method according to the present invention.
FIG. 2 is a flow chart of processing. In FIG. 1, 11 is a cross section for cutting the three-dimensional curved body, 11a is a cross-sectional curve (operation curve) when the three-dimensional curved body is cut by the cross section 11,
21 and 22 are cross sections including the starting point P O, O and the end point P M, O of the operation curve 11a, and 21a and 22a are cross sections 2 respectively.
It is a sectional curve (reference curve) when a three-dimensional curved body is cut by Nos. 1 and 22, and the end points of each reference curve are P O, N and P M, N. Reference numeral 13 includes the j-th points P O, j and P M, j when the reference curves 21 a and 22 a are divided into N, respectively, and includes the perpendicular foot Q drawn from the point P M, j to the cross section 21. It is a cross section. 13a is an intermediate section curve generated by the method described later, and P i, j is an intermediate point on the intermediate section curve.

以下、第1図、第2図に従って曲面生成処理を説明す
る。
The curved surface generation processing will be described below with reference to FIGS. 1 and 2.

(1)まず、図示しない曲面生成装置の操作盤から断面
11、21、22、動作曲線11a、基準曲線21a,
22aを特定するデータ、並びに動作曲線11aの分割
数M,基準曲線21a、22aの分割数Nを入力する。
(1) First, from the operation panel of a curved surface generation device (not shown), cross sections 11, 21, 22, a movement curve 11a, a reference curve 21a,
Data for specifying 22a, the division number M of the operation curve 11a, and the division number N of the reference curves 21a and 22a are input.

(2)プロセッサは1→i、1→jとする。(2) Processors are 1 → i and 1 → j.

(3)ついで、プロセッサは各基準曲線21a、22a
をそれぞれN分割した場合のj番目のポイントPO,j、P
M,jの座標値を演算する。
(3) Then, the processor sets each reference curve 21a, 22a.
J points P O, j , P
Calculates the coordinate value of M, j .

(4)ポイントPO,j、PM,j演算後、プロセッサは動作曲
線11aをM分割した時の、第i番目のポイントPi,O
演算する。尚、ポイントPO,j、PM,j,Pi,Oの演算法は周知
であり、たとえば特願昭56−54044号明細書を参
照されたい。
(4) After calculating the points P O, j and P M, j , the processor calculates the i-th point P i, O when the operation curve 11a is divided into M parts. Incidentally, the calculation method of the points P O, j , P M, j , P i, O is well known, for example, refer to Japanese Patent Application No. 56-54044.

(5)断面11及び中間断面13を所定の同一平面(H
−V平面・・・第3図参照)に変換する変換マトリクス
M1、M2を求める。そして、該変換マトリクスM1を
用いて、動作曲線11aを含む断面11を所定の平面に
変換した時の該動作曲線の始点PO,O、終点PM,O、中間点
Pi,Oの座標値(xO,yO)、(x1,y1)、(x,y)をそれぞれ
求め、又変換マトリクスM2を用いて、ポイントPO,j、P
M,jを含む中間断面13を前記所定平面に変換したとき
の該ポイントPO,j、PM,jの座標値(ξ0,η0)、(ξ1
η1)をそれぞれ求める。
(5) The cross-section 11 and the intermediate cross-section 13 have the same plane (H
-V plane ... See FIG. 3) to obtain conversion matrices M1 and M2. Then, when the cross section 11 including the operation curve 11a is converted into a predetermined plane using the conversion matrix M1, the start point P O, O , the end point P M, O , and the intermediate point of the operation curve
The coordinate values (x O , y O ), (x 1 , y 1 ), (x, y) of P i, O are obtained respectively, and the conversion matrix M2 is used to obtain the points P O, j , P
Coordinates (ξ 0 , η 0 ) of the points P O, j and P M, j when the intermediate cross section 13 including M, j is converted into the predetermined plane (ξ 1 ,
η 1 ) is calculated.

(6)しかる後、中間点Pi,jの座標値(ξ,η)を次式 ξ=(-nxξ0+mxξ1)/(mx-nx) (1) η=(-nyη0+myη1)/(my-ny (2) mx=x−x0 (3) nx=x−x1 (4) my=y−y0 (5) ny=y−y1 (6) により演算する。これは、PO,O、PM,O、Pi,Oの各座標値に
対して、次式 x=(-nxx0+mxx1)/(mx-nx) y=(-nyy0+myx1)/(my-ny) が成立するからである。以上により中間点Pi,OがPO,O、P
M,O間を内分あるいは外分している比と同一の比でPO,j
PM,jを内分あるいは外分する中間点Pi,jのH−V平面上
の座標値が求まることになる。
(6) Thereafter, the coordinate value (ξ, η) of the intermediate point P i, j is calculated by the following equation ξ = (-n x ξ 0 + m x ξ 1 ) / (m x -n x ) (1) η = ( -n y η 0 + m y η 1 ) / (m y -n y (2) m x = x−x 0 (3) n x = x−x 1 (4) m y = y−y 0 (5) n y = y−y 1 (6) This is calculated by the following formula x = (-n x x 0 + for each coordinate value of P O, O , P M, O and P i, O. m x x 1) / (m x -n x) y = (-. n y y 0 + m y x 1) / (m y -n y) is because established above the midpoint P i, O Is P O, O , P
With the same ratio that divides M and O internally or externally, P O, j ,
The coordinate value on the HV plane of the intermediate point P i , j that internally or externally divides P M, j is obtained.

(7)中間点Pi,jの座標値(ξ,η)が求まれば、プロ
セッサは変換マトリクスM2の逆変換マトリクスM2-1
を用いて、(ξ,η)を断面13上の座標値に逆変換し
て、ポイントPi,jの座標値を求め、メモリに記憶する。
(7) When the coordinate value (ξ, η) of the intermediate point P i, j is obtained, the processor transforms the inverse matrix M2 −1 of the inverse matrix M2 −1.
Is used to inversely convert (ξ, η) into coordinate values on the cross section 13 to obtain the coordinate value of the point P i, j and store it in the memory.

(8)ついで、i=Mかどうかを判別し、i<Mであれ
ばi+1→iとして、ステップ(4)以降の処理を繰り
返す。
(8) Then, it is determined whether or not i = M, and if i <M, i + 1 → i is set, and the processes from step (4) are repeated.

(9)一方、i=Mであれば、j=Nかどうかを判別す
る。j<Nであれば、 j+1→j、1→i によりi、jを更新してステップ(3)以降の処理を繰
り返す。
(9) On the other hand, if i = M, it is determined whether j = N. If j <N, then i + 1 is updated by j + 1 → j, 1 → i and the processes from step (3) are repeated.

(10)ステップ(9)の判別においてj=Nであれば
曲面生成の処理は終了し、以後ポイントPi,j(i=1、
2、・・・・M;j=1、2、・・・・N)を用いて曲
面加工用のNCデータを作成し、該NCデータを用いて
曲面を加工する。
(10) If j = N in the determination in step (9), the curved surface generation processing ends, and thereafter, points P i, j (i = 1,
, ... M; j = 1, 2, ... N) is used to create NC data for curved surface processing, and the curved surface is processed using the NC data.

<発明の効果> 以上説明したように、本発明によれば第1の断面曲線1
1aをM分割した時のi番目の中間点Pi,Oの座標値を求
めるステップ、第1、第2の断面曲線21a、22aを
それぞれN分割した時のj番目の各ポイントPO,j、PM,j
の座標値を求めるステップ、第1の断面曲線11aの始
点PO,Oと終点PM,Oと前記中間点Pi,Oの関係を用いて、ポ
イントPO,j、PM,jをそれぞれ始点、終点とする中間断面
曲線13a上の前記中間点Pi,Oに対応する中間点Pi,j
求めるステップを有し、i、jを変化させて全ポイント
Pi,j(i=1、2、・・M;j=1、2、・・・N)に
より曲面を生成するように構成したから、簡単に、かつ
与えられた断面曲線を滑めらかに連結する曲面を生成す
ることができた。
<Effects of the Invention> As described above, according to the present invention, the first sectional curve 1
Step of obtaining the coordinate value of the i-th intermediate point P i, O when 1a is divided into M, each j-th point P O, j when the first and second sectional curves 21a and 22a are divided into N , P M, j
In the step of obtaining the coordinate values of the points, the points P O, j and P M, j are defined by using the relationship between the starting point P O, O and the end point P M, O of the first sectional curve 11a and the intermediate point P i, O. There is a step of obtaining an intermediate point P i, j corresponding to the intermediate point P i, O on the intermediate cross-section curve 13a which is the start point and the end point, respectively, and all points by changing i, j
Since it is configured to generate a curved surface by P i, j (i = 1, 2, ... M; j = 1, 2, ... N), it is possible to easily and smoothly slide a given cross-section curve. We were able to generate a curved surface connected to the crab.

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

第1図は本発明にかかる曲面生成方法の説明図、第2図
は本発明の処理の流れ図、第3図はH−V平面に変換し
た変換図である。 11、21、22……断面 11a、21a、22a……断面曲線 13……中間断面、13a……中間断面曲線
FIG. 1 is an explanatory view of a curved surface generating method according to the present invention, FIG. 2 is a flow chart of processing of the present invention, and FIG. 3 is a conversion diagram converted into an HV plane. 11, 21, 22 ... Section 11a, 21a, 22a ... Section curve 13 ... Intermediate section, 13a ... Intermediate section curve

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭57−211603(JP,A) 特開 昭57−169814(JP,A) 特開 昭58−149507(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-57-211603 (JP, A) JP-A-57-169814 (JP, A) JP-A-58-149507 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】第1の与えられた断面曲線を2つの与えら
れた第2、第3の断面曲線に沿って変化させながら数値
制御加工用の曲面を生成する曲面生成方法において、 第1の断面曲線をM分割した時のi番目の中間点Pi,O
座標値を求める第1ステップ、 第2、第3の断面曲線をそれぞれN分割した時のj番目
の各ポイントPO,j,PM,jの座標値を求める第2ステッ
プ、 第1の断面曲線の始点Po,oと終点PM,Oと前記中間点Pi,O
の関係を用いて、ポイントPO,j,PM,jをそれぞれ始点、
終点とする中間断面曲線上の前記中間点Pi,Oに対応する
中間点Pi,jを求める第3ステップ、 i,jを変化させ、全ポイントPi,j(i=1,2,・・
M;j=1、2、・・・N)により数値制御加工用の曲
面を生成する第4ステップ、 全ポイントPi,j(i=1,2,・・M;j=1、2、・
・・N)により曲面加工用のNCデータを作成する第5
ステップ、 該NCデータにより曲面を加工する第6ステップを有
し、 前記第3ステップは、第1の断面曲線を含む断面を所定
の平面に変換した時の該第1断面曲線の始点、終点及び
前記中間点Pi,Oの座標値をそれぞれ(x0,y0),(x1,y1),
(x,y)とし、又前記ポイントPO,j,PM,jを含む断面
を前記所定平面に変換した時のポイントPO,j,PM,jの座
標値をそれぞれ(ξ0,η0),(ξ1,η1)とすると
き、前記所定平面上の中間点Pi,jの座標値(ξ,η)を
次式 ξ=(−nxξ0+mxξ1)/(mx−nx) η=(−nyη0+myη1)/(my−ny) mx=x−x0 nx=x−x1 my=y−y0 ny=y−y1 により演算するステップ、 座標値(ξ,η)をポイントPO,j,PM,jを含む前記断面
上の座標値に逆変換して、中間点Pi,jの座標値を求める
ステップを有する曲面生成方法。
1. A curved surface generating method for generating a curved surface for numerical control machining while changing a first given sectional curve along two given second and third sectional curves. The first step of obtaining the coordinate value of the i-th intermediate point P i, O when the sectional curve is divided into M, the j-th point P O, j when the second and third sectional curves are divided into N, respectively , The second step of obtaining the coordinate values of P M, j , the starting point P o, o and the end point P M, O of the first sectional curve , and the intermediate point P i, O
Using the relationship of, the points P O, j , P M, j are the starting points,
The third step of obtaining the intermediate point P i, j corresponding to the intermediate point P i, O on the intermediate section curve which is the end point, i, j is changed, and all points P i, j (i = 1, 2,・ ・
M; j = 1, 2, ... N) fourth step of generating a curved surface for numerical control machining, all points P i, j (i = 1, 2, ... M; j = 1, 2,・
..By N), create NC data for curved surface machining No. 5
And a sixth step of processing a curved surface based on the NC data, wherein the third step includes a start point, an end point and an end point of the first section curve when a section including the first section curve is converted into a predetermined plane. The coordinate values of the intermediate points P i, O are (x 0 , y 0 ), (x 1 , y 1 ),
(X, y), and the coordinate values of the points P O, j , P M, j when the cross section including the points P O, j , P M, j are converted into the predetermined plane are (ξ 0 , η 0 ), (ξ 1 , η 1 ) , the coordinate value (ξ, η) of the intermediate point P i, j on the predetermined plane is given by the following equation ξ = (− n x ξ 0 + m x ξ 1 ). / (M x −n x ) η = (− ny y η 0 + my y η 1 ) / (m y −n y ) m x = x−x 0 n x = x−x 1 m y = y−y 0 Step of calculating by n y = y−y 1 , the coordinate value (ξ, η) is inversely converted into the coordinate value on the cross section including the points P O, j , P M, j , and the intermediate point P i, j Method for generating a curved surface, the method including the step of obtaining coordinate values of.
JP59105476A 1984-05-24 1984-05-24 Curved surface generation method Expired - Lifetime JPH067361B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59105476A JPH067361B2 (en) 1984-05-24 1984-05-24 Curved surface generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59105476A JPH067361B2 (en) 1984-05-24 1984-05-24 Curved surface generation method

Publications (2)

Publication Number Publication Date
JPS60250403A JPS60250403A (en) 1985-12-11
JPH067361B2 true JPH067361B2 (en) 1994-01-26

Family

ID=14408644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59105476A Expired - Lifetime JPH067361B2 (en) 1984-05-24 1984-05-24 Curved surface generation method

Country Status (1)

Country Link
JP (1) JPH067361B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57169814A (en) * 1981-04-10 1982-10-19 Fanuc Ltd Forming method of curved surface
JPS57211603A (en) * 1981-06-20 1982-12-25 Fanuc Ltd Nc data forming method
JPS58149507A (en) * 1982-02-26 1983-09-05 Mitsubishi Electric Corp Nc automatic programming system

Also Published As

Publication number Publication date
JPS60250403A (en) 1985-12-11

Similar Documents

Publication Publication Date Title
WO1992015068A1 (en) Computer control system for generating geometric designs
JPH0373882B2 (en)
US4755927A (en) Method and apparatus for producing a three-dimensional curved surface from two-dimensional section curves
JPS60107106A (en) Curve interpolation system
JPH0373883B2 (en)
JPH08305430A (en) Freely curved line interpolating system
WO1982002434A1 (en) Curved surface forming method
KR910005902B1 (en) How to create a compound surface
JPH04230503A (en) Tool-orbit-profile obtaining method in numerically controlled machine
JPH067363B2 (en) Compound surface generation method
US4755926A (en) Method and apparatus for producing a three-dimensional curved surface from two-dimensional curves in perpendicular planes
JPH067361B2 (en) Curved surface generation method
KR900007163B1 (en) Method of forming composite curved surface
WO1988006312A1 (en) Method of generating curved surfaces
Eriksson Three dimensional spline-generated coordinate transformations for grids around wing-body configurations
WO1988000367A1 (en) Method of forming cutting path of composite curved plane
JP2638851B2 (en) Numerical control processing method
JP2771361B2 (en) Rough cutter path generation system
JP2799531B2 (en) How to create NC data
JP2995812B2 (en) Tool path generation method by numerical controller
JPH04201045A (en) Preparation device for cutting data of free curved face for nc
JPH1126456A (en) Impurity interpolating method
JPH08328635A (en) Position control system
JP2866783B2 (en) Fillet surface generator
JP2897251B2 (en) Object surface shape data creation method