JP3934299B2 - Method for generating skinning curved surface along trajectory, generation device and storage medium - Google Patents

Method for generating skinning curved surface along trajectory, generation device and storage medium Download PDF

Info

Publication number
JP3934299B2
JP3934299B2 JP2000012516A JP2000012516A JP3934299B2 JP 3934299 B2 JP3934299 B2 JP 3934299B2 JP 2000012516 A JP2000012516 A JP 2000012516A JP 2000012516 A JP2000012516 A JP 2000012516A JP 3934299 B2 JP3934299 B2 JP 3934299B2
Authority
JP
Japan
Prior art keywords
curved surface
curve
trajectory
skinning
control point
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
JP2000012516A
Other languages
Japanese (ja)
Other versions
JP2001202529A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000012516A priority Critical patent/JP3934299B2/en
Publication of JP2001202529A publication Critical patent/JP2001202529A/en
Application granted granted Critical
Publication of JP3934299B2 publication Critical patent/JP3934299B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Generation (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、CAD/CAMを用いて、軌道曲線の形状を参照しながら複数の断面曲線を補間してスキニング曲面なる3次元形状を生成するための、軌道に沿ったスキニング曲面の生成方法、生成装置及び記憶媒体に関する。
【0002】
【従来の技術】
CAD/CAM等のコンピュータを利用して3次元形状を設計する上で、例えば、軌道曲線を参照しながら複数の断面曲線を補間して、目的とするスキニング曲面を生成する方法は重要な方法の一つである。ここに、スキニング曲面の生成法に関して、Leslie Piegl and Wayne Tiller,“The NURBS Book”Springer-Verlag 1995.なる文献によれば、生成した曲面の形状を制御するために、軌道曲線上の点の接線方向を利用する技術が開示されている。
【0003】
【発明が解決しようとする課題】
ところが、この文献に記載された生成法による場合、軌道曲線の形状を目的とするスキニング曲面の形状に十分に反映させることができない不具合がある。例えば、異なる軌道曲線に基づいてスキニング曲面を生成する場合には、異なるスキニング曲面が生成されることが望ましいにも関わらず、それらの軌道曲線が同じ接線方向を持つときには、得られるスキニング曲面が同じになってしまう。また、接線方向を利用する場合、各制御点での出だしの方向が一旦接線方向に方向付けされてしまうため、生成されるスキニング曲面がうねりやすく、或いは、うねりの大きなものとなつてしまい、軌道曲線の形状とスキニング曲面との違いが大きすぎる不自然な形状となる。
【0004】
そこで、本発明は、軌道曲線の形状を生成されるスキニング曲面の形状に良好に反映させ得る軌道に沿ったスキニング曲面の生成方法、生成装置及び記憶媒体を提供することを目的とする。
【0005】
併せて、生成されるスキニング曲面の形状の変更が容易な軌道に沿ったスキニング曲面の生成方法、生成装置及び記憶媒体を提供することを目的とする。
【0006】
さらには、非一様有理B-spline(NURBS)形式で表現される軌道曲線や複数の断面曲線にも対応し得る軌道に沿ったスキニング曲面の生成方法、生成装置及び記憶媒体を提供することを目的とする。
【0007】
【課題を解決するための手段】
請求項1記載の発明の軌道に沿ったスキニング曲面の生成方法は、コンピュータが記憶媒体から読み取り又は入力装置からコンピュータに入力される軌道曲線のデータを入力する過程と、コンピュータが記憶媒体から読み取り又は入力装置からコンピュータに入力される複数の断面曲線のデータを入力する過程と、コンピュータが、前記軌道曲線と前記複数の断面曲線との位置関係より得られる各断面に対応するパラメータと前記複数の断面曲線のデータに基づき軌道なしスキニング曲面を生成する過程と、コンピュータが、前記軌道曲線と、この軌道曲線上の各断面曲線との位置関係より得られる各対応点を補間して生成される曲線との差分を算出する過程と、コンピュータが、前記軌道なしスキニング曲面上の制御点と前記差分を考慮した前記記憶媒体に記憶されている演算式情報を用いた論理演算により得られる制御点を、目的とするスキニング曲面上の制御点とする演算処理によりスキニング曲面を生成する過程と、を具備する軌道に沿ったスキニング曲面の生成方法。
【0008】
即ち、入力された軌道曲線の形状を参照しながら、複数の断面曲線を補間して目的とするスキニング曲面を生成する軌道に沿ったスキニング曲面の生成方法において、軌道曲線上の制御点と、軌道なしに生成したスキニング曲面(補間曲面)上の制御点との論理演算によって得られる制御点を、結果となる目的のスキニング曲面上の制御点とするようにして、スキニング曲面を生成するものである。
【0009】
従って、軌道なしに生成される補間曲線と軌道曲線との間に生ずる差分を考慮して、補間曲線を補正しながら目的とするスキニング曲面を生成することで、軌道曲線の形状が十分に反映された良好なるスキニング曲面を生成できる。
【0010】
請求項2記載の発明は、前記スキニング曲を生成する過程における前記論理演算は、前記軌道なしスキニング曲面上の制御点をPi,j、前記軌道曲線上の制御点をQSj、前記補間曲線上の制御点を
【数7】

Figure 0003934299
としたとき、前記記憶媒体に記憶された
【数8】
Figure 0003934299
なる演算式によりコンピュータが制御点を演算する処理である。
【0011】
従って、請求項1記載の発明を実現するための論理演算式が具体的に明らかとなる。
【0012】
請求項3記載の発明は、前記軌道曲線の形状の変更により、コンピュータが、前記軌道曲線上の制御点を結果となる目的のスキニング曲面上の制御点に反映させてこの目的のスキニング曲面の形状を変更させる過程、を含む。
【0013】
従って、元々入力すべき軌道曲線の形状を変更することにより、目的とするスキニング曲面の形状も容易に変更することができる。
【0014】
請求項4記載の発明は、前記軌道曲線、複数の断面曲線及び生成される目的のスキニング曲面は、コンピュータにより非一様有理B−spline(NURBS)形式で表現される。
【0015】
従って、一般的な非一様有理B-spline(NURBS)形式で表現される軌道曲線や複数の断面曲線に対応できる。
【0016】
請求項5記載の発明の軌道に沿ったスキニング曲面の生成装置は、情報を入力する入力部と、情報を出力する出力部と、情報を記憶保存する記憶部と、前記記憶部に保存され、スキニング曲面の算出に必要な演算式情報を記憶する演算ファイルと、前記入力部の入力操作によって、軌道曲線のデータと複数の断面曲線のデータとを入力する操作対象入力手段と、前記記憶部に保存された前記演算式情報を用いて、前記軌道曲線と前記複数の断面曲線との位置関係より得られる各断面に対応するパラメータと前記複数の断面曲線のデータに基づき軌道なしスキニング曲面を生成する軌道なしスキニング曲面生成手段と、前記記憶部に保存された前記演算式情報を用いて、前記軌道曲線と、この軌道曲線上の各断面曲線との位置関係より得られる各対応点を補間して生成される曲線との差分を算出する差分算出手段と、前記記憶部に保存された前記演算式情報を用いて、前記軌道なしスキニング曲面上の制御点と前記差分を考慮した論理演算により得られる制御点を、目的とするスキニング曲面上の制御点とする演算処理により前記スキニング曲面を生成するスキニング曲面生成手段と、このスキニング曲面生成手段により生成されたスキニング曲面を前記出力部に出力する出力手段と、を具備する。
【0017】
従って、軌道なしに生成される補間曲線と軌道曲線との間に生ずる差分を考慮して、補間曲線を補正しながら目的とするスキニング曲面を生成することで、軌道曲線の形状が十分に反映された良好なるスキニング曲面を生成できる。
【0018】
請求項6記載の発明は、前記記憶部に保存された前記演算式情報の一つであって、前記スキニング曲線生成手段で用いられる前記論理演算のための情報は、前記補間曲線上の制御点をPi,j、前記軌道曲線上の制御点をQSj前記補間曲線上の制御点を、
【数9】
Figure 0003934299
としたとき、
【数10】
Figure 0003934299
なる演算式により制御点を演算するための情報である。
【0019】
従って、請求項5記載の発明を実現するための論理演算式が具体的に明らかとなる。
【0020】
請求項7記載の発明は、請求項5又は6記載の軌道に沿ったスキニング曲面の生成装置において、前記操作対象入力手段は、前記軌道曲線の形状の変更により、前記軌道曲線上の制御点を結果となる目的のスキニング曲面上の制御点に反映させてこの目的のスキニング曲面の形状を変更させる入力処理を含む。
【0021】
従って、元々入力すべき軌道曲線の形状を入力部を通じて変更することにより、目的とするスキニング曲面の形状も容易に変更することができる。
【0022】
請求項8記載の発明は、請求項5,6又は7記載の軌道に沿ったスキニング曲面の生成装置において、前記軌道曲線、複数の断面曲線及び生成される目的のスキニング曲面は、非一様有理B-spline(NURBS)形式で表現される。
【0023】
従って、一般的な非一様有理B-spline(NURBS)形式で表現される軌道曲線や複数の断面曲線に対応できる。
【0024】
請求項9記載の発明のコンピュータ読取り可能な記憶媒体は、軌道曲線のデータを入力する処理と、複数の断面曲線のデータとを入力する処理と、前記軌道曲線と前記複数の断面曲線との位置関係より得られる各断面に対応するパラメータと複数の断面曲線のデータに基づき軌道なしスキニング曲面を生成する処理と、前記軌道曲線と、この軌道曲線上の各断面曲線との位置関係より得られる各対応点を補間して生成される曲線との差分を算出する処理と、前記軌道なしスキニング曲面上の制御点と前記差分を考慮した論理演算により得られる制御点を、目的とするスキニング曲面上の制御点とする演算処理によりスキニング曲面を生成する処理と、をコンピュータに実行させるプログラムを格納している。
【0025】
従って、当該記憶媒体に格納されたプログラムをコンピュータに実行させることにより、軌道なしに生成される補間曲線と軌道曲線との間に生ずる差分を考慮して、補間曲線を補正しながら目的とするスキニング曲面を生成することで、軌道曲線の形状が十分に反映された良好なるスキニング曲面を生成できる。
【0026】
請求項10記載の発明は、前記スキニング曲を生成する処理における前記論理演算は、前記補間曲線上の制御点をPi,j、前記軌道曲線上の制御点をQSj前記補間曲線上の制御点を
【数11】
Figure 0003934299
としたとき、
【数12】
Figure 0003934299
なる演算式により制御点を演算する処理である。
【0027】
従って、請求項9記載の発明を実現するための論理演算式が具体的に明らかとなる。
【0028】
請求項11記載の発明は、コンピュータに、前記軌道曲線の形状の変更により、前記軌道曲線上の制御点を結果となる目的のスキニング曲面上の制御点に反映させてこの目的のスキニング曲面の形状を変更させる処理を、さらに実行させるコンピュータ読み取り可能なプログラムを格納している
【0029】
従って、元々入力すべき軌道曲線の形状を変更することにより、目的とするスキニング曲面の形状も容易に変更することができる。
【0030】
請求項12記載の発明は、請求項9,10又は11記載の記憶媒体において、前記軌道曲線、複数の断面曲線及び生成される目的のスキニング曲面は、非一様有理B-spline(NURBS)形式で表現される。
【0031】
従って、一般的な非一様有理B-spline(NURBS)形式で表現される軌道曲線や複数の断面曲線に対応できる。
【0032】
【発明の実施の形態】
本発明の一実施の形態を図面に基づいて説明する。図1は、本発明が適用されるCAD/CAMなるコンピュータシステムの概略構成例を示すブロック図である。まず、各種の演算処理を実行して各部を集中的に制御するCPU1が設けられている。このCPU1には、固定データを予め記憶するROM2と可変データを書換え自在に記憶してワークエリア等として用いられるRAM3とがシステムバス4を介して接続され、マイクロコンピュータ5が構成されている。このようなマイクロコンピュータ5には、システムバス4を介してオペレーティングシステムやコンピュータ読取り可能なプログラムである動作プログラムを格納する記憶部としてのHDD(ハードディスクドライブ)6も接続されており、装置の起動時、必要なオペレーティングシステムの他、動作プログラムも適宜RAM3に転送され、動作プログラムに従った駆動制御がなされる。従って、本実施の形態では、HDD6に動作プログラムがインストールされており、そのHDD6がコンピュータ読取り可能な動作プログラムを格納する記憶媒体として機能する。
【0033】
もっとも、動作プログラムは、例えばROM2に予め記憶されたファームウェア構成となっていてもよく、また、マイクロコンピュータ5にシステムバス4を介して接続されたCD−ROMドライブ7によって読取り可能なCD−ROM8であってもよく、或いは、同様に、MOドライブ、DVDドライブ、CD−Rドライブ等のような光ディスクドライブによって読取り可能なMO,DVD,CD−R等のディスクに格納されていてもよい。つまり、コンピュータ読取り可能な動作プログラムを格納する記憶媒体としては、その種類を問わない。さらには、通信制御装置9を介してインタネットなどのネットワーク10から動作プログラムをダウンロードし、HDD6にインストールするようにしてもよい。
【0034】
また、CPU1を主体とするマイクロコンピュータ5には、システムバス4、コントローラ(図示せず)等を介して入力部としての入力装置11や出力部としての出力装置12が接続されている。入力装置11は、表示装置(出力装置12)に表示された断面曲線の形状、軌道曲線の形状を受け付けるためのキーボード、マウスなどにより構成されている。この入力装置11による入力操作を通じて入力される断面曲線の形状又は軌道曲線の形状は、これらの形状を構成する点、曲線などの幾何形状データと、幾何形状データの相関関係を示す位相データとからなっている。出力装置12は、HDD6やRAM3などに記憶された形状を読み出し出力するもので、ディスプレイのような表示装置やプリンタのような装置より構成されている。
【0035】
記憶部としてのHDD6には、後述するようなスキニング曲面の算出に必要な各種の演算式情報が演算ファイルの形で予め記憶されている。
【0036】
このような基本的なコンピュータシステム構成の下、マイクロコンピュータにより実行される軌道に沿ったスキニング曲面を生成するための処理制御方法について図2に示すフローチャートを参照しつつ説明する。
【0037】
まず、予め断面曲線、軌道曲線に関する情報を読み込み、HDD6へ格納しておく(ステップS1)。そして、ユーザはマウスなどの入力装置11の操作により、操作対象となる断面曲線、軌道曲線を選択する。例えば、図3に示すような複数の断面曲線、軌道曲線をマウスなどの入力装置11でクリックして選択する。このように入力装置11を通じて入力・選択処理が行われたことを確認した後(S2のY)、以下の処理に移行する。ここに、ステップS1,S2までの処理が、入力装置11の入力操作によって、軌道曲線のデータと複数の断面曲線のデータとを入力する操作対象入力手段の機能、或いは、入力する処理として実行される。
【0038】
ここで、曲線補間と曲面スキニングの基本について説明する。詳細には、前述したLeslie Piegl and Wayne Tiller,“The NURBS Book”Springer-Verlag 1995.なる文献に記載されている技術を参照するものである。
【0039】
まず、点列qk,k=0,…,mが与えられたとし、これらの点を通過するように1本のB-spline曲線を生成する。ただし、B-spline曲線の幾つかのパラメータvk,k=0,…,mにおいて、B-spline曲線上の位置と点qkが一致する。つまり、次の(1)式が成立する。
【0040】
【数13】
Figure 0003934299
【0041】
ここで、Piは曲線上の制御点であり、Ni,q(vk)はノットベクトルTにより定義されたq次の正規化されたB-spline関数である。本実施の形態では、このノットベクトルTは、次の(2)式で示す形式を持つものと仮定する。
【0042】
【数14】
Figure 0003934299
【0043】
一方、曲線補間方法は、B-spline曲面のスキニングに容易に拡張できる。与えられたB-spline関数の断面曲線群を補間して1枚のB-spline曲面を生成する方法は、次の3つのステップより構成される。
【0044】
まず、全ての断面曲線をcompatibility化(等化)する。つまり、全ての断面曲線の次数、制御点の数、ノットベクトルが同じになるように調整する。調整した結果によれば、ノットベクトルUにより定義される曲面のu方向の曲線Cr(u)は、(3)式で表される。
【0045】
【数15】
Figure 0003934299
【0046】
次に、曲面のv方向における各断面曲線のパラメータ値vr,r=0,…,Rとv方向のノットベクトルVとを適切に設定する。
【0047】
ついで、各i,i=0,…,nに対して、(1)式に示した曲線補間方法を(3)式の全ての制御点Qi,rに適用して(4)式の方程式を解く。
【0048】
【数16】
Figure 0003934299
【0049】
この(4)式の制御点Pi,jは、結果的には、次の(5)式に示すスキニング曲面S1(u,v)の制御点となる。
【0050】
【数17】
Figure 0003934299
【0051】
このような曲線補間と曲面スキニングとに関する基本方法の下、本実施の形態では、次のようなステップにより1枚のB-spline曲面を生成する。なお、本実施の形態では、全ての断面曲線、軌道曲線はB-spline曲線(NURBS形式の曲線)であり、各々次の(6)(7)式により表現されるものと仮定する。
【0052】
【数18】
Figure 0003934299
【0053】
まず、軌道曲線における各断面曲線の対応点とパラメータを決定する(S3)。例えば、断面曲線が載る平面と軌道曲線との交点を対応点とする方法を利用できる。即ち、図4に示すように、軌道曲線における各断面曲線の対応点をqj,j=0,…,Rとし、軌道曲線における各々の点のパラメータをvj,j=0,…,Rとする。ここでは、説明を容易にするため、q0とqRを各々軌道曲線の始点と終点とし、また、各々のパラメータを0.0,1.0とする。
【0054】
次に、(1)式に示すB-spline曲線の補間方法を軌道曲線上の全ての対応点とパラメータに適用する(S4)。このステップS4の処理が、軌道なしスキニング曲面生成手段の機能、或いは、軌道なしスキニング曲面を生成する処理として実行される。B-spline曲線の位数(次数+1)は断面曲線の数により決定し得る。例えば、断面曲線の数が3以下の場合には、位数を断面曲線の数とし、それ以外の場合には位数を4にする。また、対応点のパラメータ値の分布を反映したノットベクトルVが必要となるが、このノットベクトルVとして(8)式に示すものが実用上有効である。
【0055】
【数19】
Figure 0003934299
【0056】
(8)式において、両端のノットの多重度は(q+1)であり、中間ノットは(9)式により計算される。
【0057】
【数20】
Figure 0003934299
【0058】
また、補間曲線
【数21】
Figure 0003934299
は(10)式により表現されると仮定する。
【0059】
【数22】
Figure 0003934299
【0060】
図4は与えられた軌道曲線と生成された補間曲線との一例を示す。
【0061】
一方、前述したようなB-spline曲面のスキニングを全ての断面曲線に適用し、補間曲面S1(u,v)を生成する(S5)。即ち、軌道なしのスキニング曲面の生成である。ただし、v方向(スキニングする方向)のパラメータ値は図4を参照して前述した対応点のパラメータ値を利用するものとする。また、v方向のノットベクトルは(9)式により計算される。補間曲面S1(u,v)は、図5を参照すれば、(11)式により表現される。
【0062】
【数23】
Figure 0003934299
【0063】
ついで、軌道曲線Cs(v)と補間曲線
【数24】
Figure 0003934299
とをcompatibility化(等化)する。同時に、補間曲面S1(u,v)のv方向を軌道曲線Cs(v)と補間曲線
【数25】
Figure 0003934299
とにcompatibility化(等化)させる(S6)。この結果、軌道曲線Cs(v)、補間曲線
【数26】
Figure 0003934299
、補間曲面S1(u,v)のv方向は、同じ次数q、制御点の数m2、ノットベクトルVを持つ。
【0064】
このようにcompatibility化(等化)した後の補間曲面S1(u,v)のv方向の等パラメータ曲線
【数27】
Figure 0003934299
は、(12)式により表現できる。
【0065】
【数28】
Figure 0003934299
【0066】
ここに、本実施の形態では、軌道曲線Cs(v)と補間曲線
【数29】
Figure 0003934299
との差分を、生成するスキニング曲面
【数30】
Figure 0003934299
の等パラメータ曲線に反映させることを考える(S7)。つまり、次の(13)式で示される曲面である。
【0067】
【数31】
Figure 0003934299
【0068】
この際、
【数32】
Figure 0003934299
という性質により、(14)式が成り立つ。
【0069】
【数33】
Figure 0003934299
【0070】
(14)式を(13)式に代入すると、(15)式が得られる。
【0071】
【数34】
Figure 0003934299
【0072】
よって、生成するスキニング曲面S(u,v)は、(16)式で表現できる。
【0073】
【数35】
Figure 0003934299
【0074】
ここで、
【数36】
Figure 0003934299
である。この(17)式が本発明における論理演算式を示している。このステップS7の処理が、差分算出手段及びスキニング曲面生成手段の機能、或いは、差分を算出する処理及びスキニング曲線を生成する処理として実行される。
【0075】
このようにして得られた結果としての軌道に沿ったスキニング曲面S(u,v)は、例えば図6に示すような1枚のB-spline曲面であり、以下のような性質を持つ。
【0076】
まず、このスキニング曲面S(u,v)は(18)式より全ての断面曲線を補間する。
【0077】
【数37】
Figure 0003934299
【0078】
また、軌道曲線の形状を変更し、かつ、軌道曲線Cs(v)と補間曲線
【数38】
Figure 0003934299
との差分が存在すれば、結果となるスキニング曲面の形状も変更される。つまり、元々入力すべき軌道曲線の形状を変更することにより、目的とするスキニング曲面の形状も容易に変更することができる。
【0079】
さらに、各断面曲線と軌道曲線との交点が存在し、かつ、その交点を軌道曲線上の対応点として利用する場合には、全ての断面曲線における交点のパラメータが同じであれば、軌道曲線は結果となるスキニング曲面S(u,v)の等パラメータ線となる。これは、これらの交点を補間する曲面S1(u,v)の等パラメータ線は補間曲線
【数39】
Figure 0003934299
と全く同じであるためである。
【0080】
また、断面曲線のうち、NURBS曲線が存在する場合、又は、軌道曲線がNURBS曲線である場合には、これらの曲線をB-spline曲線に近似変換した後、前述した方法を利用すればよい。近似方法としては、例えば、Yoshimasa Tokuyama,Kouichi Konno,“Approximate conversion of a rational boundary Gregory Patch to a nonuniform B-spline surface”,The Visual Computer,Vol.11,No.7,Sep.1995,pp.360-368なる文献の記載を利用すればよい。
【0081】
このような処理を経て最終的に生成されたスキニング曲面をHDD6へ書き出すことにより(S8)、一連の処理が終了する。併せて、生成されたスキニング曲面が出力装置12に対して出力され、ディスプレイ表示される。この処理が、出力手段の機能として実行される。
【0082】
図7は、より具体的に生成された軌道に沿ったスキニング曲面の一例を示しており、軌道曲線の形状が反映された滑らかな曲面として生成されているのが分かる。
【0083】
【発明の効果】
請求項1,5及び9記載の発明によれば、軌道なしに生成される補間曲線と軌道曲線との間に生ずる差分を考慮して、補間曲線を補正しながら目的とするスキニング曲面を生成することで、軌道曲線の形状が十分に反映された良好なるスキニング曲面を生成することができる。
【0084】
請求項2,6及び10記載の発明によれば、請求項1,5及び9記載の発明を実現するための論理演算式が具体的に明らかとなる。
【0085】
請求項3,7及び11記載の発明によれば、元々入力すべき軌道曲線の形状を変更することにより、目的とするスキニング曲面の形状も容易に変更することができる。
【0086】
請求項4,8及び12記載の発明によれば、一般的な非一様有理B-spline(NURBS)形式で表現される軌道曲線や複数の断面曲線について対応することができる。
【図面の簡単な説明】
【図1】本発明の一実施の形態のコンピュータシステムの概略構成例を示すブロック図である。
【図2】スキニング曲面生成処理例を示すフローチャートである。
【図3】断面曲線と軌道曲線との例を示す特性図である。
【図4】軌道曲線と補間曲線との対応を示す特性図である。
【図5】軌道なしのスキニング曲面の例を示す特性図である。
【図6】軌道に基づいて生成されたスキニング曲面の例を示す特性図である。
【図7】軌道に基づいて生成されたより具体的なスキニング曲面の例を示す特性図である。
【符号の説明】
6 記憶部
11 入力部
12 出力部[0001]
BACKGROUND OF THE INVENTION
The present invention uses a CAD / CAM to generate a skinning curved surface along a trajectory for generating a three-dimensional shape that becomes a skinning curved surface by interpolating a plurality of cross-sectional curves while referring to the shape of the trajectory curve. The present invention relates to an apparatus and a storage medium.
[0002]
[Prior art]
In designing a three-dimensional shape using a computer such as CAD / CAM, for example, a method of generating a target skinning curved surface by interpolating a plurality of cross-sectional curves while referring to a trajectory curve is an important method. One. Here, regarding the skinning curved surface generation method, according to the document Leslie Piegl and Wayne Tiller, “The NURBS Book” Springer-Verlag 1995. In order to control the shape of the generated curved surface, Techniques that utilize direction are disclosed.
[0003]
[Problems to be solved by the invention]
However, in the case of the generation method described in this document, there is a problem that the shape of the trajectory curve cannot be sufficiently reflected on the shape of the intended skinning curved surface. For example, when generating a skinning surface based on different trajectory curves, it is desirable that different skinning surfaces are generated, but when the trajectory curves have the same tangent direction, the obtained skinning surface is the same. Become. Also, when the tangential direction is used, the starting direction at each control point is once oriented in the tangential direction, so that the generated skinning curved surface is easy to swell or has a large swell. The difference between the curved shape and the skinning curved surface is an unnatural shape that is too large.
[0004]
Therefore, an object of the present invention is to provide a skinning curved surface generation method, a generation device, and a storage medium along a trajectory that can favorably reflect the shape of the trajectory curve to the shape of the generated skinning curved surface.
[0005]
In addition, an object of the present invention is to provide a skinning curved surface generation method, a generation device, and a storage medium along a trajectory in which the shape of the generated skinning curved surface can be easily changed.
[0006]
Furthermore, it is intended to provide a skinning curved surface generation method, a generation device, and a storage medium along a trajectory that can correspond to a trajectory curve expressed in a non-uniform rational B-spline (NURBS) format and a plurality of cross-sectional curves. Objective.
[0007]
[Means for Solving the Problems]
According to the first aspect of the present invention, there is provided a method for generating a skinning curved surface along a trajectory, a process in which a computer reads data of a trajectory curve that is read from a storage medium or input to a computer from an input device; A process of inputting data of a plurality of cross-section curves input to the computer from the input device, and a parameter corresponding to each cross-section obtained from a positional relationship between the trajectory curve and the plurality of cross-section curves and the plurality of cross sections A process of generating a trajectory-free skinning surface based on the data of the curve, and a curve generated by the computer interpolating each corresponding point obtained from the positional relationship between the trajectory curve and each cross-sectional curve on the trajectory curve; And calculating the difference between the control points on the trajectoryless skinning curved surface and the difference. The control points obtained by the logical operation using the arithmetic expression information stored in the storage medium, and generating a skinning curved by the arithmetic process of the control point on skinning curved surface of interest, the track having a A method for generating a skinned curved surface.
[0008]
That is, in a method for generating a skinning curved surface along a trajectory that interpolates a plurality of cross-sectional curves and generates a target skinning curved surface while referring to the shape of the input trajectory curve, the control points on the trajectory curve and the trajectory A skinning curved surface is generated by setting a control point obtained by logical operation with a control point on a skinning curved surface (interpolated curved surface) generated without using as a control point on the target skinning curved surface as a result. .
[0009]
Therefore, the shape of the trajectory curve is sufficiently reflected by generating the target skinning surface while correcting the interpolation curve in consideration of the difference between the interpolation curve generated without the trajectory and the trajectory curve. A good skinning surface can be generated.
[0010]
According to a second aspect of the invention, wherein the logic operations in skinning song surface process of generating the control points on the track without skinning curved Pi, j, Qsj control points on the trajectory curve, the interpolation curve on The control point of [Equation 7]
Figure 0003934299
Is stored in the storage medium.
Figure 0003934299
This is a process in which the computer calculates the control point by the following equation.
[0011]
Therefore, a logical operation expression for realizing the invention of claim 1 is specifically clarified.
[0012]
According to a third aspect of the present invention, by changing the shape of the trajectory curve, the computer causes the control points on the trajectory curve to be reflected in the control points on the target skinning curved surface resulting in the shape of the target skinning curved surface. Including changing the process.
[0013]
Therefore, the shape of the target skinning curved surface can be easily changed by changing the shape of the trajectory curve to be originally input.
[0014]
According to a fourth aspect of the present invention, the trajectory curve, the plurality of cross-sectional curves, and the target skinning surface to be generated are expressed in a non-uniform rational B-spline (NURBS) format by a computer .
[0015]
Therefore, it is possible to deal with a trajectory curve and a plurality of cross-sectional curves expressed in a general non-uniform rational B-spline (NURBS) format.
[0016]
An apparatus for generating a skinning curved surface along a trajectory according to a fifth aspect of the invention includes an input unit that inputs information, an output unit that outputs information, a storage unit that stores and saves information, and is stored in the storage unit. A calculation file that stores calculation formula information necessary for calculating the skinning curved surface, an operation target input unit that inputs trajectory curve data and a plurality of cross-section curve data by an input operation of the input unit, and a storage unit Using the stored arithmetic expression information, a trajectory-free skinning surface is generated based on parameters corresponding to each cross-section obtained from the positional relationship between the trajectory curve and the plurality of cross-section curves and the data of the plurality of cross-section curves. Obtained from the positional relationship between the trajectory curve and each cross-sectional curve on the trajectory curve, using the trajectory-free skinning curved surface generating means and the arithmetic expression information stored in the storage unit Using the difference calculation means for calculating the difference from the curve generated by interpolating the corresponding points, and the calculation formula information stored in the storage unit, the control points on the trajectoryless skinning curved surface and the difference are considered. Skinning surface generating means for generating the skinning curved surface by arithmetic processing using the control points obtained by the logical operation as control points on the target skinning curved surface, and the output of the skinning curved surface generated by the skinning curved surface generating means Output means for outputting to the unit.
[0017]
Therefore, the shape of the trajectory curve is sufficiently reflected by generating the target skinning surface while correcting the interpolation curve in consideration of the difference between the interpolation curve generated without the trajectory and the trajectory curve. A good skinning surface can be generated.
[0018]
The invention according to claim 6 is one of the arithmetic expression information stored in the storage unit, and the information for the logical operation used in the skinning curve generation means is a control point on the interpolation curve. P i, j , the control point on the trajectory curve is Q Sj , and the control point on the interpolation curve is
[Equation 9]
Figure 0003934299
When
[Expression 10]
Figure 0003934299
This is information for calculating a control point by the following equation.
[0019]
Therefore, the logical operation formula for realizing the invention according to claim 5 is specifically clarified.
[0020]
According to a seventh aspect of the present invention, in the apparatus for generating a skinning curved surface along a trajectory according to the fifth or sixth aspect, the operation target input means sets a control point on the trajectory curve by changing the shape of the trajectory curve. It includes an input process of changing the shape of the target skinning curved surface by reflecting the control points on the target skinning curved surface as a result.
[0021]
Therefore, the shape of the target skinning curved surface can be easily changed by changing the shape of the trajectory curve to be originally input through the input unit.
[0022]
The invention described in claim 8 is the apparatus for generating a skinning curved surface along the trajectory according to claim 5, 6 or 7, wherein the trajectory curve, the plurality of cross-sectional curves, and the generated skinning curved surface are non-uniformly rational. It is expressed in B-spline (NURBS) format.
[0023]
Therefore, it is possible to deal with a trajectory curve and a plurality of cross-sectional curves expressed in a general non-uniform rational B-spline (NURBS) format.
[0024]
According to a ninth aspect of the present invention, there is provided a computer-readable storage medium, a process of inputting trajectory curve data, a process of inputting data of a plurality of cross-section curves, and positions of the trajectory curves and the plurality of cross-section curves. A process for generating a trajectory-free skinning curved surface based on parameters corresponding to each cross-section obtained from the relationship and data of a plurality of cross- section curves, and each position obtained from the positional relation between the trajectory curve and each cross-section curve on the trajectory curve A process for calculating a difference from a curve generated by interpolating corresponding points, a control point on the trajectoryless skinning curved surface, and a control point obtained by a logical operation considering the difference on the target skinning curved surface A program for causing a computer to execute a process of generating a skinning curved surface by an arithmetic process using control points is stored.
[0025]
Therefore, by causing the computer to execute the program stored in the storage medium, the target skinning can be performed while correcting the interpolation curve in consideration of the difference between the interpolation curve generated without the trajectory and the trajectory curve. By generating a curved surface, a good skinning curved surface that sufficiently reflects the shape of the trajectory curve can be generated.
[0026]
The invention of claim 10 wherein, the said logical operation in the process of generating a skinning song surface, the control points P i on the interpolation curve, j, the track curve on the control point Q Sj, the interpolation curve on The control point of [Equation 11]
Figure 0003934299
When
[Expression 12]
Figure 0003934299
This is a process for calculating the control point by the following equation.
[0027]
Therefore, a logical operation expression for realizing the invention according to claim 9 is specifically clarified.
[0028]
According to the eleventh aspect of the present invention, by changing the shape of the trajectory curve to the computer, the control point on the trajectory curve is reflected in the control point on the target skinning curved surface as a result, and the shape of the target skinning curved surface is obtained. A computer-readable program for further executing a process for changing the program is stored .
[0029]
Therefore, the shape of the target skinning curved surface can be easily changed by changing the shape of the trajectory curve to be originally input.
[0030]
According to a twelfth aspect of the present invention, in the storage medium according to the ninth, tenth, or eleventh aspects, the trajectory curve, the plurality of cross-sectional curves, and the target skinning surface to be generated are in a non-uniform rational B-spline (NURBS) format. It is expressed by
[0031]
Therefore, it is possible to deal with a trajectory curve and a plurality of cross-sectional curves expressed in a general non-uniform rational B-spline (NURBS) format.
[0032]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration example of a computer system called CAD / CAM to which the present invention is applied. First, a CPU 1 that performs various arithmetic processes and centrally controls each unit is provided. A ROM 2 that stores fixed data in advance and a RAM 3 that stores variable data in a rewritable manner and is used as a work area or the like are connected to the CPU 1 via a system bus 4 to constitute a microcomputer 5. An HDD (hard disk drive) 6 as a storage unit for storing an operating system or an operation program that is a computer readable program is also connected to such a microcomputer 5 via a system bus 4. In addition to the necessary operating system, the operation program is also transferred to the RAM 3 as appropriate, and drive control is performed according to the operation program. Therefore, in the present embodiment, the operation program is installed in the HDD 6, and the HDD 6 functions as a storage medium for storing the computer-readable operation program.
[0033]
However, the operation program may have a firmware configuration stored in advance in, for example, the ROM 2, and is a CD-ROM 8 that can be read by the CD-ROM drive 7 connected to the microcomputer 5 via the system bus 4. Alternatively, it may be stored in a disk such as MO, DVD, CD-R, etc. that can be read by an optical disk drive such as MO drive, DVD drive, CD-R drive, etc. That is, the type of storage medium that stores the computer-readable operation program is not limited. Furthermore, an operation program may be downloaded from a network 10 such as the Internet via the communication control device 9 and installed in the HDD 6.
[0034]
Further, an input device 11 as an input unit and an output device 12 as an output unit are connected to a microcomputer 5 mainly composed of the CPU 1 via a system bus 4, a controller (not shown), and the like. The input device 11 includes a keyboard, a mouse, and the like for receiving a cross-sectional curve shape and a trajectory curve shape displayed on the display device (output device 12). The shape of the cross-sectional curve or the trajectory curve input through the input operation by the input device 11 is obtained from geometric data such as points and curves constituting these shapes and phase data indicating the correlation between the geometric data. It has become. The output device 12 reads out and outputs the shape stored in the HDD 6 or the RAM 3, and is constituted by a display device such as a display or a device such as a printer.
[0035]
In the HDD 6 serving as a storage unit, various types of calculation formula information necessary for calculating a skinning curved surface as described later are stored in the form of calculation files.
[0036]
A processing control method for generating a skinning curved surface along a trajectory executed by a microcomputer under such a basic computer system configuration will be described with reference to a flowchart shown in FIG.
[0037]
First, information related to the cross-sectional curve and the trajectory curve is read in advance and stored in the HDD 6 (step S1). Then, the user selects a cross-sectional curve or trajectory curve to be operated by operating the input device 11 such as a mouse. For example, a plurality of cross-sectional curves and trajectory curves as shown in FIG. 3 are selected by clicking with the input device 11 such as a mouse. After confirming that the input / selection process has been performed through the input device 11 as described above (Y in S2), the process proceeds to the following process. Here, the processes up to steps S1 and S2 are executed as the function of the operation target input means for inputting the data of the trajectory curve and the data of the plurality of cross-section curves by the input operation of the input device 11, or the input process. The
[0038]
Here, the basics of curve interpolation and curved surface skinning will be described. For details, reference is made to the technique described in the above-mentioned document Leslie Piegl and Wayne Tiller, “The NURBS Book” Springer-Verlag 1995.
[0039]
First, assuming that a sequence of points q k , k = 0,..., M is given, one B-spline curve is generated so as to pass through these points. However, the position on the B-spline curve coincides with the point q k in some parameters v k , k = 0,..., M of the B-spline curve. That is, the following equation (1) is established.
[0040]
[Formula 13]
Figure 0003934299
[0041]
Here, P i is a control point on the curve, and N i, q (v k ) is a q-order normalized B-spline function defined by the knot vector T. In the present embodiment, it is assumed that the knot vector T has a form represented by the following equation (2).
[0042]
[Expression 14]
Figure 0003934299
[0043]
On the other hand, the curve interpolation method can be easily extended to skinning of B-spline curved surfaces. A method for generating a single B-spline curved surface by interpolating a section curve group of a given B-spline function includes the following three steps.
[0044]
First, all cross-sectional curves are made compatible (equalized). That is, adjustment is made so that the order of all the cross-sectional curves, the number of control points, and the knot vector are the same. According to the adjusted result, the curved line Cr (u) in the u direction of the curved surface defined by the knot vector U is expressed by equation (3).
[0045]
[Expression 15]
Figure 0003934299
[0046]
Next, the parameter values v r , r = 0,..., R of the cross-section curve in the v direction of the curved surface and the knot vector V in the v direction are appropriately set.
[0047]
Then, for each i, i = 0,..., N, the curve interpolation method shown in the equation (1) is applied to all the control points Q i, r in the equation (3) to obtain the equation of the equation (4). Solve.
[0048]
[Expression 16]
Figure 0003934299
[0049]
As a result , the control point P i, j in the equation (4) becomes a control point of the skinning curved surface S 1 (u, v) shown in the following equation (5).
[0050]
[Expression 17]
Figure 0003934299
[0051]
Under this basic method regarding curve interpolation and curved surface skinning, in the present embodiment, one B-spline curved surface is generated by the following steps. In the present embodiment, it is assumed that all cross-sectional curves and trajectory curves are B-spline curves (NURBS format curves) and are expressed by the following equations (6) and (7), respectively.
[0052]
[Formula 18]
Figure 0003934299
[0053]
First, the corresponding points and parameters of each cross-sectional curve in the trajectory curve are determined (S3). For example, a method can be used in which the intersection point between the plane on which the cross-sectional curve is placed and the trajectory curve is used as the corresponding point. That is, as shown in FIG. 4, the corresponding points of each cross-sectional curve in the trajectory curve are q j , j = 0,..., R, and the parameters of each point in the trajectory curve are v j , j = 0,. And Here, for ease of explanation, q 0 and q R are the start point and end point of the trajectory curve, and the parameters are 0.0 and 1.0, respectively.
[0054]
Next, the B-spline curve interpolation method shown in equation (1) is applied to all corresponding points and parameters on the trajectory curve (S4). The process of step S4 is executed as a function of a trajectoryless skinning curved surface generation unit or a process of generating a trajectoryless skinning curved surface. The order (degree + 1) of the B-spline curve can be determined by the number of cross-sectional curves. For example, when the number of cross-sectional curves is 3 or less, the order is the number of cross-sectional curves, and in other cases, the order is 4. In addition, a knot vector V reflecting the distribution of parameter values of corresponding points is required. As the knot vector V, what is shown in the equation (8) is practically effective.
[0055]
[Equation 19]
Figure 0003934299
[0056]
In equation (8), the multiplicity of knots at both ends is (q + 1), and the intermediate knot is calculated by equation (9).
[0057]
[Expression 20]
Figure 0003934299
[0058]
Also, the interpolation curve
Figure 0003934299
Is expressed by equation (10).
[0059]
[Expression 22]
Figure 0003934299
[0060]
FIG. 4 shows an example of a given trajectory curve and a generated interpolation curve.
[0061]
On the other hand, skinning of the B-spline curved surface as described above is applied to all cross-sectional curves to generate an interpolation curved surface S1 (u, v) (S5). That is, the generation of a skinning curved surface without a trajectory. However, it is assumed that the parameter value in the v direction (skinning direction) uses the parameter value of the corresponding point described above with reference to FIG. Also, the k-direction vector in the v direction is calculated by equation (9). The interpolated curved surface S1 (u, v) is expressed by the equation (11) with reference to FIG.
[0062]
[Expression 23]
Figure 0003934299
[0063]
Next, the trajectory curve C s (v) and the interpolation curve
Figure 0003934299
And compatibility (equalization). At the same time, the v direction of the interpolation curved surface S1 (u, v) is changed to the trajectory curve C s (v) and the interpolation curve
Figure 0003934299
And make it compatible (equalization) (S6). As a result, the trajectory curve C s (v), the interpolation curve
Figure 0003934299
, V direction interpolation curved S1 (u, v) is the same order q, the number of control points m 2, with a knot vector V.
[0064]
The equi-parameter curve in the v direction of the interpolated curved surface S1 (u, v) after being made compatible (equalization) in this way
Figure 0003934299
Can be expressed by equation (12).
[0065]
[Expression 28]
Figure 0003934299
[0066]
In this embodiment, the trajectory curve C s (v) and the interpolation curve
Figure 0003934299
The skinning surface to generate the difference from
Figure 0003934299
It is considered that the same parameter curve is reflected (S7). That is, it is a curved surface represented by the following equation (13).
[0067]
[31]
Figure 0003934299
[0068]
On this occasion,
[Expression 32]
Figure 0003934299
(14) Formula is formed by the property.
[0069]
[Expression 33]
Figure 0003934299
[0070]
Substituting equation (14) into equation (13) yields equation (15).
[0071]
[Expression 34]
Figure 0003934299
[0072]
Therefore, the generated skinning curved surface S (u, v) can be expressed by equation (16).
[0073]
[Expression 35]
Figure 0003934299
[0074]
here,
[Expression 36]
Figure 0003934299
It is. This expression (17) represents a logical operation expression in the present invention. The process of step S7 is executed as the function of the difference calculating unit and the skinning curved surface generating unit, or the process of calculating the difference and the process of generating the skinning curve.
[0075]
The resulting skinning curved surface S (u, v) along the trajectory obtained as described above is, for example, one B-spline curved surface as shown in FIG. 6, and has the following properties.
[0076]
First, the skinning curved surface S (u, v) interpolates all cross-sectional curves from the equation (18).
[0077]
[Expression 37]
Figure 0003934299
[0078]
Also, the shape of the trajectory curve is changed, and the trajectory curve C s (v) and the interpolation curve
Figure 0003934299
If there is a difference, the shape of the resulting skinned curved surface is also changed. That is, the shape of the target skinning curved surface can be easily changed by changing the shape of the trajectory curve to be originally input.
[0079]
Furthermore, when there is an intersection between each cross-section curve and the trajectory curve, and the intersection is used as a corresponding point on the trajectory curve, if the cross-section parameters are the same for all cross-section curves, the trajectory curve is The resulting skinning curved surface S (u, v) is an equiparameter line. This is because the isoparameter line of the curved surface S 1 (u, v) that interpolates these intersection points is the interpolation curve
Figure 0003934299
This is because they are exactly the same.
[0080]
Further, in the case where a NURBS curve is present among the cross-sectional curves, or when the orbital curve is a NURBS curve, the above-described method may be used after approximating these curves to a B-spline curve. As an approximation method, see, for example, Yoshimasa Tokuyama, Kouichi Konno, “Approximate conversion of a rational boundary Gregory Patch to a nonuniform B-spline surface”, The Visual Computer, Vol. 7, Sep. The description in 1995, pp. 360-368 may be used.
[0081]
By writing the skinning curved surface finally generated through such processing to the HDD 6 (S8), a series of processing ends. In addition, the generated skinning curved surface is output to the output device 12 and displayed on the display. This process is executed as a function of the output means.
[0082]
FIG. 7 shows an example of a skinning curved surface along a more specifically generated trajectory, and it can be seen that it is generated as a smooth curved surface reflecting the shape of the trajectory curve.
[0083]
【The invention's effect】
According to the first, fifth, and ninth aspects of the invention, the target skinning curved surface is generated while correcting the interpolation curve in consideration of the difference generated between the interpolation curve generated without the trajectory and the trajectory curve. Thus, it is possible to generate a good skinning curved surface in which the shape of the trajectory curve is sufficiently reflected.
[0084]
According to the invention described in claims 2, 6 and 10, the logical operation formula for realizing the inventions described in claims 1, 5 and 9 is specifically clarified.
[0085]
According to the third, seventh, and eleventh aspects of the invention, the shape of the target skinning curved surface can be easily changed by changing the shape of the trajectory curve to be originally input.
[0086]
According to the fourth, eighth, and twelfth aspects of the present invention, it is possible to cope with a trajectory curve and a plurality of cross-sectional curves expressed in a general non-uniform rational B-spline (NURBS) format.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration example of a computer system according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating an example of a skinning curved surface generation process.
FIG. 3 is a characteristic diagram illustrating an example of a cross-sectional curve and a trajectory curve.
FIG. 4 is a characteristic diagram showing the correspondence between trajectory curves and interpolation curves.
FIG. 5 is a characteristic diagram showing an example of a skinning curved surface without a trajectory.
FIG. 6 is a characteristic diagram illustrating an example of a skinning curved surface generated based on a trajectory.
FIG. 7 is a characteristic diagram showing an example of a more specific skinning curved surface generated based on a trajectory.
[Explanation of symbols]
6 storage unit 11 input unit 12 output unit

Claims (12)

コンピュータが記憶媒体から読み取り又は入力装置からコンピュータに入力される軌道曲線のデータを入力する過程と、
コンピュータが記憶媒体から読み取り又は入力装置からコンピュータに入力される複数の断面曲線のデータを入力する過程と、
コンピュータが、前記軌道曲線と前記複数の断面曲線との位置関係より得られる各断面に対応するパラメータと前記複数の断面曲線のデータに基づき軌道なしスキニング曲面を生成する過程と、
コンピュータが、前記軌道曲線と、この軌道曲線上の各断面曲線との位置関係より得られる各対応点を補間して生成される曲線との差分を算出する過程と、
コンピュータが、前記軌道なしスキニング曲面上の制御点と前記差分を考慮した前記記憶媒体に記憶されている演算式情報を用いた論理演算により得られる制御点を、目的とするスキニング曲面上の制御点とする演算処理によりスキニング曲面を生成する過程と、
を具備する軌道に沿ったスキニング曲面の生成方法。
A process in which a computer reads data of a trajectory curve that is read from a storage medium or input from an input device to the computer;
A process in which a computer reads data from a plurality of cross-section curves read from a storage medium or input from an input device to the computer;
A process of generating a trajectoryless skinning surface based on parameters corresponding to each cross section obtained from a positional relationship between the trajectory curve and the plurality of cross-section curves and data of the plurality of cross-section curves;
A process of calculating a difference between the trajectory curve and a curve generated by interpolating each corresponding point obtained from a positional relationship between each trajectory curve on the trajectory curve;
A control point on the target skinning curved surface is obtained by a computer using a logical operation using control points on the trajectoryless skinning curved surface and arithmetic expression information stored in the storage medium in consideration of the difference. A process of generating a skinning curved surface by an arithmetic processing
A method for generating a skinning curved surface along a trajectory.
前記スキニング曲面を生成する過程における前記論理演算は、前記軌道なしスキニング曲面上の制御点をPi,j、前記軌道曲線上の制御点をQSj、前記補間曲線上の制御点を
Figure 0003934299
としたとき、
Figure 0003934299
なる演算式によりコンピュータが制御点を演算する処理である、
請求項1記載の軌道に沿ったスキニング曲面の生成方法。
The logical operation in the process of generating the skinning curved surface is a control point on the trajectoryless skinning curved surface P i, j , a control point on the trajectory curve Q Sj , and a control point on the interpolation curve.
Figure 0003934299
When
Figure 0003934299
Is a process in which the computer calculates the control point by the following equation:
A method for generating a skinning curved surface along a trajectory according to claim 1.
前記軌道曲線の形状の変更により、コンピュータが、前記軌道曲線上の制御点を結果となる目的のスキニング曲面上の制御点に反映させてこの目的のスキニング曲面の形状を変更させる過程、
を含む請求項1又は2記載の軌道に沿ったスキニング曲面の生成方法。
The process of causing the computer to change the shape of the target skinning surface by reflecting the control point on the trajectory curve to the control point on the target skinning surface resulting from the change of the shape of the orbital curve,
A method for generating a skinning curved surface along a trajectory according to claim 1 or 2.
前記軌道曲線、複数の断面曲線及び生成される目的のスキニング曲面は、コンピュータにより非一様有理B-spline(NURBS)形式で表現される、
請求項1,2又は3記載の軌道に沿ったスキニング曲面の生成方法。
The trajectory curve, the plurality of cross-section curves and the target skinning surface to be generated are expressed by a computer in a non-uniform rational B-spline (NURBS) format.
A method for generating a skinning curved surface along a trajectory according to claim 1, 2 or 3.
情報を入力する入力部と、情報を出力する出力部と、情報を記憶保存する記憶部と、
前記記憶部に保存され、スキニング曲面の算出に必要な演算式情報を記憶する演算ファイルと、
前記入力部の入力操作によって、軌道曲線のデータと複数の断面曲線のデータとを入力する操作対象入力手段と、
前記記憶部に保存された前記演算式情報を用いて、前記軌道曲線と前記複数の断面曲線との位置関係より得られる各断面に対応するパラメータと前記複数の断面曲線のデータに基づき軌道なしスキニング曲面を生成する軌道なしスキニング曲面生成手段と、
前記記憶部に保存された前記演算式情報を用いて、前記軌道曲線と、この軌道曲線上の各断面曲線との位置関係より得られる各対応点を補間して生成される曲線との差分を算出する差分算出手段と、
前記記憶部に保存された前記演算式情報を用いて、前記軌道なしスキニング曲面上の制御点と前記差分を考慮した論理演算により得られる制御点を、目的とするスキニング曲面上の制御点とする演算処理により前記スキニング曲面を生成するスキニング曲面生成手段と、
このスキニング曲面生成手段により生成されたスキニング曲面を前記出力部に出力する出力手段と、
を具備する軌道に沿ったスキニング曲面の生成装置。
An input unit for inputting information, an output unit for outputting information, a storage unit for storing and storing information,
A calculation file stored in the storage unit and storing calculation formula information necessary for calculating a skinning curved surface;
Operation target input means for inputting orbital curve data and a plurality of cross-sectional curve data by an input operation of the input unit;
Using the calculation formula information stored in the storage unit , based on the parameters corresponding to each cross section obtained from the positional relationship between the trajectory curve and the plurality of cross-section curves and the data of the plurality of cross-section curves, orbitless skinning A trajectory-free skinning curved surface generating means for generating a curved surface ;
Using the calculation formula information stored in the storage unit, the difference between the trajectory curve and a curve generated by interpolating each corresponding point obtained from the positional relationship between each trajectory curve on the trajectory curve is calculated. A difference calculating means for calculating;
Using the arithmetic expression information stored in the storage unit, a control point on the trajectoryless skinning curved surface and a control point obtained by a logical operation considering the difference are set as control points on the target skinning curved surface. Skinning curved surface generating means for generating the skinning curved surface by arithmetic processing;
Output means for outputting the skinning curved surface generated by the skinning curved surface generating means to the output unit;
An apparatus for generating a skinning curved surface along a trajectory.
前記記憶部に保存された前記演算式情報の一つであって、前記スキニング曲線生成手段で用いられる前記論理演算のための情報は、前記補間曲線上の制御点をPi,j、前記軌道曲線上の制御点をQSj、前記補間曲線上の制御点を、
Figure 0003934299
としたとき、
Figure 0003934299
なる演算式により制御点を演算するための情報である、
請求項5記載の軌道に沿ったスキニング曲面の生成装置。
One of the arithmetic expression information stored in the storage unit, the information for the logical operation used in the skinning curve generating means is that the control points on the interpolation curve are P i, j , the trajectory The control point on the curve is Q Sj and the control point on the interpolation curve is
Figure 0003934299
When
Figure 0003934299
It is information for calculating the control point by the following equation,
An apparatus for generating a skinning curved surface along a trajectory according to claim 5.
前記操作対象入力手段は、前記軌道曲線の形状の変更により、前記軌道曲線上の制御点を結果となる目的のスキニング曲面上の制御点に反映させてこの目的のスキニング曲面の形状を変更させる入力処理を含む、
請求項5又は6記載の軌道に沿ったスキニング曲面の生成装置。
The operation object input means is an input for changing the shape of the target skinning curved surface by reflecting the control point on the trajectory curve to the control point on the target skinning curved surface resulting from the change of the shape of the trajectory curve. Including processing,
The apparatus for generating a skinning curved surface along a trajectory according to claim 5 or 6.
前記軌道曲線、複数の断面曲線及び生成される目的のスキニング曲面は、非一様有理B-spline(NURBS)形式で表現される、
請求項5,6又は7記載の軌道に沿ったスキニング曲面の生成装置。
The trajectory curve, the plurality of cross-sectional curves and the target skinning surface to be generated are expressed in a non-uniform rational B-spline (NURBS) format.
8. A device for generating a skinning curved surface along a trajectory according to claim 5, 6 or 7.
軌道曲線のデータを入力する処理と、複数の断面曲線のデータとを入力する処理と、
前記軌道曲線と前記複数の断面曲線との位置関係より得られる各断面に対応するパラメータと複数の断面曲線のデータに基づき軌道なしスキニング曲面を生成する処理と、
前記軌道曲線と、この軌道曲線上の各断面曲線との位置関係より得られる各対応点を補間して生成される曲線との差分を算出する処理と、
前記軌道なしスキニング曲面上の制御点と前記差分を考慮した論理演算により得られる制御点を、目的とするスキニング曲面上の制御点とする演算処理によりスキニング曲面を生成する処理と、
をコンピュータに実行させるプログラムを格納しているコンピュータ読取り可能な記憶媒体。
A process of inputting data of the trajectory curve, a process of inputting data of a plurality of cross-section curves,
A process for generating a trajectory-free skinning surface based on parameters corresponding to each cross-section obtained from the positional relationship between the trajectory curve and the plurality of cross-section curves and a plurality of cross-section curve data;
A process of calculating a difference between the trajectory curve and a curve generated by interpolating each corresponding point obtained from a positional relationship between each trajectory curve on the trajectory curve;
A process for generating a skinning curved surface by a calculation process using a control point on the skinning curved surface without trajectory and a control point obtained by a logical operation considering the difference as a control point on the target skinning curved surface;
A computer-readable storage medium storing a program for causing a computer to execute.
前記スキニング曲面を生成する処理における前記論理演算は、前記補間曲線上の制御点をPi,j、前記軌道曲線上の制御点をQSj、前記補間曲線上の制御点を
Figure 0003934299
としたとき、
Figure 0003934299
なる演算式により制御点を演算する処理である、
請求項9記載の記憶媒体。
The logical operation in the process of generating the skinning curved surface includes P i, j as a control point on the interpolation curve, Q Sj as a control point on the trajectory curve, and a control point on the interpolation curve.
Figure 0003934299
When
Figure 0003934299
Is a process of calculating a control point by the following equation:
The storage medium according to claim 9.
コンピュータに、前記軌道曲線の形状の変更により、前記軌道曲線上の制御点を結果となる目的のスキニング曲面上の制御点に反映させてこの目的のスキニング曲面の形状を変更させる処理を、
さらに実行させるコンピュータ読み取り可能なプログラムを格納している請求項9又は10記載の記憶媒体。
The process of causing the computer to change the shape of the target skinning curved surface by reflecting the control point on the trajectory curve to the control point on the target skinning curved surface resulting from the change of the shape of the trajectory curve.
The storage medium according to claim 9 or 10, further storing a computer-readable program to be executed.
前記軌道曲線、複数の断面曲線及び生成される目的のスキニング曲面は、非一様有理B-spline(NURBS)形式で表現される
請求項9,10又は11記載の記憶媒体。
The storage medium according to claim 9, wherein the trajectory curve, the plurality of cross-sectional curves, and the generated target skinning curved surface are expressed in a non-uniform rational B-spline (NURBS) format.
JP2000012516A 2000-01-21 2000-01-21 Method for generating skinning curved surface along trajectory, generation device and storage medium Expired - Fee Related JP3934299B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000012516A JP3934299B2 (en) 2000-01-21 2000-01-21 Method for generating skinning curved surface along trajectory, generation device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000012516A JP3934299B2 (en) 2000-01-21 2000-01-21 Method for generating skinning curved surface along trajectory, generation device and storage medium

Publications (2)

Publication Number Publication Date
JP2001202529A JP2001202529A (en) 2001-07-27
JP3934299B2 true JP3934299B2 (en) 2007-06-20

Family

ID=18540223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000012516A Expired - Fee Related JP3934299B2 (en) 2000-01-21 2000-01-21 Method for generating skinning curved surface along trajectory, generation device and storage medium

Country Status (1)

Country Link
JP (1) JP3934299B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6813826B2 (en) * 2018-04-03 2021-01-13 勇気 源 3D object shape identification system, method and program
CN115659690B (en) * 2022-11-08 2023-06-30 哈尔滨工业大学 Curved surface near zero stress acquisition method, curved surface near zero stress acquisition device, computer and storage medium

Also Published As

Publication number Publication date
JP2001202529A (en) 2001-07-27

Similar Documents

Publication Publication Date Title
JP5177771B2 (en) Graphic information processing apparatus, graphic information processing method, and graphic information processing program for generating aesthetic curves
JP5890105B2 (en) Designing parts modeled by parallel geodesic lines
JP5218993B2 (en) Interpolation processing method and interpolation processing apparatus
JP2004078516A (en) Curve interpolation method
JP2013235583A (en) Designing 3d modeled object
JP5926358B1 (en) Tool path curving method and curving device for ensuring shape error
JPH1139501A (en) Parameter function curve editing method and system
WO2018131304A1 (en) Curved surface generation device and curved surface generation program
JP3934299B2 (en) Method for generating skinning curved surface along trajectory, generation device and storage medium
CN107221017A (en) Strengthen curve using three Curvature varying curves of non-homogeneous scaling
TWI333134B (en)
JP2004294953A (en) Road shape restoring device
US9696708B2 (en) Machining curve creating apparatus and machining curve creating method thereof
JP4175470B2 (en) CAD system, curved surface analyzing apparatus, curved surface reproducing apparatus, method and program thereof
JP4086443B2 (en) Curved surface generation method, curved surface generation device, and storage medium
JP7410365B2 (en) Part placement system and part placement program
JP3017302B2 (en) Skinning solid shape generator
JP3991629B2 (en) Data operation processing method and recording medium recording data operation processing program
JP2005135348A (en) Parameter real length development device, method, and program therefor
JPH05151319A (en) Curved surface generating method in cad device
JP2001117617A (en) Numerical controller
JPH08153191A (en) Method and device for curve approximation processing
JP2000268067A (en) Three-dimensional cad data corrector
JPH06180724A (en) Approximate transformation device from parametric curve group to b-spline curve group
JP2001067391A (en) Three-dimenisonal form processing method and recording medium recording program for executing the processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040420

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060829

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070313

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070315

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110330

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120330

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130330

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140330

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees