JP2004110285A - Apparatus, method and program for checking data on curved surface and recording medium - Google Patents

Apparatus, method and program for checking data on curved surface and recording medium Download PDF

Info

Publication number
JP2004110285A
JP2004110285A JP2002270368A JP2002270368A JP2004110285A JP 2004110285 A JP2004110285 A JP 2004110285A JP 2002270368 A JP2002270368 A JP 2002270368A JP 2002270368 A JP2002270368 A JP 2002270368A JP 2004110285 A JP2004110285 A JP 2004110285A
Authority
JP
Japan
Prior art keywords
gap
surface data
loop
curved surface
clearance
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.)
Pending
Application number
JP2002270368A
Other languages
Japanese (ja)
Inventor
Jun Sato
佐藤 淳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002270368A priority Critical patent/JP2004110285A/en
Publication of JP2004110285A publication Critical patent/JP2004110285A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a curved surface data checking apparatus which detects a clearance such that where curved surfaces should adjoin each other, their boundary lines are spaced apart by an amount slightly greater than the tolerance of a system. <P>SOLUTION: The curved surface data checking apparatus includes a clearance candidate loop group detecting part 12 for detecting a group of loops composed of a group of boundary lines of adjacent curved surfaces, the loops serving as candidates for the clearance between the adjacent curved surfaces; a clearance determining part 13 for determining whether or not each loop of the group of loops serving as the candidates for the clearance is the clearance; and a result output part 14 which outputs information (position and size of the clearance) on the clearance detected by the clearance determining part. The clearance between the three-dimensional adjacent curved surfaces composed of curved surface data is detected and precisely and effectively reported to a system operator. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、曲面データチェック装置、曲面データチェック方法、プログラムおよび記録媒体に関し、3次元形状を扱う3次元CAD/CAM/CAE/CGなどに用いて好適である。
【0002】
【従来の技術】
CAD技術を用いた3次元形状部品のモデリングで重要な点は、モデリングされた部品を構成する曲面群について隣接する曲面間で境界線同士がシステムの許容誤差以内で一致していることが保証されるべきことである。
しかし、設計意図としては隣接しているはずの曲面間の境界線同士が一致しておらず、隙間が残ったまま部品データが完成した場合、そのデータを使った下流工程で重大な問題を引き起こすことになる。CAEによる解析であれば正しい結果を得ることができなくなるし、また、加工であれば削り残しなどを生じてしまう。
この問題は、産業界におけるPDQ(Product Data Quality:モデルデータ品質)に関する議論や取り組みにおいても、品質を左右し得る重要な要因の1つとしてしばしば取り上げられている。
【0003】
ソリッドモデラなど、隣接面間で一致すべき境界線を隣接面同士で共有する境界線として表現するデータ構造を採用しているシステムの場合、設計者が隣接面として意図してモデリングしていれば、曲面間に隙間を生じることはない。
また、隣接面としてモデリングされた曲面間については、隙間が無いことをシステムが保証してくれる。
【0004】
【発明が解決しようとする課題】
しかしながら、別々にモデリングした曲面同士を単に隣接するように配置しただけの場合や、隣接曲面間の共有境界線を表現できない形式で他のシステムから曲面群のデータを取り込んだ場合には、それが保証されない。
このような場合には、曲面同士が隣接すべき箇所の境界線同士を共有境界線としてシステムに認識させる必要がある。
但し、共有境界線と見なすことができる、言い換えれば曲面同士が隣接するとシステムに認められるためには、境界線同士の距離がそのシステムで定められた許容誤差以内に収まっている必要がある。
【0005】
例えば、他のシステムから曲面群のデータを取り込んだ場合、システムの許容誤差の違いによって、取り込み元のシステムでは隣接面としての精度を満たしていたにも関わらず、取り込み先のシステムでは隣接面としての条件を満たさないことがある。その場合には、一方の曲面を固定して他方の曲面の形状を僅かに変形するなどして、境界線同士が一致するようにした上で、共有境界線としてシステムに認識させれば良い。
【0006】
さて、隣接すべき曲面間の境界線を共有境界線としてシステムに認識させる一連の作業においては、境界線同士の距離がシステムの許容誤差以内に収まっておらずシステムに隣接箇所である共有境界線として認識されずに、隙間となって残っている箇所を特定することが必要になる。
各曲面について境界部分だけでなく内側にも色を塗れば、隙間となって残っている箇所は、色を塗られずに残るのでそれを視覚的に把握することができる。
例えば、CADシステムが通常備えている所謂シェーディング表示機能を使えば良い。
【0007】
しかし、本来は隣接面となるべき箇所であれば、その隙間は非常に細長いことが多い。そのような箇所では、隙間の両側の曲面がシェーディング表示されることで隙間が潰れて表示されてしまい、隙間であると確認することが困難となる。また、視点とは反対側に表を向いた曲面同士の間に残った隙間を見逃してしまうこともある。
また、単に隙間の箇所を特定することだけでなく、隙間の大きさも知る必要がある。隣接すべき曲面間の境界線同士がシステムの許容誤差以上に離れている場合、前述の通り境界線同士が一致するよう曲面形状を微小変形する必要があるが、そのためには隙間の大きさが必要である。
【0008】
本発明は、上述の実情を考慮してなされたものであって、ソリッドモデラなど、隣接面間で一致すべき境界線を隣接面同士で共有する境界線として表現するデータ構造を採用しているシステムにおいて、本来は曲面同士が隣接すべき箇所が、境界線同士がシステムの許容誤差よりも僅かに離れている隙間を検出する曲面データチェック装置、曲面データチェック方法、プログラムおよび記録媒体を提供することを目的とする。
【0009】
【課題を解決するための手段】
上記の課題を解決するために、本発明の請求項1の曲面データチェック装置は、曲面データで構成された3次元形状について隣接曲面間の隙間を検出する曲面データチェック装置において、隣接曲面間の隙間の候補となる、隣接曲面の境界線群で構成されたループ群を求める隙間候補ループ群検出部と、前記隙間候補のループ群の各ループについて隙間であるか否かを判定する隙間判定部と、前記隙間判定部で検出された隙間に関する情報を出力する結果出力部を有することを特徴とする。
【0010】
また、本発明の請求項2は、請求項1に記載の曲面データチェック装置において、前記結果出力部は、隙間の位置を特定することが可能な情報を出力することを特徴とする。
また、本発明の請求項3は、請求項1に記載の曲面データチェック装置において、前記結果出力部は、隙間の大きさを特定することが可能な情報を出力することを特徴とする。
【0011】
また、本発明の請求項4の曲面データチェック方法は、曲面データで構成された3次元形状について隣接曲面間の隙間を検出する曲面データチェック方法において、隣接曲面間の隙間の候補となる、隣接曲面の境界線群で構成されたループ群を求めるステップと、前記隙間候補のループ群の各ループについて隙間であるか否かを判定するステップと、検出された隙間に関する情報を出力するステップを有することを特徴とする。
【0012】
また、本発明の請求項5は、請求項4に記載の曲面データチェック方法において、前記検出された隙間に関する情報は、隙間の位置を特定することが可能な情報であることを特徴とする。
また、本発明の請求項6は、請求項4に記載の曲面データチェック方法において、前記検出された隙間に関する情報は、隙間の大きさを特定することが可能な情報であることを特徴とする。
【0013】
また、本発明の請求項7のプログラムは、コンピュータを用いて、3次元形状の曲面データをチェックするためのプログラムであって、前記コンピュータに、請求項1、2または3に記載の曲面データチェック装置の機能を実行させるためのプログラムである。
また、本発明の請求項8の記録媒体は、請求項7に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体である。
【0014】
以上の構成により、ソリッドモデラなど、隣接面間で一致すべき境界線を隣接面同士で共有する境界線として表現するデータ構造を採用しているシステムにおいて、本来は曲面同士が隣接すべき箇所が、境界線同士がシステムの許容誤差よりも僅かに離れて隙間として残っている箇所と大きさを、システムの操作者に的確にまた効果的に知らせることができる。
【0015】
【発明の実施の形態】
以下、図面を参照して本発明の曲面データチェック装置に係る一実施形態を説明する。以下の実施形態の説明では、本発明の曲面データチェック装置をCADシステムへ組み込んだものとして説明する。
【0016】
図1は、一般のCADシステムを実現するためのハードウェア構成を示すブロック図である。
図1において、CADシステムは、データ等の演算や処理を行うCPU(中央処理ユニット)101と、プログラムやデータ等を記憶するメモリ102と、キー操作に基づきプログラムやデータ等を入力するキーボードや一般にマウスカーソルと呼ばれる目印を移動させると共に、その移動に基づくデータを入力するマウス等のポインティングデバイスである入力装置103と、図形などを画面上に表示するグラフィックディスプレイ等の表示装置104と、プログラムやCADデータを記憶するハードディスク等の外部記憶装置105と、それらを相互に接続するバスライン106とを少なくとも備えている。
このCADシステムは、キーボードやマウス等の入力装置103を操作して指示された指示内容に基づき所定のプログラムに従い演算や処理を行うことで図形等を生成し、その図形等を表示装置104の画面上に表示する。
【0017】
図2は、CADシステムに組み込まれた本発明の曲面データチェック装置の機能構成を示すブロック図である。図2において、曲面データチェック装置10は、入力部11、隙間候補ループ群検出部12、隙間判定部13、結果出力部14の各機能から構成される。
【0018】
次に、図3から図9を参照して、曲面データチェック装置10の構成および動作を説明する。図3は、本発明の曲面データチェック装置10の全体処理の手順を示すフローチャートである。
まず、システムの操作者が入力装置103によって指定した3次元形状のデータを外部記憶装置105から読み出し入力し、隙間候補ループの検出処理を行う(ステップS1)。ステップS1で入力部11および隙間候補ループ群検出部12を構成する。
検出された隙間候補ループ群から隙間判定処理を行って隙間ループとその隙間の大きさを求める(ステップS2)。ステップ2で隙間判定部13を構成する。
検出された隙間情報をディスプレイ等の表示装置104へ出力する(ステップS3)。ステップS3で結果出力部14を構成する。
【0019】
次に、隙間候補ループ群検出処理の概略を説明する。図4は、3次元形状のうち非共有境界線が隙間を持つ場合を表示した例である。図5は、この図4の形状の一部を取り出したもので、4つの稜線(B11,B12,B13,B14)で表現される曲面Sと、4つの稜線(B21,B22,B23,B24)で表現される曲面Sとがあり、この曲面SとSとは頂点PとPを共有しているものとする。即ち、稜線B11と稜線B21とは一致しておらず隙間がある状態とする。
【0020】
このような場合に隙間候補ループ群検出処理は、まず、境界線(ここでは8つの稜線)を3次元形状データから検出して、テーブルT1へ登録する(図5(B)の状態となる)。
次に、テーブルT1から登録された境界線を1つずつ取り出して、この境界線が共有境界線でなければ、テーブルT2へ登録する。図5では、テーブルT2の最初のループの構成要素としてB11が登録される。
【0021】
次に、その境界線(B11)と隣接する境界線であって非共有境界線であるものをテーブルT1の中から探し、テーブルT2へループとして登録する。図5では、境界線B11に隣接した非共有境界線はB21であり、テーブルT2の最初のループの構成要素として、B21を追加する。隣接するか否かは、ループの構成要素としてテーブルT2へ登録した境界線と共有頂点を持つか否かで判定できる。
【0022】
この境界線(B11)に対する隣接境界線がなくなるまで、または、テーブルT2へ登録したループが閉じるまで、作業を続ける。
1つの境界に対して、この作業が終了すると、他の未処理の境界線をテーブルT1から取り出して、上述の作業を繰り返す。
【0023】
図6は、上述した隙間候補のループを検出する隙間候補ループ群検出部12の処理手順を示すフローチャートである。
まず、入力された3次元形状データに存在する曲面群の境界線群を要素とするテーブルT1を作成し、隙間候補ループを格納するテーブルT2を空としておく(ステップS11)。
【0024】
境界線群のテーブルT1から未判定の境界線B1を取り出す(ステップS12)。テーブルT1に未判定の境界線が存在しない場合(ステップS13のNO)、すべての境界線の処理が終了したので、隙間候補ループ群の検出処理を終了する。
【0025】
一方、テーブルT1に未判定の境界線が存在した場合(ステップS13のYES)、取り出した境界線B1が共有境界線の場合(ステップS14のYES)、隙間候補とはならないので、この境界線B1を判定済みとして、次の境界線を処理するためにステップS12へ戻る。
取り出した境界線B1が共有境界線でない場合(ステップS14のNO)、この境界線B1をループLの構成要素としてテーブルT2へ新規登録する(ステップS15)。ここでは、ループLには境界線B1のみが登録されることになる。
【0026】
境界線群のテーブルT1から未判定の境界線B2を取り出す(ステップS16)。取り出した境界線B2がループLに隣接しない場合(ステップS17のNO)、他の未判定の境界線を探すためにステップS16へ戻る。
また、取り出した境界線B2がループLに隣接する場合(ステップS17のYES)、境界線B2をループLの構成要素としてテーブルT2に追加登録し、境界線B2を判定済みにする(ステップS18)。
ループLが閉じず、且つ、まだ隣接境界線として判定していない境界線がある場合(ステップS19のNO)、ステップS16へ戻る。
また、ループLが閉じるか、すでに境界線をすべて隣接境界線として判定してしまった場合(ステップS19のYES)、次のループの処理をするためにステップS12へ戻る。
【0027】
図7は、隙間判定部13の処理手順を示すフローチャートである。
まず、隙間候補ループ群のテーブルT2から未判定のループLを取り出す(ステップS21)。
未判定のループが存在しない場合(ステップS22のNO)、すべての隙間候補ループを処理したとして隙間判定処理を終了する。
【0028】
取り出したループLが隙間か否かを判定する(ステップS23)。
このループLが隙間でない場合(ステップS24のNO)、このループを判定済みとしてステップS21へ戻る。
一方、このループLが隙間である場合(ステップS24のYES)、このループが隙間であることをテーブルT2に記録する(ステップS25)。
また、このループLの隙間の大きさを求め、テーブルT2にループLと関連付けて登録し(ステップS26)、このループLを判定済みとしてステップS21へ戻る。
【0029】
図8は、隙間情報の結果出力部14の処理手順を示すフローチャートである。
まず、テーブルT2の中から未出力の隙間を持つループを取り出す(ステップS31)。
未出力の隙間を持つループがない場合(ステップS32のNO)、結果出力を終了する。
一方、未出力の隙間を持つループがある場合(ステップS32のYES)、そのループに関連付けられた隙間情報(例えば、隙間の位置および隙間の大きさ)を取り出して、ディスプレイ等の表示装置104へ出力し、このループを出力済みとしてステップS31へ戻る。
この出力は、図9に示すように、表示装置104に表示された3次元形状の隙間の該当箇所が他と判別できるように色付し、識別IDを付加して表示し、その識別IDに対する隙間の大きさを文字形式で出力する。
【0030】
さらに、本発明は上述した実施形態のみに限定されたものではない。上述した実施形態の曲面データチェック装置を構成する各機能をそれぞれプログラム化し、あらかじめCD−ROM等の記録媒体に書き込んでおき、このCD−ROMをCD−ROMドライブのような媒体駆動装置を搭載したコンピュータに装着して、これらのプログラムをコンピュータのメモリあるいは記憶装置に格納し、それを実行することによって、本発明の目的が達成されることは言うまでもない。
この場合、記録媒体から読み出されたプログラム自体が上述した実施形態の機能を実現することになり、そのプログラムおよびそのプログラムを記録した記録媒体も本発明を構成することになる。
【0031】
なお、記録媒体としては半導体媒体(例えば、ROM、不揮発性メモリカード等)、光媒体(例えば、DVD、MO、MD、CD−R等)、磁気媒体(例えば、磁気テープ、フレキシブルディスク等)等のいずれであってもよい。
【0032】
また、ロードしたプログラムを実行することにより上述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、オペレーティングシステム等が実際の処理の一部または全部を行い、その処理によって上述した実施形態の機能が実現される場合も含まれる。
【0033】
また、上述したプログラムをサーバコンピュータの磁気ディスク等の記憶装置に格納しておき、インターネット等の通信網で接続された利用者のコンピュータからダウンロード等の形式で頒布する場合、このサーバコンピュータの記憶装置も本発明の記録媒体に含まれる。
【0034】
【発明の効果】
以上説明したように本発明によれば、ソリッドモデラなど、隣接面間で一致すべき境界線を隣接面同士で共有する境界線として表現するデータ構造を採用しているシステムにおいて、本来は曲面同士が隣接すべき箇所が、境界線同士がシステムの許容誤差よりも僅かに離れて隙間として残っている箇所と大きさを、システムの操作者に的確にまた効果的に知らせることができる。
【図面の簡単な説明】
【図1】一般のCADシステムを実現するためのハードウェア構成を示すブロック図である。
【図2】CADシステムに組み込まれた本発明の曲面データチェック装置の機能構成を示すブロック図である。
【図3】本発明の曲面データチェック装置の全体処理に関するフローチャートである。
【図4】隙間のある3次元形状の表示例である。
【図5】隙間候補ループ群処理を説明するための図である。
【図6】隙間候補ループ群検出部の処理手順を示すフローチャートである。
【図7】隙間判定部の処理手順を示すフローチャートである。
【図8】結果出力部の処理手順を示すフローチャートである。
【図9】隙間情報の出力例である。
【符号の説明】
10…曲面データチェック装置、11…入力部、12…隙間候補ループ群検出部、13…隙間判定部、14…結果出力部、101…CPU、102…メモリ、103…入力装置、104…表示装置、105…外部記憶装置、106…バスライン。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a curved surface data check device, a curved surface data check method, a program, and a recording medium, and is suitable for use in a three-dimensional CAD / CAM / CAE / CG that handles a three-dimensional shape.
[0002]
[Prior art]
An important point in the modeling of a three-dimensional part using CAD technology is that the boundary lines between adjacent curved surfaces of the curved surface group constituting the modeled component are guaranteed to be within the tolerance of the system. It is to be done.
However, if the design intention is that the boundary lines between the curved surfaces that are supposed to be adjacent do not match each other and the part data is completed with a gap remaining, it will cause a serious problem in the downstream process using that data Will be. In the case of analysis by CAE, it is not possible to obtain a correct result, and in the case of processing, uncut portions are left.
This problem is often taken up as one of the important factors that can influence the quality in discussions and efforts on PDQ (Product Data Quality) in the industry.
[0003]
In the case of a system such as Solid Modeler, which adopts a data structure that expresses the boundary line that should be matched between adjacent surfaces as a boundary line shared by adjacent surfaces, if the designer intentionally models as an adjacent surface, There is no gap between the curved surfaces.
In addition, the system guarantees that there is no gap between curved surfaces modeled as adjacent surfaces.
[0004]
[Problems to be solved by the invention]
However, if the separately modeled surfaces are simply placed adjacent to each other, or if the data of the surface group is imported from another system in a format that cannot express the shared boundary between adjacent surfaces, Not guaranteed.
In such a case, it is necessary for the system to recognize the boundary lines at places where the curved surfaces should be adjacent to each other as a shared boundary line.
However, in order to be regarded as a shared boundary line, in other words, in order for the system to recognize that the curved surfaces are adjacent to each other, the distance between the boundary lines must be within an allowable error defined by the system.
[0005]
For example, when data of a curved surface group is fetched from another system, due to differences in the tolerance of the system, the fetching system satisfies the accuracy as an adjacent surface, but the fetching system does not. Conditions may not be met. In such a case, the boundary may be made to coincide with each other by fixing one curved surface and slightly deforming the shape of the other curved surface, and then the system may recognize the boundary as a shared boundary.
[0006]
By the way, in a series of operations for causing the system to recognize a boundary between curved surfaces to be adjacent as a shared boundary, the distance between the boundaries is not within the tolerance of the system, and the shared boundary, which is a location adjacent to the system. It is necessary to specify a portion that remains as a gap without being recognized as a gap.
If a color is applied not only to the boundary portion but also to the inner side of each curved surface, the portion remaining as a gap remains without being colored, so that it can be visually grasped.
For example, a so-called shading display function normally provided in a CAD system may be used.
[0007]
However, the gap is often very long if it should be an adjacent surface. In such a location, the curved surfaces on both sides of the gap are displayed in a shading manner, so that the gap is crushed and displayed, making it difficult to confirm that the gap is present. Further, a gap left between curved surfaces facing the opposite side to the viewpoint may be missed.
Further, it is necessary to know not only the location of the gap but also the size of the gap. If the boundary lines between adjacent curved surfaces are separated by more than the tolerance of the system, it is necessary to slightly deform the curved surface shape so that the boundary lines coincide with each other as described above. is necessary.
[0008]
The present invention has been made in view of the above-described circumstances, and employs a data structure such as a solid modeler that expresses a boundary line that should be matched between adjacent surfaces as a boundary line shared by adjacent surfaces. In a system, a curved surface data check device, a curved surface data check method, a program, and a recording medium for detecting a gap where curved surfaces should be adjacent to each other and a boundary line is slightly separated from the system by an allowable error are provided. The purpose is to:
[0009]
[Means for Solving the Problems]
In order to solve the above problem, a curved surface data checking device according to claim 1 of the present invention is a curved surface data checking device for detecting a gap between adjacent curved surfaces in a three-dimensional shape constituted by curved surface data. A gap candidate loop group detection unit that obtains a loop group composed of boundary lines of adjacent curved surfaces that are candidates for a gap, and a gap determination unit that determines whether each loop of the loop group of the gap candidates is a gap. And a result output unit for outputting information on the gap detected by the gap determination unit.
[0010]
According to a second aspect of the present invention, in the curved surface data checking device according to the first aspect, the result output unit outputs information capable of specifying the position of the gap.
According to a third aspect of the present invention, in the curved surface data checking device according to the first aspect, the result output unit outputs information capable of specifying the size of the gap.
[0011]
In the curved surface data checking method according to a fourth aspect of the present invention, in the curved surface data checking method for detecting a gap between adjacent curved surfaces in a three-dimensional shape composed of curved surface data, a method for determining a gap between adjacent curved surfaces is provided. A step of obtaining a loop group composed of a group of boundary lines of a curved surface; a step of determining whether or not each loop of the loop group of the gap candidates is a gap; and a step of outputting information on the detected gap. It is characterized by the following.
[0012]
According to a fifth aspect of the present invention, in the curved surface data checking method according to the fourth aspect, the information on the detected gap is information capable of specifying the position of the gap.
According to a sixth aspect of the present invention, in the curved surface data checking method according to the fourth aspect, the information on the detected gap is information capable of specifying the size of the gap. .
[0013]
A program according to claim 7 of the present invention is a program for checking three-dimensionally shaped surface data using a computer, wherein the computer checks the surface data according to claim 1, 2 or 3. This is a program for executing the functions of the device.
A recording medium according to claim 8 of the present invention is a computer-readable recording medium on which the program according to claim 7 is recorded.
[0014]
With the above configuration, in a system such as a solid modeler, which adopts a data structure that expresses a boundary line that should be matched between adjacent surfaces as a boundary line shared by adjacent surfaces, a portion where curved surfaces should originally be adjacent to each other In addition, it is possible to accurately and effectively notify the system operator of the location and the size of the boundary line that is slightly separated from the tolerance of the system and remains as a gap.
[0015]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of a curved surface data check device of the present invention will be described with reference to the drawings. In the following description of the embodiment, it is assumed that the surface data check device of the present invention is incorporated in a CAD system.
[0016]
FIG. 1 is a block diagram showing a hardware configuration for realizing a general CAD system.
In FIG. 1, a CAD system includes a CPU (Central Processing Unit) 101 that performs calculations and processes on data and the like, a memory 102 that stores programs and data and the like, a keyboard that inputs programs and data based on key operations, and a general keyboard. An input device 103 which is a pointing device such as a mouse for moving a mark called a mouse cursor and inputting data based on the movement, a display device 104 such as a graphic display for displaying graphics on a screen, a program or CAD The apparatus includes at least an external storage device 105 such as a hard disk for storing data and a bus line 106 for interconnecting them.
The CAD system generates a figure or the like by performing an operation or processing according to a predetermined program based on the contents of an instruction given by operating the input device 103 such as a keyboard or a mouse, and displays the figure or the like on the screen of the display device 104. Display above.
[0017]
FIG. 2 is a block diagram showing a functional configuration of the surface data check device of the present invention incorporated in a CAD system. In FIG. 2, the curved surface data check device 10 includes the functions of an input unit 11, a gap candidate loop group detection unit 12, a gap determination unit 13, and a result output unit 14.
[0018]
Next, the configuration and operation of the curved surface data check device 10 will be described with reference to FIGS. FIG. 3 is a flowchart showing the procedure of the entire process of the curved surface data checking device 10 of the present invention.
First, data of a three-dimensional shape specified by the operator of the system using the input device 103 is read from the external storage device 105 and input, and a gap candidate loop detection process is performed (step S1). In step S1, the input unit 11 and the gap candidate loop group detection unit 12 are configured.
A gap determination process is performed from the detected gap candidate loop group to determine a gap loop and the size of the gap (step S2). Step 2 constitutes the gap determination unit 13.
The detected gap information is output to the display device 104 such as a display (step S3). The result output unit 14 is configured in step S3.
[0019]
Next, an outline of the gap candidate loop group detection processing will be described. FIG. 4 is an example in which a case where the non-shared boundary line has a gap in the three-dimensional shape is displayed. FIG. 5 shows a part of the shape of FIG. 4, which is a curved surface S 1 represented by four ridges (B 11 , B 12 , B 13 , B 14 ) and four ridges (B 21 , B 21 , B 21 , B 14 ). B 22, B 23, B has a curved surface S 2 represented by 24), and the curved surface S 1 and S 2 and that share vertices P 1 and P 2 are. In other words, a state where a gap does not coincide with the ridge line B 11 and ridge B 21.
[0020]
In such a case, the gap candidate loop group detection processing first detects a boundary line (here, eight ridge lines) from the three-dimensional shape data and registers it in the table T1 (the state shown in FIG. 5B). .
Next, the registered boundary lines are taken out one by one from the table T1, and if this boundary line is not a shared boundary line, it is registered in the table T2. In Figure 5, B 11 are registered as a component of the first loop of the table T2.
[0021]
Next, a boundary line adjacent to the boundary line (B 11 ), which is a non-shared boundary line, is searched from the table T1, and registered as a loop in the table T2. In Figure 5, non-covalently border adjacent to the boundary line B 11 is B 21, as a component of the first loop of the table T2, Add B 21. Whether or not they are adjacent can be determined based on whether or not they have a boundary line and a shared vertex registered in the table T2 as components of the loop.
[0022]
The operation is continued until there is no border line adjacent to the border line (B 11 ) or the loop registered in the table T2 is closed.
When this operation is completed for one boundary, another unprocessed boundary line is extracted from the table T1, and the above operation is repeated.
[0023]
FIG. 6 is a flowchart illustrating a processing procedure of the gap candidate loop group detection unit 12 that detects the loop of the gap candidate described above.
First, a table T1 is created in which the boundary lines of the curved surface groups existing in the input three-dimensional shape data are used as elements, and the table T2 for storing the gap candidate loop is left empty (step S11).
[0024]
An undetermined boundary line B1 is extracted from the boundary line group table T1 (step S12). If there is no undetermined boundary line in the table T1 (NO in step S13), the processing of all the boundary lines has been completed, and the detection processing of the gap candidate loop group ends.
[0025]
On the other hand, when there is an undetermined boundary line in the table T1 (YES in step S13), and when the extracted boundary line B1 is a shared boundary line (YES in step S14), the boundary line B1 is not a candidate for a gap. Is determined, and the process returns to step S12 to process the next boundary line.
If the extracted boundary line B1 is not a shared boundary line (NO in step S14), this boundary line B1 is newly registered in the table T2 as a component of the loop L (step S15). Here, only the boundary line B1 is registered in the loop L.
[0026]
An undetermined boundary line B2 is extracted from the boundary line group table T1 (step S16). If the extracted boundary line B2 is not adjacent to the loop L (NO in step S17), the process returns to step S16 to search for another undetermined boundary line.
If the extracted boundary line B2 is adjacent to the loop L (YES in step S17), the boundary line B2 is additionally registered in the table T2 as a component of the loop L, and the boundary line B2 is determined to have been determined (step S18). .
When the loop L is not closed and there is a boundary line that has not yet been determined as an adjacent boundary line (NO in step S19), the process returns to step S16.
If the loop L is closed or if all the boundaries have already been determined as adjacent boundaries (YES in step S19), the process returns to step S12 to perform the next loop.
[0027]
FIG. 7 is a flowchart illustrating a processing procedure of the gap determination unit 13.
First, an undetermined loop L is extracted from the table T2 of the gap candidate loop group (step S21).
If there is no undetermined loop (NO in step S22), all gap candidate loops have been processed, and the gap determination processing ends.
[0028]
It is determined whether or not the taken out loop L is a gap (step S23).
If this loop L is not a gap (NO in step S24), this loop has been determined and the process returns to step S21.
On the other hand, when the loop L is a gap (YES in step S24), the fact that the loop is a gap is recorded in the table T2 (step S25).
Further, the size of the gap of the loop L is obtained and registered in the table T2 in association with the loop L (step S26).
[0029]
FIG. 8 is a flowchart illustrating a processing procedure of the gap information result output unit 14.
First, a loop having a gap that has not been output is extracted from the table T2 (step S31).
If there is no loop having a gap that has not been output (NO in step S32), the result output ends.
On the other hand, if there is a loop having a gap that has not been output (YES in step S32), gap information (eg, the position of the gap and the size of the gap) associated with the loop is extracted and sent to the display device 104 such as a display. Output, and the process returns to step S31 assuming that this loop has been output.
As shown in FIG. 9, this output is colored so that the corresponding portion of the three-dimensional gap displayed on the display device 104 can be distinguished from the others, is displayed with an identification ID added, and is displayed. Outputs the size of the gap in character format.
[0030]
Furthermore, the present invention is not limited to only the above-described embodiments. Each function of the curved surface data checking device according to the above-described embodiment is programmed and written in advance on a recording medium such as a CD-ROM, and the CD-ROM is mounted with a medium driving device such as a CD-ROM drive. It goes without saying that the objects of the present invention can be achieved by installing these programs in a computer, storing these programs in a memory or a storage device of the computer, and executing the programs.
In this case, the program itself read from the recording medium implements the functions of the above-described embodiment, and the program and the recording medium on which the program is recorded also constitute the present invention.
[0031]
As a recording medium, a semiconductor medium (for example, ROM, nonvolatile memory card, etc.), an optical medium (for example, DVD, MO, MD, CD-R, etc.), a magnetic medium (for example, magnetic tape, flexible disk, etc.), etc. Any of these may be used.
[0032]
Further, not only the functions of the above-described embodiments are realized by executing the loaded program, but also the operating system or the like performs part or all of the actual processing based on the instructions of the program, and the processing performs the processing described above. The case where the functions of the embodiments described above are realized is also included.
[0033]
When the above-described program is stored in a storage device such as a magnetic disk of a server computer and distributed in a form such as download from a user computer connected via a communication network such as the Internet, the storage device of the server computer Are also included in the recording medium of the present invention.
[0034]
【The invention's effect】
As described above, according to the present invention, in a system such as a solid modeler, which adopts a data structure in which a boundary line that should be matched between adjacent surfaces is expressed as a boundary line shared by adjacent surfaces, a curved surface is originally used. Can be accurately and effectively notified to the operator of the system of the location and the size of the location that should be adjacent, where the boundary line is slightly separated from the tolerance of the system and remains as a gap.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a hardware configuration for realizing a general CAD system.
FIG. 2 is a block diagram showing a functional configuration of a curved surface data check device of the present invention incorporated in a CAD system.
FIG. 3 is a flowchart relating to the entire process of the curved surface data checking device of the present invention.
FIG. 4 is a display example of a three-dimensional shape having a gap.
FIG. 5 is a diagram for explaining gap candidate loop group processing;
FIG. 6 is a flowchart illustrating a processing procedure of a gap candidate loop group detection unit.
FIG. 7 is a flowchart illustrating a processing procedure of a gap determination unit.
FIG. 8 is a flowchart illustrating a processing procedure of a result output unit.
FIG. 9 is an output example of gap information.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 ... Curved surface data check device, 11 ... Input part, 12 ... Gap candidate loop group detection part, 13 ... Gap determination part, 14 ... Result output part, 101 ... CPU, 102 ... Memory, 103 ... Input device, 104 ... Display device , 105: external storage device, 106: bus line.

Claims (8)

曲面データで構成された3次元形状について隣接曲面間の隙間を検出する曲面データチェック装置において、隣接曲面間の隙間の候補となる、隣接曲面の境界線群で構成されたループ群を求める隙間候補ループ群検出部と、前記隙間候補のループ群の各ループについて隙間であるか否かを判定する隙間判定部と、前記隙間判定部で検出された隙間に関する情報を出力する結果出力部を有することを特徴とする曲面データチェック装置。In a curved surface data check device for detecting a gap between adjacent curved surfaces in a three-dimensional shape constituted by curved surface data, a gap candidate for obtaining a loop group constituted by a boundary line group of adjacent curved surfaces, which is a candidate for a gap between adjacent curved surfaces. A loop group detection unit, a gap determination unit that determines whether or not each loop of the loop group of the gap candidate is a gap, and a result output unit that outputs information about the gap detected by the gap determination unit A curved surface data check device characterized by the following. 請求項1に記載の曲面データチェック装置において、前記結果出力部は、隙間の位置を特定することが可能な情報を出力することを特徴とする曲面データチェック装置。2. The surface data check device according to claim 1, wherein the result output unit outputs information capable of specifying a position of the gap. 請求項1に記載の曲面データチェック装置において、前記結果出力部は、隙間の大きさを特定することが可能な情報を出力することを特徴とする曲面データチェック装置。2. The surface data checking device according to claim 1, wherein the result output unit outputs information capable of specifying the size of the gap. 曲面データで構成された3次元形状について隣接曲面間の隙間を検出する曲面データチェック方法において、隣接曲面間の隙間の候補となる、隣接曲面の境界線群で構成されたループ群を求めるステップと、前記隙間候補のループ群の各ループについて隙間であるか否かを判定するステップと、検出された隙間に関する情報を出力するステップを有することを特徴とする曲面データチェック方法。Obtaining a loop group formed by a boundary line group of adjacent curved surfaces, which is a candidate for a gap between adjacent curved surfaces, in a curved surface data checking method for detecting a gap between adjacent curved surfaces in a three-dimensional shape constituted by curved surface data; A step of determining whether or not each loop in the loop group of gap candidates is a gap and a step of outputting information on the detected gap. 請求項4に記載の曲面データチェック方法において、前記検出された隙間に関する情報は、隙間の位置を特定することが可能な情報であることを特徴とする曲面データチェック方法。5. The surface data check method according to claim 4, wherein the information on the detected gap is information capable of specifying a position of the gap. 請求項4に記載の曲面データチェック方法において、前記検出された隙間に関する情報は、隙間の大きさを特定することが可能な情報であることを特徴とする曲面データチェック方法。5. The surface data check method according to claim 4, wherein the information on the detected gap is information capable of specifying the size of the gap. コンピュータを用いて、3次元形状の曲面データをチェックするためのプログラムであって、前記コンピュータに、請求項1、2または3に記載の曲面データチェック装置の機能を実行させるためのプログラム。A program for checking three-dimensionally shaped surface data using a computer, the program causing the computer to execute the function of the surface data check device according to claim 1. 請求項7に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。A computer-readable recording medium on which the program according to claim 7 is recorded.
JP2002270368A 2002-09-17 2002-09-17 Apparatus, method and program for checking data on curved surface and recording medium Pending JP2004110285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002270368A JP2004110285A (en) 2002-09-17 2002-09-17 Apparatus, method and program for checking data on curved surface and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002270368A JP2004110285A (en) 2002-09-17 2002-09-17 Apparatus, method and program for checking data on curved surface and recording medium

Publications (1)

Publication Number Publication Date
JP2004110285A true JP2004110285A (en) 2004-04-08

Family

ID=32268023

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002270368A Pending JP2004110285A (en) 2002-09-17 2002-09-17 Apparatus, method and program for checking data on curved surface and recording medium

Country Status (1)

Country Link
JP (1) JP2004110285A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008126317A1 (en) * 2007-03-30 2008-10-23 Fujitsu Limited Method for detecting clearance, cad program, and cad system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008126317A1 (en) * 2007-03-30 2008-10-23 Fujitsu Limited Method for detecting clearance, cad program, and cad system
JP4823355B2 (en) * 2007-03-30 2011-11-24 富士通株式会社 Gap detection method, CAD program, and CAD system

Similar Documents

Publication Publication Date Title
JP3679044B2 (en) Method and apparatus for annotation management
CN110517357B (en) Three-dimensional graphics annotation with semantic attributes
TW201224817A (en) Method and system for automatic generation of solutions for circuit design rule violations
US11170581B1 (en) Supervised domain adaptation
KR102198920B1 (en) Method and system for object tracking using online learning
JP2003288372A (en) Analytic result data processor for cad, analytic result data processing method for cad, and analytic result data processing program for cad
CN108140059B (en) Visualization of analytical process parameters for layout-based inspection
WO2014127338A1 (en) Method and system for optimized projection in a multidisciplinary engineering system
US8832582B2 (en) Interactive control of the curvature of links
JP4809683B2 (en) Analysis model generation apparatus, analysis model generation method, and analysis model generation program
JP2004110285A (en) Apparatus, method and program for checking data on curved surface and recording medium
Khan et al. Correspondence measure: a review for the digital twin standardization
Xue et al. An optimization-based semantic building model generation method with a pilot case of a demolished construction
Vilgertshofer et al. A graph transformation based method for the semi-automatic generation of parametric models of shield tunnels
JP2005165692A (en) Image processor and image processing method
JP2006277672A (en) Three-dimensional model processing method
JP4678770B2 (en) Sequence diagram creation method and apparatus
JP5644452B2 (en) Information processing apparatus, control method thereof, and program
JP2006334684A (en) Surface machining tool path determination method, surface machining tool path determining program and surface machining tool path determination device
WO2019092218A1 (en) Correcting segmented surfaces to align with a rendering of volumetric data
JP4086601B2 (en) Three-dimensional shape measurement result display device, three-dimensional shape measurement result display method, program, and recording medium
US11941232B2 (en) Context-based copy-paste systems
JP2012128609A (en) Drawing creation support method and apparatus
JP2006268669A (en) Three-dimensional shape processing apparatus and method, program and recording medium
JP2010102606A (en) Product configuration determination support apparatus and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071002

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080115

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080701