JP4033336B2 - 3D shape processing apparatus, 3D shape processing method, program, and storage medium - Google Patents
3D shape processing apparatus, 3D shape processing method, program, and storage medium Download PDFInfo
- Publication number
- JP4033336B2 JP4033336B2 JP2002192635A JP2002192635A JP4033336B2 JP 4033336 B2 JP4033336 B2 JP 4033336B2 JP 2002192635 A JP2002192635 A JP 2002192635A JP 2002192635 A JP2002192635 A JP 2002192635A JP 4033336 B2 JP4033336 B2 JP 4033336B2
- Authority
- JP
- Japan
- Prior art keywords
- dimensional shape
- color
- shape processing
- data
- processing apparatus
- 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
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、専用の3次元形状処理装置や汎用の情報処理装置上で実行される3次元形状処理方法に関し、特に、面塗り色を面塗り対象の種別などにより異なった色に設定できる面塗り方法に関するものである。
【0002】
【従来の技術】
近年、製品を設計する際にCAD/CAMシステムなど3次元形状処理システムを積極的に利用するようになってきた。しかし、それを利用する際、設計の上流工程であるデザイン工程などから下流工程である製造・生産工程などに至る各工程で行われるすべての作業を、ある1つの3次元形状処理システムだけで行うことは不可能であるので、複数の3次元形状処理システムの間で3次元形状データがやりとりされているのが現状である。例えば、デザイン部門で作成した製品外装の3次元形状データを設計部門で使用する製品設計CADシステムに読み込んだり、製品設計CADシステムの3次元形状データを金型設計用のCAD/CAMシステムに読み込んだりといった作業が行われるのである。
このように異なる3次元形状処理システムの間で3次元形状データをやりとりする手段として、IGESフォーマットファイルが広く使われており、3次元形状データ交換の標準フォーマットとして認知されている。しかしながら、標準フォーマットとして広く利用されているIGESフォーマットを用いても、異なる3次元形状処理システム間でデータ交換を行うときには問題が発生することが多い。これは、3次元形状処理システムの持つ許容誤差の値がシステムごとに異なることが主な原因である。許容誤差とは、ある閾値以下の数値は0であるとみなしていることによる誤差であり、2つの幾何形状の一致判定などに使用されている。例えば、許容誤差が0.001であるシステムAと許容誤差が0.000001であるシステムBの間でのデータ交換を考えると、システムAで0であるとみなされる値、例えば0.0005がシステムBでは0とみなされない。
【0003】
このような許容誤差の値の違いにより、あるシステムで一致しているとみなされる幾何要素が別のシステムでは一致していないとみなされるケースが発生するので、あるシステムでは一致しているとみなされていた2つの曲面の境界が別のシステムでは離れてしまい、その間に微小な隙間が発生してしまうといった現象が起こる。また、あるシステムにおいて平面や球、円柱、円錐など2次曲面で表されていた面の幾何データが、別のシステムにおいては自由曲面で表されてしまう現象も発生する。平面や2次曲面で表現される幾何データは製品形状の特徴を表しているし、また、自由曲面に比較して取り扱いが容易であるので、データ交換の際には平面や2次曲面のまま扱われるのが望ましいのは当然である。
また、許容誤差の値が異なっている場合でも、曲面間に微小な隙間を発生させないようなデータ交換の方法や、曲面の表現形式を一切変更せずにデータ交換できる機能が広く望まれているが、あらゆる3次元形状データに対応できるようにすることは非常に困難である。そのため、データ交換時に曲面間に隙間が発生することや、曲面の表現形式が変わってしまうことはある程度許容しつつ、そのような現象が発生したことを容易に確認できることが非常に重要である。
【0004】
【発明が解決しようとする課題】
しかしながら、従来技術においては、データ交換時に曲面間に隙間が発生していることや、曲面の表現形式が変わってしまっていることを容易に確認することができないという問題があった。
本発明の目的は、このような従来技術の問題を解決することにあり、具体的には、データ交換時などに発生する曲面間の隙間や曲面の表現形式の意図しない変更を容易に確認できる3次元形状処理方法を提供することにある。
【0005】
【課題を解決するための手段】
請求項1の発明は、3次元形状モデルの面塗り色を設定することができる3次元形状処理装置において、3次元形状データの種別であるサーフェス、ソリッドごとに面塗り色を設定する塗り色設定手段と、該塗り色設定手段により設定された面塗り色に従って3次元形状モデルの面塗りを行う面塗り手段と、を備えたことを特徴とする。
請求項2の発明は、3次元形状モデルの面塗り色を設定することができる3次元形状処理装置において、3次元形状モデル中に存在するループの幾何データの種別である平面、2次曲面、自由曲面ごとに面塗り色を設定する塗り色設定手段と、該塗り色設定手段により設定された面塗り色に従って3次元形状モデルの面塗りを行う面塗り手段と、を備えたことを特徴とする。
請求項3の発明は、3次元形状モデルの面塗り色を設定することができる3次元形状処理装置によって実施する3次元形状処理方法であって、入力装置からの指定に従って前記3次元形状データの種別であるサーフェス、ソリッドごとに面塗り色を設定する工程と、設定されたその面塗り色に従って3次元形状モデルの面塗りを行う工程と、を有することを特徴とする。
請求項4の発明は、3次元形状モデルの面塗り色を設定することができる3次元形状処理装置によって実施する3次元形状処理方法であって、入力装置からの指定に従って前記3次元形状モデル中に存在するループの幾何データの種別である平面、2次曲面、自由曲面ごとに面塗り色を設定する工程と、設定された面塗り色に従って3次元形状モデルの面塗りを行う工程と、を有することを特徴とする。
請求項5の発明は、プログラムであって、請求項3又は請求項4に記載の3次元形状処理方法の前記各工程を、3次元形状処理装置のコンピュータに実行させることを特徴とする。
請求項6の発明は、コンピュータ読取可能な記憶媒体であって、請求項5記載のプログラムを記憶したことを特徴とする。
【0007】
【発明の実施の形態】
以下、図面により本発明の実施の形態を詳細に説明する。
図1は本発明の各実施例の3次元形状処理装置要部を示す構成ブロック図である。図示したように、この3次元形状処理装置は、プログラムに従って装置全体を制御したり本発明に係わる3次元形状処理を実行したりするCPU1、そのプログラムや各種データを一時的に記憶するメモリ(例えばRAM)2、3次元形状データの種別情報や面の幾何タイプなどを含む3次元形状データを記憶しておく形状データ記憶部(例えばハードディスク装置の一部領域)3、グラフィックス表示関連の情報であるグラフィックス情報などを記憶しておくグラフィックス情報記憶部(例えばハードディスク装置の一部領域)4、CPU1から渡されたグラフィックスコマンドに従って描画処理を行うグラフィックプロセッサ5、表示中の表示データを記憶する表示メモリ6、3次元形状モデルなどを表示する表示装置7、キーボードやマウスを有する入力装置8などを備えている。なお、この3次元形状処理装置では、請求項記載の塗り色設定手段および切り替え手段がプログラムを記憶したメモリ2とそのプログラムに従って動作するCPU1と表示メモリ6と表示装置7と入力装置8とにより実現され、面塗り手段が同様なメモリ2およびCPU1とグラフィックプロセッサ5により実現され、表示手段が同様なメモリ2およびCPU1とグラフィックプロセッサ5と表示メモリ6と表示装置7とにより実現される。
このような構成で、本発明の第1の実施例の3次元形状処理装置では、利用者の指定に従って、3次元形状データの種別ごと(形状タイプ別)に色を変えて面塗りを行ったり、3次元形状モデルの面を形成するループの幾何データの種別ごと(面タイプ別)に色を変えて面塗りを行ったりする。なお、3次元形状データの種別は大きく分けて、ワイヤーフレーム、サーフェス、ソリッドの3つに分けられる。但し、ワイヤーフレームは面のデータを全く保持していないので面塗りの対象にはならない。サーフェスは3次元形状モデルの一部に曲面データをもたないループが存在するデータである。データ交換後に発生する曲面間の隙間には面データが存在しないので、隙間が発生した3次元形状データは必ずサーフェスになる。ソリッドは中身が詰まったデータであり、すべてのループは曲面データを保持している。
このように、3次元形状データの種別ごとに色を変えて面塗りする手段を提供することにより、この実施例では、データ交換後に曲面間に隙間が発生してしまったかどうかを視覚的に確認することが可能になるし、面の幾何データの種別ごとに異なる面の色を設定する手段を提供することにより、データ変換後に曲面の表現形式が意図せず変わってしまったループも容易に確認することができるのである。
【0008】
図2〜図5に、本発明の第1の実施例の動作フローを示す。以下、図2〜図5に従って、この実施例の動作を説明する。
この実施例では、まず、そのとき利用者から指定されている面塗り方法が前記した形状タイプ別の面塗りか否かを判定する(S1)。そして、形状タイプ別の面塗りであれば(S1で「はい」)、後述する形状タイプ別面塗りを実行する(S2)。それに対して、形状タイプ別の面塗りでなければ(S1で「いいえ」)、面タイプ別の面塗りか否かを判定し(S3)、面タイプ別の面塗りであれば(S3で「はい」)後述する面タイプ別面塗りを実行する(S4)。また、面タイプ別の面塗りでなければ(S3で「いいえ」)、後述するループ別面塗りを実行する(S5)。なお、この実施例では、指定された面塗り方法を示す情報をグラフィックス情報記憶部4にグラフィックウィンドウごとに保持する。グラフィックウィンドウのID(識別子)と面塗り方法に関する情報と面塗り対象(3次元形状データの識別子)とをセットにしてグラフィックス情報として記憶するのである。
【0009】
次に、図3に示したフロー図に従って形状タイプ別面塗りについて説明する。
この面塗りでは、まず、例えば他の3次元形状処理システムから入力され、形状データ記憶部3に格納された面塗り対象の3次元形状モデルの3次元形状データを取得する(S11)。そして、その3次元形状データの特徴からその3次元形状データの種別(形状タイプ)を判定する(S12)。なお、判定結果は3次元形状データに対応付けて形状データ記憶部3に記憶しておく。
こうして、その判定結果が「ワイヤーフレームである」場合には、当該3次元形状モデルは面を持たないので、面塗りを行うことなくこの動作フローを終了させる。
それに対して、「ソリッドである」という判定の場合には、あらかじめ利用者により指定されたソリッドの場合の面塗り色を取得し(S13)、当該3次元形状モデルの面を取得した色で塗る(S14)。また、ステップS12において「サーフェスである」という判定の場合には、あらかじめ利用者により指定されたサーフェスの場合の面塗り色を取得し(S15)、当該3次元形状モデルの面を取得した色で塗る(S14)。
【0010】
次に、図4に示したフロー図に従って面タイプ別面塗りについて説明する。
この面塗りでは、まず、例えば他の3次元形状処理システムから入力され、形状データ記憶部3に格納された面塗り対象の3次元形状モデルの3次元形状データを取得する(S21)。
続いて、その3次元形状データ中の当該面について3次元形状データのひとつとしてあらかじめ設定されている面の種別を示すデータを取得し、その面の種別(面タイプ)を判定する(S22)。そして、「自由曲面である」という判定であった場合には、あらかじめ利用者により指定された自由曲面の場合の面塗り色を取得し(S23)、当該面について取得した色による面塗りを行う(S25)。
それに対して、「平面である」という判定の場合には、あらかじめ利用者により指定された平面の場合の面塗り色を取得し(S24)、当該面について取得した色による面塗りを行う(S25)。また、ステップS22において「球、円柱、円錐など2次曲面である」という判定の場合には、あらかじめ利用者により指定された2次曲面の場合の面塗り色を取得し(S26)、当該面について取得した色による面塗りを行う(S25)。
【0011】
次に、図5に示したフロー図に従ってループ別面塗りについて説明する。
この面塗りでは、まず、他の3次元形状処理システムから入力されたか、または当該3次元形状処理システムにおいて作成されたかして、形状データ記憶部3に格納された面塗り対象の3次元形状モデルの3次元形状データを取得する(S31)。なお、前記した形状タイプ別面塗りおよび面タイプ別面塗りにおいても対象とする3次元形状データは当該3次元形状処理システムにおいて作成されたものでも効果がある。例えば、面上の頂点を意図せず移動してしまったことによって面タイプが2次曲面から自由曲面に変わってしまうとか、サーフェスに変わっていても異なるサーフェスの境界の位置が一致しているとソリッドになっていると判断してしまうこともあるからである。このような変化は面タイプ別面塗りや形状タイプ別面塗りにより視覚的に容易に判断することができるのである。
続いて、その3次元形状データ中の当該ループについて面の色が設定されているか否かを判定する(S32)。そして、設定されているならば(S32で「はい」)、あらかじめ利用者により指定された(3次元形状データの作成時などに例えば特定の面に色を設定し3次元形状データのひとつとして持っている)当該ループの面の面塗り色を取得し(S33)、当該ループの面について取得した色による面塗りを行う(S34)。
それに対して、当該ループの面塗り色が設定されていないならば(S32で「いいえ」)、あらかじめ設定されたデフォルトの面塗り色を取得し(S35)、当該ループの面について取得した色による面塗りを行う(S34)。
【0012】
次に、利用者が面塗り方法を画面上で指定する方法について説明する。
図6に、その際に表示する画面の一例を示す。図6において、□はボタンまたはチェックボックスを表し、上側の「画面」と表示された枠内が面塗り方法を切り替える面画である。この枠内の「面画」ボタンが押されている場合またはチェックされている場合には、「形状タイプ」(形状タイプごとの面塗り)、「面タイプ」(面タイプごとの面塗り)、「面」(ループ別の面塗り)のうちのいずれかを選択することができる。なお、図6の例において、■になっている箇所が選択されている状態を示している。図示した「線画」のボタンが押された場合またはチェックされた場合は、前記した面画ボタンの押し下げ状態またはチェック状態は無視される。
こうして、この実施例によれば、形状タイプの違いや面タイプの違いなどが面の色の違いにより容易にわかるので、データ交換時に発生する曲面間の隙間や曲面の表現形式の意図しない変更を容易に確認できる。また、面の色の違いにより、特定の面(特定のループ)を容易に確認できる。
【0013】
次に、図7に示した動作フロー図に従って、本発明の第2の実施例について説明する。
この実施例では、3次元形状モデルを指定されたグラフィックスウィンドウに表示するに際して、まず、表示対象の3次元形状データを取得する(S41)。そして、表示するグラフィックスウィンドウと表示方法を利用者に指定させ、指定されたグラフィックスウィンドウと表示方法を示す情報を取得し(S42)、表示方法が面画表示か否かを判定する(S43)。
こうして、面画表示であると判定されたならば(S43で「はい」)、第1の実施例に示した面塗り処理(図2〜図5参照)を実行し、その結果が反映された3次元形状モデルを指定されたグラフィックスウィンドウに表示する(S44)。それに対して、表示方法が面画表示でないと判定されたならば(S43で「いいえ」)、取得した3次元形状データを用いて、指定されたグラフィックスウィンドウに線画表示(ワイヤーフレーム表示)を行う(S45)。
なお、前記において、同一の3次元形状データに対して一方のグラフィックスウィンドウには面画表示を指定し、他方のグラフィックスウィンドウには線画表示を指定したり、または、一方のグラフィックスウィンドウには形状タイプごとに面塗り色を異ならせる面画表示を指定し、他方のグラフィックスウィンドウには面タイプごとに面塗り色を異ならせる面画表示を指定したりすることにより、2つを並べて表示することができる。
こうして、この実施例によれば、単に第1の実施例と同様の効果が得られるだけでなく、複数のグラフィックスウィンドウのそれぞれに異なった表示方法の3次元形状モデルを並べて表示することができる。
【0014】
以上、本発明の2つの実施例について説明したが、説明したような本発明によった3次元形状処理を実行させるようにプログラミングしたプログラムを着脱可能な記憶媒体に記憶し、その記憶媒体をこれまで本発明によった3次元形状処理を行えなかったパーソナルコンピュータなど情報処理装置に装着することにより、または、そのようなプログラムをネットワークを介してそのような情報処理装置へ転送することにより、その情報処理装置においても本発明によった3次元形状処理を行うことができる。
【0015】
【発明の効果】
以上説明したように、本発明によれば、請求項1、3、5記載の発明では、3次元形状データの種別ごとに面塗り色が設定され、設定されたその面塗り色に従って3次元形状モデルの面塗りが行われるので、例えばデータ変換時に曲面間に隙間が発生してサーフェス形状になっているか、曲面間に隙間が発生せずソリッド形状になっているかを視覚的に容易に確認することができ、したがって、データ変換が正しく行われたかどうかを容易に判断することができる。
また、請求項2、4、5記載の発明では、3次元形状モデル中に存在するループの幾何データの種別ごとに面塗り色が設定され、設定された面塗り色に従って3次元形状モデルの面塗りが行われるので、例えばデータ変換前に平面や2次曲面であったループがデータ交換後に自由曲面になってしまっているかどうかを視覚的に容易に確認することができ、したがって、データ変換が正しく行われたどうかを容易に判断することができる。特に、ワイヤーフレーム表示の場合、一見しただけでは平面や2次曲面に見えるループ、あるいは平面や2次曲面と同じ形状をしているがその内部表現形式が自由曲面であるループなども容易に確認できるので、データ交換直後だけでなく、任意の形状変形処理を実行した後の3次元形状の妥当性確認にも有用である。
また、請求項6記載の発明では、その記憶媒体をパーソナルコンピュータなどの情報処理装置に装着することにより、その情報処理装置において3次元形状処理を行うことができる。
【図面の簡単な説明】
【図1】本発明の各実施例の3次元形状処理装置要部を示す構成ブロック図である。
【図2】本発明の第1の実施例を示す3次元形状処理方法の動作フロー図である。
【図3】本発明の第1の実施例を示す3次元形状処理方法の他の動作フロー図である。
【図4】本発明の第1の実施例を示す3次元形状処理方法の他の動作フロー図である。
【図5】本発明の第1の実施例を示す3次元形状処理方法の他の動作フロー図である。
【図6】本発明の第1の実施例を示す3次元形状処理方法の画面図である。
【図7】本発明の第2の実施例を示す3次元形状処理方法の動作フロー図である。
【符号の説明】
1 CPU
2 メモリ
3 形状データ記憶部
4 グラフィックス情報記憶部
5 グラフィックプロセッサ
6 表示メモリ
7 表示装置
8 入力装置[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a three-dimensional shape processing method executed on a dedicated three-dimensional shape processing device or a general-purpose information processing device, and more particularly, a surface coating that can set a different surface coating color depending on the type of surface coating target. It is about the method.
[0002]
[Prior art]
In recent years, three-dimensional shape processing systems such as CAD / CAM systems have been actively used when designing products. However, when using it, all the work performed in each process from the design process, which is the upstream process of design, to the manufacturing / production process, which is the downstream process, is performed by only one 3D shape processing system. Since it is impossible, three-dimensional shape data is currently exchanged between a plurality of three-dimensional shape processing systems. For example, the 3D shape data of the product exterior created in the design department is read into the product design CAD system used in the design department, or the 3D shape data of the product design CAD system is read into the CAD / CAM system for mold design. Such work is performed.
As a means for exchanging 3D shape data between different 3D shape processing systems, the IGES format file is widely used and recognized as a standard format for exchanging 3D shape data. However, even when the IGES format widely used as a standard format is used, problems often occur when data is exchanged between different three-dimensional shape processing systems. This is mainly because the tolerance value of the three-dimensional shape processing system varies from system to system. The allowable error is an error caused by assuming that a numerical value below a certain threshold is 0, and is used for determining whether two geometric shapes are coincident. For example, considering the data exchange between the system A having an allowable error of 0.001 and the system B having an allowable error of 0.000001, a value that is regarded as 0 by the system A, for example, 0.0005 is the system. B is not considered 0.
[0003]
Because of this difference in tolerance values, there are cases where geometric elements that are considered to be matched in one system are considered not to be matched in another system. There is a phenomenon in which the boundary between the two curved surfaces is separated in another system, and a minute gap is generated between them. In addition, a phenomenon may occur in which geometric data of a surface represented by a quadric surface such as a plane, a sphere, a cylinder, or a cone in one system is represented by a free-form surface in another system. Geometric data expressed by planes and quadratic surfaces represent product shape characteristics and are easier to handle than free-form surfaces, so planes and quadratic surfaces remain unchanged when exchanging data. Of course, it is desirable to be treated.
In addition, even if the tolerance value is different, a data exchange method that does not generate a minute gap between curved surfaces and a function that can exchange data without changing the expression format of the curved surface are widely desired. However, it is very difficult to cope with any three-dimensional shape data. Therefore, it is very important to be able to easily confirm that such a phenomenon has occurred while allowing a gap between curved surfaces or a change in the expression format of the curved surface to some extent during data exchange.
[0004]
[Problems to be solved by the invention]
However, in the prior art, there is a problem that it is not possible to easily confirm that a gap is generated between curved surfaces at the time of data exchange and that the expression format of the curved surface has changed.
An object of the present invention is to solve such a problem of the prior art. Specifically, it is possible to easily confirm an unintended change in a gap between curved surfaces generated during data exchange or the like and a representation format of the curved surface. It is to provide a three-dimensional shape processing method.
[0005]
[Means for Solving the Problems]
The inventions of 請 Motomeko 1, in the three-dimensional shape processing apparatus capable of setting the surface coating color of the three-dimensional shape model, the surface is a kind of three-dimensional shape data, paint for setting the surface coating color for each solid and color setting means, is characterized in that and a surface coating means for performing a surface coating of a three-dimensional shape model according to surface coating color which is set by the fill color setting means.
請 Motomeko second inventions, in the three-dimensional shape processing apparatus capable of setting the surface coating color of a three-dimensional shape model is a kind of geometric data of the loop present in the 3-dimensional shape model plane, secondary curved, and fill color setting means for setting a surface coating color for each free-form surface, a surface coating means for performing a surface coating of a three-dimensional shape model according to surface coating color which is set by the fill color setting means, further comprising a Features.
The inventions of 請 Motomeko 3, a three-dimensional shape processing method performed by the three-dimensional shape processing apparatus capable of setting the surface coating color of a three-dimensional shape model, the three-dimensional shape according to the specification of the input device The method includes a step of setting a surface coating color for each surface and solid, which is a type of data, and a step of performing surface coating of a three-dimensional shape model according to the set surface coating color .
The inventions of 請 Motomeko 4, a three-dimensional shape processing method performed by the three-dimensional shape processing apparatus capable of setting the surface coating color of a three-dimensional shape model, the three-dimensional shape according to the specification of the input device A step of setting a surface coating color for each plane, quadratic surface, and free-form surface, which is a type of geometric data of a loop existing in the model, and a step of performing surface coating of a three-dimensional shape model according to the set surface coating color. It is characterized by having .
The invention of claim 5 is a program, characterized by causing the computer of the three-dimensional shape processing apparatus to execute each step of the three-dimensional shape processing method of
The invention according to claim 6 is a computer-readable storage medium, and stores the program according to claim 5.
[0007]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram showing the main part of a three-dimensional shape processing apparatus according to each embodiment of the present invention. As shown in the figure, the three-dimensional shape processing apparatus includes a
With such a configuration, in the three-dimensional shape processing apparatus according to the first embodiment of the present invention, surface painting is performed by changing the color for each type of three-dimensional shape data (by shape type) according to the user's designation. Surface painting is performed by changing the color for each type of geometric data of the loop forming the surface of the three-dimensional shape model (for each surface type). Note that the types of three-dimensional shape data are roughly divided into three types: wire frames, surfaces, and solids. However, since the wire frame does not hold any surface data, it is not a target for surface coating. The surface is data in which a loop having no curved surface data exists in a part of the three-dimensional shape model. Since there is no surface data in the gap between the curved surfaces generated after the data exchange, the three-dimensional shape data in which the gap is generated always becomes a surface. Solid is data that is filled with content, and all loops hold curved surface data.
In this way, by providing means for changing the color for each type of three-dimensional shape data and painting the surface, in this embodiment, it is visually confirmed whether or not a gap has occurred between curved surfaces after data exchange. By providing a means to set different surface colors for each type of surface geometric data, it is easy to check loops in which the curved surface expression format has changed unintentionally after data conversion It can be done.
[0008]
2 to 5 show an operation flow of the first embodiment of the present invention. The operation of this embodiment will be described below with reference to FIGS.
In this embodiment, first, it is determined whether or not the surface coating method designated by the user at that time is the surface coating for each shape type described above (S1). And if it is surface coating by shape type (“Yes” in S1), surface coating by shape type described later is executed (S2). On the other hand, if it is not the surface coating by shape type (“No” in S1), it is determined whether or not the surface coating is by surface type (S3). If the surface coating is by surface type (“ Yes ") Surface type-specific surface coating described later is executed (S4). If it is not the surface coating for each surface type (“No” in S3), the surface coating for each loop described later is executed (S5). In this embodiment, information indicating the designated surface painting method is stored in the graphics information storage unit 4 for each graphic window. The graphic window ID (identifier), information on the surface painting method, and the surface painting object (identifier of the three-dimensional shape data) are stored as graphics information.
[0009]
Next, surface coating by shape type will be described with reference to the flowchart shown in FIG.
In this surface painting, first, for example, the three-dimensional shape data of the three-dimensional shape model of the surface painting object input from another three-dimensional shape processing system and stored in the shape
Thus, when the determination result is “wire frame”, the three-dimensional shape model does not have a surface, and thus the operation flow is terminated without performing surface painting.
On the other hand, if the determination is “solid”, the face painting color in the case of the solid designated in advance by the user is acquired (S13), and the surface of the three-dimensional shape model is painted with the acquired color. (S14). If it is determined in step S12 that the surface is a surface, the face color for the surface designated by the user in advance is acquired (S15), and the surface of the 3D shape model is acquired with the acquired color. Apply (S14).
[0010]
Next, surface coating by surface type will be described with reference to the flowchart shown in FIG.
In this surface painting, first, for example, the three-dimensional shape data of the three-dimensional shape model to be surfaced is input from another three-dimensional shape processing system and stored in the shape data storage unit 3 (S21).
Subsequently, data indicating the type of the surface set in advance as one of the three-dimensional shape data for the surface in the three-dimensional shape data is acquired, and the type (surface type) of the surface is determined (S22). If it is determined that the surface is a free-form surface, a surface-painting color in the case of a free-form surface designated in advance by the user is acquired (S23), and the surface is painted with the acquired color. (S25).
On the other hand, in the case of the determination “is a plane”, the surface paint color in the case of the plane designated in advance by the user is acquired (S24), and the surface paint with the acquired color is performed (S25). ). If it is determined in step S22 that the surface is a quadric surface such as a sphere, a cylinder, or a cone, the surface paint color in the case of a quadric surface designated in advance by the user is acquired (S26). Surface painting with the acquired color is performed (S25).
[0011]
Next, loop surface coating will be described with reference to the flowchart shown in FIG.
In this surface painting, first, the three-dimensional shape model of the surface painting target stored in the shape
Subsequently, it is determined whether or not a surface color is set for the loop in the three-dimensional shape data (S32). If it is set (“Yes” in S32), it is designated by the user in advance (for example, when a three-dimensional shape data is created, a color is set on a specific surface and is stored as one of the three-dimensional shape data. The surface paint color of the surface of the loop is acquired (S33), and the surface paint of the surface of the loop is performed with the acquired color (S34).
On the other hand, if the face paint color of the loop is not set (“No” in S32), a preset default face paint color is acquired (S35), and the color obtained for the face of the loop is obtained. Surface painting is performed (S34).
[0012]
Next, a method for the user to specify the surface coating method on the screen will be described.
FIG. 6 shows an example of a screen displayed at that time. In FIG. 6, □ represents a button or a check box, and a frame displayed as “screen” on the upper side is a screen image for switching the surface painting method. If the “Sketch” button in this frame is pressed or checked, “Shape Type” (surface paint for each shape type), “Surface Type” (surface paint for each surface type), One of “surfaces” (surface coating by loop) can be selected. In addition, in the example of FIG. 6, the state which has shown the location which is (■) is shown. When the illustrated “line drawing” button is pressed or checked, the pressed state or checked state of the above-described screen button is ignored.
Thus, according to this embodiment, the difference in shape type and the difference in surface type can be easily recognized by the difference in color of the surface. Easy to confirm. Further, a specific surface (specific loop) can be easily confirmed by the difference in color of the surface.
[0013]
Next, a second embodiment of the present invention will be described with reference to the operation flowchart shown in FIG.
In this embodiment, when a three-dimensional shape model is displayed in a designated graphics window, first, three-dimensional shape data to be displayed is acquired (S41). Then, the user designates the graphics window to be displayed and the display method, acquires information indicating the designated graphics window and the display method (S42), and determines whether or not the display method is a plane display (S43). ).
In this way, if it is determined that the screen is displayed (“Yes” in S43), the surface painting process (see FIGS. 2 to 5) shown in the first embodiment is executed, and the result is reflected. The three-dimensional shape model is displayed in the designated graphics window (S44). On the other hand, if it is determined that the display method is not plane display (“No” in S43), line drawing display (wire frame display) is displayed on the specified graphics window using the acquired three-dimensional shape data. Perform (S45).
In the above, for the same three-dimensional shape data, a plane drawing display is designated in one graphics window and a line drawing display is designated in the other graphics window, or in one graphics window. Specify the surface display that changes the surface color for each shape type, and specify the surface display that changes the surface color for each surface type in the other graphics window. Can be displayed.
Thus, according to this embodiment, not only the same effect as in the first embodiment can be obtained, but also a three-dimensional shape model of a different display method can be displayed side by side in each of a plurality of graphics windows. .
[0014]
Although two embodiments of the present invention have been described above, a program programmed to execute the three-dimensional shape processing according to the present invention as described above is stored in a removable storage medium, and the storage medium is stored in the storage medium. By attaching to an information processing apparatus such as a personal computer that could not perform the three-dimensional shape processing according to the present invention, or by transferring such a program to such an information processing apparatus via a network, The information processing apparatus can also perform three-dimensional shape processing according to the present invention.
[0015]
【The invention's effect】
As described above, according to the present invention, in the first, third, and fifth aspects of the present invention, the surface paint color is set for each type of the three-dimensional shape data, and the three-dimensional shape is set according to the set surface paint color. Since the surface of the model is applied, for example, when converting data, it is easy to visually check whether there is a gap between curved surfaces to form a surface, or whether there is no gap between curved surfaces and a solid shape Therefore, it can be easily determined whether the data conversion has been performed correctly.
Further, in the inventions according to claims 2, 4 , and 5 , a face painting color is set for each type of loop geometric data existing in the three-dimensional shape model, and the surface of the three-dimensional shape model is set according to the set face painting color. Since painting is performed, for example, it is possible to easily check visually whether a loop that was a flat surface or a quadric surface before data conversion becomes a free surface after data exchange. It is possible to easily determine whether it has been done correctly. In particular, in the case of wire frame display, a loop that looks like a flat surface or a quadratic surface at first glance, or a loop that has the same shape as a flat surface or a quadratic surface but whose internal representation is a free-form surface, can be easily confirmed. Therefore, it is useful not only immediately after exchanging data but also for checking the validity of the three-dimensional shape after executing arbitrary shape deformation processing.
According to the sixth aspect of the present invention, by attaching the storage medium to an information processing apparatus such as a personal computer, the information processing apparatus can perform three-dimensional shape processing .
[Brief description of the drawings]
FIG. 1 is a block diagram showing a main part of a three-dimensional shape processing apparatus according to each embodiment of the present invention.
FIG. 2 is an operation flowchart of the three-dimensional shape processing method according to the first embodiment of the present invention.
FIG. 3 is another operation flow diagram of the three-dimensional shape processing method according to the first embodiment of the present invention.
FIG. 4 is another operation flow diagram of the three-dimensional shape processing method according to the first embodiment of the present invention.
FIG. 5 is another operation flowchart of the three-dimensional shape processing method according to the first embodiment of the present invention.
FIG. 6 is a screen diagram of a three-dimensional shape processing method according to the first embodiment of the present invention.
FIG. 7 is an operation flowchart of a three-dimensional shape processing method according to the second embodiment of the present invention.
[Explanation of symbols]
1 CPU
2
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002192635A JP4033336B2 (en) | 2002-07-01 | 2002-07-01 | 3D shape processing apparatus, 3D shape processing method, program, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002192635A JP4033336B2 (en) | 2002-07-01 | 2002-07-01 | 3D shape processing apparatus, 3D shape processing method, program, and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004038408A JP2004038408A (en) | 2004-02-05 |
| JP4033336B2 true JP4033336B2 (en) | 2008-01-16 |
Family
ID=31701838
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002192635A Expired - Fee Related JP4033336B2 (en) | 2002-07-01 | 2002-07-01 | 3D shape processing apparatus, 3D shape processing method, program, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4033336B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011185650A (en) * | 2010-03-05 | 2011-09-22 | Omron Corp | Model generation apparatus and model generation program |
-
2002
- 2002-07-01 JP JP2002192635A patent/JP4033336B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004038408A (en) | 2004-02-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6025847A (en) | Three dimensional modeling system with visual feedback | |
| CN105844711B (en) | Sculpting 2D images on subdivision surfaces | |
| US6236403B1 (en) | Modeling and deformation of 3-dimensional objects | |
| EP2660782B1 (en) | Designing a 3D modeled object | |
| US8111256B2 (en) | Method of altering a mesh model using model independent dirichlet parametrization | |
| JP6888411B2 (en) | 3D shape data editing device and 3D shape data editing program | |
| US7295202B2 (en) | System for approximating and displaying three dimensional CAD data, and system for executing method thereof | |
| CN101140598A (en) | Part recognition image processor, program for generating part recognition image, and recording medium storing program | |
| KR20200056764A (en) | Method for automatically set up joints to create facial animation of 3d face model and computer program | |
| JP2004252873A (en) | Partial reprojection method, apparatus and computer program in three-dimensional CAD system | |
| US10671766B2 (en) | Evaluating the stability of three-dimensional models | |
| JP3557839B2 (en) | How to create mesh data on a curved surface | |
| JP4033336B2 (en) | 3D shape processing apparatus, 3D shape processing method, program, and storage medium | |
| WO2023083345A1 (en) | Method and apparatus for 3d printing, storage medium, and program product | |
| JP3990147B2 (en) | Projection control processing apparatus and computer program | |
| US10297036B2 (en) | Recording medium, information processing apparatus, and depth definition method | |
| JP2010176573A (en) | Mold design device and method therefor | |
| WO2026007366A1 (en) | Three-dimensional model surface deformation method and apparatus | |
| JP2012128609A (en) | Drawing creation support method and apparatus | |
| US20250054220A1 (en) | Mapping of texture in 3d scene | |
| JP5179444B2 (en) | Mold design apparatus, mold design method, and program | |
| JP4096326B2 (en) | Three-dimensional shape processing method and storage medium | |
| US20250291965A1 (en) | Method and system for interacting with computer-aided design models | |
| US20250245394A1 (en) | Recovering a 2d wall center line from a 3d wall | |
| US20250054221A1 (en) | Rendering of overlapping textures in 3d scene |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050209 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20050215 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070713 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070905 |
|
| 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: 20071018 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071018 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101102 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4033336 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111102 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111102 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121102 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131102 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |