JP4027716B2 - 3D shape processing method, program, storage medium, and 3D shape processing apparatus - Google Patents
3D shape processing method, program, storage medium, and 3D shape processing apparatus Download PDFInfo
- Publication number
- JP4027716B2 JP4027716B2 JP2002140407A JP2002140407A JP4027716B2 JP 4027716 B2 JP4027716 B2 JP 4027716B2 JP 2002140407 A JP2002140407 A JP 2002140407A JP 2002140407 A JP2002140407 A JP 2002140407A JP 4027716 B2 JP4027716 B2 JP 4027716B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- shape
- history information
- basic
- executed
- 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次元形状処理システムに実施される、3次元形状を変形できる3次元形状処理方法及び3次元形状処理システムに関し、特に、3次元形状の処理履歴情報を利用した3次元形状変形処理方法及び3次元形状処理システムに関するものである。
【0002】
【従来の技術】
グラフィクス表示装置とコンピュータとを用いたCAD/CAMシステムなど3次元形状処理システムでは、従来より、3次元形状を生成したり、生成されている3次元形状を変形させたりする3次元形状処理が行われている。なお、3次元形状(3次元立体)とは、例えば境界表現形式のソリッドモデルデータとして生成された形状を指し、その境界表現形式のソリッドモデルとは、稜線や頂点や面というような要素により3次元空間上に閉じた領域を定義し、中身の詰まった立体を表現したものである。
本発明は、このような3次元形状処理システムにおいて、生成されている3次元形状を変形させる際、実行した3次元形状変形処理の内容を処理履歴情報として記憶しておき、記憶した内容の形状変形処理を再び行う際、処理履歴情報を用いることにより利用者の行う操作を簡単にしようとするものである。類似の従来技術としては、例えば、特開平3−78090号公報や特開平8−83356号公報に示された形状変形処理がある。
このうち、特開平3−78090号公報に示された従来技術では、実行した形状変更操作コマンド(形状変更処理コマンド)と共にそのパラメータ(引数)を記憶しておき、記憶されている形状変更処理とは寸法の異なる形状変更処理を行う際、記憶されている形状変更操作コマンド中の最初のコマンドを実行する直前の形状を再生した後に、前記形状変更操作コマンドの寸法に対応するパラメータを変更し、変更したコマンドを実行することにより同じ処理対象の同じ部分の形状変更を行う。また、特開平8−83356号公報に示された形状変形処理においても、同じ処理対象の同じ部分の形状変形処理を再実行させて変形処理を行うことができる。
また、特許第2905225号に示された3次元形状の設計履歴管理方式でも、同様に、操作履歴(処理履歴)に記憶した形状変形処理と処理パラメータを利用して、その処理パラメータの値を変えてから、その形状変形処理を再び実行できるようにして、現在の3次元形状と寸法だけが異なる類似形状を容易に生成することができるようにしている。
【0003】
【発明が解決しようとする課題】
例えば、2つの形状の和・差・積(共通部分)をとる集合演算処理、フィレット形状(角に丸みをつけた形状)を生成するフィレット生成処理、形状のシェル化(薄肉化)を行うくりぬき処理など、処理手順が複雑な処理を行う際、複雑な形状を処理対象とする場合には、一時的な形状処理を行ってからある判断を行い、その判断が正しいと判断されたならばそのまま形状処理を行うが、判断が正しくない場合には一時的に行った形状処理を元に戻してから別の処理手順を行うことにより形状変形処理を実行したい場合がある。
しかしながら、前記した従来技術においては、形状変形処理ごとのUNDO操作(元に戻す処理)およびREDO操作(再実行処理)しか認められていない環境においては、形状変形処理の処理途中で試行錯誤的な形状処理を行うことができないので、集合演算処理、フィレット生成処理、及びくりぬき処理などの形状変形処理全体がエラーになることがあった。
本発明の目的は、このような従来技術の問題を解決することにあり、具体的には、やり直しの可能性のある変形処理などを実行する際、処理履歴情報中のその時の位置に印をつけておいてからその処理を実行し、その処理が正しく終了しなかった場合には、逆処理を実行して印をつけた時点の形状を再生することにより、別の処理を続けて実行することができる3次元形状処理方法及び3次元形状処理システムを提供することにある。
【0004】
【課題を解決するための手段】
前記の課題を解決するために、請求項1記載の発明では、形状変形処理を逆処理可能な基本処理列に分解して処理履歴情報として記録することを可能とした情報処理装置の3次元形状処理方法において、前記処理履歴情報に形状再生位置を意味する印をつけ、前記印を複数箇所に付与可能な構成にし、実行された基本処理列の処理履歴情報を前記印が付与された位置から取得し、取得した基本処理列の逆処理を実行することにより、その位置以降に実行された変形を取り消すことを特徴とする。
また、請求項2記載の発明では、請求項1記載の発明において、印に識別子を付与し、その識別子を用いて形状再生位置を決定する構成にしたことを特徴とする。
また、請求項3記載の発明では、請求項2記載の3次元形状処理方法において、実行された基本処理列の処理履歴情報を指定された識別子の印が付与された位置から現在の位置まで取得し、その基本処理列の逆処理を実行することにより、前記印が付与された位置以降に実行された変形を取り消すことを特徴とする。
また、請求項4記載の発明では、請求項1乃至請求項3のいずれか1項に記載の3次元形状処理方法において、当該形状処理を実行する前にあらかじめ処理履歴情報中の当該形状処理開始位置に印を付与しておき、そのあと、前記当該形状処理を実行し、その形状処理が正しく終了しなかった場合には、前記処理履歴情報中の印を付与した位置まで逆処理を行って印を付与した位置の形状を再生するとともに、逆処理を行った基本処理列の処理履歴情報を除去することを特徴とする。
また、請求項5記載の発明では、請求項4記載の発明において、逆処理を行った基本処理列の処理履歴情報を除去した後、別の処理を続けて実行する構成にしたことを特徴とする。
また、請求項6記載の発明では、 請求項1乃至請求項5のいずれか1項に記載の3次元情報処理方法を情報処理装置に実行させることを特徴とする。
また、請求項7記載の発明では、プログラムを記憶した記憶媒体において、請求項6に記載のプログラムを記憶したことを特徴とする。
また、請求項8記載の発明では、形状変形処理を逆処理可能な基本処理列に分解して処理履歴情報として記録することができる3次元形状処理装置において、前記処理履歴情報に形状再生位置を意味する印をつける手段と、前記印を複数箇所に付与可能な手段と、実行された基本処理列の処理履歴情報を前記印が付与された位置から取得し、取得した基本処理列の逆処理を実行することにより、その位置以降に実行された変形を取り消す手段と、を備えたことを特徴とする。
【0005】
【発明の実施の形態】
以下、図面により本発明の実施の形態を詳細に説明する。
図1は本発明の一実施例を示す3次元形状処理システムのシステム構成図である。図示したように、この実施例の3次元形状処理システムは、予めプログラミングされた形状変形処理プログラムに従って基本処理を実行する基本処理実行部1、基本処理の実行により生成または変形された3次元形状データを記憶する形状データ格納部2、基本処理実行部1により実行された基本処理の処理履歴情報を記憶する履歴格納部3、実行する基本処理の内容および処理履歴情報の内容を解析し、その解析結果によっては処理履歴情報から得た逆処理データを基本処理データとして基本処理実行部1に与えたりする履歴解析部4、前記形状変形処理プログラム6を含む形状処理支援部5などを備える。なお、基本処理とは、後述する処理A、処理Bなど処理ブロックを構成している基本的な処理単位であり、prMevvlという基本処理を例に説明すると、1本の稜線と2個の頂点と1つのループを生成するというような処理である。
また、前記処理ブロックとは、例えば一つの面を生成するような処理であり、そのような処理ブロックが複数集まった処理が例えば「くりぬき処理」というような処理である。また、前記基本処理実行部1、履歴解析部4、および形状処理支援部5はメモリに記憶されたプログラムとそのプログラムに従って動作するCPUなどにより実現され、形状データ格納部2および履歴格納部3は例えばハードディスク装置により実現される。
図2に、一つの基本処理データの構成を示す。図示したように、基本処理データは基本処理ID(識別符号)10と基本処理パラメータ11から成っている。基本処理パラメータ11は基本処理を実行するために指定した値で、前記prMevvlの例で言えば1本の稜線の端点を表す2つの座標値である。基本処理実行部1は基本処理列の実行時にこのような基本処理データの列を履歴格納部3に記録(記憶)するのである。ただし、実行された基本処理が履歴解析部4から得られた基本処理であった場合は基本処理データを記録しない。
このような構成で、この実施例では、一つの処理ブロックを実行後、その処理結果が正しくないならば、その処理を行う前の形状に戻す。
【0006】
以下、この実施例を詳細に説明する。
この実施例では、ある形状変形処理、例えばくりぬき処理のような形状変形処理の処理手順が処理A、処理B、処理C、処理Dの4つのブロックで構成されている場合に、その4つの処理ブロックの関係が以下の条件を満たし、且つ、各処理ブロックは1個以上の基本処理を実行することにより形状を変形するものとす
1番目の処理手順は処理Aである。
2番目の処理手順は処理Bである。
処理Bの結果が正しい場合の3番目の処理手順は処理Cである。
処理Bの結果が正しくない場合は、処理A直後に戻り、処理Dを実行する。
以上の関係を図示したのが、図3である。
図4に、この実施例の印付与時の動作フローを示す。以下、図3および図4などにより、この動作フローを説明する。
まず、処理Aの実行後、形状変形処理プログラム6に従って、形状処理支援部5は、処理履歴情報中の処理Aの処理履歴情報の直後の位置に対応づけて印を意味する識別子を付与し(S1)、この識別子を形状変形処理プログラム6に返す。こうして、形状変形処理プログラム6は取得した識別子を記憶しておく。
一方、基本処理実行部1は印としてパラメータに識別子を書き込んだ基本データを基本データ列の最後に付加した処理Aの基本処理データ列を処理履歴情報として履歴格納部3に記録する(S2)。
次に、形状変形処理プログラム6に従って、基本処理実行部1は処理Bの基本処理列を実行する。そして、処理Bの基本処理データ列を処理履歴情報として履歴格納部3に記録する(S3)。
【0007】
こうして、処理Cに移るとき、形状変形処理プログラム6は、処理Bの結果の形状を所定の評価基準に従って評価し、その評価結果に従って処理Cを引き続き実行してよいか否かを判断する(S4)。そして、処理続行可能であると判断した場合は(S4でYes)、同様にして処理Cを実行させる(S5)。それに対して、処理Cの続行が不可能であると判断した場合は(S4でNo)、メモリ内の所定領域に記憶しておいた、処理Aの直後の印の識別子を取得し、その識別子を形状処理支援部5に渡す(S6)。
これにより、形状処理支援部5は履歴格納部3に記憶されている処理履歴情報中からその識別子が付加されている箇所以後の基本処理データ列を取得し、その基本処理の逆処理を記憶されている順番と逆順に基本処理実行部1に実行させ、それにより処理Aの直後の3次元形状に戻す(S7)。そして、その基本処理データ列を処理履歴情報中から削除する(S8)。なお、逆処理とは、生成に対しては削除する処理であり、前記したprMevvlの逆処理prKevvlでは1本の稜線と2個の頂点と1つのループを削除する。
また、前記したように、処理A、処理Bというように処理を複数実行した場合、複数手前の識別子の箇所まで戻ることもあるので、一般には、形状変形処理プログラム6が指定した印の識別子と処理履歴情報中から取り出した識別子が一致するまで、処理履歴情報中から取り出した基本処理データ列の逆処理を実行する。つまり、処理履歴情報として記録された基本処理データ列の基本処理の逆処理を基本処理列の順番と逆の順番で実行することにより、処理A直後の3次元形状を再現するのである。
また、前記において、処理Cを実行した場合は、形状変形処理を完了する。それに対して、処理Cを実行しなかった場合は、ステップS8に続いて、処理A直後の形状に対して処理Dを実行し(S9)、形状変形処理を完了する。
【0008】
図5に、処理履歴情報中に複数の印を付けた場合の各処理ブロックの関係の例を示す。図5において、処理Aの実行後と処理Bの実行後に処理履歴情報に付けた印をそれぞれ印a、印bとし、印a、印bに戻る条件を以下のとおりとする。処理Cの実行直後に処理Dを引き続き実行することができない場合に、印bの位置に戻る。
処理Eの実行直後に処理Fを引き続き実行できない場合に、印aの位置に戻る。
以上より、この形状変形処理で実行可能な処理ブロックの組み合わせは、(A,B,C,D)、(A,B,E,F)、(A,G)の3つとなる。処理履歴情報に付けられる印の数に制限がないので、この実施例の形状変形処理では図4に示したような複雑な処理手順により構成される形状変形処理を容易に支援することが可能なのである。形状変形処理では、後から戻ってくる可能性のある処理履歴情報中の箇所(ある処理ブロックの直後)に印を意味する基本処理IDとパラメータとして識別子を持つ基本処理データを付加しておき、戻り先がわかった段階でその印を示す戻り先識別子を形状処理支援部5に渡すだけである。したがって、図1に示した形状処理システムにおいて、形状処理支援部5をその外側の部分と係わりなく実現することができる。
【0009】
前記したように、処理履歴情報に印をつける処理を一つの基本処理データを付加する処理として実現する場合、基本処理データ中の基本処理パラメータ(図2参照)を識別子として設定すればよい。形状変形処理プログラム6により、戻り識別子が指定されたとき、形状処理支援部5がその識別子に対応する時点の形状を再現する動作フローを図6に示す。以下、図6に従って、この動作フローを説明する。
まず、処理履歴情報中の最後に記録されている一つの基本処理データを取得する(S11)。そして、その基本処理IDを印を示す基本処理データの基本処理IDと比較し、一致しているか否かを調べる(S12)。そして、2つの基本処理IDが一致しない場合(S12でNo)、処理履歴情報中の最後に記録されている基本処理データ(取得した基本処理データ分)を削除し(S14)、取得した基本処理の逆処理に当たる基本処理を実行する(S15)。なお、この逆処理の基本処理に指定する基本処理パラメータは、ステップS11で取得した基本処理データの基本処理パラメータである。
一方、2つの基本処理IDと一致する場合は(S12でYes)、処理履歴情報中から取得した基本処理データは印を意味する基本処理データということになるので、その基本処理データの基本処理パラメータ中の識別子と指定された戻り先識別子とが一致するか否かを調べる(S13)。そして、識別子が一致しない場合(S13でNo)、処理履歴情報中の最後に記録されている基本処理データを削除し(S14)、取得した基本処理の逆処理に当たる基本処理を実行する(S15)。
ステップS15を実行した後はステップS11に戻り、その時点における処理履歴情報の最後に記録されている一つの基本処理データについてステップS11から繰り返す。
それに対して、識別子が一致した場合は(S13でYes)、処理履歴情報中の最後に記録されている基本処理データを削除し(S16)、形状を再現する処理を終了する。
こうして、この実施例によれば、やり直しの可能性がある変形処理などを実行する際、処理履歴情報中のその時点の位置に印をつけておいてからその処理を実行し、その処理が正しく終了しなかった場合には、逆処理を実行して印をつけた時点の形状を再生し、別の処理を続けて実行することができる。
以上、本発明の一実施例について、説明したが、説明したような3次元形状処理方法に従ってプログラミングしたプログラムを着脱可能な記憶媒体に記憶し、その記憶媒体をこれまで本発明によった3次元形状処理を行えなかった情報処理装置に装着することにより、または、そのようなプログラムをネットワークを介してそのような情報処理装置へ転送することにより、その情報処理装置においても本発明によった3次元形状処理を行うことができる。
【0010】
【発明の効果】
以上説明したように、本発明によれば、請求項1記載の発明では、形状変形処理を逆処理可能な基本処理列に分解して処理履歴情報として記録する際、処理履歴情報の途中に形状再生位置を意味する印をつけることができ、印を複数箇所に付与でき、実行された基本処理列の処理履歴情報を印のつけられた位置またはその一つの位置から取得し、取得した基本処理列の逆処理を実行することにより、その位置以降に実行された変形が取り消されるので、やり直しの可能性のある変形処理などを実行する際、処理履歴情報中のその時の位置に印をつけておいてからその処理を実行し、その処理が正しく終了しなかった場合には、逆処理を実行して印をつけた時点の形状を再生することにより、別の処理を続けて実行することが可能になる。また、やり直しの可能性のある複数の変形処理などを実行する際、処理履歴情報中の複数の位置に印をつけておいてからその処理を実行し、その処理が正しく終了しなかった場合には、その状況に応じて、複数の印をつけた時点のうちの所望の時点の形状を再生することができる。更に、上記の効果を容易に実現することができる。
【0011】
また、請求項2記載の発明では、請求項1記載の発明において、印に識別子が付与され、その識別子を用いて形状再生位置が決定されるので、複数箇所に印がつけられても所望の印位置の形状の再生が可能になる。
また、請求項3記載の発明では、請求項2記載の発明において、実行された基本処理列の処理履歴情報を指定された識別子の印がつけられた位置から現在の位置まで取得し、その基本処理列の逆処理を実行することにより、印をつけた以降に実行された変形が取り消されるので、請求項2記載の効果を容易に実現することができる。
また、請求項4記載の発明では、請求項1乃至請求項3のいずれか1項に記載の発明において、当該形状処理を実行する前にあらかじめ処理履歴情報中の当該形状処理開始位置に印がつけられ、そのあと、当該形状処理が実行され、その形状処理が正しく終了しなかった場合には、処理履歴情報中の印をつけた位置まで逆処理を行って印をつけた位置の形状が再生されるとともに、逆処理を行った基本処理列の処理履歴情報が除去されるので、正しく終了しなかった場合、別の処理を続けて実行することが可能になる。
また、請求項5記載の発明では、請求項4記載の発明において、逆処理を行った基本処理列の処理履歴情報を除去した後、別の処理を続けて実行することができるので、作業効率が向上する。
また、請求項6記載の発明では、請求項1乃至請求項5のいずれか1項に記載の3次元形状処理方法に従ってプログラミングしたプログラムを情報処理装置上で実行させることができるので、情報処理装置を用いて請求項1乃至請求項5のいずれか1項に記載の発明の効果を得ることができる。
また、請求項7記載の発明では、請求項6記載のプログラムを着脱可能な記憶媒体に記憶することができるので、その記憶媒体をこれまで請求項1乃至請求項5のいずれか1項に記載の発明によった3次元形状処理を行えなかった情報処理装置に装着することにより、その情報処理装置においても請求項1乃至請求項5のいずれか1項に記載の発明の効果を得ることができる。
また、請求項8記載の発明では、請求項1と同様の作用効果を奏する。
【図面の簡単な説明】
【図1】本発明の一実施例を示す3次元形状処理システムのシステム構成図である。
【図2】本発明の一実施例を示す3次元形状処理システム要部のデータ構成図である。
【図3】本発明の一実施例を示す3次元形状処理方法の説明図である。
【図4】本発明の一実施例を示す3次元形状処理方法の動作フロー図である。
【図5】本発明の一実施例を示す3次元形状処理方法の他の説明図である。
【図6】本発明の一実施例を示す3次元形状処理方法の他の動作フロー図である。
【符号の説明】
1 基本処理実行部
2 形状データ格納部
3 履歴格納部
4 履歴解析部
5 形状処理支援部
6 形状変形処理プログラム[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a three-dimensional shape processing method and a three-dimensional shape processing system , which can be transformed into a three-dimensional shape, implemented in a three-dimensional shape processing system using an information processing device such as a dedicated three-dimensional shape processing device or a personal computer. In particular, the present invention relates to a three-dimensional shape deformation processing method and a three-dimensional shape processing system using three-dimensional shape processing history information.
[0002]
[Prior art]
Conventionally, in a 3D shape processing system such as a CAD / CAM system using a graphics display device and a computer, 3D shape processing for generating a 3D shape or deforming the generated 3D shape has been performed. It has been broken. Note that the three-dimensional shape (three-dimensional solid) refers to, for example, a shape generated as solid model data in the boundary representation format, and the solid model in the boundary representation format is 3 by an element such as a ridge line, a vertex, or a surface. It defines a closed area in the dimensional space and expresses a solid that is filled with contents.
The present invention stores the contents of the executed three-dimensional shape deformation process as processing history information when deforming the generated three-dimensional shape in such a three-dimensional shape processing system. When the deformation process is performed again, the operation performed by the user is simplified by using the processing history information. As a similar conventional technique, for example, there is a shape deformation process disclosed in Japanese Patent Laid-Open Nos. 3-78090 and 8-83356.
Among these, in the prior art disclosed in Japanese Patent Laid-Open No. 3-78090, parameters (arguments) are stored together with the executed shape change operation command (shape change processing command), and the stored shape change processing and When performing shape change processing with different dimensions, after reproducing the shape immediately before executing the first command in the stored shape change operation command, change the parameter corresponding to the dimension of the shape change operation command, By executing the changed command, the shape of the same part to be processed is changed. Also in the shape deformation process disclosed in Japanese Patent Laid-Open No. 8-83356, the deformation process can be performed by re-executing the shape deformation process of the same portion of the same processing target.
Similarly, in the design history management method for a three-dimensional shape disclosed in Japanese Patent No. 2905225, the value of the processing parameter is changed by using the shape transformation processing and the processing parameter stored in the operation history (processing history). After that, the shape deformation process can be executed again, and a similar shape that is different only in size from the current three-dimensional shape can be easily generated.
[0003]
[Problems to be solved by the invention]
For example, set operation processing that takes the sum, difference, and product (common part) of two shapes, fillet generation processing that generates a fillet shape (a shape with rounded corners), and hollowing out a shell of the shape (thinning) When processing with complicated processing procedures, such as processing, if a complex shape is to be processed, make a decision after performing temporary shape processing, and if the decision is correct, leave it as is Although shape processing is performed, if the determination is not correct, it may be desired to perform shape deformation processing by performing another processing procedure after restoring the temporarily performed shape processing.
However, in the above-described prior art, in an environment where only UNDO operation (return processing) and REDO operation (re-execution processing) for each shape deformation process are allowed, trial and error may occur during the shape deformation process. Since shape processing cannot be performed, the entire shape deformation processing such as set operation processing, fillet generation processing, and hollowing out processing sometimes results in an error.
An object of the present invention is to solve such a problem of the prior art. Specifically, when executing a deformation process that may be redone, a mark is placed at the current position in the processing history information. If the process is not completed properly, the reverse process is executed to reproduce the shape at the time of marking, and another process is continuously executed. Another object is to provide a three-dimensional shape processing method and a three-dimensional shape processing system .
[0004]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, according to the first aspect of the present invention, the three-dimensional shape of the information processing apparatus capable of decomposing the shape deformation process into basic process sequences that can be reversely processed and recording it as process history information. In the processing method, the processing history information is marked to indicate the shape reproduction position, the mark can be given to a plurality of places, and the processing history information of the executed basic processing sequence is determined from the position where the mark is given. By acquiring and performing reverse processing of the acquired basic processing sequence, the deformation executed after that position is canceled .
The invention described in claim 2 is characterized in that, in the invention described in claim 1 , an identifier is assigned to the mark, and the shape reproduction position is determined using the identifier.
Further, in the invention of
Further, in the invention of claim 4, wherein, in the three-dimensional shape processing method according to any one of claims 1 to 3, the shape processing start in advance processing history information before performing the shape processing A mark is added to the position, and then the shape process is executed. If the shape process does not end correctly, the process is reversed to the position where the mark is added in the process history information. The shape of the position to which the mark is added is reproduced, and the processing history information of the basic processing sequence subjected to the reverse processing is removed.
Further, the invention according to
The invention according to claim 6 is characterized in that the information processing apparatus is caused to execute the three-dimensional information processing method according to any one of claims 1 to 5 .
The invention according to
According to an eighth aspect of the present invention, in the three-dimensional shape processing apparatus capable of disassembling the shape deformation process into basic process sequences that can be reversely processed and recording the process history information, the shape reproduction position is added to the process history information. Means for marking that means, means that can give the mark to a plurality of places, processing history information of the executed basic processing sequence is acquired from the position where the mark is given, and reverse processing of the acquired basic processing sequence Means for canceling the deformation executed after that position.
[0005]
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 system configuration diagram of a three-dimensional shape processing system showing an embodiment of the present invention. As shown in the figure, the three-dimensional shape processing system of this embodiment includes a basic processing execution unit 1 that executes basic processing according to a pre-programmed shape deformation processing program, and three-dimensional shape data generated or deformed by executing the basic processing. The shape data storage unit 2 for storing the data, the
Further, the processing block is a process for generating one surface, for example, and a process in which a plurality of such process blocks are collected is a process such as “removal process”. The basic processing execution unit 1, the history analysis unit 4, and the shape
FIG. 2 shows the configuration of one basic process data. As shown in the figure, the basic process data includes a basic process ID (identification code) 10 and a
With this configuration, in this embodiment, after one processing block is executed, if the processing result is not correct, the shape before the processing is restored.
[0006]
This embodiment will be described in detail below.
In this embodiment, when a processing procedure of a shape deformation process, for example, a shape deformation process such as a hollow-out process, is composed of four blocks of a process A, a process B, a process C, and a process D, the four processes The first processing procedure in which the relationship between the blocks satisfies the following conditions and each processing block is deformed by executing one or more basic processing is processing A.
The second processing procedure is processing B.
The third processing procedure when the result of the process B is correct is the process C.
If the result of the process B is not correct, the process returns immediately after the process A and the process D is executed.
FIG. 3 illustrates the above relationship.
FIG. 4 shows an operation flow at the time of applying a mark in this embodiment. The operation flow will be described below with reference to FIGS.
First, after execution of the process A, according to the shape deformation process program 6, the shape
On the other hand, the basic process execution unit 1 records the basic process data sequence of the process A in which the basic data, in which the identifier is written in the parameter as a mark, is added to the end of the basic data sequence, as process history information in the history storage unit 3 (S2).
Next, the basic process execution unit 1 executes the basic process sequence of process B according to the shape transformation process program 6. Then, the basic process data string of process B is recorded in the
[0007]
Thus, when moving to the process C, the shape deformation processing program 6 evaluates the shape of the result of the process B according to a predetermined evaluation criterion, and determines whether or not the process C can be continued according to the evaluation result (S4). ). If it is determined that the process can be continued (Yes in S4), the process C is executed similarly (S5). On the other hand, if it is determined that the process C cannot be continued (No in S4), the identifier of the mark immediately after the process A stored in the predetermined area in the memory is acquired, and the identifier Is passed to the shape processing support unit 5 (S6).
As a result, the shape
In addition, as described above, when a plurality of processes such as the process A and the process B are executed, the process may return to a plurality of previous identifiers. Therefore, generally, the identifier of the mark designated by the shape transformation processing program 6 Until the identifiers extracted from the processing history information match, the reverse processing of the basic processing data string extracted from the processing history information is executed. That is, the three-dimensional shape immediately after the process A is reproduced by executing the reverse process of the basic process of the basic process data sequence recorded as the process history information in the reverse order of the basic process sequence.
In the above, when the process C is executed, the shape deformation process is completed. On the other hand, when the process C is not executed, the process D is executed for the shape immediately after the process A (S9) following the step S8, and the shape deformation process is completed.
[0008]
FIG. 5 shows an example of the relationship between the processing blocks when a plurality of marks are added to the processing history information. In FIG. 5, the marks added to the process history information after execution of process A and after execution of process B are set as mark a and mark b, respectively, and conditions for returning to mark a and mark b are as follows. If the process D cannot be executed immediately after the execution of the process C, the process returns to the position of the mark b.
If the process F cannot be executed immediately after the execution of the process E, the process returns to the position of the mark a.
As described above, there are three processing block combinations (A, B, C, D), (A, B, E, F), and (A, G) that can be executed in this shape transformation process. Since there is no limit to the number of marks added to the processing history information, the shape deformation processing of this embodiment can easily support shape deformation processing configured by a complicated processing procedure as shown in FIG. is there. In the shape transformation process, a basic process ID indicating a mark and a basic process data having an identifier as a parameter are added to a position (immediately after a certain process block) in the process history information that may return later. When the return destination is known, the return destination identifier indicating the mark is simply passed to the shape
[0009]
As described above, when the process for marking the process history information is realized as a process for adding one basic process data, a basic process parameter (see FIG. 2) in the basic process data may be set as an identifier. FIG. 6 shows an operation flow in which when the return identifier is designated by the shape transformation processing program 6, the shape
First, one basic process data recorded at the end in the process history information is acquired (S11). Then, the basic process ID is compared with the basic process ID of the basic process data indicating the mark, and it is checked whether or not they match (S12). If the two basic process IDs do not match (No in S12), the last recorded basic process data (for the acquired basic process data) in the process history information is deleted (S14), and the acquired basic process A basic process corresponding to the reverse process is executed (S15). Note that the basic processing parameters specified for the basic processing of the reverse processing are the basic processing parameters of the basic processing data acquired in step S11.
On the other hand, if the two basic process IDs match (Yes in S12), the basic process data acquired from the process history information is the basic process data meaning a mark, so the basic process parameters of the basic process data It is checked whether or not the inside identifier matches the designated return destination identifier (S13). If the identifiers do not match (No in S13), the last recorded basic process data in the process history information is deleted (S14), and a basic process corresponding to the reverse process of the acquired basic process is executed (S15). .
After executing Step S15, the process returns to Step S11, and one basic process data recorded at the end of the process history information at that time is repeated from Step S11.
On the other hand, if the identifiers match (Yes in S13), the basic process data recorded last in the process history information is deleted (S16), and the process of reproducing the shape is terminated.
Thus, according to this embodiment, when executing a deformation process that may be redone, the process is executed after marking the position at that point in the process history information. If not finished, the reverse process is executed to reproduce the shape at the time of marking, and another process can be executed continuously.
Although one embodiment of the present invention has been described above, a program programmed according to the three-dimensional shape processing method as described above is stored in a detachable storage medium, and the storage medium is the three-dimensional according to the present invention so far. The information processing apparatus according to the present invention can also be attached to an information processing apparatus that could not perform shape processing, or by transferring such a program to such an information processing apparatus via a network. Dimensional shape processing can be performed.
[0010]
【The invention's effect】
As described above, according to the present invention, according to the first aspect of the present invention, when the shape deformation process is disassembled into basic process sequences that can be reversely processed and recorded as process history information, the shape is in the middle of the process history information. Marks that signify the playback position can be added, marks can be added to multiple locations, and processing history information of the executed basic process sequence is acquired from the marked position or one of its positions, and the acquired basic process By executing the reverse processing of the column, the deformation executed after that position is canceled, so when executing deformation processing that may be redone, mark the current position in the processing history information. If the process is not completed correctly, the reverse process is executed to reproduce the shape at the time of marking, so that another process can be continued. It becomes possible. Also, when executing multiple deformation processes that may be redone, if the process is executed after marking multiple positions in the processing history information and the process does not end correctly Can reproduce the shape of a desired time point among a plurality of time points according to the situation. Furthermore, the above effects can be easily realized.
[0011]
Further, in the invention described in claim 2, in the invention described in claim 1 , since the identifier is given to the mark, and the shape reproduction position is determined using the identifier, the desired position can be obtained even if a plurality of places are marked. The shape of the mark position can be reproduced.
Further, in the invention described in
Further, in the invention according to claim 4, in the invention according to any one of claims 1 to 3 , the shape processing start position in the processing history information is marked in advance before executing the shape processing. After that, if the shape processing is executed and the shape processing does not end correctly, the shape of the marked position is obtained by performing reverse processing up to the marked position in the processing history information. Since the process history information of the basic process sequence subjected to the reverse process is removed as well as being played back, if the process does not end correctly, it is possible to continue another process.
Further, in the invention according to
In the invention according to claim 6 , since the program programmed according to the three-dimensional shape processing method according to any one of claims 1 to 5 can be executed on the information processing apparatus, the information processing apparatus The effect of the invention according to any one of claims 1 to 5 can be obtained by using.
Further, the invention of
Further, the invention according to
[Brief description of the drawings]
FIG. 1 is a system configuration diagram of a three-dimensional shape processing system showing an embodiment of the present invention.
FIG. 2 is a data configuration diagram of a main part of a three-dimensional shape processing system showing an embodiment of the present invention.
FIG. 3 is an explanatory diagram of a three-dimensional shape processing method according to an embodiment of the present invention.
FIG. 4 is an operation flowchart of a three-dimensional shape processing method showing an embodiment of the present invention.
FIG. 5 is another explanatory diagram of a three-dimensional shape processing method showing an embodiment of the present invention.
FIG. 6 is another operation flowchart of the three-dimensional shape processing method showing an embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Basic process execution part 2 Shape
Claims (8)
前記処理履歴情報に形状再生位置を意味する印をつけ、
前記印を複数箇所に付与可能な構成にし、
実行された基本処理列の処理履歴情報を前記印が付与された位置から取得し、取得した基本処理列の逆処理を実行することにより、その位置以降に実行された変形を取り消すことを特徴とする3次元形状処理方法。 In the three-dimensional shape processing method of the information processing apparatus capable of disassembling the shape deformation processing into basic process sequences that can be reversely processed and recording as processing history information,
Mark the processing history information meaning the shape reproduction position,
The configuration can be given to a plurality of places,
The process history information of the executed basic process sequence is acquired from the position where the mark is given, and the reverse process of the acquired basic process sequence is executed to cancel the deformation executed after that position. 3D shape processing method.
前記印を複数箇所に付与可能な手段と、Means capable of giving the mark to a plurality of locations;
実行された基本処理列の処理履歴情報を前記印が付与された位置から取得し、取得した基本処理列の逆処理を実行することにより、その位置以降に実行された変形を取り消す手段と、を備えたことを特徴とする3次元形状処理装置。Means for acquiring the processing history information of the executed basic process sequence from the position where the mark is given, and performing reverse processing of the acquired basic process sequence to cancel the deformation executed after that position; A three-dimensional shape processing apparatus comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002140407A JP4027716B2 (en) | 2002-05-15 | 2002-05-15 | 3D shape processing method, program, storage medium, and 3D shape processing apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002140407A JP4027716B2 (en) | 2002-05-15 | 2002-05-15 | 3D shape processing method, program, storage medium, and 3D shape processing apparatus |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2003330980A JP2003330980A (en) | 2003-11-21 |
| JP2003330980A5 JP2003330980A5 (en) | 2005-07-07 |
| JP4027716B2 true JP4027716B2 (en) | 2007-12-26 |
Family
ID=29701300
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002140407A Expired - Fee Related JP4027716B2 (en) | 2002-05-15 | 2002-05-15 | 3D shape processing method, program, storage medium, and 3D shape processing apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4027716B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4802130B2 (en) * | 2007-03-20 | 2011-10-26 | 富士通株式会社 | Drawing creation program, drawing creation apparatus, and drawing creation method |
-
2002
- 2002-05-15 JP JP2002140407A patent/JP4027716B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2003330980A (en) | 2003-11-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3657771B2 (en) | 3D model creation device | |
| JP2011517827A5 (en) | ||
| JPH11338909A5 (en) | ||
| JP2003288372A (en) | CAD analysis result data processing apparatus, CAD analysis result data processing method, and CAD analysis result data processing program | |
| JP4027716B2 (en) | 3D shape processing method, program, storage medium, and 3D shape processing apparatus | |
| Cardot et al. | Persistent naming based on graph transformation rules to reevaluate parametric specification | |
| CN117292373B (en) | Three-dimensional model channel identification method, device, electronic equipment and storage medium | |
| US20020097248A1 (en) | Three-dimensional CAD system | |
| JP4992439B2 (en) | CAD system projection method, CAD system projection program, and CAD system | |
| US7675515B2 (en) | Apparatus, and method for generating analytical model, and recording medium in which program for generating analytical model is stored | |
| US20040164982A1 (en) | Method and apparatus for editing three-dimensional model, and computer readable medium | |
| JP3801792B2 (en) | 3D-shaped cutting device, cutting method, and storage medium storing cutting processing program | |
| JP3276516B2 (en) | 3D shape generator | |
| EP1197920A2 (en) | System for supporting reuse of history records of design work | |
| JP3926175B2 (en) | Arbitrary surface editing method and computer program in CSG three-dimensional CAD | |
| JP4392780B2 (en) | Data storage processing method, program and storage medium thereof, and processing system | |
| JP4237180B2 (en) | Unprocessed shape extraction device and extraction method | |
| US20060129271A1 (en) | System, method, and article of manufacture for generating a CAD model indicating an amount of material added or removed from a part to form a feature in the part | |
| JP2009129339A (en) | Tire performance simulation method, tire performance simulation apparatus and tire performance simulation program | |
| JP2520248B2 (en) | How to create relational contour point data | |
| JP4102134B2 (en) | Hybrid disk backup method and computer-readable storage medium storing program for executing the method | |
| JP2002183229A (en) | 3D shape generator | |
| JP4036691B2 (en) | 3D shape creation device, 3D shape creation method, program, and recording medium | |
| JP4378061B2 (en) | Image processing apparatus, image processing method, and computer-readable recording medium recording program for causing computer to execute the method | |
| JP2001282863A (en) | Three-dimensional CAD system, feature regeneration method in the system, and computer-readable recording medium recording feature regeneration program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041028 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041028 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20041028 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070313 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070511 |
|
| 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: 20071002 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071010 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101019 Year of fee payment: 3 |
|
| 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: 20111019 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121019 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131019 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |