JPH06309417A - Sweep solid generating device - Google Patents

Sweep solid generating device

Info

Publication number
JPH06309417A
JPH06309417A JP5097961A JP9796193A JPH06309417A JP H06309417 A JPH06309417 A JP H06309417A JP 5097961 A JP5097961 A JP 5097961A JP 9796193 A JP9796193 A JP 9796193A JP H06309417 A JPH06309417 A JP H06309417A
Authority
JP
Japan
Prior art keywords
curve
solid
sweep
sweep solid
generation
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
Application number
JP5097961A
Other languages
Japanese (ja)
Other versions
JP2972047B2 (en
Inventor
Hiroaki Suzaki
宏章 須崎
Kotaro Ogasawara
耕太郎 小笠原
Koichi Ueda
耕市 上田
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP5097961A priority Critical patent/JP2972047B2/en
Publication of JPH06309417A publication Critical patent/JPH06309417A/en
Application granted granted Critical
Publication of JP2972047B2 publication Critical patent/JP2972047B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To provide a device capable of generating a sweep solid in which a feature included in a track curve is reflected without being influenced by torsion due to a change in curvature and expressing a synthesized sweep solid by a general curve format. CONSTITUTION:This sweep solid generating device is provided with a feature curve calculating part 8 for calculating a feature curve on an optional point on a track curve, a feature curve arranging part 7 for arraging the feature curve on both the end point of the track curve, a solid generating method judging part 9 for judging whether an approximating method is to be used for the generation of a sweep solid based upon the track curve and the feature curves arranged on both the end points of the track curve or not, a section sweep solid generating part 10 for generating a sweep solid at the time of judging that the approximating method is not used, an approximate section sweep solid generating part 11 for properly adding the feature curve to the track curve and approximately generating a solid at the time of judging its use, an inter-curved surface matching part 12 for matching continuation between adjacent solids in a section sweep solid obtained by respective sweep solid generating parts 10, 11, and a solid synthesizing part 13 for synthesizing one sweep solid from respective solids.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータ援用設計
(CAD)やコンピュータ援用生産(CAM)等の形状
処理に関し、特に、スイープ曲面を生成するスイープ立
体生成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to shape processing such as computer-aided design (CAD) and computer-aided production (CAM), and more particularly to a sweep solid generator for generating a swept curved surface.

【0002】[0002]

【従来の技術】従来の技術としては、CADシステムに
おいて軌道曲線が複数本に分かれていた場合、1本の自
由曲線に変換し、軌道曲線を1本にした上でスイープ立
体生成の処理を行なっていた。
2. Description of the Related Art As a conventional technique, when a CAD system has a plurality of orbital curves, the orbital curves are converted into one free curve, and the orbital curve is made into one, and then a sweep solid is generated. Was there.

【0003】また、他の従来の技術としては、特開平4
−117572号公報に記載されている「3次元立体形
状生成装置」において、軌道曲線上の点における接線ベ
クトル及び曲率ベクトルに基づいて座標変換を行ない、
補間曲線を生成し、特徴曲線と補間曲線からグレゴリー
・パッチ(Gregory Patch)で内挿してス
イープ立体を生成していた。
Further, as another conventional technique, Japanese Patent Laid-Open No. Hei 4
In the "three-dimensional solid shape generating device" described in Japanese Patent Publication No. 117572, coordinate conversion is performed based on a tangent vector and a curvature vector at a point on the trajectory curve,
An interpolation curve is generated, and a sweep solid is generated by interpolating the characteristic curve and the interpolation curve with a Gregory Patch.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
た従来のCADシステムで用いられる複数本の軌道曲線
を1本の自由曲線に変換するという方法では、特徴曲線
が1本であるため、スイープ立体生成時のアルゴリズム
が1つで達成できるという利点はあるものの、例えば、
直線、円弧のように軌道曲線の種類から明白にスイープ
立体生成が可能な区間も自由曲線として扱うため、スイ
ープ立体を定義するデータ量が増加すると共に、処理負
荷が増大し、処理が不安定であるという問題点があっ
た。
However, in the method of converting a plurality of trajectory curves used in the above-mentioned conventional CAD system into one free curve, since the number of characteristic curves is one, the sweep solid generation is performed. Although there is an advantage that one time algorithm can be achieved,
Since a section such as a straight line or an arc that can generate a sweep solid clearly from the type of orbit curve is also treated as a free curve, the amount of data that defines the sweep solid increases and the processing load increases, resulting in unstable processing. There was a problem.

【0005】上述した「3次立体形状生成装置」では、
曲率の変化が激しい部分で得られるスイープ曲面は、極
端にねじれてしまったり、使用される曲面の性質上、生
成されるスイープ立体が細かいパッチに分割されてしま
うという問題点があった。また、「3次立体形状生成装
置」に記載されている曲面式は、従来隣合う曲面と滑ら
かに接続する曲面を生成する際に生じていた問題を解決
した新しい曲面式であるが、更にデータの互換が必要で
あるという問題点があった。
In the above-described "three-dimensional solid shape generating device",
The sweep curved surface obtained in a portion where the curvature changes drastically has a problem that it is extremely twisted, or the generated sweep solid is divided into fine patches due to the nature of the curved surface used. In addition, the curved surface expression described in the "3rd-dimensional solid shape generation device" is a new curved surface expression that solves the problem that has occurred when a curved surface that is smoothly connected to an adjacent curved surface has been solved. There was a problem that compatibility of was required.

【0006】本発明の目的は、激しい曲率の変化に伴う
ねじれの影響を受けずに、軌道曲線が持つ特徴を反映し
たスイープ立体を生成でき、合成したスイープ立体を一
般性のある曲面形式で表現できるスイープ立体生成装置
を提供する。
An object of the present invention is to generate a swept solid reflecting the characteristics of an orbit curve without being affected by the twist caused by a drastic change in curvature, and express the synthesized swept solid in a general curved surface format. Provided is a sweep stereoscopic generation device.

【0007】[0007]

【課題を解決するための手段】本発明の目的は、軌道曲
線の任意の地点での特徴曲線を算出する特徴曲線算出手
段と、算出された特徴曲線を該軌道曲線の両端点に配置
する特徴曲線配置手段と、軌道曲線及び軌道曲線の両端
点に配置された特徴曲線に基づいてスイープ立体の生成
で近似の方法を用いるか否かを判別する立体生成法判別
手段と、立体生成法判別手段でスイープ立体の生成で該
近似の方法を用いないと判別された場合に軌道曲線及び
特徴曲線に基づいてスイープ立体を生成する区間スイー
プ立体生成手段と、立体生成法判別手段でスイープ立体
の生成で近似の方法を用いると判別された場合に特徴曲
線算出手段を用いて特徴曲線を軌道曲線上に適宜追加し
て近似的に立体を生成する近似区間スイープ立体生成手
段と、区間スイープ立体生成手段及び近似区間スイープ
立体生成手段によって得られた区間スイープ立体で隣接
する立体間の接続性を整える曲面間整合手段と、区間ス
イープ立体を1つのスイープ立体に合成する立体合成手
段とを備えているスイープ立体生成装置によって達成さ
れる。
An object of the present invention is to provide a characteristic curve calculating means for calculating a characteristic curve at an arbitrary point of a trajectory curve, and a characteristic for arranging the calculated characteristic curve at both end points of the trajectory curve. A curve placement means, a solid generation method determination means for determining whether or not to use an approximation method for generating a sweep solid based on the trajectory curve and the characteristic curves placed at both ends of the trajectory curve, and a solid generation method determination means. In the generation of the sweep solid, when it is determined that the approximation method is not used, the interval sweep solid generating unit that generates the sweep solid based on the trajectory curve and the feature curve, and the solid generating method determination unit generate the sweep solid. When it is determined that the approximation method is used, the characteristic curve calculation means is used to appropriately add a characteristic curve to the trajectory curve to approximately generate a solid, and an approximate interval sweep solid generation means and an interval sweep The three-dimensional generation means and the approximate section sweep three-dimensional generation means are provided with inter-curved surface matching means for adjusting connectivity between adjacent three-dimensional sections in the three-dimensional sweep solid, and three-dimensional composition means for synthesizing the three-dimensional section sweep solid into one swept solid. Is achieved by a sweeping stereoscopic generator.

【0008】[0008]

【作用】本発明のスイープ立体生成装置は、空間上に配
置された1本または複数の軌道曲線と、1本または複数
の特徴曲線から特徴曲線を軌道曲線に沿って移動または
回転させることによりスイープ曲面を生成するために、
軌道曲線の任意の地点での特徴曲線を算出する特徴曲線
算出手段を用いて、特徴曲線を各軌道曲線の両端点及び
変曲点に配置し、各軌道曲線区間において、前記区間の
両端に配置された特徴曲線と軌道曲線を基にスイープ立
体生成の生成手段に近似の手法が必要かどうかを判別
し、近似の手法が必要ないと判別された場合、区間スイ
ープ立体生成手段により、特徴曲線と軌道曲線を基にス
イープ立体を生成する。近似の手法が必要と判別された
場合、近似スイープ立体生成手段により、前記特徴曲線
算出手段を用いて特徴曲線を軌道曲線上に適宜追加し近
似的に立体を生成する。生成された区間スイープ立体
は、隣合う立体間の接続性を整え、1つのスイープ立体
に合成する。さらに、前記特徴曲線算出手段において
は、軌道曲線の種類に応じた特徴曲線の算出を行ない、
算出する際に用いる座標変換マトリックスが一意に規定
できない場合、適当な平面を指定し、平面の法線ベクト
ルと軌道曲線の任意パラメータ点での接線ベクトルを基
に前記パラメータ点での座標変換マトリックスを定義す
る。また、前記区間スイープ立体生成手段においては、
軌道曲線の種類に応じた区間スイープ立体を生成する。
そして、前記近似区間スイープ立体生成手段において
は、区間スイープ立体の任意のパラメータ地点での断面
曲線と、前記特徴曲線算出手段を用いて前記パラメータ
地点に算出された曲線間の比較を行なう。
The sweep volume generating apparatus of the present invention sweeps by moving or rotating one or a plurality of trajectory curves arranged in space and one or a plurality of characteristic curves along the trajectory curve. To generate a curved surface,
Using a characteristic curve calculating means for calculating a characteristic curve at an arbitrary point of the trajectory curve, the characteristic curves are arranged at both end points and inflection points of each trajectory curve, and at each trajectory curve section, arranged at both ends of the section. On the basis of the feature curve and the trajectory curve, it is determined whether or not the approximation method is necessary for the sweep solid generation means, and if it is determined that the approximation method is not necessary, the interval sweep solid generation means Generate a swept solid based on the trajectory curve. When it is determined that the approximation method is necessary, the approximate sweep solid generation unit appropriately adds the characteristic curve to the trajectory curve using the characteristic curve calculation unit to approximately generate the solid. The generated interval sweep solid arranges connectivity between adjacent solids and combines them into one sweep solid. Further, in the characteristic curve calculating means, the characteristic curve is calculated according to the type of the trajectory curve,
If the coordinate transformation matrix used for calculation cannot be specified uniquely, specify an appropriate plane and set the coordinate transformation matrix at the parameter points based on the normal vector of the plane and the tangent vector at any parameter point of the trajectory curve. Define. In the section sweep solid generation means,
An interval sweep solid corresponding to the type of trajectory curve is generated.
Then, in the approximate section sweep solid generation means, the section curve at an arbitrary parameter point of the section sweep solid is compared with the curve calculated at the parameter point using the characteristic curve calculation means.

【0009】[0009]

【実施例】以下、図面を参照して本発明のスイープ立体
生成装置の実施例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a sweep solid generator of the present invention will be described below with reference to the drawings.

【0010】図1は、本発明のスイープ立体生成装置の
一実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the sweep solid generator of the present invention.

【0011】図1のスイープ立体生成装置は、制御部
1、制御部1に接続された表示部2、制御部1に接続さ
れたキーボード部3、制御部1に接続されたタブレット
部4、制御部1に接続されたファイル部5、制御部1に
接続されたモデリング部6、制御部1に接続された特徴
曲線配置部7、特徴曲線配置部7に接続された特徴曲線
算出部8、制御部1に接続された立体生成法判別部9、
立体生成法判別部9に接続された区間スイープ立体生成
部10、立体生成法判別部9及び特徴曲線算出部8に接
続された近似区間スイープ生成部11、制御部1に接続
された曲面間整合部12、及び制御部1に接続された立
体合成部13によって構成されている。
The sweep stereoscopic generator shown in FIG. 1 includes a control unit 1, a display unit 2 connected to the control unit 1, a keyboard unit 3 connected to the control unit 1, a tablet unit 4 connected to the control unit 1, and a control unit. File unit 5 connected to the unit 1, modeling unit 6 connected to the control unit 1, characteristic curve arrangement unit 7 connected to the control unit 1, characteristic curve calculation unit 8 connected to the characteristic curve arrangement unit 7, control A stereoscopic generation method discrimination unit 9 connected to the unit 1,
Section Sweep 3D Generation Section 10 Connected to 3D Generation Method Discrimination Section 9, Approximate Section Sweep Generation Section 11 Connected to 3D Generation Method Discrimination Section 9 and Feature Curve Calculation Section 8, Matching between Curved Surfaces Connected to Control Section 1 It is configured by the unit 12 and the three-dimensional synthesis unit 13 connected to the control unit 1.

【0012】次に、図2のフローチャートを参照して、
上記各構成部分の動作を説明する。
Next, referring to the flowchart of FIG.
The operation of each of the above components will be described.

【0013】まず、モデリング部6で、図3に示すよう
に、1本または複数の軌道曲線、及び、1本または複数
の特徴曲線を入力する(ステップS1)。次に、特徴曲
線配置部7で、特徴曲線算出部8を用いて入力された特
徴曲線を、図4に示すように、軌道曲線の両端点及び変
曲点に配置する(ステップS2)。その際、特徴曲線算
出部8は、特徴曲線の掃引方法や軌道曲線の種類に応じ
た算出方法を用いる。例えば、特徴曲線と軌道曲線との
角度を維持して、特徴曲線を算出する場合、軌道曲線が
直線のときは平行移動の方法を用いて算出し、軌道曲線
が円弧のときは回転移動の方法を用いて算出する。軌道
曲線が自由曲線の場合は、変曲点で分割した後、分割区
間において平面を指定し、その指定した平面に基づいて
座標変換マトリックスを生成し、特徴曲線を算出する。
First, as shown in FIG. 3, the modeling unit 6 inputs one or a plurality of trajectory curves and one or a plurality of characteristic curves (step S1). Next, the characteristic curve arranging unit 7 arranges the characteristic curves input using the characteristic curve calculating unit 8 at both end points and inflection points of the trajectory curve, as shown in FIG. 4 (step S2). At that time, the characteristic curve calculation unit 8 uses a sweeping method of the characteristic curve or a calculation method according to the type of the trajectory curve. For example, when the characteristic curve is calculated while maintaining the angle between the characteristic curve and the trajectory curve, the parallel movement method is used when the trajectory curve is a straight line, and the rotation movement method is used when the trajectory curve is an arc. Calculate using. When the trajectory curve is a free curve, after dividing at the inflection point, a plane is designated in the divided section, a coordinate conversion matrix is generated based on the designated plane, and a characteristic curve is calculated.

【0014】平面指定法は、図5に示すように、どの区
間においても一律に平面を指定する方法や、図6に示す
ように、それぞれの分割区間において区間の端点及び中
点の3点で平面を決定する方法がある。その場合、3点
で平面が決定できないときは、その区間は直線と判断
し、平行移動の方法を用いて特徴曲線を算出する。
The plane designation method is a method of uniformly designating a plane in any section as shown in FIG. 5 or three points of the section end points and the middle points in each divided section as shown in FIG. There is a way to determine the plane. In that case, when the plane cannot be determined at three points, the section is determined to be a straight line, and the parallel movement method is used to calculate the characteristic curve.

【0015】平面が決定したならば、次に、軌道曲線上
の特徴曲線の係る地点と、特徴曲線算出先地点におい
て、それぞれの地点における接線ベクトルと前記平面の
法線ベクトルとにより外積をとり、それを主法線ベクト
ルとする。続いて、主法線ベクトルと接線ベクトルによ
り外積をとり、それの結果を従法線ベクトルとする。
Once the plane has been determined, then, at the points on the characteristic curve on the trajectory curve and the characteristic curve calculation destination points, the outer product is calculated by the tangent vector at each point and the normal vector of the plane, Let it be the main normal vector. Then, the cross product is taken from the main normal vector and the tangent vector, and the result is taken as the binormal vector.

【0016】図7に示すように、こうして得られた接線
ベクトル、主法線ベクトル、従法線ベクトルを座標系と
して2地点間の座標変換マトリックスを計算し、座標変
換を行ない、図8に示すように特徴曲線を算出する。
As shown in FIG. 7, a coordinate conversion matrix between two points is calculated by using the tangent vector, the main normal vector and the subnormal vector thus obtained as a coordinate system, and the coordinate conversion is performed, as shown in FIG. The characteristic curve is calculated as follows.

【0017】特徴曲線を平行に掃引する場合は、軌道曲
線の種類にかかわらず、平行移動の方法を用いて算出す
る。従って、図9に示すような配置になる。
When sweeping the characteristic curves in parallel, the parallel movement method is used for calculation regardless of the type of the trajectory curve. Therefore, the arrangement is as shown in FIG.

【0018】また、図10に示すように、異なる形状の
特徴曲線で掃引する場合は、特徴曲線を算出する算出先
地点において、図11に示すように、算出先地点の両側
にある2本の特徴曲線に基づいて算出先地点においてそ
れぞれの特徴曲線を算出し、その後、算出した2曲線に
対し元の特徴曲線が配置されているそれぞれの地点から
算出先地点までの長さの比による線形補間を行なう。
Further, as shown in FIG. 10, in the case of sweeping with characteristic curves of different shapes, at the calculation destination point for calculating the characteristic curve, as shown in FIG. Each characteristic curve is calculated at the calculation destination point based on the characteristic curve, and then linear interpolation is performed based on the ratio of the lengths from the respective points where the original characteristic curve is arranged to the calculated two points to the calculation destination point. Do.

【0019】図12に示すように、線形補間によって得
られた曲線を算出先地点の特徴曲線とする。
As shown in FIG. 12, the curve obtained by the linear interpolation is used as the characteristic curve of the calculation destination point.

【0020】軌道曲線の端点及び変曲点に特徴曲線を配
置した後は、各軌道曲線区間において、軌道曲線と特徴
曲線に基づいて区間スイープ立体を生成する(ステップ
S3)。立体生成法判別部9で、特徴曲線と軌道曲線に
基づいて区間スイープ立体生成の可否を判別し、生成可
能と判別された場合は、区間スイープ立体生成部10に
より区間スイープ立体を生成する。
After the characteristic curves are arranged at the end points and the inflection points of the trajectory curve, a section sweep solid is generated in each trajectory curve section based on the trajectory curve and the characteristic curve (step S3). The solid generation method determination unit 9 determines whether or not the section sweep solid can be generated based on the characteristic curve and the trajectory curve, and when it is determined that the section sweep solid can be generated, the section sweep solid generation unit 10 generates the section sweep solid.

【0021】例えば、図13に示すように、軌道曲線が
直線の場合はルールド面生成の手法を用いて区間スイー
プ立体生成が可能である。その他、図14に示すよう
に、円弧を軌道曲線とし、円弧の両端にある特徴曲線の
形状が一致する場合には、円弧まわりの立体生成方法を
用いて区間スイープ立体生成が可能である。
For example, as shown in FIG. 13, when the trajectory curve is a straight line, the section sweep solid can be generated by using the ruled surface generation method. In addition, as shown in FIG. 14, when a circular arc is used as a trajectory curve and the shapes of the characteristic curves at both ends of the circular arc match each other, it is possible to perform section sweep stereoscopic generation using a stereoscopic generation method around the arc.

【0022】また、立体生成法判別部9により、区間ス
イープ立体生成が不可能と判断された場合、近似区間ス
イープ立体生成部11により区間スイープ立体を生成す
る。例えば、図15に示すように、軌道曲線が自由曲線
である場合は、近似区間スイープ生成方法を用いて区間
スイープ立体を生成する。
When the stereoscopic method determining unit 9 determines that it is impossible to generate the interval sweep solids, the approximate interval sweep solids generation unit 11 generates the interval sweep solids. For example, as shown in FIG. 15, when the trajectory curve is a free curve, a section sweep solid is generated using the approximate section sweep generation method.

【0023】以下、図16のフローチャートを参照して
近似区間スイープ立体生成部11の動作を説明する。
The operation of the approximate interval sweep solid generation unit 11 will be described below with reference to the flowchart of FIG.

【0024】近似区間スイープ立体生成部11は、ま
ず、配置された特徴曲線に基づいてスキニングの方法を
用いて立体を生成する(ステップT1)。スキニングに
ついては、パラメータ指定による有理Bスプライン(N
URBS(NonーUniform Rational
B−Spline))曲線を使用するのであれば、例
えば、“オン・ナーブス:サーヴェイ,レ・ピエグル,
米国電子電気学会,コンピュータ・グラフィクス・アン
ド・アプリケーション,1991年1月(“OnNUR
BS:A Survey”(Les Piegl、IE
EE Computer Graphics & Ap
plication、January1991))に述
べられているスキニングの方法を用いる。
The approximate section sweep solid generator 11 first generates a solid using a skinning method based on the arranged characteristic curves (step T1). For skinning, a rational B-spline (N
URBS (Non-Uniform Rational)
B-Spline)) curve is used, for example, "On Nervus: Survey, Les Piegres,
Institute of Electronics and Electrical Engineers, Computer Graphics and Applications, January 1991 ("OnNUR
BS: A Survey "(Les Piegl, IE
EE Computer Graphics & Ap
The method of skinning described in the publication, January 1991)) is used.

【0025】次に、軌道曲線上にある特徴曲線の間の中
間地点において、特徴曲線算出部8により特徴曲線を算
出し(ステップT2)、同時に、前記パラメータ地点に
おける立体の断面曲線を算出する(ステップT3)。そ
して、図17に示すように、前記パラメータ地点におけ
る特徴曲線と断面曲線との比較を行なう(ステップT
4)。
Next, at the intermediate point between the characteristic curves on the trajectory curve, the characteristic curve calculating section 8 calculates the characteristic curve (step T2), and at the same time, calculates the three-dimensional sectional curve at the parameter point ( Step T3). Then, as shown in FIG. 17, the characteristic curve and the section curve at the parameter point are compared (step T).
4).

【0026】特徴曲線と断面曲線の比較手段としては曲
線自身の比較や、NURBS曲線の場合、各制御頂点の
比較等が考えられる。比較が許容範囲内と判断されなか
った場合、前記算出特徴曲線を次に立体を再生成する際
の特徴曲線とするため記憶しておく(ステップT5)。
前記立体生成(ステップT1)以降の動作を全ての特徴
曲線に対して行なう(ステップT6)。全ての特徴曲線
に対し前記処理を終了したならば、上記ステップT5で
記憶した算出特徴曲線が存在するかどうかを判別し(ス
テップT7)、存在するならば前記記憶した算出特徴曲
線をあらたに特徴曲線として加える(ステップT8)。
加えられた特徴曲線に基づいてスキニングの方法を用い
て、再び立体を生成し直し、上記ステップT2以降の動
作を繰り返す。記憶した算出特徴曲線が存在しなくなっ
たかどうかを判別し(ステップT7)、上記ステップT
7で記憶した算出特徴曲線が存在しなくなったと判断さ
れた場合には処理を終了し、そのときに生成されている
立体を近似区間スイープ立体とする。
As means for comparing the characteristic curve and the section curve, it is possible to compare the curves themselves or, in the case of a NURBS curve, compare each control vertex. If the comparison is not determined to be within the allowable range, the calculated characteristic curve is stored as the characteristic curve for the next reproduction of the solid (step T5).
The operations after the three-dimensional generation (step T1) are performed for all characteristic curves (step T6). When the processing is completed for all the characteristic curves, it is judged whether or not the calculated characteristic curve stored in the above step T5 exists (step T7), and if there is, the stored calculated characteristic curve is newly characterized. Add as a curve (step T8).
Based on the added feature curve, the skinning method is used to regenerate the solid body, and the operations after step T2 are repeated. It is determined whether or not the stored calculated characteristic curve no longer exists (step T7), and the above step T
When it is determined that the calculated characteristic curve stored in 7 does not exist, the processing is terminated, and the solid body generated at that time is set as the approximate interval sweep solid body.

【0027】各軌道曲線上に区間スイープ立体を生成し
た後は、曲面間整合部12により図18に示すように区
間スイープ立体において、隣合う立体間の接続性を整え
るため立体の両端部分を軌道曲線の対応する両端点の接
線ベクトルの方向に修正する(図2のステップS4)。
After generating the section sweep solid on each trajectory curve, the inter-curved surface matching unit 12 orbits both ends of the solid in order to adjust the connectivity between adjacent solids in the section sweep solid as shown in FIG. Correction is made in the direction of the tangent vector of the corresponding end points of the curve (step S4 in FIG. 2).

【0028】立体の両端部分の修正には例えば、“ビジ
ュアル・コンティニュイティ”,ウルフガング・ボー
ム,CAD,Vol.20,ナンバー6,1988
(“Visual continuity”,Wolf
gang Boehm、CAD Volume 20
number 6,1988)のタンジェント プレー
ンコンティニュアス パッチ ワーク(TANGENT
PLANE CONTINUOUS PATCH W
ORK)の項に述べられている方法を用いる。
For modification of both end portions of a solid, for example, "Visual Continuity", Wolfgang Baume, CAD, Vol. 20, number 6,1988
("Visual continuity", Wolf
gang Boehm, CAD Volume 20
number 6, 1988) Tangent plain continuous patchwork (TANGENT)
PLANE CONTINUOUS PATCH W
The method described in the section (ORK) is used.

【0029】そして、立体合成部13により、軌道曲線
上に生成された各区間スイープ立体を図19に示すよう
に1つのスイープ立体に合成する(図2のステップS
5)。ここで、合成にはNURBS曲線で曲面を生成す
る場合、例えば、“オン・ナーブス:サーヴェイ,レ・
ピエグル,米国電子電気学会,コンピュータ・グラフィ
クス・アンド・アプリケーション,1991年1月
(“On NURBS:ASurvey”(Les P
iegl、IEEE Computer Graphi
cs & Application、January
1991))に述べられているNURBS曲面のオスロ
アルゴリズムや次数増加アルゴリズムを用いて隣合うN
URBS曲面の次数を揃え、1つのNURBS曲面を生
成する。
Then, the three-dimensional synthesizing unit 13 synthesizes each section sweep solid generated on the trajectory curve into one sweep solid as shown in FIG. 19 (step S in FIG. 2).
5). Here, in the case of generating a curved surface by a NURBS curve for synthesis, for example, "On Nervus: Survey, Les.
Piegr, Institute of Electronics and Electrical Engineers, Computer Graphics and Applications, January 1991 ("On NURBS: A Survey" (Les P
IEGL, IEEE Computer Graphi
cs & Application, January
1991)), the NURBS curved surface Oslo algorithm and the order increasing algorithm
The orders of the URBS curved surfaces are made uniform, and one NURBS curved surface is generated.

【0030】以上の説明で明らかなように、本発明のス
イープ立体生成装置は、以下の効果がある。
As is clear from the above description, the sweep solid generation device of the present invention has the following effects.

【0031】1)軌道曲線の任意位置における特徴曲線
を算出する時、軌道曲線の種類に応じた特徴曲線の算出
を行ない、算出する際に用いる座標変換マトリックスが
一意に規定できない場合、適当な平面を指定し、平面の
法線ベクトルと軌道曲線の任意パラメータ点での接線ベ
クトルを基に前記パラメータ点での座標変換マトリック
スを定義するので、激しい曲率の変化に伴うねじれの影
響を受けない滑らかな曲面生成が可能である。
1) When a characteristic curve at an arbitrary position of a trajectory curve is calculated, a characteristic curve corresponding to the type of the trajectory curve is calculated, and when the coordinate conversion matrix used for the calculation cannot be uniquely defined, an appropriate plane is obtained. Is specified and the coordinate transformation matrix at the parameter points is defined based on the normal vector of the plane and the tangent vector at the arbitrary parameter points of the trajectory curve, so that it is not affected by the twist due to the drastic change in curvature. Curved surface generation is possible.

【0032】2)軌道曲線の種類に応じた区間スイープ
立体を生成するため、その軌道曲線が持つ特徴を反映し
たスイープ立体の生成が可能である。
2) Since the section sweep solid corresponding to the type of the trajectory curve is generated, it is possible to generate the sweep solid reflecting the characteristics of the trajectory curve.

【0033】3)区間スイープ立体の両端部分は、軌道
曲線の両端における接線ベクトルの方向に修正されてい
るので軌道曲線が滑らかに接続されているならば、生成
された区間スイープ立体も滑らかに接続される。したが
って、合成したスイープ立体も滑らかな曲面となり得
る。また、NURBS曲面など、一般性のある曲面形式
で表現することができる。
3) Since both end portions of the section sweep solid are corrected in the directions of the tangent vectors at both ends of the trajectory curve, if the trajectory curves are smoothly connected, the generated section sweep solids are also smoothly connected. To be done. Therefore, the combined sweep solid can be a smooth curved surface. Also, it can be expressed in a curved surface format having generality such as a NURBS curved surface.

【0034】[0034]

【発明の効果】本発明のスイープ立体生成装置は、軌道
曲線の任意の地点での特徴曲線を算出する特徴曲線算出
手段と、算出された特徴曲線を該軌道曲線の両端点に配
置する特徴曲線配置手段と、軌道曲線及び軌道曲線の両
端点に配置された特徴曲線に基づいてスイープ立体の生
成で近似の方法を用いるか否かを判別する立体生成法判
別手段と、立体生成法判別手段でスイープ立体の生成で
該近似の方法を用いないと判別された場合に軌道曲線及
び特徴曲線に基づいてスイープ立体を生成する区間スイ
ープ立体生成手段と、立体生成法判別手段でスイープ立
体の生成で近似の方法を用いると判別された場合に特徴
曲線算出手段を用いて特徴曲線を軌道曲線上に適宜追加
して近似的に立体を生成する近似区間スイープ立体生成
手段と、区間スイープ立体生成手段及び近似区間スイー
プ立体生成手段によって得られた区間スイープ立体で隣
接する立体間の接続性を整える曲面間整合手段と、区間
スイープ立体を1つのスイープ立体に合成する立体合成
手段とを備えているので、軌道曲線区間において軌道曲
線の種類に応じたスイープ立体を生成するので軌道曲線
の特徴を反映したスイープ立体を生成することができ
る。また、区間で生成されたスイープ立体において隣合
う立体間の接続性を考慮しているので、軌道曲線が滑ら
かに接続されているならば、生成されるスイープ立体も
滑らかな曲面となる。
The sweep volume generating apparatus of the present invention is characterized by a characteristic curve calculating means for calculating a characteristic curve at an arbitrary point of a trajectory curve and a characteristic curve for arranging the calculated characteristic curve at both end points of the trajectory curve. A placement means, a solid generation method determination means for determining whether or not to use an approximate method for generation of a sweep solid based on a trajectory curve and a characteristic curve disposed at both end points of the trajectory curve, and a solid generation method determination means. Approximately by a section sweep solid generation means for generating a sweep solid based on a trajectory curve and a feature curve when it is determined that the method of approximation is not used in generation of a sweep solid, and generation of a sweep solid by a solid generation method determination means When it is determined that the method of (3) is used, the feature curve calculation means is used to appropriately add the feature curve to the trajectory curve to approximately generate a solid, and the approximate interval sweep solid generation means, A curved surface matching means for adjusting the connectivity between adjacent solids in the interval sweep solid obtained by the approximate solid sweep generation means and the approximated sweep solid generation means, and a stereoscopic synthesis means for synthesizing the sweep sweep solid into one sweep solid. Since it is provided, since the sweep solid corresponding to the type of the trajectory curve is generated in the trajectory curve section, the sweep solid reflecting the characteristics of the trajectory curve can be generated. Further, since the connectivity between adjacent solids is taken into consideration in the sweep solid generated in the section, if the trajectory curves are smoothly connected, the generated sweep solid will also be a smooth curved surface.

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

