JP2737127B2 - Object surface shape data creation method - Google Patents

Object surface shape data creation method

Info

Publication number
JP2737127B2
JP2737127B2 JP62278756A JP27875687A JP2737127B2 JP 2737127 B2 JP2737127 B2 JP 2737127B2 JP 62278756 A JP62278756 A JP 62278756A JP 27875687 A JP27875687 A JP 27875687A JP 2737127 B2 JP2737127 B2 JP 2737127B2
Authority
JP
Japan
Prior art keywords
points
point
data
control
surface element
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62278756A
Other languages
Japanese (ja)
Other versions
JPH01120674A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP62278756A priority Critical patent/JP2737127B2/en
Publication of JPH01120674A publication Critical patent/JPH01120674A/en
Application granted granted Critical
Publication of JP2737127B2 publication Critical patent/JP2737127B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は物体の表面形状データ作成方法に関し、CAD/
CAMにおける3次元形状モデリングに用いて最適なもの
である。 〔発明の概要〕 物体の外形曲面の上の離れている2つの面素の間の空
間に各面素の制御点情報を基にした2点を定め、その2
点を制御点として各画素の境界終点間に3次ベジエ曲線
を生成し、各画素の他側の境界端点間にも同様にして3
次ベジエ曲線を生成し、各曲線を補間すべき面素の境界
線(辺)とすることを特徴とし、面素の除去、補間によ
り目的の外形曲面が容易に且つ高速に得られるようにし
た物体の表面形状データ作成方法である。 〔従来の技術〕 計算機内部で3次元自由曲面のデータを扱い、これら
のデータから最終的な製品又は金型をNC工作機械等で自
動加工するためのNCデータ(工具経路データ)を生成す
るCAD/CAMシステムが実用化されつつある。 計算機内で製品外形等の物曲面を扱う場合、形状の制
御性が良い(変性や修正が容易)とか計算が容易である
と云った設計に好ましい性質を持つベジエ(Bzier)
式とかB−スプライン(Spling)式を用いたパラメトリ
ックな表現形式が良く使われている。3次元モデルは、
これらの式によって計算することができる線素で構成さ
れた面素(パッチ)の集合として表される。 〔発明が解決しようとする問題点〕 物の自由曲面を設計する過程で、形状が意図通りでな
いという理由で1つの面素(曲面パッチ)を削除してし
まうと、形状設計の初期段階に戻らなければならない。
従って再び曲線から構成される境界線鋼(パッチの集
合)を生成し、曲面を生成すると云う手順を取り、大変
手間がかかる。 本発明はこの問題にかんがみ、削除したパッチの隣接
パッチから形状的及び位置的に整合(連続)する新たな
パッチを生成(補間)することを目的とする。 〔問題点を解決するための手段〕 本発明の物体の表面形状データ作成方法は、計算機を
利用し、離れて存在する2つの物体の細部表面形状とし
ての面素S1、S2間に面素を補間するために、上記面素
S1、S2を連続的に接続するような物体の細部表面形状を
表す面素データ、すなわちパッチデータを生成する物体
の表面形状作成方法であって、補間すべき面素S3に接す
る一方の面素S1との境界線C3の端点P1において、端点の
まわりの制御点を通るベクトルと逆向きのベクトルを形
成し、その長さを、点P1とこの点に対応する他方の面素
S2の端点P2との間の距離の数分の1とし、その終点を制
御点Q1として求める第1過程と、上記面素S3に接する他
方の面素S2との境界線C4の端点P2において、上記第1過
程と同様な処理を行って上記制御点Q1に対応する制御点
Q2を求める第2過程と、点P1、P2を端点とし、点Q1、Q2
を制御点としてこれらの点ベクトルデータを利用して3
次ベジエ曲線データC1を生成する第3過程と、上記境界
線C3、C4の他側の端点P3、P4に関し上記第1〜第3過程
を行って、点P3、P4を端点とし、上記点Q1、Q2に相当す
る点Q3、Q4を制御点としてこれらの点のベクトルデータ
を利用して3次ベジエ曲線データC2を生成する第4過程
と、上記3次ベジエ曲線データC1〜C4を境界線データと
して利用して、該曲線C1〜C4を4辺とする双3次ベジエ
曲面データS3を生成する第5過程とを備え、上記面素
S1、S2間の面素が削除された際に、上記面素S1、S2から
接線連続で形状的及び位置的に滑らかにつながる新たな
上記面素S3を補間するように上記双3次ベジエ曲面デー
タを生成することを特徴とする。なお上記においてベジ
エ曲線の制御点、端点は位置ベクトルとして扱われ、計
算機においてこれらの制御点、端点及び境界線、曲線、
曲面はデータとして扱われる。 〔作用〕 自由曲面上の離れた2つの面素の夫々を構成する4辺
の端点、制御点を使用して、ベジエ曲面から成る補間面
素を直接生成する。離れた面素と補間面素とは、位置的
及び形状的に整合し、接線連続でなめらかにつながる。 〔実施例〕 第1図に面素S1、S2の間に新たな補間面素S3を補間す
る一方法を示す。また第2図に生成手順のフローチャー
トを示す。 面素S1、S2はこの例では4辺形で構成され、その各辺
は第3図に示すように4つの制御点P0〜P3でパラメータ
表現される3次ベジエ曲線で表されている。 3次ベジエ曲線のテンソル式は、 R(t)=(1−t+tE)3P0 =(1−t)3P0+3(1−t)2EP0 +3(1−t)t2E2P+t3E3P0 ……(1) で表される。tは両端点P0、P3(節点)間で0〜1の値
を取るパラメータである。またEは各制御点を示すシフ
ト演算子であって、P1=EP0、P2=E2P0、P3=E3P0であ
る。 4辺形面素は、u、vをパラメータとして、第4図に
示すように16個の制御点1〜16による双3次ベジエ式、 S(u,v)=(1−u+uE)(1−v−vF)3P00 ……(2) で表される。 まず第1図及び第2図に示すように、ステップS1で面
素S1の一つのコーナ(制御点又は端点)P1から延び、P1
に連なる面素S1の辺の制御点P1′へのベクトルa(制御
辺ベクトル)に対して逆向きの単位ベクトルをn1とす
る。次にステップS2で、面素S1のコーナの端点P1と面素
S2の対向するコーナの端点P2との間の直線距離l1を求
め、次のステップS3で、点P1にl1/3 n1を加えて、その
終端を新たな制御点Q1とする。なお、l1の除数は適宜に
定めてよく、3〜5が好ましい。 次にステップS4で、面素S2について前記ステップS1〜
S3と同様な処理を行い、新たな制御点Q2を得る。そして
ステップS5で、点P1、P2を端とし、Q1、Q2を制御点とす
る3次ベジエ曲線C1を求める。 同様にして、ステップS6で面素S1、S2の他のコーナ点
の端点P3、P4について、ステップS1〜S4を行い、新たな
制御点Q3、Q4を得て、点P3、P4を端とし、Q3、Q4を制御
点とする3次ベジエ曲線C2を得る。このようにして出来
た曲線C1、C2と、面素S1、S2の本来の境界線C3、C4を夫
々4辺とする双3次ベジエ曲面S3を補間面素として生成
する(ステップS7)。なお第4図の面素内部の制御点
6、7、10、11については、4角におけるツイストベク
トルを零とするか、又は曲率に相当する量を零とするこ
とにより決めることができる。 この補間面素の生成方法の特徴は、第5図に示すよう
に、段違いとなっている面素間を補間する場合でも、自
然につながる曲面S3が生成されることである。 また補間面素S3の各コーナP1〜P4においては接線連続
となる。 〔発明の効果〕 本発明によると、離れている2つの面素間に各面と形
状的及び位置的に整合し、接線連続の条件を満たして滑
らかにつながった補間曲面を生成することができ、面素
の集合から成る幾何モデルの一つの面素を削除し、これ
を新たな面素で補間する場合に、モデル設計の初期段階
に戻ることなく、ベジエ曲面を部分生成することが可能
となり、形状モデル設計の自由度及び能率が著しく向上
する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a method for generating surface shape data of an object,
It is optimal for use in three-dimensional shape modeling in CAM. [Summary of the Invention] Two points based on control point information of each surface element are defined in a space between two distant surface elements on the external curved surface of the object, and
Using the point as a control point, a cubic Bezier curve is generated between the boundary end points of each pixel, and the 3rd-order Bezier curve is similarly generated between the boundary end points on the other side of each pixel.
A next Bezier curve is generated, and each curve is set as a boundary line (side) of a surface element to be interpolated, so that a target contour surface can be easily and quickly obtained by removing and interpolating the surface element. This is a method for creating surface shape data of an object. [Prior art] CAD that handles data of three-dimensional free-form surfaces inside a computer and generates NC data (tool path data) for automatically processing the final product or die with an NC machine tool from these data / CAM system is being put to practical use. When dealing with object curved surfaces such as product outlines in a computer, Bzier has properties that are favorable for design such as good controllability of the shape (easy modification and modification) and easy calculation.
A parametric expression format using an expression or a B-spline expression is often used. The three-dimensional model is
It is represented as a set of surface elements (patches) composed of line elements that can be calculated by these equations. [Problems to be Solved by the Invention] In the process of designing a free-form surface of an object, if one surface element (curved surface patch) is deleted because the shape is not as intended, the process returns to the initial stage of shape design. There must be.
Therefore, a procedure of generating a boundary steel (a set of patches) composed of curves again and generating a curved surface is taken, which is very troublesome. In view of this problem, an object of the present invention is to generate (interpolate) a new patch that is geometrically and positionally consistent (continuous) from adjacent patches of a deleted patch. [Means for Solving the Problems] The method for generating surface shape data of an object according to the present invention uses a computer to calculate a surface between surface elements S 1 and S 2 as detailed surface shapes of two objects that are separated from each other. To interpolate the element,
A S 1, S 2 the surface elements data representing the detail surface shape of the object so as to continuously connected, that is, the surface shape creation method of an object that generates patch data, while in contact with the surface elements S 3 to be interpolated in the end point P 1 of the boundary line C 3 of the surface elements S 1, and the other to form a vector of vectors and reverse through the control points around the endpoints, the length, corresponding to this point and the point P 1 Face element
A fraction of the distance between the end point P 2 of S 2, the boundary line C of the first process of obtaining the end points as the control points Q 1, the other surface elements S 2 in contact with the surface element S 3 in 4 of the end point P 2, control points by performing the same processing as the first step corresponding to the control point Q 1
A second process of obtaining the Q 2, the point P 1, P 2 and an end point, the point Q 1, Q 2
Using these point vector data as control points, 3
Performing a third process of generating a next Bezier curve data C 1, the boundary line C 3, C 4 of the other end point P 3, P 4 relates to the aforementioned first to third step, the point P 3, P 4 A fourth step of generating cubic Bezier curve data C 2 using the vector data of the points Q 3 and Q 4 corresponding to the points Q 1 and Q 2 as control points, A fifth step of using the cubic Bezier curve data C 1 to C 4 as boundary data to generate bicubic Bezier surface data S 3 having the curves C 1 to C 4 as four sides, Face element
When the surface element between S 1 and S 2 is deleted, the above-mentioned surface element S 3 is interpolated from the surface element S 1 and S 2 so as to interpolate the new surface element S 3 which is tangentially continuous and smoothly connected in shape and position. It is characterized by generating bicubic Bezier surface data. In the above, the control points and endpoints of the Bezier curve are treated as position vectors, and these control points, endpoints and boundary lines, curves,
Surfaces are treated as data. [Operation] An interpolated surface element composed of a Bezier surface is directly generated by using the control points and the end points of the four sides constituting each of two separated surface elements on the free-form surface. The separated surface element and the interpolated surface element match in terms of position and shape, and are tangently connected and smoothly connected. EXAMPLES illustrating one method of interpolating a surface elements S 1, a new interpolation area element S 3 between S 2 in Figure 1. FIG. 2 shows a flowchart of the generation procedure. In this example, the surface elements S 1 and S 2 are each formed by a quadrilateral, and each side is represented by a cubic Bezier curve represented by four control points P 0 to P 3 as shown in FIG. ing. Tensor expression of cubic Bezier curve, R (t) = (1 -t + tE) 3 P 0 = (1-t) 3 P 0 +3 (1-t) 2 EP 0 +3 (1-t) t 2 E 2 P + t 3 E 3 P 0 (1) t is a parameter that takes a value of 0 to 1 between both end points P 0 and P 3 (node). E is a shift operator indicating each control point, where P 1 = EP 0 , P 2 = E 2 P 0 , and P 3 = E 3 P 0 . A quadrilateral surface element is a bicubic Bezier equation using 16 control points 1 to 16 as shown in FIG. 4, using u and v as parameters, S (u, v) = (1−u + uE) 3 ( 1−v−vF) 3 P 00 ... (2) First, as shown in FIGS. 1 and 2, extends from one corner (control point or end point) P 1 of surface elements S 1 in step S1, P 1
Let the unit vector in the opposite direction to the vector a (control edge vector) to the control point P 1 ′ of the edge of the surface element S 1 connected to n be n 1 . In step S2, the end point P 1 of the corners of the surface elements S 1 and surface elements
Obtains a linear distance l 1 between the end point P 2 of the opposite corners of S 2, in the next step S3, the addition of l 1/3 n 1 to the point P 1, the termination new control points Q 1 And Incidentally, well divisor of l 1 is determined appropriately, 3 to 5 preferred. In step S4, the step S1~ for surface elements S 2
It performs the same processing as S3, obtain a new control point Q 2. In step S5, the end of the points P 1, P 2, obtaining the cubic Bezier curve C 1 for the control points Q 1, Q 2. Similarly, the surface elements S 1, the end point P of the other corner points of the S 2 3, P 4 in step S6, performs the steps S1 to S4, to obtain new control points Q 3, Q 4, the point P 3, the P 4 is an end, obtaining a cubic Bezier curve C 2 for the control point Q 3, Q 4. Such a curve C 1, C 2 made in the generation bicubic Bezier curved surface S 3 to surface elements S 1, the original boundary of the S 2 C 3, C 4, respectively four sides as the interpolated surface element (Step S7). Note that the control points 6, 7, 10, and 11 inside the surface element in FIG. 4 can be determined by setting the twist vector at the four corners to zero or setting the amount corresponding to the curvature to zero. Feature of the process generating the interpolation area element, as shown in Figure 5, even when interpolating surface Motokan that has become uneven, is that the curved surface S 3 which leads naturally generated. In each of the corners P 1 to P 4 of the interpolated surface element S 3 , the tangent is continuous. [Effects of the Invention] According to the present invention, it is possible to generate an interpolated curved surface that conforms geometrically and positionally to each surface between two distant surface elements, satisfies the condition of tangent continuity, and is smoothly connected. In the case of deleting one surface element of a geometric model consisting of a set of surface elements and interpolating this with a new surface element, it is possible to partially generate a Bezier surface without returning to the initial stage of model design. In addition, the degree of freedom and efficiency of shape model design can be significantly improved.

【図面の簡単な説明】 第1図は本発明の一実施例の補間面素生成方法を示す線
図、第2図はその手順を示すフローチャート、第3図は
ベジエ曲線とその制御点を示す線図、第4図は16個の制
御点から成るベジエ曲線の一面素を示す線図、第5図は
段差のある面素間を補間する様子を示す線図である。 なお図面に用いた符号において、 S1,S2……面素 S3……補間面素 P1〜P4……制御点(端点) Q1〜Q4……制御点 a……制御辺ベクトル である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram showing an interpolated surface element generation method according to an embodiment of the present invention, FIG. 2 is a flowchart showing the procedure, and FIG. 3 shows a Bezier curve and its control points. FIG. 4 is a diagram showing one plane element of a Bezier curve composed of 16 control points, and FIG. 5 is a diagram showing a state of interpolating between plane elements having a step. In the reference numerals used in the drawings, S 1 , S 2 ... Surface element S 3 ... Interpolated surface element P 1 to P 4 ... Control points (end points) Q 1 to Q 4. Vector.

Claims (1)

(57)【特許請求の範囲】 1.計算機を利用し、離れて存在する2つの物体の細部
表面形状としての面素S1、S2間に面素を補間するため
に、上記面素S1、S2を連続的に接続するような物体の細
部表面形状を表す面素データを生成する物体の表面形状
作成方法であって、 補間すべき面素S3に接する一方の面素S1との境界線C3
端点P1において、端点のまわりの制御点を通るベクトル
と逆向きのベクトルを形成し、その長さを、点P1とこの
点に対応する他方の面素S2の端点P2との間の距離の数分
の1とし、その終点を制御点Q1として求める第1過程
と、 上記面素S3に接する他方の面素S2との境界線C4の端点P2
において、上記第1過程と同様な処理を行って上記制御
点Q1に対応する制御点Q2を求める第2過程と、 点P1、P2を端点とし、点Q1、Q2を制御点としてこれらの
点のベクトルデータを利用して3次ベジエ曲線データC1
を生成する第3過程と、 上記境界線C3、C4の他側の端点P3、P4に関し上記第1〜
第3過程を行って、点P3、P4を端点とし、上記点Q1、Q2
に相当する点Q3、Q4を制御点としてこれらの点のベクト
ルデータを利用して3次ベジエ曲線データC2を生成する
第4過程と、 上記3次ベジエ曲線データC1〜C4を境界線データとして
利用して、該曲線C1〜C4を4辺とする双3次ベジエ曲面
データS3を生成する第5過程とを備え、 上記面素S1、S2間の面素が削除された際に、上記面素
S1、S2から接線連続で形状的及び位置的に滑らかにつな
がる新たな上記面素S3を補間するように上記双3次ベジ
エ曲面データを生成することを特徴とする物体の表面形
状データ作成方法。
(57) [Claims] Utilizing computer to interpolate the surface elements between surface elements S 1, S 2 as two objects detail surface topography present away to continuously connecting the surface element S 1, S 2 a surface shape creating method of an object to generate surface elements data representing such objects details surface shape, in the end point P 1 of the boundary line C 3 of the one surface elements S 1 of which is in contact with the surface elements S 3 to be interpolated , Forming a vector in the opposite direction to the vector passing through the control points around the end point, the length of which is the number of distances between the point P 1 and the end point P 2 of the other surface element S 2 corresponding to this point A first step of determining the end point as a control point Q 1 , and an end point P 2 of a boundary line C 4 with the other surface element S 2 in contact with the surface element S 3
In, the first process and by performing the same processing and a second process of obtaining the control point Q 2 to which corresponding to the control point Q 1, the point P 1, P 2 and end points, control points Q 1, Q 2 Cubic Bezier curve data C 1 using vector data of these points as points
A third step of generating the first and second end points P 3 and P 4 on the other side of the boundary lines C 3 and C 4 .
The third process is performed, and the points P 3 and P 4 are set as end points, and the above points Q 1 and Q 2
A fourth process of generating the cubic Bezier curve data C 2 by using the vector data of these points the Q 3, Q 4 point corresponding as control points, the three-dimensional Bezier curve data C 1 -C 4 using the boundary data, and a fifth process of generating a bicubic Bezier surface data S 3 to four sides of the curve C 1 -C 4, surface elements between the surface element S 1, S 2 Is deleted,
S 1, S shape and location and smoothly to a new lead of the surface element S 3 object surface shape data and generates the bicubic Bezier curved surface data to interpolate from 2 tangent How to make.
JP62278756A 1987-11-04 1987-11-04 Object surface shape data creation method Expired - Fee Related JP2737127B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62278756A JP2737127B2 (en) 1987-11-04 1987-11-04 Object surface shape data creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62278756A JP2737127B2 (en) 1987-11-04 1987-11-04 Object surface shape data creation method

Publications (2)

Publication Number Publication Date
JPH01120674A JPH01120674A (en) 1989-05-12
JP2737127B2 true JP2737127B2 (en) 1998-04-08

Family

ID=17601754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62278756A Expired - Fee Related JP2737127B2 (en) 1987-11-04 1987-11-04 Object surface shape data creation method

Country Status (1)

Country Link
JP (1) JP2737127B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1178384A (en) * 1997-09-12 1999-03-23 Peteio:Kk Three-dimensional shape data processing device, plate to be carved, and carving device
JP3705923B2 (en) 1998-04-09 2005-10-12 株式会社ソニー・コンピュータエンタテインメント Image processing apparatus, image processing method, program providing medium, and data providing medium
CN104741994B (en) * 2015-03-25 2017-04-19 华南理工大学 Precise curved-surface grinding method for grinding wheel with any curved surface
CN106527940B (en) * 2016-11-03 2019-12-10 青岛海信电器股份有限公司 Handwriting determining method and device

Also Published As

Publication number Publication date
JPH01120674A (en) 1989-05-12

Similar Documents

Publication Publication Date Title
KR101285941B1 (en) Process for creating a parametric surface having a required geometrical continuity
KR101250163B1 (en) Process for creating from a mesh an isotopologic set of parameterized surfaces
US5619625A (en) Method for interpolating smooth free-form surfaces into curve mesh including composite curves
CN105844711A (en) Engraving a 2D image on a subdivision surface
KR20100074113A (en) Interpolation processing method and interpolation processor
JP2737127B2 (en) Object surface shape data creation method
JP2015001789A (en) Curved surface generation device, curved surface generation program, and curved surface generation method
JP2946506B2 (en) Object surface shape data creation method
Kim et al. A symbolic approach to freeform parametric surface blends
Henshaw An algorithm for projecting points onto a patched CAD model
JP3463843B2 (en) Free-form surface generation apparatus and free-form surface generation method
Bradley Rapid prototyping models generated from machine vision data
JP2638851B2 (en) Numerical control processing method
Kumar et al. Computing constant offsets of a NURBS B-Rep
US20060059855A1 (en) Computational geometry design for sheet metal machinery corner
JP2638852B2 (en) Method of generating a fillet surface
JP2005149245A (en) Cad system, curved surface analysis device, curved surface reproducing device, and method and program therefor
JP3187808B2 (en) Object surface shape data creation device
JP3757064B2 (en) Draft generation method
JP2737132B2 (en) Object surface shape data creation method
JP3148792B2 (en) Method and apparatus for generating free-form surface
Huang et al. Research on insertion points planning of head model
Tokuyama et al. Reparameterization of piecewise rational Bézier curves and its applications
JP2866783B2 (en) Fillet surface generator
JPH0721410A (en) Method for generating free curved surface data

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees