JP3205403B2 - Shape restoration device for shape modeler - Google Patents
Shape restoration device for shape modelerInfo
- Publication number
- JP3205403B2 JP3205403B2 JP25125992A JP25125992A JP3205403B2 JP 3205403 B2 JP3205403 B2 JP 3205403B2 JP 25125992 A JP25125992 A JP 25125992A JP 25125992 A JP25125992 A JP 25125992A JP 3205403 B2 JP3205403 B2 JP 3205403B2
- Authority
- JP
- Japan
- Prior art keywords
- shape
- edge
- face
- pointer
- dead
- 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
Description
【0001】[0001]
【産業上の利用分野】この発明は、コンピュータ支援設
計(CAD)装置等にて構成され、二つの図形から一つ
の図形を生成させる演算を繰り返し行って形状モデルを
作成する、立体もしくは曲面を取り扱うことができる形
状モデラに用いられ、該形状モデラが前記演算によって
消滅させた形状を、作成された形状モデル中に復元する
形状復元装置に関し、特には、鋳鍛造で形成する素形材
等の複雑な形状モデルを作成する形状モデラに好適な形
状復元装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is constituted by a computer-aided design (CAD) device or the like, and creates a shape model by repeatedly performing an operation for generating one figure from two figures. The present invention relates to a shape restoring device that is used for a shape modeler capable of recovering a shape that has been deleted by the calculation by the shape modeler in the created shape model. The present invention relates to a shape restoring device suitable for a shape modeler for creating a simple shape model.
【0002】[0002]
【従来の技術】上述の如き形状モデラによって形状モデ
ルを作成する際には、作成途中で図形操作の誤りを発見
した場合の修復や、作成後に設計変更が要求された場合
の対応や、座ぐり孔等の形状特徴のみの消去等の必要上
から、作成した形状モデル中に演算で消滅させた形状を
復元する必要が生ずる場合があり、かかる場合の形状復
元方法としては従来、例えば、その形状モデルを一旦御
破算とし、作成時の実行記録を利用して始めから上記形
状の消滅演算前まで再実行する方法(再実行法)や、形
状モデルの作成手順をオイラーオペレータ等の形で保存
しておき、その手順を逆に辿って上記演算の前の段階ま
で戻る方法(アンドゥ法)(特開平 2-83610号公報参照)
や、上記演算を基本図形の創成と集合を行うものとして
捉え、基本図形単位でその図形の付与や取消しの演算が
されなかった場合の形状に戻す方法(取消操作法)等が
知られている。2. Description of the Related Art When a shape model is created by a shape modeler as described above, repair when a figure operation error is found during creation, handling when a design change is required after creation, counterbore Due to the necessity of erasing only shape features such as holes, it may be necessary to restore a shape that has been eliminated by calculation in the created shape model. Once the model is calculated, the method of re-executing from the beginning to the time before the above-mentioned shape disappearance calculation using the execution record at the time of creation (re-execution method), and the procedure of creating the shape model are saved in the form of an Euler operator etc And a method of undoing the procedure and returning to the stage before the above operation (undo method) (see Japanese Patent Application Laid-Open No. 2-83610)
Also, there is known a method in which the above operation is regarded as performing creation and aggregation of a basic figure, and the shape is returned to the shape in the case where the operation of adding or canceling the figure is not performed in units of the basic figure (cancellation operation method). .
【0003】[0003]
【発明が解決しようとする課題】しかしながら、素形材
等を対象とした複雑な形状モデルを作成する場合には、
その形状モデルは通常、多数の図形の集合体となる。そ
れゆえ、上記再実行法で形状復元を行おうとすると、そ
の形状モデルの作成の全段階について実行記録を作成す
る必要があるためその作成自体に工数が嵩むという問題
がある。しかもこの方法では、僅かな変更でも始めから
やり直すことになるので、形状モデルの作成が最終段階
まで来ている場合には多大な工数がかかるという問題も
ある。However, when creating a complex shape model for a shaped material or the like,
The shape model is usually a set of many figures. Therefore, when the shape is to be restored by the above-described re-execution method, it is necessary to create execution records for all stages of the creation of the shape model. In addition, in this method, even a slight change requires a redo from the beginning, so that when the creation of the shape model has reached the final stage, there is a problem that a great deal of man-hour is required.
【0004】また上記アンドゥ法では、消滅演算前へ逆
に辿るコマンドの実行に比較的時間がかかるという問題
があり、また形状モデル作成の初期の段階で付与した形
状の設計変更に対応しようとすると、殆ど全ての作業を
やり直すことになってしまうので、上記再実行法の方が
まだ工数が少なくて済むことになる。しかもこの方法で
は、一つの形状の影響を及ぼす範囲が小さい場合でも、
その演算と関係のない部分までその演算より後に実行さ
れたという理由だけで再度計算し直さなければならない
ので、無駄が多くなるという問題もある。In the undo method, there is a problem that it takes a relatively long time to execute a command for tracing backward before the annihilation operation. Further, if an attempt is made to cope with a design change of a shape given in an early stage of the shape model creation, Since almost all the work is redone, the re-execution method requires less man-hours. Moreover, with this method, even if the influence of one shape is small,
The calculation has to be performed again only because a part irrelevant to the operation has been executed after the operation, so that there is a problem that waste is increased.
【0005】そして上記取消操作法では、例えば溝底に
孔がある形状モデルの溝の形状を形成する基本図形を取
り消すとその形状モデルの内部に見えない孔だけが残留
する等、使用者の意図しない図形ができてしまう場合が
あり、かかる図形は使用者を混乱させる原因となる。し
かもこの方法では、戻す操作でも時間がかかってしまう
幾何図形の演算を行わなければならず、元に戻すのであ
れば、このような幾何図形の演算を省いた方が時間の節
約になる。In the above-mentioned cancellation operation method, for example, when a basic figure forming the shape of a groove in a shape model having a hole at the bottom of the groove is canceled, only an invisible hole remains in the shape model. In some cases, a graphic that does not exist may be created, and such a graphic may cause confusion to the user. In addition, in this method, it is necessary to perform a calculation of a geometric figure that takes a long time even in an operation of returning, and when returning to the original state, omitting the calculation of such a geometric figure saves time.
【0006】[0006]
【課題を解決するための手段】この発明は、必要な部分
のみ局所的に上記アンドゥ法を行い得るようにして上記
課題を有利に解決した装置を提供することを目的とする
ものであり、この発明の形状モデラ用形状復元装置は、
二つの図形から一つの図形を生成させる演算を繰り返し
行って形状モデルを作成する、立体もしくは曲面を取り
扱うことができる形状モデラに用いられ、該形状モデラ
が前記演算によって消滅させた形状を、作成された形状
モデル中に復元するものであって、前記形状モデラが前
記演算で形状を消滅させる際に、その演算後の形状モデ
ルが有することになるエッジおよびフェイスの内の、前
記消滅させる形状を形成する領域との間の境界をなすエ
ッジと、そのエッジに接続されたフェイスとの組に、前
記消滅させる形状を形成する領域の前記境界をなすエッ
ジを特定し得るポインタを付与するポインタ付与手段
と、前記消滅させる形状を形成する領域をデッドシェル
として保有するとともに、前記デッドシェルとした領域
中のフェイスと他のエッジとの組に他のポインタが付与
されている場合にはそのポインタも併せて保有すること
により、複数のデッドシェルを階層的に関連づけて保有
し得るデッドシェル保有手段と、前記作成された形状モ
デルが有しているエッジおよびフェイスの内の、復元す
る形状を形成する領域との間の境界となるエッジと、そ
のエッジに接続されるフェイスとの組が指定されると、
前記デッドシェル保有手段が保有しているデッドシェル
の内からその指定されたフェイスとエッジとの組に付与
されている前記ポインタで特定されたエッジを持つデッ
ドシェルを捜し出し、そのデッドシェルとされた領域が
形成する形状を結合演算により、前記作成された形状モ
デルの前記指定されたエッジで分割された二つの領域の
内の前記フェイスを有する方の領域に、前記特定された
エッジを介し結合して、前記形状を復元する形状結合手
段と、を具えることを特徴とするものである。SUMMARY OF THE INVENTION An object of the present invention is to provide an apparatus which can solve the above-mentioned problem advantageously by enabling the above-mentioned undo method to be performed locally only on a necessary portion. The shape restoration device for a shape modeler of the present invention comprises:
A shape model is created by repeatedly performing an operation for generating one figure from two figures, used for a shape modeler capable of handling a solid or a curved surface, and a shape in which the shape modeler has disappeared by the calculation is created. When the shape modeler deletes the shape by the calculation, the shape model to be deleted is formed among the edges and faces that the shape model after the calculation has. An edge forming a boundary between a region to be formed and a face connected to the edge, and a pointer providing unit for providing a pointer capable of specifying the edge forming the boundary of the region forming the shape to be eliminated. While holding the region forming the shape to be extinguished as a dead shell, the face in the region formed as the dead shell and other In the case where another pointer is given to the pair with the cartridge, the pointer is also held together, so that a dead shell holding means capable of holding a plurality of dead shells in a hierarchically related manner, Of the edges and faces of the shape model, when a pair of an edge serving as a boundary between a region forming a shape to be restored and a face connected to the edge is specified,
The dead shell having the edge specified by the pointer given to the specified pair of face and edge is searched for from the dead shells held by the dead shell holding means, and is determined to be the dead shell. The shape formed by the region is connected to the region having the face out of the two regions divided by the specified edge of the created shape model through the specified edge by the connection operation. And shape coupling means for restoring the shape.
【0007】そしてこの発明の装置における前記形状結
合手段は、前記作成された形状モデルが有しているエッ
ジおよびフェイスの内の、前記指定されたフェイスとエ
ッジとの組のエッジが、環状に閉じていないか、または
前記作成された形状モデルが有している環状に閉じたエ
ッジ上の二点を結ぶものとなっていない場合には、その
環状に閉じることまたは二点を結ぶことを妨げている、
前記デッドシェルへのポインタを付与されたエッジを順
次検索することにより、階層的に関連づけられたデッド
シェルから、消滅させた形状を順次復元することを特徴
とするものであっても良い。なお本発明中「エッジ」と
は、エッジ列を含むものをいう。[0007] In the apparatus of the present invention, the shape combining means may include a step of closing the edge of the set of the designated face and the edge among the edges and the faces of the created shape model in an annular shape. If not, or if it does not connect the two points on the ring-shaped closed edge of the created shape model, it prevents the ring from closing or connecting the two points Yes,
It may be characterized in that the lost shape is sequentially restored from the hierarchically related dead shells by sequentially searching for the edge to which the pointer to the dead shell is assigned. In the present invention, “edge” means an edge row.
【0008】[0008]
【作用】かかる形状復元装置にあっては、形状モデラが
演算で形状を消滅させる際に、ポインタ付与手段が、そ
の演算後の形状モデルが有することになるエッジおよび
フェイスの内の、前記消滅させる形状を形成する領域と
の間の境界をなすエッジと、そのエッジに接続されたフ
ェイスとの組に、その消滅させる形状を形成する領域の
前記境界をなすエッジを特定し得るポインタを付与し、
デッドシェル保有手段が、前記消滅させる形状を形成す
る領域をデッドシェルとして保有するとともに、前記デ
ッドシェルとした領域中のフェイスと他のエッジとの組
に他のポインタが付与されている場合にはそのポインタ
も併せて保有することにより、必要に応じ複数のデッド
シェルを階層的に関連づけて保有する。In the above-mentioned shape restoring device, when the shape modeler deletes the shape by calculation, the pointer giving means deletes the edge and the face of the edge of the shape model after the calculation. An edge forming a boundary between a region forming a shape and a pair of a face connected to the edge is provided with a pointer capable of specifying the edge forming the boundary of the region forming the shape to be eliminated,
When the dead shell holding means holds the region forming the shape to be erased as a dead shell, and another pointer is assigned to a set of a face and another edge in the dead shell region. By holding the pointers together, a plurality of dead shells are held in a hierarchically related manner as needed.
【0009】そして、該装置の使用者によって、前記作
成された形状モデルが有しているエッジおよびフェイス
の内の、復元する形状を形成する領域との間の境界とな
るエッジと、そのエッジに接続されるフェイスとの組が
指定されると、形状結合手段が、デッドシェル保有手段
が保有しているデッドシェルの内から、指定されたフェ
イスとエッジとの組に付与されているポインタで特定さ
れたエッジを持つデッドシェルを捜し出し、そのデッド
シェルとされた領域が形成する形状を、結合演算によ
り、前記作成された形状モデルの指定されたエッジで分
割された二つの領域の内の前記フェイスを有する方の領
域に、前記特定されたエッジを介し結合して、所要の形
状を復元する。[0009] Then, the edge of the edge and the face of the created shape model, which is the boundary between the edge and the area forming the shape to be restored, and the edge of the edge by the user of the apparatus. When a pair of a face to be connected is specified, the shape combining unit specifies a dead shell held by the dead shell holding unit with a pointer assigned to the specified pair of a face and an edge. A dead shell having a given edge is searched for, and the shape formed by the dead shell region is subjected to a joint operation, and the face in the two regions divided by the designated edge of the created shape model is searched for. Is connected to the area having the shape via the specified edge to restore a required shape.
【0010】従って、この発明の装置によれば、作成し
た形状モデルのある箇所を変更したい場合に、その箇所
に関係のあるエッジと、そのエッジに接続されたフェイ
スとの組を指定することにて、当該箇所に関係のない部
分はそのままにしておき関係のある部分のみについて一
旦消去した形状を復元するという局所的アンドゥ法を行
い得るので、多数の図形の集合体となる、素形材等を対
象とした複雑な形状モデルを作成する場合でも、その形
状モデルの作成自体に工数が嵩むこともなく、しかも、
形状の復元ひいてはその変更を無駄なくかつ容易に行う
ことができる。そしてこの装置によれば、消去した図形
を、階層的に関連づけて保有しているデッドシェルから
取り出して復元するので、形状モデルの作成の際の局所
的な実行順序を逆に辿りながら逐次図形を復元し得て、
形状の復元に際し使用者の意図しない図形ができてしま
うことがなく、また、幾何図形の演算を行わずに図形間
の位相関係を用いて復元を行うので、図形の復元を短時
間で行うことができる。Therefore, according to the apparatus of the present invention, when it is desired to change a location of a created shape model, a set of an edge related to the location and a face connected to the edge is designated. Therefore, the local undo method of restoring the shape once erased only for the relevant portions while leaving the portions irrelevant to the relevant portion as it is can be performed. Even if a complex shape model is created for the object, the man-hour for creating the shape model itself does not increase, and
The shape can be restored, and the change can be made easily and without waste. According to this apparatus, the deleted graphics are taken out from the dead shell held hierarchically and restored, so that the sequential graphics are sequentially traced while reversing the local execution order when creating the shape model. Can be restored,
When restoring a shape, there is no possibility that a figure unintended by the user will be created, and since the restoration is performed using the topological relationship between figures without performing the operation of geometric figures, the restoration of figures should be performed in a short time. Can be.
【0011】なおここで、作成された形状モデルが有し
ているエッジおよびフェイスの内の指定されたフェイス
とエッジとの組のエッジが、環状に閉じていないか、ま
たはその作成された形状モデルが有している環状に閉じ
たエッジ上の二点を結ぶものとなっていない場合に、形
状結合手段が、環状に閉じることまたは二点を結ぶこと
を妨げている、デッドシェルへのポインタを付与された
エッジを順次検索することにより、階層的に関連づけら
れたデッドシェルから、消滅させた形状を順次復元する
ようにすれば、環状に閉じていないエッジや、作成され
た形状モデルが有している環状に閉じたエッジ上の二点
を結ぶものとなっていないエッジを指定した場合でも、
実行不能状態に陥らずに復元を続けることができる。Here, the edge of the set of the designated face and edge among the edges and faces of the created shape model is not closed in a circular shape, or the created shape model is not closed. The shape-coupling means, when not connecting two points on an annularly closed edge, has a pointer to a dead shell which prevents annularly closing or connecting the two points. By sequentially retrieving the added edges and sequentially restoring the disappeared shapes from the hierarchically related dead shells, it is possible to have edges that are not closed in a ring or created shape models. Even if you specify an edge that does not connect two points on the closed edge
Restoration can be continued without falling into an unexecutable state.
【0012】[0012]
【実施例】以下に、この発明の実施例を図面に基づき詳
細に説明する。図1は、この発明の形状モデラ用形状復
元装置の一実施例を示す構成図であり、図中1は、具体
的にはあらかじめ与えられたプログラムと使用者が入力
するデータとに基づき作動する通常のコンピュータ支援
設計(CAD)装置によって構成されている形状モデ
ラ、また図中2は、その形状モデラ中に組み込まれた、
上記実施例の形状復元装置をそれぞれ示す。Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of a shape restoring device for a shape modeler according to the present invention. Specifically, FIG. 1 operates based on a program given in advance and data inputted by a user. A shape modeler constituted by a conventional computer-aided design (CAD) device, and 2 in the figure, is incorporated in the shape modeler.
The shape restoring devices of the above embodiments are respectively shown.
【0013】ここにおける形状モデラ1は、二つの図形
から一つの図形を生成させる、集合演算、分割結合演
算、曲面の分離およびフィレットの演算を所要に応じ適
宜繰り返し行って、曲面と立体とが共存する形状モデル
を作成するものであり、その取り扱う図形のデータとし
て、頂点、エッジ(稜線)およびフェイス(面分)を幾
何学的に表す幾何データと、それら頂点、エッジおよび
フェイスからなる位相要素間の接続関係を表す位相デー
タとを有し、その幾何データと位相データとに基づき、
使用者が取り扱う図形範囲である外部表現モデル(形状
モデル)として、境界を持つことを許容する二次元多様
体モデルを形成する。一方この形状モデラ1は、上記実
施例の形状復元装置2を具えることから、内部的に取り
扱う図形範囲である内部表現モデルとして、後述するデ
ッドシェルを含む非多様体モデルを構成する。かかる形
状モデラ1は、例えば本発明者が先に精密工学会誌に19
91年8月に発表した論文「曲面立体共存モデラの位相数
学モデルと集合演算」等で知られている。The shape modeler 1 performs a set operation, a division and join operation, a separation of a surface, and a fillet operation as necessary to generate one figure from two figures, and the surface and the solid coexist. A geometric model that expresses vertices, edges (edges) and faces (planes) as geometrical data, and a topological element consisting of the vertices, edges, and faces. Having phase data representing the connection relationship of, based on the geometric data and the phase data,
As an external expression model (shape model), which is a graphic range handled by the user, a two-dimensional manifold model that is allowed to have a boundary is formed. On the other hand, since the shape modeler 1 includes the shape restoring device 2 of the above-described embodiment, a non-manifold model including a dead shell, which will be described later, is configured as an internal expression model that is a figure range handled internally. Such a shape modeler 1 is described, for example, by the present inventors in a journal of the Japan Society of Precision Engineering.
He is known for his work published in August 1991, "Topological Model and Set Operation of Surface Modeler".
【0014】上記形状モデラ1が取り扱う位相データ
は、ウイングドエッジ構造を具えており、そのウイング
ドエッジ構造とは、図2に示すように、全てのエッジE
に対して、両側のフェイスFR およびFL と、両端の頂
点V1 およびV2 と、両側のフェイスFR およびFL に
それぞれ隣接するとともに当該エッジEに接続するエッ
ジE1R, E1L, E2RおよびE2Lとの間の隣接関係を示す
データを付帯させ、エッジを中心として立体の位相構造
を表すようにしたデータ構造であって、スタンフォード
大学のBaumgart氏が1975年に初めて報告したものであ
り、該データ構造の詳細は、既に発表された他の幾つか
の論文に記載されている一方、本発明とは直接は関係が
ないため、ここでは説明を省略する。The phase data handled by the shape modeler 1 has a winged edge structure. The winged edge structure is, as shown in FIG.
Against the sides of the face F R and F L, the vertex V 1 and V 2 across the edge E 1R connecting to the edge E with respectively adjacent to both sides of the face F R and F L, E 1L, A data structure attached to data indicating the adjacency between E 2R and E 2L to represent a three-dimensional topological structure centered on edges, first reported by Stanford University's Baumgart in 1975 Although the details of the data structure are described in several other papers already published, they are not directly related to the present invention, and thus description thereof is omitted here.
【0015】しかしてここにおける形状復元装置2は、
図1に示すように、ポインタ付与手段3と、デッドシェ
ル保有手段4と、形状結合手段5とを具えており、ここ
で、ポインタ付与手段3は、形状モデラ1が上記演算で
形状を消滅させる際に、その演算後の形状モデルが有す
ることになる、残存するエッジおよびフェイスのうち
の、上記消滅させる形状を形成する領域との間の境界を
なすエッジ(演算後の形状モデルとその消滅させる形状
を形成する領域との間で共有されるエッジ)と、そのエ
ッジに接続されたフェイスとの組に、上記消滅させる形
状を形成する領域の上記境界をなすエッジを特定し得る
ポインタ(探す側が保有する、探される側のデータの所
在地を示すアドレス)を付与する。これにより、エッジ
とフェイスの組は、その組との間でエッジを共有する特
定の消滅させる形状を形成する領域と一対一で対応する
ことになる。The shape restoration device 2 here is
As shown in FIG. 1, the apparatus includes a pointer providing means 3, a dead shell holding means 4, and a shape combining means 5, wherein the pointer providing means 3 causes the shape modeler 1 to erase the shape by the above calculation. At this time, of the remaining edges and faces of the shape model after the calculation, the edge forming the boundary between the region forming the shape to be erased (the shape model after the calculation and the shape model after the calculation) A pair of a pointer (an edge shared by a region forming a shape) and a face connected to the edge has a pointer (a search side that can specify the edge forming the boundary of the region forming the shape to be vanished). (Address indicating the location of the data to be searched for). As a result, the pair of the edge and the face has a one-to-one correspondence with a region forming a specific vanishing shape sharing the edge with the pair.
【0016】すなわち、例えば図3(a)に示すような
二つの図形P1(P1 =A11∪A12)およびP2(P2 =A
21∪A22)を結合する演算を行って、図3(b)に実線
で示すような中央部が折れた図形P3(P3 =A11∪
A21)を作成する場合には、図形P1 について見ると、
二つの図形P1,P2 の交線であるエッジE1 で分割され
た右側の領域A12は消滅させる形状を形成し、また、そ
のエッジE1 で分割された左側の領域A11は演算後も残
存して、図形P3 が有するものとなるが、上記ポインタ
付与手段3はその演算の際に、上記領域A11の上記エッ
ジE1 とそれに接続されたフェイスF11との組のウイン
グドエッジ構造をなす位相データに、上記消滅させる形
状を形成する領域A12の、残存する領域A11との間で共
用されるエッジE1 を特定するポインタB1 を付与す
る。従ってエッジE1 の位相データは、そのエッジE1
と例えばフェイスFL となるフェイスF11との組に付与
されたポインタB1 を付帯することになる。That is, for example, two figures P 1 (P 1 = A 11 ∪A 12 ) and P 2 (P 2 = A 2 ) as shown in FIG.
21 {A 22 ) is performed, and a figure P 3 (P 3 = A 11 } whose central part is broken as shown by a solid line in FIG.
When creating A 21 ), looking at figure P 1 ,
The right area A 12 divided by the edge E 1 , which is the intersection of the two figures P 1 and P 2 , forms a shape to disappear, and the left area A 11 divided by the edge E 1 is calculated. after remaining, but comes to have the shape P 3, when the pointer imparting means 3 that operation, set between the edge E 1 and the face F 11 connected thereto in the region a 11 wing the phase data forming the Doejji structure imparts a pointer B 1 to specific area a 12 that forms a shape to the disappearance, the edge E 1 that is shared between the region a 11 remaining. Thus the phase data of the edge E 1, the edge E 1
Preparative example will accompanying the pointer B 1 assigned to the set of the face F 11 serving as a face F L.
【0017】この一方、図形P2 について見ると、上記
エッジE1 で分割された上側の領域A22は消滅させる形
状を形成し、また、そのエッジE1 で分割された下側の
領域A21は演算後も残存して、図形P3 が有するものと
なるが、上記ポインタ付与手段3は上記演算の際に、上
記領域A21の上記エッジE1 とそれに接続されたフェイ
スF21との組のウイングドエッジ構造をなす位相データ
に、上記消滅させる形状を形成する領域A22の、残存す
る領域A21との間で共用されるエッジE1 を特定するポ
インタB3 を付与する。従って、エッジE1 の位相デー
タはさらに、そのエッジE1 と例えばフェイスFR とな
るフェイスF21との組に付与されたポインタB3 を付帯
することになる。[0017] the other hand, looking at the figure P 2, the upper area A 22 that is divided by the edge E 1 forms a shape to eliminate, also lower area A 21 that is divided in its edge E 1 the remaining even after the operation, but comes to have the shape P 3, when the pointer imparting means 3 of the operational set of the face F 21 connected to it and the edge E 1 of the area a 21 to the winged phase data which forms an edge structure, to impart a pointer B 3 to identify the areas a 22 to form a shape that is the disappearance, the edge E 1 that is shared between the region a 21 remaining. Thus, the phase data of the edge E 1 will additionally incidental pointer B 3 assigned to the set of the face F 21 serving as the edge E 1 for example a face F R.
【0018】またここで、上記デッドシェル保有手段4
は、形状モデラ1が上記演算で形状を消滅させる際に、
その消滅させる形状を形成する領域をデッドシェルDSと
いう属性を付して保有するとともに、そのデッドシェル
とした領域中のフェイスと他のエッジとの組に他のポイ
ンタが付与されている場合には、そのポインタも併せて
保有することにより、複数のデッドシェルを階層的に関
連づけて保有する。なお、残存する領域には、ライブシ
ェルLSという属性を付し、このライブシェルLSが形状モ
デルを形成する。The dead shell holding means 4
When the shape modeler 1 eliminates the shape by the above calculation,
In the case where the area forming the shape to be erased is attached with the attribute of dead shell DS and another pointer is assigned to a pair of a face and another edge in the area that is the dead shell, By holding the pointers together, a plurality of dead shells are stored in a hierarchically related manner. The remaining area is given an attribute called a live shell LS, and the live shell LS forms a shape model.
【0019】すなわち、例えば上記図3に示す例では、
デッドシェル保有手段4は、消滅させる形状を形成する
領域A12, A22を、図3(b)中破線で示すように、そ
れぞれデッドシェルDS1, DS3として保有し、それらの内
の、例えばデッドシェルDS1とした領域A12中のフェイ
スF12とエッジE2 との組に、他の例えばデッドシェル
DS2 と共用されるエッジE2 を特定する他のポインタB
2 が付与されている場合には、そのポインタB2 も併せ
て保有する。これによりデッドシェル保有手段4は、複
数のデッドシェルDS、例えばDS1, DS2を階層的に関連づ
けて保有することができ、かかるデッドシェル保有手段
4が保有するデッドシェルDSと、形状モデルを形成する
ライブシェルLSとは、例えば図4に示すように、ツリー
型の接続関係を有し、それらは全体として非多様体を構
成する。That is, for example, in the example shown in FIG.
The dead shell holding means 4 holds the regions A 12 and A 22 forming the shape to be annihilated as dead shells DS 1 and DS 3 , respectively, as shown by broken lines in FIG. for example the set of the face F 12 and the edge E 2 in the region a 12 in which the dead shell DS 1, other example dead shell
Another pointer B identifying the edge E 2 shared with DS 2
When 2 is assigned, the pointer B 2 is also held. Thereby, the dead shell holding means 4 can hold a plurality of dead shells DS, for example, DS 1 and DS 2 in a hierarchically related manner. The live shell LS to be formed has a tree-type connection relationship, for example, as shown in FIG. 4, and they constitute a non-manifold as a whole.
【0020】従って、ライブシェルLSに繋がる最初の階
層でもそれ以降の階層でも、デッドシェルDSは、指定さ
れたフェイスとエッジとの組が異なれば互いに異なるも
のとなるため、複数存在できるが、最初の階層で互いに
別のデッドシェルDS、例えば図4ではDS1 とDS3 からそ
れぞれ延びた別なツリーに属するデッドシェルDS間、例
えば図4ではDS2 とDS4 との間では、エッジや頂点の位
相的な接続関係は存在しない。Accordingly, the dead shell DS can be different from each other in the first hierarchy connected to the live shell LS and in the subsequent hierarchies if the designated face and edge pair is different. For example, between dead shells DS belonging to different trees extending from DS 1 and DS 3 in FIG. 4, for example, between DS 2 and DS 4 in FIG. Does not exist.
【0021】ところで、ここにおけるライブシェルLSは
多様体を構成するので、一つのエッジとフェイスとの組
は本来は常に一つのポインタしか付帯せず、それゆえ一
つのデッドシェルしか特定しない。しかしながら、一回
前の図形演算で同一のエッジを境界として別の領域を消
滅させた場合には、そのエッジとそれに接続されたフェ
イスとの組は二つのデッドシェルを特定する必要があ
る。かかる場合には、今回の演算で消滅させてデッドシ
ェルとする領域の、その境界となるエッジと組んだフェ
イスの位置にダミーフェイスがあると考え、そのダミー
フェイスとその境界となるエッジとの組に、一回前の図
形演算でデッドシェルとした領域を特定するポインタを
付帯させれば良く、この方法をダミーフェイス法と呼
ぶ。この方法によれば、従来からの二次元多様体モデラ
の構成の延長としてデッドシェル保有手段4を容易に構
成することができる。By the way, since the live shell LS here forms a manifold, a pair of one edge and a face normally always has only one pointer, and therefore specifies only one dead shell. However, in the case where another region is eliminated using the same edge as a boundary in the previous graphic operation, it is necessary to specify two dead shells for a pair of the edge and a face connected to the edge. In such a case, it is considered that there is a dummy face at the position of the face combined with the edge serving as the boundary in the region which is eliminated by the current calculation and becomes the dead shell, and the combination of the dummy face and the edge serving as the boundary is considered. In addition, a pointer for specifying a region that has become a dead shell in the previous graphic operation may be added, and this method is called a dummy face method. According to this method, the dead shell holding means 4 can be easily configured as an extension of the conventional configuration of the two-dimensional manifold modeler.
【0022】さらにここで、上記形状結合手段5は、作
成された形状モデルが有しているエッジおよびフェイス
のうちの、復元する形状を形成する領域との間の境界と
なるエッジと、そのエッジに接続されるフェイスとの組
が指定されると、デッドシェル保有手段4が保有してい
るデッドシェルDSのうちから、その指定されたフェイス
とエッジとの組に付与されて付帯しているポインタで特
定されたエッジを持つデッドシェルDSを捜し出し、その
デッドシェルとされた領域が形成する形状を、結合演算
により、上記作成された形状モデルの上記指定されたエ
ッジで分割された二つの領域のうち、上記指定されたフ
ェイスを有する方の領域に、上記特定されたエッジを介
し結合して、元の形状を復元する。Here, the shape combining means 5 includes, among the edges and faces of the created shape model, an edge serving as a boundary between a region forming a shape to be restored and the edge thereof. Is specified, a pointer assigned to the specified pair of face and edge from the dead shell DS held by the dead shell holding means 4 is attached. The dead shell DS having the edge specified in the above is searched for, and the shape formed by the dead shell region is determined by a joint operation between the two regions divided by the specified edge of the created shape model. The original shape is restored by connecting to the area having the specified face through the specified edge.
【0023】すなわち、例えば上記図3に示す例で、領
域A12が形成する形状を復元する場合に、該装置の使用
者が、作成された形状モデルである図形P3 が有してい
るエッジおよびフェイスのうちの、領域A12との間の境
界となるエッジE1 と、そのエッジE1 に接続されるフ
ェイスF11との組を指定すると、形状結合手段5は、デ
ッドシェル保有手段4が保有しているデッドシェルのう
ちから、その指定されたフェイスF11とエッジE1 との
組に付与されているポインタB1 で特定されたエッジE
1 を持つデッドシェルDS1 を図3(b)中矢印で示す如
く捜し出し、そのデッドシェルDS1 とされた領域A12が
形成する形状を、結合演算により、上記図形P3 の、上
記指定されたエッジE1 で分割された二つの領域A11,
A21のうちの、上記フェイスF1 を有する方の領域A11
に、上記特定されたエッジE1 を介し結合して、元の形
状を復元する。[0023] That is, for example, in the example shown in FIG. 3, when restoring the shape region A 12 is formed, the user of the device, figure P 3 has a shape model created edge and of the face, an edge E 1 at the boundary between the region a 12, by specifying a set of the face F 11 which is connected to the edge E 1, form-locking means 5, a dead shell possesses means 4 Among the dead shells held by the user, the edge E specified by the pointer B 1 assigned to the pair of the designated face F 11 and the edge E 1
Dead shell DS 1 with 1 locates as shown in FIG. 3 (b) arrow, a shape that dead shell DS 1 and area A 12 is formed by binding operation, the said pattern P 3, is the designated Two regions A 11 divided by the edge E 1 ,
Area A 11 of A 21 having face F 1.
To bind via the edge E 1 specified above, to restore the original shape.
【0024】なお、上記結合演算の過程で、図形P3 の
領域A11と復元する領域A12との結合に先立って、その
復元する領域A12と重なることになる図形P3 のもう一
方の領域A21は除去される。また逆に、図形P3 から領
域A22を復元する場合には、その結合演算の過程で、図
形P3 の領域A21と復元する領域A22との結合に先立っ
て、その復元する領域A22と重なることになる図形P3
のもう一方の領域A11が除去される。かかる演算は、セ
ルオペレーター(先に記した1991年 8月精密工学会誌発
表の論文「曲面立体共存モデラの位相数学モデルと集合
演算」参照)を用いることにより、位相の完全性を保障
しつつ実現することができる。[0024] In the course of the join operation, figure P 3 area A 11 prior to the coupling between the region A 12 to restore, figure P 3 that will overlap with the region A 12 to its restoring other Region A 21 is removed. Conversely, when the area A 22 is restored from the figure P 3 , the area A 22 of the figure P 3 is combined with the area A 22 to be restored before the area A 21 of the figure P 3 is combined with the area A 22 in the course of the combining operation. Figure P 3 that overlaps with 22
The other regions A 11 is the removal of. This operation is realized while guaranteeing the phase integrity by using the cell operator (refer to the above-mentioned paper published in the Journal of the Japan Society of Precision Engineering in August 1991, "Topological Model and Set Operation of Surface Coexistence Modeler"). can do.
【0025】図5(a)〜(c)は、上記実施例の形状
復元装置2を用いて形状復元を行う他の例を示す説明図
であり、ここでは、先ず同図(a)に示す如き図形S1
と図形S2 との集合和を求める演算(S1 ∪S2 →
SA )を行って同図(b)に示す如き二階建ての図形S
A (SA =SA1∪SA2)を作成し、次にその図形SA と
縦長の図形SB との集合和を求める演算(SA ∪SB →
SC )を行って作成した、同図(c)に示す如き図形S
C (SC =SC1∪SC2)から、図形SA と図形SBを復
元し、さらに図形S1 と図形S2 を復元する。FIGS. 5A to 5C are explanatory views showing another example of performing the shape restoration using the shape restoration device 2 of the above embodiment. Here, FIG. Like figure S 1
To obtain the set sum of the figure and the figure S 2 (S 1 ∪S 2 →
S A ) to perform a two-story figure S as shown in FIG.
Create an A (S A = S A1 ∪S A2), then obtains the set union of the figure S A and elongated shapes S B operation (S A ∪S B →
S C ), the figure S as shown in FIG.
From C (S C = S C1 ∪S C2 ), the graphics S A and S B are restored, and the graphics S 1 and S 2 are restored.
【0026】かかる場合には、先ず図形S1 と図形S2
との集合和を求める演算の際に、図5(b)に示す如
く、ポインタ付与手段3が、図形S1 から消滅する図形
S12を特定するポインタb1 を、図形S1 と図形S2 と
の境界となるエッジe1 と、それに接続される図形SA1
のフェイスf1 との組に付与するとともに、図形S2 か
ら消滅する図形S22を特定するポインタb2 を、そのエ
ッジe1 と、それに接続される図形SA2のフェイスf2
との組に付与し、この一方、デッドシェル保有手段4
が、それらの図形S12および図形S22をそれぞれデッド
シェルとして保有する。In such a case, first, the figure S 1 and the figure S 2
During operation for obtaining a set sum of, as shown in FIG. 5 (b), the pointer application means 3, the pointer b 1 to identify the figure S 12 to disappear from the graphic S 1, figure S 1 and the figure S 2 the boundary between the edge e 1, figure S A1 connected thereto
With conferring to the combination of the face f 1 of the pointer b 2 to identify the figure S 22 to disappear from the graphic S 2, and its edge e 1, face f 2 of figure S A2 connected thereto
And on the other hand, the dead shell holding means 4
But they held their shapes S 12 and graphics S 22 as dead shell respectively.
【0027】そして図形SA と図形SB との集合和を求
める演算の際には、図5(c)に示すように、ポインタ
付与手段3が、図形SA から消滅する図形SAXを特定す
るポインタb3 を、図形SA と図形SB との境界となる
エッジea と、それに接続される図形SC1のフェイスf
a との組に付与するとともに、図形SB から消滅する図
形SBXを特定するポインタb4 を、そのエッジea と、
それに接続される図形SC2のフェイスfb との組に付与
し、この一方、デッドシェル保有手段4が、それらの図
形SAXおよび図形SBXをそれぞれデッドシェルとして保
有する。When calculating the set sum of the graphic S A and the graphic S B , as shown in FIG. 5C, the pointer assigning means 3 specifies the graphic S AX which disappears from the graphic S A. the pointer b 3 to, figure S and the edge e a of the boundary between the a and the figure S B, face f of figure S C1 connected thereto
with conferring to the combination of the a, a pointer b 4 to identify the figure S BX disappear from the graphic S B, and the edge e a,
Given to a set of the face f b of figure S C2 connected thereto, the other hand, a dead shell possesses means 4, to retain their shapes S AX and graphics S BX as dead shells, respectively.
【0028】しかして、上記図形SC から図形SA また
はSB を復元する際には、形状結合手段5が、デッドシ
ェル保有手段4が保有している複数のデッドシェルのう
ちから、図形SC の上記エッジea で分割される二つの
領域SC1, SC2の一方とそのエッジea との組の指定に
基づき定まるポインタb3 またはb4 を用いて、図形S
AXまたはSBXを形成するデッドシェルを捜し出し、その
デッドシェルが形成する形状を、結合演算(SC1+SAX
→SA またはSC2+SBX→SB )により、上記図形SC
の二つの領域SC1, SC2の内の上記指定されたフェイス
を有する方の領域に上記エッジea を介し結合して、元
の図形SA またはSB を復元する。When restoring the graphic S A or S B from the graphic S C , the shape combining means 5 selects the graphic S from the plurality of dead shells held by the dead shell holding means 4. Using the pointer b 3 or b 4 determined based on the designation of one of the two areas S C1 and S C2 divided by the edge e a of C and the edge e a , the graphic S
A dead shell forming AX or S BX is searched for, and a shape formed by the dead shell is determined by a joint operation (S C1 + S AX).
By → S A or S C2 + S BX → S B ), said pattern S C
Of the one having the designated face in the two areas S C1 and S C2 of the above-mentioned two are connected via the edge e a to restore the original figure S A or S B.
【0029】さらに上記図形SA から図形S1 またはS
2 を復元する際には、形状結合手段5が、デッドシェル
保有手段4が保有している複数のデッドシェルのうちか
ら、図形SA の上記エッジe1 で分割される二つの領域
SA1, SA2の一方とそのエッジe1 との組の指定に基づ
き定まるポインタb1 またはb2 を用いて、図形S12ま
たはS22を形成するデッドシェルを捜し出し、そのデッ
ドシェルが形成する形状を、結合演算(SA1+S12→S
1 またはSA2+S22→S2 )により、上記図形SA の二
つの領域SA1, SA2の内の上記指定されたフェイスを有
する方の領域に上記エッジe1 を介し結合して、元の図
形S1 またはS2 を復元する。Further, from the above described graphic S A to the graphic S 1 or S
When reconstructing 2 , the shape combining means 5 selects two areas S A1 , divided by the edge e 1 of the graphic S A from a plurality of dead shells held by the dead shell holding means 4. using the pointer b 1 or b 2 determined based on a set of specified between one and its edge e 1 of S A2, locate the dead shell to form a shape S 12 or S 22, the shape of the dead shell forms, Combination operation (S A1 + S 12 → S
1 or S A2 + S 22 → S 2 ), the area having the designated face of the two areas S A1 and S A2 of the figure S A is connected via the edge e 1 to the original area. to restore the shapes S 1 or S 2.
【0030】図6は、上記実施例の形状復元装置2を、
自動変速機のオイルポンプハウジングの設計の際の形状
復元に適用した例を示すものであり、この例では、一旦
作成したハウジング形状モデルM1 (図中右上に示す)
中に、作成途中で消滅させた半径方向のリブL1 を一本
付加した後(図中左下に示す)、その形状モデルM2の
他のリブL2 に設けた円柱状部C1 を除去して元のリブ
L2 の壁部と底部の形状を復元し(図中右下に示す)、
所望のハウジング形状モデルM3 を作成している。なお
図6では判りやすいように、作成したモデルを表示上は
ワイヤフレームの形で示している。FIG. 6 shows the shape restoring device 2 of the above embodiment.
This shows an example in which the present invention is applied to shape recovery when designing an oil pump housing of an automatic transmission. In this example, a housing shape model M 1 once created (shown in the upper right in the figure)
During, after adding one radial rib L 1 was quenched by being created (shown in the lower left in the figure), remove the cylindrical portion C 1 provided in another rib L 2 in the shape model M 2 to restore the shape of the wall and bottom of the original rib L 2 (shown in the lower right in the drawing),
We have created the desired housing shape model M 3. In FIG. 6, the created model is shown in the form of a wire frame on the display for easy understanding.
【0031】上述の如くしてこの実施例の形状復元装置
2によれば、作成した形状モデルのある箇所を変更した
い場合に、その箇所に関係のあるエッジと、そのエッジ
に接続されたフェイスとの組を指定することにて、当該
箇所に関係のない部分はそのままにしておき関係のある
部分のみについて一旦消去した形状を復元するという局
所的アンドゥ法を行い得るので、多数の図形の集合体と
なる、素形材等を対象とした複雑な形状モデルを作成す
る場合でも、その形状モデルの作成自体に工数が嵩むこ
ともなく、しかも、形状の復元ひいてはその変更を無駄
なくかつ容易に行うことができる。As described above, according to the shape restoring apparatus 2 of this embodiment, when it is desired to change a location of a created shape model, an edge related to the location and a face connected to the edge are determined. By specifying a set of, it is possible to perform a local undo method in which a part irrelevant to the relevant part is left as it is and only the relevant part is restored with the shape once erased. Even when creating a complex shape model for a shaped material or the like, the man-hour for creating the shape model itself does not increase, and furthermore, the shape can be restored and the change can be made easily and without waste. be able to.
【0032】そしてこの実施例の装置によれば、消去し
た図形を、階層的に関連づけて保有しているデッドシェ
ルから取り出して復元するので、形状モデルの作成の際
の局所的な実行順序を逆に辿りながら逐次図形を復元し
得て、形状の復元に際し使用者の意図しない図形ができ
てしまうことがなく、また、幾何図形の演算を行わずに
図形間の位相関係を用いて復元を行うので、図形の復元
を短時間で行うことができ、さらに、新たに非多様体モ
デラを作らなくても従来の形状モデラからの拡張により
容易に該装置を追加できるので、その追加を低コストで
行うことができる。According to the apparatus of this embodiment, the deleted figure is taken out from the dead shell held hierarchically and restored, so that the local execution order when creating the shape model is reversed. The figure can be sequentially restored while tracing to the figure, and a figure not intended by the user is not generated when restoring the shape, and the restoration is performed using the phase relationship between the figures without performing the calculation of the geometric figure. Therefore, restoration of figures can be performed in a short time, and the apparatus can be easily added by extension from the conventional shape modeler without newly creating a non-manifold modeler, so that the addition can be performed at low cost. It can be carried out.
【0033】またここにおける形状モデラ1によれば、
先に記した貫通孔やドリル孔、座面等の形状特徴を、作
成した形状モデル中から上記形状復元装置2の形状復元
機能で一旦消去した後、形状モデルとしては実現されて
いないが形状特徴を曖昧さなく規定できる表現である陰
表現(形状特徴論でいうimplicit representation)、例
えば形状特徴を生成し得る操作とそのパラメータとの組
等での表現として蓄えられた操作データを参照し、パラ
メータを変更してその操作を再実行することにより、形
状特徴の変更や移動を容易に行うことができる。According to the shape modeler 1 here,
The shape features such as the through-holes, drill holes, and bearing surfaces described above are once deleted from the created shape model by the shape restoring function of the shape restoring device 2, and are not realized as a shape model. Refers to operation data stored as an implicit expression (implicit representation in shape feature theory), which is an expression that can unambiguously define the shape, for example, a set of an operation capable of generating a shape feature and its parameter, and the like. Is changed and the operation is re-executed, so that the shape feature can be easily changed or moved.
【0034】ところで上記実施例の形状復元装置2は、
形状復元を行うに際し、作成された形状モデル(ライブ
シェルLS)を指定されたエッジで二つの領域に分割し
て、それらの内の指定されたフェイスを有する方の領域
に、そのエッジとフェイスとの組のポインタから辿った
デッドシェルが形成する形状を結合するので、その指定
されたエッジは本来、ライブシェルLSを二つに分割し得
るように、図7(a)に示すエッジe10の如き環状に閉
じたものか、または同図(b)に示すライブシェルLSが
有している環状に閉じたエッジe11上の二点を結ぶエッ
ジe12の如きものである必要がある。By the way, the shape restoration device 2 of the above embodiment is
When performing shape restoration, the created shape model (live shell LS) is divided into two regions by the specified edge, and the edge and the face are divided into the region having the specified face. since dead shell traced from the set of pointers couples shape to form its original designated edge, so as to divide the live shell LS into two, the edge e 10 shown in FIG. 7 (a) such or annular closed ones, or it is necessary that such things edge e 12 connecting two points on the edge e 11 closed annularly live shell LS has shown in FIG. (b).
【0035】しかしながら該装置の使用者が復元しよう
とする図形によっては、図7(c)に示すエッジe13の
如き、あるいは図5に示す例の、エッジea で一部が切
り取られたエッジe1 の如き、環状に閉じていないか、
または作成された形状モデルが有している環状に閉じた
エッジ上の二点を結ぶものとなっていないエッジが指定
される場合があり、かかる場合にはそのままでは形状復
元ができない。[0035] However some shapes user of the device is trying to restore, in the example shown in the edge, such as e 13, or 5 shown in FIG. 7 (c), the edge part by the edge e a cut away such as e 1, or not closed in a ring shape,
Alternatively, an edge that does not connect two points on the circularly closed edge of the created shape model may be designated, and in such a case, the shape cannot be restored as it is.
【0036】このような場合に、この実施例の形状復元
装置2では、形状結合手段5が、その環状に閉じること
または二点を結ぶことを妨げている、デッドシェルへの
ポインタを付与されたエッジを順次検索して、デッドシ
ェル保有手段4が保有している階層的に関連づけられた
デッドシェルから、消滅させた形状を順次復元する。In such a case, in the shape restoring device 2 of this embodiment, the shape connecting means 5 is provided with a pointer to a dead shell which prevents the ring from closing or joining two points. Edges are sequentially searched, and the disappeared shapes are sequentially restored from the hierarchically related dead shells held by the dead shell holding means 4.
【0037】すなわち、例えば図5(c)に示す形状モ
デルSC から図形S2 を復元するため、上記エッジe1
とフェイスf1 との組が指定されると、エッジe1 は環
状に閉じていないが、そのウイングドエッジデータには
エッジea との接続関係が記されているので、形状結合
手段5は、次にエッジea を検索し、そのエッジeaは
閉じているので、そのエッジea から図形SAXを復元し
てエッジe1 を環状に繋ぎ、しかる後そのエッジe1 か
ら図形S2 を復元する。[0037] That is, for example, to restore the shape S 2 from the shape model S C shown in FIG. 5 (c), the edge e 1
And the set of the face f 1 is specified, but the edge e 1 is not closed in a ring, since its winged edge data are written connection relationship between edge e a, form-locking means 5 , then searches the edge e a, its because the edge e a is closed, the edge e a an edge e 1 to restore the shape S AX joint annularly from and thereafter the edge e 1 from figure S 2 To restore.
【0038】従って、この実施例の形状復元装置2によ
れば、作成された形状モデルが有しているエッジおよび
フェイスの内の指定されたフェイスとエッジとの組のエ
ッジが、環状に閉じていないか、またはその作成された
形状モデルが有している環状に閉じたエッジ上の二点を
結ぶものとなっていない場合でも、実行不能状態に陥ら
ずに復元を続けることができる。Therefore, according to the shape restoring device 2 of this embodiment, the edges of the created shape model and the set of specified faces among the faces are closed in a ring shape. Even if there is no connection, or if the created shape model does not connect two points on an annularly closed edge, the restoration can be continued without falling into an infeasible state.
【0039】以上、図示例に基づき説明したが、この発
明は上述の例に限定されるものでなく、例えばポインタ
を付与する位相データとして、上記ウイングドエッジ構
造の代わりに、その変形であるスプリットエッジ構造あ
るいはハーフエッジ構造を用いても良く、他に、リング
構造等を用いても良い。Although the present invention has been described with reference to the illustrated examples, the present invention is not limited to the above-described example. For example, instead of the above-mentioned winged edge structure, a split An edge structure or a half-edge structure may be used, and alternatively, a ring structure or the like may be used.
【0040】[0040]
【発明の効果】かくしてこの発明の形状復元装置によれ
ば、多数の図形の集合体となる、素形材等を対象とした
複雑な形状モデルを作成する場合でも、その形状モデル
の作成自体に工数が嵩むこともなく、しかも、形状の復
元ひいてはその変更を無駄なくかつ容易に行うことがで
きる。そしてこの装置によれば、消去した図形を、階層
的に関連づけて保有しているデッドシェルから取り出し
て復元するので、形状モデルの作成の際の局所的な実行
順序を逆に辿りながら逐次図形を復元し得て、形状の復
元に際し使用者の意図しない図形ができてしまうことが
なく、また、幾何図形の演算を行わずに図形間の位相関
係を用いて復元を行うので、図形の復元を短時間で行う
ことができる。As described above, according to the shape restoring apparatus of the present invention, even when a complicated shape model for a raw material or the like, which is an aggregate of a large number of figures, is created, the shape model creation itself can be performed. Man-hours do not increase, and the shape can be restored, and the change can be easily and easily made. According to this apparatus, the deleted graphics are taken out from the dead shell held hierarchically and restored, so that the sequential graphics are sequentially traced while reversing the local execution order when creating the shape model. It can be restored, and there is no possibility that a figure unintended by the user is created when restoring the shape.Moreover, since the restoration is performed using the topological relationship between the figures without performing the operation of the geometric figure, the restoration of the figure can be performed. It can be done in a short time.
【0041】さらに、作成された形状モデルが有してい
るエッジおよびフェイスの内の指定されたフェイスとエ
ッジとの組のエッジが、環状に閉じていないか、または
その作成された形状モデルが有している環状に閉じたエ
ッジ上の二点を結ぶものとなっていない場合に、形状結
合手段が、環状に閉じることまたは二点を結ぶことを妨
げている、デッドシェルへのポインタを付与されたエッ
ジを順次検索することにより、階層的に関連づけられた
デッドシェルから、消滅させた形状を順次復元するよう
にすれば、環状に閉じていないエッジや、作成された形
状モデルが有している環状に閉じたエッジ上の二点を結
ぶものとなっていないエッジを指定した場合でも、実行
不能状態に陥らずに復元を続けることができる。Further, the edge of the set of the specified face-to-edge among the edges and the faces included in the created shape model is not circularly closed, or the created shape model has The shape-coupling means is provided with a pointer to the dead shell, which prevents the annular closing or joining the two points when the two points on the closed annular edge are not connected. By sequentially retrieving the lost edges from the hierarchically related dead shell by sequentially searching for the lost edges, there is an edge that is not closed circularly, and the created shape model has Even when an edge that does not connect two points on an edge closed in a ring is specified, restoration can be continued without falling into an unexecutable state.
【図1】この発明の形状モデラ用形状復元装置の一実施
例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of a shape restoring device for a shape modeler of the present invention.
【図2】上記実施例の装置が取り扱う位相データの構造
を示す説明図である。FIG. 2 is an explanatory diagram showing a structure of phase data handled by the apparatus of the embodiment.
【図3】上記実施例の装置のポインタ付与手段がポイン
タを付与する方法を示す説明図である。FIG. 3 is an explanatory diagram showing a method for assigning a pointer by a pointer assigning means of the apparatus of the embodiment.
【図4】上記実施例の装置のデッドシェル保有手段がデ
ッドシェルを保有する状態を示す説明図である。FIG. 4 is an explanatory diagram showing a state in which the dead shell holding means of the apparatus of the above embodiment holds a dead shell.
【図5】(a)〜(c)は、上記実施例の装置による形
状復元の手順を示す説明図である。FIGS. 5A to 5C are explanatory views showing a procedure of shape restoration by the apparatus of the embodiment.
【図6】上記実施例の装置による形状復元の他の例を示
す説明図である。FIG. 6 is an explanatory view showing another example of the shape restoration by the apparatus of the embodiment.
【図7】(a)〜(c)は、形状復元のために指定され
るエッジの例を示す説明図である。FIGS. 7A to 7C are explanatory diagrams showing examples of edges designated for shape restoration.
1 形状モデラ 2 形状復元装置 3 ポインタ付与手段 4 デッドシェル保有手段 5 形状結合手段 DESCRIPTION OF SYMBOLS 1 Shape modeler 2 Shape restoration device 3 Pointer giving means 4 Dead shell holding means 5 Shape combining means
───────────────────────────────────────────────────── フロントページの続き (72)発明者 本多 正人 神奈川県横浜市神奈川区宝町2番地 日 産自動車株式会社内 (72)発明者 谷本 茂樹 東京都港区赤坂2丁目17番51号 日本ユ ニシス株式会社内 (56)参考文献 特開 平2−19975(JP,A) 特開 平2−132573(JP,A) 特開 平2−83610(JP,A) 特開 昭63−3375(JP,A) 鈴木建彦 他3名,”曲面立体共存モ デラの位相数学モデルと「集合演算」 (第1報)”,精密工学会誌,1991年8 月,第57巻,第8号,p.1393−1398 (58)調査した分野(Int.Cl.7,DB名) G06F 17/50 622 G06F 17/50 626 G06T 17/40 JICSTファイル(JOIS)──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Masato Honda 2 Takaracho, Kanagawa-ku, Yokohama-shi, Kanagawa Nissan Motor Co., Ltd. (72) Inventor Shigeki Tanimoto 2--17-51 Akasaka, Minato-ku, Tokyo Japan (56) References JP-A-2-19975 (JP, A) JP-A-2-132573 (JP, A) JP-A-2-83610 (JP, A) JP-A-63-3375 (JP) , A) Tetsuhiko Suzuki and three others, "Topological mathematical model of curved surface coexistence modeler and" set operation "(1st report)", Journal of the Japan Society of Precision Engineering, August 1991, Vol. 57, No. 8, p. 1393-1398 (58) Field surveyed (Int. Cl. 7 , DB name) G06F 17/50 622 G06F 17/50 626 G06T 17/40 JICST file (JOIS)
Claims (2)
演算を繰り返し行って形状モデルを作成する、立体もし
くは曲面を取り扱うことができる形状モデラ(1)に用
いられ、該形状モデラが前記演算によって消滅させた形
状を、作成された形状モデル中に復元する形状復元装置
(2)において、 前記形状モデラが前記演算で形状を消滅させる際に、そ
の演算後の形状モデルが有することになるエッジおよび
フェイスの内の、前記消滅させる形状を形成する領域
(A12)との間の境界をなすエッジ(E1)と、そのエッ
ジ(E1)に接続されたフェイス(F11)との組に、前記
消滅させる形状を形成する領域(A12)の前記境界をな
すエッジ(E1)を特定し得るポインタ(B1)を付与する
ポインタ付与手段(3)と、 前記消滅させる形状を形成する領域(A12)をデッドシ
ェル(DS1)として保有するとともに、前記デッドシェル
とした領域(A12)中のフェイス(F12)と他のエッジ
(E2)との組に他のポインタ(B2)が付与されている場
合にはそのポインタも併せて保有することにより、複数
のデッドシェル(DS1, DS2) を階層的に関連づけて保有
し得るデッドシェル保有手段(4)と、 前記作成された形状モデルが有しているエッジおよびフ
ェイスの内の、復元する形状を形成する領域(A12)と
の間の境界となるエッジ(E1)と、そのエッジ(E1)に
接続されるフェイス(F11)との組が指定されると、前
記デッドシェル保有手段が保有しているデッドシェルの
内からその指定されたフェイス(F11)とエッジ(E1)
との組に付与されている前記ポインタ(B1)で特定され
たエッジ(E1)を持つデッドシェル(DS1)を捜し出し、
そのデッドシェル(DS1)とされた領域(A12)が形成す
る形状を結合演算により、前記作成された形状モデルの
前記指定されたエッジ(E1)で分割された二つの領域の
内の前記フェイス(F11)を有する方の領域に、前記特
定されたエッジ(E1)を介し結合して、前記形状を復元
する形状結合手段(5)と、を具えることを特徴とす
る、形状モデラ用形状復元装置。1. A shape modeler (1) capable of handling a solid or a curved surface, wherein a shape model is created by repeatedly performing an operation for generating one figure from two figures, and the shape modeler is used by the calculation. In the shape restoring device (2) for restoring a lost shape into a created shape model, when the shape modeler deletes the shape by the calculation, an edge that the shape model after the calculation has An edge (E 1 ) which forms a boundary between the face (A 12 ) forming the annihilating shape and a face (F 11 ) connected to the edge (E 1 ). Pointer assigning means (3) for assigning a pointer (B 1 ) capable of specifying the edge (E 1 ) defining the boundary of the area (A 12 ) forming the shape to be erased; The area (A 12 ) to be formed is held as a dead shell (DS 1 ), and a pair of a face (F 12 ) and another edge (E 2 ) in the area (A 12 ) formed as the dead shell is added to another area. When the pointer (B 2 ) is given, the dead shell holding means (4) which can hold a plurality of dead shells (DS 1 , DS 2 ) in a hierarchical manner by holding the pointer together. When, of the edges, and it faces the created shape model has a boundary to become edge between the region for forming a shape restoring (a 12) (E 1) , the edge (E 1 If) set of the face (F 11) to be connected is specified, the dead shell the designated face from among the dead shell held unit is held (F 11) and an edge (E 1)
A dead shell (DS 1 ) having an edge (E 1 ) specified by the pointer (B 1 ) assigned to the pair
The shape formed by the region (A 12 ) that is set as the dead shell (DS 1 ) is subjected to a joint operation, and the two shapes of the two regions divided by the specified edge (E 1 ) of the created shape model are combined. in the region of the person having the face (F 11), the bound via a specific edge (E 1), characterized in that it comprises a shape coupling means (5) to restore the shape, Shape restoration device for shape modeler.
れた形状モデルが有しているエッジおよびフェイスの内
の、前記指定されたフェイスとエッジとの組のエッジ
(E1)が、環状に閉じていないか、または前記作成され
た形状モデルが有している環状に閉じたエッジ上の二点
を結ぶものとなっていない場合には、その環状に閉じる
ことまたは二点を結ぶことを妨げている、前記デッドシ
ェルへのポインタを付与されたエッジを順次検索するこ
とにより、階層的に関連づけられたデッドシェル(DS1,
DS2) から、消滅させた形状を順次復元することを特徴
とする、請求項1記載の形状モデラ用形状復元装置。2. The method according to claim 1, wherein said shape combining means (5) is configured to include, among the edges and faces of the created shape model, an edge (E 1 ) of the set of the designated face and edge, If it is not closed circularly, or if it does not connect two points on the closed circular edge of the created shape model, close the ring or connect the two points By sequentially searching for the edge given the pointer to the dead shell, which is preventing the dead shell (DS 1 ,
2. The shape restoring device for a shape modeler according to claim 1, wherein the disappeared shapes are sequentially restored from DS 2 ).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25125992A JP3205403B2 (en) | 1992-09-21 | 1992-09-21 | Shape restoration device for shape modeler |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25125992A JP3205403B2 (en) | 1992-09-21 | 1992-09-21 | Shape restoration device for shape modeler |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06103342A JPH06103342A (en) | 1994-04-15 |
| JP3205403B2 true JP3205403B2 (en) | 2001-09-04 |
Family
ID=17220120
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25125992A Expired - Fee Related JP3205403B2 (en) | 1992-09-21 | 1992-09-21 | Shape restoration device for shape modeler |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3205403B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7313504B2 (en) * | 2001-10-15 | 2007-12-25 | Solidworks Corporation | Model management technology using grouping of features |
| EP1686501A3 (en) | 2005-01-26 | 2009-01-14 | Dassault Systemes SolidWorks Corporation | Aware and active features for computer-aided design system |
| US7996060B2 (en) * | 2006-10-09 | 2011-08-09 | Biosense Webster, Inc. | Apparatus, method, and computer software product for registration of images of an organ using anatomical features outside the organ |
-
1992
- 1992-09-21 JP JP25125992A patent/JP3205403B2/en not_active Expired - Fee Related
Non-Patent Citations (1)
| Title |
|---|
| 鈴木建彦 他3名,"曲面立体共存モデラの位相数学モデルと「集合演算」(第1報)",精密工学会誌,1991年8月,第57巻,第8号,p.1393−1398 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06103342A (en) | 1994-04-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Weiler | Polygon comparison using a graph representation | |
| US8207990B1 (en) | Systems and methods for merging and splitting intersecting solids and surfaces | |
| US20080255809A1 (en) | Locally Updating a Three-Dimensional Model | |
| JP3657771B2 (en) | 3D model creation device | |
| JP2014130601A (en) | Geometrical elements transformed by rigid motions | |
| Elsheikh et al. | A reliable triangular mesh intersection algorithm and its application in geological modelling | |
| JPH10207523A (en) | Automatic programming device and method | |
| Cardot et al. | Persistent naming based on graph transformation rules to reevaluate parametric specification | |
| JP3205403B2 (en) | Shape restoration device for shape modeler | |
| US20040128648A1 (en) | Face correlation between computer aided design models | |
| Lee et al. | Surface mesh generation for dirty geometries by the Cartesian shrink-wrapping technique | |
| JP2002207504A (en) | Three-dimensional shape data generation method and three-dimensional shape data generation device | |
| US20060268406A1 (en) | System and method for processing spatial data | |
| JP2660490B2 (en) | Drawing candidate line segment extracting device, drawing candidate line segment extracting method, solid model synthesizing device, and solid model synthesizing method | |
| Jones | Solid modelling of earth masses for applications in geotechnical engineering | |
| JPH1078979A (en) | Method for generating three-dimensional object from two-dimensional CAD drawing and recording medium storing the program | |
| US7031790B2 (en) | Operator for sculpting solids with sheet bodies | |
| Akleman et al. | Guaranteeing 2-manifold property for meshes | |
| Sheffer et al. | Virtual topology construction and applications | |
| JP3204010B2 (en) | Shape restoration device for shape modeler | |
| Lu et al. | Feature decomposition for hexahedral meshing | |
| JP4790580B2 (en) | Model creation device, model creation method, and model creation program | |
| JPH0449471A (en) | Image editing device | |
| JP2002149725A (en) | Three-dimensional development data creation device and three-dimensional development data creation method | |
| Alliez et al. | Computational geometry algorithms library |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080629 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090629 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100629 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110629 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110629 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120629 Year of fee payment: 11 |
|
| LAPS | Cancellation because of no payment of annual fees |