【図1】本発明のスイープ立体生成装置の一実施例の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a sweep solid generation apparatus of the present invention.

【図2】図1のスイープ立体生成装置の動作を説明する
ためのフローチャートである。
FIG. 2 is a flow chart for explaining the operation of the sweep volume generating apparatus of FIG.

【図3】入力された軌道曲線と特徴曲線の説明図であ
る。
FIG. 3 is an explanatory diagram of an input trajectory curve and a characteristic curve.

【図4】軌道曲線の両端と変曲点に特徴曲線を配置した
ときの説明図である。
FIG. 4 is an explanatory diagram when characteristic curves are arranged at both ends and inflection points of a trajectory curve.

【図5】区間における特徴曲線と指定平面の説明図であ
る。
FIG. 5 is an explanatory diagram of a characteristic curve and a designated plane in a section.

【図6】区間における特徴曲線と指定平面の説明図であ
る。
FIG. 6 is an explanatory diagram of a characteristic curve and a designated plane in a section.

【図7】変換座標系の説明図である。FIG. 7 is an explanatory diagram of a conversion coordinate system.

【図8】特徴曲線の配置の説明図である。FIG. 8 is an explanatory diagram of arrangement of characteristic curves.

【図9】特徴曲線の配置の説明図である。FIG. 9 is an explanatory diagram of arrangement of characteristic curves.

【図10】特徴曲線の形状が異なるときの配置の説明図
である。
FIG. 10 is an explanatory diagram of an arrangement when feature curves have different shapes.

【図11】算出先地点に特徴曲線を算出する説明図であ
る。
FIG. 11 is an explanatory diagram for calculating a characteristic curve at a calculation destination point.

【図12】算出先地点で線形補間した特徴曲線の説明図
である。
FIG. 12 is an explanatory diagram of a characteristic curve linearly interpolated at a calculation destination point.

【図13】直線を軌道曲線としたときの区間スイープ立
体生成の説明図である。
FIG. 13 is an explanatory diagram of section sweep solid generation when a straight line is used as a trajectory curve.

【図14】円弧を軌道曲線としたときの区間スイープ立
体生成の説明図である。
FIG. 14 is an explanatory diagram of section sweep solid generation when an arc is used as a trajectory curve.

【図15】自由曲線を軌道曲線としたときの区間スイー
プ立体生成の説明図である。
FIG. 15 is an explanatory diagram of section sweep solid generation when a free curve is a trajectory curve.

【図16】図1の近似区間スイープ立体生成部の動作を
説明するためのフローチャートである。
16 is a flowchart for explaining the operation of the approximate interval sweep solid generation unit in FIG.

【図17】断面曲線と軌道曲線との比較の説明図であ
る。
FIG. 17 is an explanatory diagram of comparison between a sectional curve and a trajectory curve.

【図18】図1の立体間整合部の動作を説明するための
図である。
FIG. 18 is a diagram for explaining the operation of the stereoscopic matching unit in FIG. 1.

【図19】本発明のスイープ立体装置により得られた結
果の一例を示す図である。
FIG. 19 is a diagram showing an example of a result obtained by the sweep stereoscopic apparatus of the present invention.

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

1 制御部 2 表示部 3 キーボード部 4 タブレット部 5 ファイル部 6 モデリング部 7 特徴曲線配置部 8 特徴曲線算出部 9 立体生成法判別部 10 区間スイープ立体生成部 11 近似区間スイープ生成部 12 曲面間整合部 13 立体合成部 DESCRIPTION OF SYMBOLS 1 control part 2 display part 3 keyboard part 4 tablet part 5 file part 6 modeling part 7 characteristic curve arrangement part 8 characteristic curve calculation part 9 three-dimensional generation method determination part 10 interval sweep three-dimensional generation part 11 approximate interval sweep generation part 12 matching between curved surfaces Division 13 Stereoscopic Synthesis Division

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 軌道曲線の任意の地点での特徴曲線を算
出する特徴曲線算出手段と、該算出された特徴曲線を該
軌道曲線の両端点に配置する特徴曲線配置手段と、該軌
道曲線及び当該軌道曲線の両端点に配置された該特徴曲
線に基づいてスイープ立体の生成で近似の方法を用いる
か否かを判別する立体生成法判別手段と、該立体生成法
判別手段で該スイープ立体の生成で該近似の方法を用い
ないと判別された場合に該軌道曲線及び該特徴曲線に基
づいて該スイープ立体を生成する区間スイープ立体生成
手段と、該立体生成法判別手段で該スイープ立体の生成
で該近似の方法を用いると判別された場合に該特徴曲線
算出手段を用いて該特徴曲線を該軌道曲線上に適宜追加
して近似的に立体を生成する近似区間スイープ立体生成
手段と、該区間スイープ立体生成手段及び該近似区間ス
イープ立体生成手段によって得られた区間スイープ立体
で隣接する立体間の接続性を整える曲面間整合手段と、
該区間スイープ立体を1つのスイープ立体に合成する立
体合成手段とを備えていることを特徴とするスイープ立
体生成装置。
1. A characteristic curve calculating means for calculating a characteristic curve at an arbitrary point of a trajectory curve, a characteristic curve arranging means for arranging the calculated characteristic curve at both end points of the trajectory curve, and the trajectory curve and Based on the characteristic curves arranged at both end points of the trajectory curve, a stereoscopic generation method discriminating means for discriminating whether or not to use an approximate method for generating a swept stereoscopic body, and the stereoscopic production method discriminating means for discriminating the sweep solid body. Section sweep solid generation means for generating the sweep solid based on the trajectory curve and the characteristic curve when it is determined that the approximation method is not used in generation, and generation of the sweep solid by the solid generation method determination means In the case where it is determined that the approximation method is to be used, the approximation section sweep solid generation unit that appropriately adds the feature curve to the trajectory curve using the feature curve calculation unit to approximately generate a solid, Section switch Curved surface matching means for adjusting connectivity between adjacent solids in the interval sweep solid obtained by the approximated sweep solid generation means and the approximated sweep solid generation means,
A sweep solid generation device comprising: a solid synthesizing unit that synthesizes the section sweep solid into one sweep solid.
JP5097961A 1993-04-23 1993-04-23 Sweep solid generator Expired - Fee Related JP2972047B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5097961A JP2972047B2 (en) 1993-04-23 1993-04-23 Sweep solid generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5097961A JP2972047B2 (en) 1993-04-23 1993-04-23 Sweep solid generator

Publications (2)

Publication Number Publication Date
JPH06309417A true JPH06309417A (en) 1994-11-04
JP2972047B2 JP2972047B2 (en) 1999-11-08

Family

ID=14206275

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5097961A Expired - Fee Related JP2972047B2 (en) 1993-04-23 1993-04-23 Sweep solid generator

Country Status (1)

Country Link
JP (1) JP2972047B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010092481A (en) * 2008-10-06 2010-04-22 Arm Ltd Graphics processing system
JP2011203931A (en) * 2010-03-25 2011-10-13 Hitachi Ltd Analysis model generating device, analysis model generating program, and recording medium to which analysis model generating program is recorded
US8743135B2 (en) 2008-10-06 2014-06-03 Arm Limited Graphics processing systems
US8928667B2 (en) 2008-10-06 2015-01-06 Arm Limited Rendering stroked curves in graphics processing systems

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010092481A (en) * 2008-10-06 2010-04-22 Arm Ltd Graphics processing system
US8743135B2 (en) 2008-10-06 2014-06-03 Arm Limited Graphics processing systems
US8928667B2 (en) 2008-10-06 2015-01-06 Arm Limited Rendering stroked curves in graphics processing systems
US8928668B2 (en) 2008-10-06 2015-01-06 Arm Limited Method and apparatus for rendering a stroked curve for display in a graphics processing system
JP2011203931A (en) * 2010-03-25 2011-10-13 Hitachi Ltd Analysis model generating device, analysis model generating program, and recording medium to which analysis model generating program is recorded

Also Published As

Publication number Publication date
JP2972047B2 (en) 1999-11-08

Similar Documents

Publication Publication Date Title
US5345546A (en) Method and apparatus for generating fillet surface between two surfaces
JP2003505800A (en) Geometric design and modeling system using control geometry
US7295202B2 (en) System for approximating and displaying three dimensional CAD data, and system for executing method thereof
EP0633550B1 (en) Image processing method and apparatus thereof
US5065348A (en) Method and system for transforming a free curved surface
WO2019202813A1 (en) Curved surface generation device, and program for curved surface generation
JP2972047B2 (en) Sweep solid generator
JPH02278290A (en) Method for applying curve to shape shown by linear short vector train
US6226405B1 (en) Method and apparatus for updating node position
Yang Point-normal subdivision curves and surfaces
JP4175470B2 (en) CAD system, curved surface analyzing apparatus, curved surface reproducing apparatus, method and program thereof
JP3197324B2 (en) 3D curved surface shape generator
JP2938909B2 (en) Curved surface generation method and device
JP2737127B2 (en) Object surface shape data creation method
JP3017302B2 (en) Skinning solid shape generator
JPH08194816A (en) Segment approximation method and its system
JP3153580B2 (en) Curve and curved shape generator
JP3019283B2 (en) Curved boundary condition generator
JP2000076489A (en) Curve deformation processing method and device therefor, storage medium storing curve deformation processing program, curved surface deformation processing method and device therefor and storage medium storing curved surface deformation processing program
JPH1166352A (en) Method and device for generating skinning curved surface and recording medium recording program for generating the same curved surface
JPH06259567A (en) Method for interpolating free curve
Stewart et al. Arbitrary-degree subdivision with creases and attributes
JP3222261B2 (en) Skinning curved surface shape generator
JPH0721410A (en) Method for generating free curved surface data
Nachman Blended tensor product B-spline surface

Legal Events

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