Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3744243B2 - 2D drawing creation method - Google Patents
[go: Go Back, main page]

JP3744243B2 - 2D drawing creation method - Google Patents

2D drawing creation method Download PDF

Info

Publication number
JP3744243B2
JP3744243B2 JP02073699A JP2073699A JP3744243B2 JP 3744243 B2 JP3744243 B2 JP 3744243B2 JP 02073699 A JP02073699 A JP 02073699A JP 2073699 A JP2073699 A JP 2073699A JP 3744243 B2 JP3744243 B2 JP 3744243B2
Authority
JP
Japan
Prior art keywords
view
dimensional
model
dimensional model
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP02073699A
Other languages
Japanese (ja)
Other versions
JP2000222599A (en
Inventor
泰 金沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP02073699A priority Critical patent/JP3744243B2/en
Publication of JP2000222599A publication Critical patent/JP2000222599A/en
Application granted granted Critical
Publication of JP3744243B2 publication Critical patent/JP3744243B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、CAD図面のデータを用いて、3次元モデルから正面図や側面図、平面図と言った2次元図面を作成する方法に関する。
【0002】
【従来の技術】
従来、CAD図面のデータを用いて、3次元モデルから正面図や側面図、平面図と言った2次元図面を作成する方法は、3次元モデルの中の任意の方向から見た面を正面図として決定し、これを規準に、例えば、側面図や平面図と言ったものを加えて、いわゆる3面図、あるいは6面図などを作成するものである。
【0003】
具体的には、図12Aに示すような3次元モデル1から、図12Bに示すような2次元図面(3面図)20を描き起こす場合に、まず、正面図とする面を決定して、これに側面図および平面図を加えて3面図20とするようなものである。。
【0004】
【発明が解決しようとする課題】
ところで、このような2次元図面を作成する場合、少なくとも下記のような項目を指定する必要がある。
▲1▼正面図ビューの指定
これは、2次元図面の正面図として、3次元モデルをどのような座標方向から見て、どの様な向きに配置するかを指定するものである。なお、2次元図面として描かれる面を、3次元モデルのある面を見ると言う意味からビュー(VIEW)と称する。
【0005】
通常、X,Y,Zの3次元座標軸の場合、指定できる正面図ビューは、まず、Z軸方向から見たビューとしてXY面、これを時計回りに90度回転したY−X面、さらに90度回転した−X−Y面、さらに90度回転した−YX面、Z軸の反対方向(−Z軸方向から+Z方向)から見た−XY面、これを時計回りに90度回転したYX面、さらに90度回転したX−Y面、さらに90度回転した−Y−X面の8通りあり、これらに、さらにY軸方向とX軸方向および−Y軸方向と−X軸方向から見たビューが加わるため、全部で24通りのビューがある。したがって、正面図ビューの指定は、これら24通りのうちのいずれかを指定するものとなる。
▲2▼正面図以外の面の指定
これは、正面図以外に作成する面を指定するもので、例えば3面図の場合、正面図の他、側面図と上平面図、また、6面図では、正面図の他、右側面図、左側面図、上平面図、下平面図、および背面図が指定される。
▲3▼2次元図面を描く用紙サイズの指定
これは、上記▲1▼および▲2▼で指定した各図を描く用紙の大きさを指定するもので、通常、A3,A2,A1,A0,1.5AO,2A0などのJIS用紙サイズの中から指定する。
▲4▼作成する図面のスケールの指定
これは、用紙上に描く図面の縮尺(スケール)を指定するもので、通常、2/1,1/1,1/2,1/4などの規格化された縮尺の中から指定する。
▲5▼用紙上への各図のレイアウト、
上記▲1▼および▲2▼で指定した各図を、上記▲3▼で指定した用紙上に、上記▲4▼で指定したスケールで、適切な位置に描くように指定するものである。
【0006】
以上のように、2次元図面を作成するためには少なくとも5項目の指定が必要であり、中でも、正面図の指定は重要である。
【0007】
これは、正面図ビューが指定されれば、その他の項目は自ずと決まってくるものであり、例えば正面図以外の面は、正面図が決まればそれに対して左右の側面や上下の平面となるものが決定され、用紙サイズやスケールは正面図と他の面図が入るようなサイズやスケールに決められるものであり、また、図面レイアウトにしても正面図ビューが決まれば、それを基準にして他の面図のビューを配置すればよいからである。
【0008】
これに対し、正面図ビューは、基本的に3次元モデルのどのビューを正面図としてもよいが、まったく自由に指定してよいというものではなく、通常何等かの規定に従って指定される。例えば、図面を描く場合、用紙に対して余白が少なく、各図が見やすいスケールとなるように描くことが好ましいとされている。このような観点から、正面図ビューの指定は、3次元モデルを各軸方向から見たとき(各軸の(−)マイナス方向から見た場合を含む)に最も大きくなる面の長手方向が、2次元図面の横軸に沿うように指定することが好ましい。これにより、通常、長方形の図面用紙を横にして2次元図面を作成したときに、図面のスケールを用紙内で最大にとることができ、かつ、余白の少ない効率的な図面配置となる。
【0009】
ところが、このような正面図ビューの指定は3次元モデルを人間が見て判断するため、間違いが起こりやすく、例えば正確に指定されていれば、指定した大きさの用紙に、指定したスケールで配置することができるところ、間違った指定をしたために、所望の用紙やスケールでは、2次元図面を描くことができないようなことが起こる。このような場合、初めから正面図の指定をしなおしたり、悪くすると、正面図の指定の間違えに気が付かずに、用紙サイズやスケールを変更するなど、非常に繁雑な作業を繰り返し行わなければならないことになる。
【0010】
また、そもそも、上記したような各項目の指定自体が面倒であり、特に多くの3次元モデルから2次元図面を作成する場合には、1つの3次元モデルごとに指定を繰り返す必要があり、このような作業は自動化することが望まれている。
【0011】
そこで、本発明は、CADシステム上で、3次元モデルから2次元平面図を作成する際に、繁雑な項目指定を行うことなく自動的に2次元図面を作成することができる2次元図面作成方法を提供することであり、中でも、上記したように、最も難しい正面図の指定を自動的に行うことができる2次元図面作成方法を提供することである。
【0012】
【課題を解決するための手段】
本発明の目的は、下記する手段により達成される。
(1)CADシステムが自動的に3次元モデルデータから2次元図面を作成する方法であって、前記3次元モデルデータから、前記3次元モデルを包含する立方体モデルを作成する段階と、該作成した立方体モデルの中から、各面の面積が最大の面を検出して、その面を見たときの方向から前記3次元モデルを見た図を第1正面図候補として抽出する段階と、前記第1正面図候補を抽出したときの前記立方体モデルの面の長手方向が作成する2次元図面の横軸に沿うものを、前記第1正面図候補の中から抽出して、これを第2正面図候補とする段階と、前記第1正面図候補を抽出したときの前記立方体モデルの面の長手方向に対して垂直な前記3次元モデル内の面を検出する段階と、前記3次元モデル内の面を検出する段階で検出された3次元モデル内の面のうち、面積の最も大きな面がある方が、右側を向いているものを前記第2正面図候補のなかから抽出して、これを最終的な正面図に決定する段階と、を有することを特徴とする2次元図面作成方法。
(2)前記3次元モデル内の面を検出する段階は、前記立方体モデルの面の長手方向に、その両端から内側へ向かって前記3次元モデルデータを検索するものであることを特徴とする2次元図面作成方法。
(3)CADシステムが自動的に3次元モデルデータから2次元図面を作成する方法であって、前記3次元モデルデータから、前記3次元モデルを包含する立方体モデルを作成する段階と、該作成した立方体モデルの中から、各面の面積が最大の面を検出して、その面を見たときの方向から前記3次元モデルを見た図を第1正面図候補として抽出する段階と、前記第1正面図候補を抽出したときの前記立方体モデルの面の縦横の辺の長さが同じ場合に、前記3次元モデルデータから、前記第1正面図候補を抽出したときの前記立方体モデルの上下左右の方向からそれぞれ内側へ、前記3次元モデル内の面を検出する段階と、前記3次元モデル内の面を検出する段階で検出された3次元モデル内の面のうち、面積の最も大きな面がある部分が作成する2次元図面の右側に向くものを前記第1正面図候補の中から抽出して、これを最終的な正面図に決定する段階と、を有することを特徴とする2次元図面作成方法。
(4)2次元図面作成方法は、さらに、予め決められたスケールによって、前記最終的な正面図と予め決められた面の図が入る用紙サイズを決定する段階を有することを特徴とする2次元図面作成方法。
(5)前記用紙サイズを決定する段階は、予め用意されている図面サイズ候補の中から、予め決められたスケールによって、前記最終的な正面図と予め決められた面の図が入る用紙サイズを決定するものであり、このとき前記予め用意されている図面サイズ候補の中に、予め決められたスケールによって、前記最終的な正面図と予め決められた面の図が入る用紙サイズがない場合には、前記スケールを変更することを特徴とする2次元図面作成方法。
【0013】
【発明の効果】
本発明によれば、請求項ごとに以下のような効果を奏する。
【0014】
請求項1記載の本発明によれば、3次元モデルデータから、これを包含する立方体モデルを作成して、作成した立方体モデルの最大面積のものを第1正面図候補として抽出し、続いて、その中から面の長手方向が横向きになるものを第2正面図候補として抽出し、続いて、第1正面図候補を抽出した立方体モデルの面の長手方向に対して垂直な3次元モデル内の面を検出し、検出した3次元モデル内の面のうちの最大面積となる方が右側を向いているものを第2正面図候補のなかから抽出して、これを最終的な正面図とすることとしたので、正面図として最も大きな面積となる方向から見た図が選択され、かつ、これが横向きに配置されるので、用紙に対して効率よく2次元図面を配置することができる正面図を自動的に決定することができる。また、3次元モデル内の面の大きい面積のある側を右側に配置するようにしたので、3次元モデルの重心側が必ず右側へくるように配置されるようになる。
【0015】
請求項2記載の本発明によれば、第1正面図候補を抽出したときの前記立方体モデルの面の長手方向に垂直な前記3次元モデル内の面を検出する際に、前記立方体モデルの面の長手方向に、その両端から内側へ向かって前記3次元モデルデータを検索することとしたので、2方向から同時に3次元モデルの重心となる側を検出することができる。
【0016】
請求項3記載の本発明によれば、3次元モデルデータから、これを包含する立方体モデルを作成して、作成した立方体モデルの最大面積のものを第1正面図候補として抽出し、続いて、第1正面図候補を抽出した立方体モデルの上下左右の方向から3次元モデル内の面を検出し、検出した3次元モデル内の面のうちの最大面積となる部分が2次元図面の右側に向くようにしたので、正面図として最も大きな面積となる方向から見た図が正面図として選択され、かつ、正面図が縦横に差がない正方形となるような3次元モデルにおいて、その重心のある側が必ず右側に向くように自動的に配置されるようになる。
【0017】
請求項4記載の本発明によれば、予め決められたスケールにより、最終的に決定された正面図と、その他の面の図が入る用紙サイズを決定する段階をさらに有することとしたので、予め決められたスケールによって描かれる2次元図面が入る大きさの用紙を自動的に決定することができる。
【0018】
請求項5記載の本発明によれば、予め決められたスケールにより、最終的に決定された正面図と、その他の面の図が入る用紙サイズを決定する段階において、予め用意されている図面サイズの候補のなかに、全ての面図が入るサイズがない場合にはスケールを変更することとしたので、予め決められたスケールでは全ての面が入る大きさの用紙がない場合に、予め用意されている用紙に納まるように、自動的にスケールが変更され、用紙に対して最適なスケールが決定される。
【0019】
【発明の実施の形態】
以下、添付した図面を参照して、本発明の一実施の形態を説明する。
【0020】
図1は本発明を適用した実施形態に係る2次元図面作成の処理手順を示すメインフローチャートであり、図2〜4は、このメインフローチャート中の主要なステップのサブルーチンフローチャートである。
【0021】
なお、本実施形態では、図12に示したように、自動車車体の製造ラインに用いられるクランプ治具の3次元モデル1を、3面図20として2次元図面化する場合を例に説明する。
【0022】
本実施形態に係る2次元図面作成方法の基本的な処理手順は、図1に示すように、まず、CADシステムに予め蓄積されている3次元モデルデータの中から2次元図面化する3次元モデルを指定すると共に、何面図(例えば3面図や6面図など)を作成するかを指定する(S1)。このとき複数の3次元モデルを選択するようにしてもよく、その場合には、選択した一つひとつのモデルごとに下記のステップS2〜5を繰り返し実行する。なお、本実施形態では、前記のように3次元モデルとしてはクランプ治具が指定され、作成する2次元図面は3面図を指定する。
【0023】
続いて、3次元モデルデータを用いた正面図ビューの決定処理が行われ(S2)、さらに、用紙サイズ、図面スケールの決定処理(S3)、図面レイアウト処理が行われて(S4)、最終的にCADシステムに接続されたプリンタ(あるいはプロッタ)から2次元図面が出力される(S5)。
【0024】
次に、以上の基本手順における正面図ビューの決定処理の手順を図2を参照して説明する。
【0025】
まず、選択された1つの3次元モデルのデータから、3次元座標のX,Y,Z各軸ごとに原点からの最大値および最小値を求め(S201)、求めた各軸ごとの最大値および最小値から、図5に示すように、3次元モデル1全体を包含し、各座標軸と平行な面からなる立方体モデル10を作図する(S202)。なお、ステップS201において、最大値および最小値を求めているのは、3次元座標上の原点から座標位置により3次元モデルの大きさを算出しているためで、例えば3次元モデルのいずれか一端部を3次元座標の原点においた場合には、最大値を求めるだけでよい。また、S201を介さずに、直接、3次元モデルの寸法データから3次元モデルを包含する立方体モデルを作図してもよい。
【0026】
続いて、得られた立方体モデル10の各軸方向から見た3つの面(XY面,YZ面,ZX面)の面積を求める(S203)。
【0027】
そして、求めた面積のうち最も大きな面積の面を見る方向と同じ方向を第1の正面図ビュー候補(第1正面図候補)とする(S204)。これにより、3次元モデル1の場合、Z軸方向から見た面が最も大きな面積であるので、正面図ビューの候補としては、Y−X面、−X−Y面、−YX面、−XY面、YX面、X−Y面、および−Y−X面の8通りが抽出されることになる。
【0028】
続いて、第1正面図ビュー候補を得た立方体モデル10の面の縦横の辺の長さを比較する(S205)。
【0029】
比較の結果、縦横の長さが異なると判断された場合には(S206)、続いて、前記第1正面図ビュー候補の中から立方体モデルの面の長手方向が横向きとなるビューを第2正面図ビューの候補(第2正面図候補)として選択する(S207)。3次元モデル1では、Y軸方向がX軸方向より長いので、3次元モデルの第2正面図ビューの候補は、図6に示すように、−Y−X面(図6A)、Y−X面(図6B)、−YX面(図6C)、およびYX面(図6D)の4つビュー(VIEW)となる。
【0030】
続いて、前記した立方体モデル10の長手方向の両端位置から内側に向かって、すなわち、長手方向の両端から長手方向に沿う軸の正と負の2方向から同時に3次元モデルデータを検索して、3次元モデル内の長手方向に対して垂直な面を検出する(S208)。したがって、3次元モデル1では、図7に示すように、+Y軸方向と−Y軸方向の2方向から同時に検索を開始することになる。
【0031】
一方、前記ステップS205の縦横の辺の比較において、縦横の辺に差がないと判断されたとき(S206)には、第1正面図ビューの候補を抽出したときの面の上下左右の4方向から同時に3次元モデル内の面を検索する(S209)。したがって、この場合には、第1正面図候補がZ軸方向から見たものである場合、+X軸方向、−X軸方向、+Y軸方向、および−Y軸方向の4方向から同時に検索を開始することになる。
【0032】
続いて、上記ステップS208またはS209において3次元モデル内の面を検索した結果、最も最初に見つかった面同士を比較する(S210)。
【0033】
そして、比較の結果、3次元モデル内の面の面積が異なると判断されたとき(S211)には、最も大きな面積となる面のある方が作成する2次元図面として右側を向くような正面図ビューを、前記ステップS207およびS208を経た場合には第2正面図ビュー候補の中から選択して、これを最終的な正面図ビューに決定する(S212)。これにより、3次元モデル1の場合、図8に示すように、YX面のビューが最終的な正面図ビューとして決定される。一方、前記ステップS209を経た場合には、第1正面図ビュー候補の中から選択して、これを最終的な正面図ビューに決定する。
【0034】
前記ステップ210において、最も最初に見つかった面同士を比較した結果、面積が同じである場合には(S211)、そのうちのどちらを右側としてもよいので、例えば予め各ビューにコードを付しておいてそのコード番号の若い方を右側とするように、前記同様に正面図ビュー候補の中から選択する(S213)。
【0035】
ここで、ステップS210〜213の処理は、3次元モデル内の重心位置を検出するための処理で、通常、最も大きな面積のある側に3次元モデルの重心位置があるので、これを3次元モデル内の面を検出することにより判断している。特に、本実施形態のように、3次元モデルがクランプ治具の場合、クランプ治具は地面側の台座があるため、3次元モデルの形状として天地方向の大きさに明らかな差があり、かつ地面側に大きな面積があるため、このような処理により効率よく、クランプ治具の重心のある地面側を検出することができる。なお、3次元モデルの天地方向における面積の差が少ないものの場合には、このような処理に代えて、検索した面の全てを比較して、最も面積の大きなものがある方を右側としてもよい。
【0036】
以上により最終的な正面図ビューが決定されたら、メインルーチンへ戻る。
【0037】
次に図3を参照して、用紙サイズおよび図面スケールの決定手順について説明する。
【0038】
まず、図面スケールを1/1に設定する(S301)。なお、このスケールの値1/1は予め設定してあるもので、この他の値を設定するようにしてもよい。
【0039】
続いて、最終的に決定された正面図ビュー、作成するビューおよびスケールから用紙上に描く図面の最低限必要な長方形の大きさを得る(S302)。この処理は、図面作成に最低限必要な大きさを得るために行う処理である。また、作成するビューとは、本実施形態では3面図を作成するので、正面図ビューのほかに左側面図と上平面図の2つのビューと言うことになる。
【0040】
そして、これら各ビューの大きさは、この時点で正面図ビューが既に決定しているので、前述した立方体モデルから簡単に求めることができる。本実施形態の場合には、図9に示すように、3次元モデル1を包含する立方体モデル10のAの長さにスケール値を掛けたものが作成する図面上の正面図の横の長さであり、Bの長さにスケール値を掛けたものが左側面図の横の長さとなる。したがって、最低限必要な長方形の横の長さは(A+B)×スケール値となる。一方、長方形の縦の長さは、図9上のCの長さにスケール値を掛けたものが正面図の縦の長さであり、Bの長さにスケール値を掛けたものが上平面図の縦の長さとなる。したがって、最低限必要な長方形の縦の長さは(C+B)×スケール値となる。なお、実際に図面として描かれたときのA、BおよびCの位置関係を図10に示す。
【0041】
続いて、前記ステップS302で求めた長方形の大きさに寸法や風船などを記入する余白分を加えて、図面作成に必要となる大きさ長方形を得る(S302)。これには、例えば前記ステップS302で求めた長方形の大きさに、余白分となる一定の値を加えてもよいし、また、一定の倍率で大きくするようにしてもよい。なお、ここで得られた長方形の大きさを最終図面サイズと称する。具体的は、例えば各面図ごとに、左右上下に20mの余白をとるように予め設定してお気、これを各面図ごとに加算するとよい。これにより、図10に示すように、余白を含めた各面図の入る最終図面サイズが得られる。
【0042】
続いて、得られた最終図面サイズの大きさが、用紙内の図面を作成できる有効範囲に入る大きさで、かつ、その中で最小の用紙サイズを、予め用意されている用紙サイズ候補の中から選択する(S304)。ここで、予め用意されている用紙サイズ候補としては、例えばJIS−A系列の用紙で、A3,A2,A1,A0,1.5AO,2A0などである。したがって、例えば、最終図面サイズの大きさが入る大きさとしてA1,A0,1.5A0,2A0が選択可能となったときには、この中で最小のA1が選択される。なお、ここで、選択できる用紙サイズがない場合には用紙NGを出力する。
【0043】
続いて、用紙NGが出力されたか否かを判断する(S305)。
【0044】
ここで、用紙サイズが選択できているときには、そのまま選択された用紙サイズと現在のスケール値を使用するように決定して(S306)、メインルーチンへ戻る。一方、用紙サイズを選択できなかったときには、スケール値をスケールダウンする(S307)。したがって、例えばスケール値が1/1のスケールの場合には1/2へ、1/2の場合には1/4などにスケール値を変更する。そして、ステップS302へ戻り、以降の処理を繰り返し実行して、最終的に前記ステップS307において全てのビュー図面が入る用紙サイズとスケール値が決定される。
【0045】
次に、図4を参照して図面レイアウトの手順を説明する。
【0046】
まず、正面図ビューと、他の面の各ビュー図面が予め設定された余白を取って配置する(S401)。ここでは、3面図を作成するので、前述した正面図の決定処理で最終的に得られた正面図ビューと、左側面図ビューおよび上平面図ビューを、前述した用紙サイズおよび図面スケールの決定処理で決定されたスケール値により縮尺して、最終図面サイズの長方形内に予め設定されている余白、例えば各面図ごとにその左右上下に20mm取って配置する。これにより図11Aのような各ビューの配置が決定する。
【0047】
続いて、前述の用紙サイズおよび図面スケールの決定処理の中で得られた最終図面サイズの長方形5の中心7を求める(S402)(図11A参照)。
【0048】
続いて、前述の用紙サイズおよび図面スケールの決定処理で決定された用紙サイズの用紙21の中の図面を作成する有効範囲23内の中心27を求める(S403)。なお、この有効範囲23とは、図11Bに示すように、通常、用紙21内においては、図面の標題や番号などを入れるための欄25を設けるため、これらの欄25にかかることなく図面を描くことができる範囲をここでは有効範囲23と称している。
【0049】
続いて、図11AおよびBに示したように、前記ステップS402で求めた最終図面サイズ5の中心7と用紙21の有効範囲23の中心27とを合わせて、前記ステップS401で行った各ビューの配置に従って、各ビューを用紙21内に配置する図面レイアウトを決定する(S404)。そして、メインルーチンへ戻る。
【0050】
以上により各ビューの図面レイアウトが決定されたので、メインルーチンでは、これに従って用紙上に各ビューの図面を出力する。
【0051】
以上説明した本実施形態では、人手がかかる部分は、基本的に2次元図面化する3次元モデルの指定と何面図とするかの指定のみでよく、その他の部分は全て自動的に決定されるので、非常に簡単な操作で、かつ、間違えなく3次元モデルデータから2次元図面の作成を行えるようになる。
【0052】
なお、以上説明した本実施形態では、3次元モデルとしてクランプ治具を例に説明したが、本発明はこのような3次元モデルに限定されるものではなく、様々な3次元モデルについて好適に利用することができる。また、3面図に限らず6面図やさらに数多くの(または少ない)2次元図面の作成にも適用可能である。
【図面の簡単な説明】
【図1】 本発明を適用して3次元モデルを2次元図面化するための処理手順を示すメインフローチャートである。
【図2】 図1に示されるメインフローチャート中の正面図ビューの決定処理の手順を示すサブルーチンフローチャートである。
【図3】 図1に示されるメインフローチャート中の用紙さいず、スケールの決定処理の手順を示すサブルーチンフローチャートである。
【図4】 図1に示されるメインフローチャート中の図面レイアウト処理の手順を示すサブルーチンフローチャートである。
【図5】 3次元モデルを包含する立方体モデルを説明するための斜視図である(なお、図中X,Y,Zは3次元座標を示す)。
【図6】 正面図ビューの候補を示す図面である。
【図7】 3次元モデル内の面の検索を説明するための斜視図である(なお、図中X,Y,Zは3次元座標を示す)。
【図8】 最終的に決定した正面図ビューを示す図面である。
【図9】 用紙サイズおよびスケールの決定処理を説明するための3次元モデルの斜視図である(なお、図中X,Y,Zは3次元座標を示す)。
【図10】 用紙サイズおよびスケールの決定処理を説明するための実際に2次元図面として配置された状態を示す図面である。
【図11】 図面レイアウトを説明するための図面である。
【図12】 3次元モデルから2次元図面を作成する一例を示す図面である。
【符号の説明】
1…3次元モデル、
2…2次元図面、
10…立方体モデル。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method for creating a two-dimensional drawing such as a front view, a side view, and a plan view from a three-dimensional model using CAD drawing data.
[0002]
[Prior art]
Conventionally, a method for creating a two-dimensional drawing such as a front view, a side view, and a plan view from a three-dimensional model using CAD drawing data is a front view of a surface viewed from an arbitrary direction in the three-dimensional model. Based on this, for example, what is called a side view or a plan view is added to create a so-called 3-side view or 6-side view.
[0003]
Specifically, when drawing a two-dimensional drawing (three-sided view) 20 as shown in FIG. 12B from a three-dimensional model 1 as shown in FIG. A side view and a plan view are added to this, and a three-sided view 20 is obtained. .
[0004]
[Problems to be solved by the invention]
By the way, when creating such a two-dimensional drawing, it is necessary to specify at least the following items.
▲ 1 ▼ Specify front view
This is a front view of a two-dimensional drawing that specifies in what coordinate direction the three-dimensional model is to be arranged and in what direction. Note that a surface drawn as a two-dimensional drawing is referred to as a view (VIEW) in the sense that a surface with a three-dimensional model is viewed.
[0005]
Usually, in the case of the three-dimensional coordinate axes of X, Y, and Z, the front view that can be specified is first an XY plane as a view viewed from the Z-axis direction, a Y-X plane obtained by rotating this 90 degrees clockwise, and further 90 -XY plane rotated 90 degrees, -YX plane rotated 90 degrees, -XY plane viewed from the opposite direction of the Z axis (from the -Z axis direction to + Z direction), and the YX plane rotated 90 degrees clockwise. Further, there are 8 types of X-Y plane rotated 90 degrees and -Y-X plane rotated 90 degrees further, as seen from the Y-axis direction and the X-axis direction and the -Y-axis direction and the -X-axis direction. Since the view is added, there are a total of 24 views. Therefore, the designation of the front view is to designate one of these 24 ways.
(2) Specify a surface other than the front view
This specifies the surface to be created other than the front view. For example, in the case of a three-view view, in addition to the front view, a side view and an upper plan view. A left side view, an upper plan view, a lower plan view, and a rear view are designated.
(3) Specify paper size for drawing 2D drawings
This is to specify the size of the paper for drawing each figure specified in (1) and (2) above. Specify from.
(4) Specifying the scale of the drawing to be created
This designates the scale (scale) of the drawing drawn on the paper, and is usually designated from standardized scales such as 2/1, 1/1, 1/2, 1/4.
(5) Layout of each figure on the paper,
Each figure designated in the above (1) and (2) is designated to be drawn at an appropriate position on the paper designated in the above (3) with the scale designated in the above (4).
[0006]
As described above, in order to create a two-dimensional drawing, at least five items must be specified, and among these, the front view is important.
[0007]
If the front view is specified, the other items will be determined automatically. For example, surfaces other than the front view will be the left and right sides and the top and bottom planes of the front view. The paper size and scale are determined to be a size and scale that allow the front view and other views to be entered. This is because it is only necessary to arrange the view of the area.
[0008]
On the other hand, the front view can basically be any view of the three-dimensional model as a front view, but is not completely free, and is usually specified according to some rule. For example, when drawing a drawing, it is preferable to draw the drawing so that there is little margin on the paper and each drawing has an easy-to-read scale. From this point of view, the designation of the front view is such that when the three-dimensional model is viewed from each axial direction (including when viewed from the (−) minus direction of each axis), the longitudinal direction of the largest surface is It is preferable to specify along the horizontal axis of the two-dimensional drawing. Thus, normally, when a two-dimensional drawing is created by placing a rectangular drawing sheet sideways, the drawing scale can be maximized within the sheet, and an efficient drawing arrangement with less margin can be achieved.
[0009]
However, since this type of front view view is judged by humans by viewing the 3D model, it is easy to make mistakes. For example, if it is specified correctly, it will be placed on the specified size on the specified scale. However, there is a case where a two-dimensional drawing cannot be drawn on a desired sheet or scale because of an incorrect specification. In such a case, the front view must be specified again from the beginning, or if it is worse, it will be necessary to repeat extremely complicated operations such as changing the paper size and scale without noticing the mistake in specifying the front view. It will be.
[0010]
In the first place, the specification of each item as described above is troublesome. Especially when creating a 2D drawing from many 3D models, it is necessary to repeat the specification for each 3D model. Such work is desired to be automated.
[0011]
Accordingly, the present invention provides a two-dimensional drawing creation method capable of automatically creating a two-dimensional drawing without specifying complicated items when creating a two-dimensional plan view from a three-dimensional model on a CAD system. In particular, as described above, it is to provide a two-dimensional drawing creation method capable of automatically specifying the most difficult front view.
[0012]
[Means for Solving the Problems]
The object of the present invention is achieved by the following means.
(1) CAD system automatically A method for creating a two-dimensional drawing from three-dimensional model data, comprising: creating a cubic model including the three-dimensional model from the three-dimensional model data; and A step of detecting a surface having the largest area and extracting the view of the three-dimensional model from the direction when the surface is viewed as a first front view candidate; and when extracting the first front view candidate A step in which the longitudinal direction of the surface of the cubic model is along the horizontal axis of the two-dimensional drawing to be created is extracted from the first front view candidates and is used as a second front view candidate; 3 detected in the step of detecting a surface in the three-dimensional model perpendicular to the longitudinal direction of the surface of the cube model when the front view candidate is extracted and the step of detecting the surface in the three-dimensional model. Of the faces in the dimensional model, A two-dimensional drawing having a step of extracting a second front view candidate from the second front view candidates when a larger face is present, and determining the final front view as a final front view. How to make.
(2) The step of detecting a plane in the three-dimensional model is to search the three-dimensional model data in the longitudinal direction of the plane of the cube model from both ends inward. Dimensional drawing creation method.
(3) CAD system automatically A method for creating a two-dimensional drawing from three-dimensional model data, comprising: creating a cubic model including the three-dimensional model from the three-dimensional model data; and A step of detecting a surface having the largest area and extracting the view of the three-dimensional model from the direction when the surface is viewed as a first front view candidate; and when extracting the first front view candidate When the lengths of the vertical and horizontal sides of the surface of the cube model are the same, the 3D model data is extracted inward from the top, bottom, left, and right directions of the cube model when the first front view candidate is extracted. A two-dimensional drawing created by a portion having the largest area among the surfaces in the three-dimensional model detected in the step of detecting a surface in the three-dimensional model and detecting the surface in the three-dimensional model. Also to the right It was extracted from the first front view candidate, 2-dimensional drawing generation method characterized by comprising the steps, a to determine this the final front view.
(4) The two-dimensional drawing creation method further includes a step of determining a paper size on which the final front view and a predetermined surface drawing are entered according to a predetermined scale. Drawing creation method.
(5) In the step of determining the paper size, a paper size on which the final front view and a predetermined surface figure are entered according to a predetermined scale from among drawing size candidates prepared in advance. At this time, when there is no paper size in which the final front view and the drawing of the predetermined surface are included in the drawing size candidates prepared in advance according to a predetermined scale. Is a method of creating a two-dimensional drawing, wherein the scale is changed.
[0013]
【The invention's effect】
According to the present invention, the following effects can be obtained for each claim.
[0014]
According to the first aspect of the present invention, a cubic model including the cubic model is created from the three-dimensional model data, the one having the largest area of the created cubic model is extracted as the first front view candidate, The one in which the longitudinal direction of the surface is horizontal is extracted as the second front view candidate, and then in the three-dimensional model perpendicular to the longitudinal direction of the surface of the cube model from which the first front view candidate is extracted. A surface is detected, and the surface with the largest area in the detected three-dimensional model facing right is extracted from the second front view candidates, and this is used as the final front view. As a front view, a view as viewed from the direction of the largest area is selected, and this is arranged sideways, so that a front view that can efficiently arrange a two-dimensional drawing on a sheet is provided. Can be determined automatically . In addition, since the side with a large area of the surface in the three-dimensional model is arranged on the right side, the center of gravity side of the three-dimensional model is always arranged on the right side.
[0015]
According to the second aspect of the present invention, when detecting a surface in the three-dimensional model perpendicular to the longitudinal direction of the surface of the cube model when the first front view candidate is extracted, the surface of the cube model is detected. In the longitudinal direction, the three-dimensional model data is searched inward from both ends thereof, so that the side serving as the center of gravity of the three-dimensional model can be detected simultaneously from the two directions.
[0016]
According to the third aspect of the present invention, a cubic model including the cubic model is created from the three-dimensional model data, and the largest area of the created cubic model is extracted as a first front view candidate. A surface in the three-dimensional model is detected from the top, bottom, left, and right directions of the cube model from which the first front view candidate is extracted, and the portion of the detected surface in the three-dimensional model that has the largest area faces the right side of the two-dimensional drawing. In the 3D model in which the front view is selected as the front view and the front view is a square with no difference in length and width, the side with the center of gravity is It will always be automatically placed to the right.
[0017]
According to the fourth aspect of the present invention, the method further includes the step of determining the paper size on which the finally determined front view and the drawings of the other surfaces are entered according to a predetermined scale. It is possible to automatically determine a sheet having a size that can accommodate a two-dimensional drawing drawn by a predetermined scale.
[0018]
According to the present invention as set forth in claim 5, a drawing size prepared in advance at the stage of determining the paper size on which the finally determined front view and the drawings of the other surfaces are entered according to a predetermined scale. The scale is changed when there is no size that can accommodate all the area drawings, so if there is no paper of a size that can accommodate all the faces with a predetermined scale, it will be prepared in advance. The scale is automatically changed so that it fits on the existing paper, and the optimum scale for the paper is determined.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.
[0020]
FIG. 1 is a main flowchart showing a processing procedure for creating a two-dimensional drawing according to an embodiment to which the present invention is applied. FIGS. 2 to 4 are subroutine flowcharts of main steps in the main flowchart.
[0021]
In the present embodiment, as shown in FIG. 12, a case where a three-dimensional model 1 of a clamp jig used in a production line for an automobile body is converted into a two-dimensional drawing as a three-dimensional view 20 will be described as an example.
[0022]
As shown in FIG. 1, the basic processing procedure of the two-dimensional drawing creation method according to the present embodiment is as follows. First, a three-dimensional model for creating a two-dimensional drawing from three-dimensional model data stored in advance in a CAD system. Is specified, and how many planes (for example, 3 planes and 6 planes) are to be created is specified (S1). At this time, a plurality of three-dimensional models may be selected. In this case, the following steps S2 to 5 are repeatedly executed for each selected model. In the present embodiment, as described above, a clamp jig is designated as the three-dimensional model, and a three-dimensional view is designated as the two-dimensional drawing to be created.
[0023]
Subsequently, a front view view determination process using the three-dimensional model data is performed (S2), a paper size and drawing scale determination process (S3), and a drawing layout process are performed (S4). A two-dimensional drawing is output from a printer (or plotter) connected to the CAD system (S5).
[0024]
Next, the procedure for determining the front view in the above basic procedure will be described with reference to FIG.
[0025]
First, the maximum value and the minimum value from the origin are determined for each of the X, Y, and Z axes of the three-dimensional coordinates from the data of one selected three-dimensional model (S201). From the minimum value, as shown in FIG. 5, the cubic model 10 including the entire three-dimensional model 1 and including a plane parallel to each coordinate axis is drawn (S202). In step S201, the maximum value and the minimum value are obtained because the size of the three-dimensional model is calculated from the origin on the three-dimensional coordinate based on the coordinate position. For example, one end of the three-dimensional model is obtained. When the part is placed at the origin of the three-dimensional coordinates, it is only necessary to obtain the maximum value. Further, a cube model including the three-dimensional model may be directly drawn from the dimension data of the three-dimensional model without going through S201.
[0026]
Subsequently, the areas of three planes (XY plane, YZ plane, ZX plane) viewed from each axial direction of the obtained cube model 10 are obtained (S203).
[0027]
Then, the same direction as the direction of viewing the surface having the largest area among the obtained areas is set as a first front view view candidate (first front view candidate) (S204). As a result, in the case of the three-dimensional model 1, the plane viewed from the Z-axis direction has the largest area, and therefore, the front view view candidates include the YX plane, the −XY plane, the −YX plane, and the −XY plane. Eight types of plane, YX plane, XY plane, and -YX plane are extracted.
[0028]
Subsequently, the lengths of the vertical and horizontal sides of the surface of the cubic model 10 from which the first front view candidate is obtained are compared (S205).
[0029]
As a result of the comparison, if it is determined that the vertical and horizontal lengths are different (S206), then a view in which the longitudinal direction of the surface of the cube model is horizontal is selected from the first front view candidates. It is selected as a figure view candidate (second front view candidate) (S207). In the three-dimensional model 1, since the Y-axis direction is longer than the X-axis direction, candidates for the second front view of the three-dimensional model are the -Y-X plane (FIG. 6A), Y-X, as shown in FIG. There are four views (VIEW) of the plane (FIG. 6B), the −YX plane (FIG. 6C), and the YX plane (FIG. 6D).
[0030]
Subsequently, the three-dimensional model data is searched simultaneously from the two positive and negative directions of the axis along the longitudinal direction from both longitudinal ends of the cube model 10 inward from the longitudinal end positions, A plane perpendicular to the longitudinal direction in the three-dimensional model is detected (S208). Therefore, in the three-dimensional model 1, as shown in FIG. 7, the search is started simultaneously from the two directions of the + Y axis direction and the −Y axis direction.
[0031]
On the other hand, in the comparison of the vertical and horizontal sides in step S205, when it is determined that there is no difference between the vertical and horizontal sides (S206), the four directions of the top, bottom, left and right of the surface when the candidate for the first front view is extracted. At the same time, a plane in the three-dimensional model is searched (S209). Therefore, in this case, if the first front view candidate is viewed from the Z-axis direction, the search is started simultaneously from the four directions of + X-axis direction, -X-axis direction, + Y-axis direction, and -Y-axis direction. Will do.
[0032]
Subsequently, as a result of searching for the faces in the three-dimensional model in step S208 or S209, the faces found first are compared (S210).
[0033]
Then, as a result of the comparison, when it is determined that the areas of the surfaces in the three-dimensional model are different (S211), a front view that faces the right as a two-dimensional drawing created by the one having the largest area. A view is selected from the second front view view candidates when the steps S207 and S208 have been performed, and this is determined as the final front view (S212). Thereby, in the case of the three-dimensional model 1, as shown in FIG. 8, the view of the YX plane is determined as the final front view. On the other hand, if step S209 has been performed, the first front view view candidate is selected and determined as the final front view.
[0034]
In the step 210, if the areas are the same as a result of comparing the first faces found (S211), either one of them may be the right side. For example, a code is attached to each view in advance. In the same manner as described above, the front view view candidate is selected so that the code number with the younger side is on the right side (S213).
[0035]
Here, the processing in steps S210 to S213 is processing for detecting the center of gravity position in the three-dimensional model. Usually, the center of gravity position of the three-dimensional model is on the side having the largest area. Judgment is made by detecting the inner surface. In particular, as in the present embodiment, when the 3D model is a clamp jig, the clamp jig has a pedestal on the ground side, so there is a clear difference in the size of the top and bottom direction as the shape of the 3D model, and Since there is a large area on the ground side, the ground side with the center of gravity of the clamp jig can be detected efficiently by such processing. In the case where the difference in area in the top-and-bottom direction of the three-dimensional model is small, instead of such processing, all of the searched surfaces may be compared and the one with the largest area may be the right side. .
[0036]
When the final front view is determined as described above, the process returns to the main routine.
[0037]
Next, a procedure for determining the paper size and the drawing scale will be described with reference to FIG.
[0038]
First, the drawing scale is set to 1/1 (S301). Note that the value 1/1 of the scale is set in advance, and other values may be set.
[0039]
Subsequently, the minimum required rectangle size of the drawing drawn on the paper is obtained from the finally determined front view, created view, and scale (S302). This process is a process performed to obtain a minimum size necessary for drawing creation. In addition, since the three views are created in this embodiment, the views to be created are two views of the left side view and the upper plan view in addition to the front view.
[0040]
The sizes of these views can be easily obtained from the above-described cube model because the front view is already determined at this point. In the case of the present embodiment, as shown in FIG. 9, the horizontal length of the front view on the drawing created by multiplying the length of A of the cubic model 10 including the three-dimensional model 1 by the scale value. The length of B multiplied by the scale value is the horizontal length of the left side view. Therefore, the minimum required horizontal length of the rectangle is (A + B) × scale value. On the other hand, the vertical length of the rectangle is obtained by multiplying the length of C in FIG. 9 by the scale value to obtain the vertical length of the front view, and the length of B multiplied by the scale value is the upper plane. This is the vertical length of the figure. Therefore, the minimum vertical length of the rectangle is (C + B) × scale value. FIG. 10 shows the positional relationship between A, B, and C when actually drawn as a drawing.
[0041]
Subsequently, a blank for entering dimensions and balloons is added to the size of the rectangle obtained in step S302 to obtain a size rectangle necessary for drawing creation (S302). For this, for example, a certain value as a margin may be added to the size of the rectangle obtained in step S302, or it may be increased at a certain magnification. The rectangular size obtained here is referred to as the final drawing size. Specifically, for example, it may be set in advance so as to take a 20-m margin on each side view, and this may be added to each view. As a result, as shown in FIG. 10, a final drawing size in which each surface view including a margin is included is obtained.
[0042]
Next, the final drawing size obtained is within the effective range in which a drawing in the paper can be created, and the smallest paper size is selected from among the paper size candidates prepared in advance. (S304). Here, the paper size candidates prepared in advance are, for example, JIS-A series paper, such as A3, A2, A1, A0, 1.5 AO, and 2A0. Therefore, for example, when A1, A0, 1.5A0, and 2A0 can be selected as the size of the final drawing size, the smallest A1 is selected. Here, if there is no paper size that can be selected, paper NG is output.
[0043]
Subsequently, it is determined whether or not the sheet NG is output (S305).
[0044]
Here, when the paper size can be selected, it is determined to use the selected paper size and the current scale value (S306), and the process returns to the main routine. On the other hand, when the paper size cannot be selected, the scale value is scaled down (S307). Therefore, for example, when the scale value is 1/1, the scale value is changed to 1/2, and when the scale value is 1/2, the scale value is changed to 1/4. Then, the process returns to step S302, and the subsequent processing is repeatedly executed. Finally, in step S307, the paper size and scale value in which all view drawings are included are determined.
[0045]
Next, a drawing layout procedure will be described with reference to FIG.
[0046]
First, the front view and each view drawing on the other surface are arranged with a preset margin (S401). Here, since the three-side view is created, the paper size and the drawing scale are determined based on the front view, the left side view, and the upper plan view that are finally obtained by the above-described front view determination process. The scale is determined by the scale value determined by the processing, and a margin set in advance in a rectangle of the final drawing size, for example, 20 mm is taken up and down on the left and right and up and down for each plan view. Thereby, the arrangement of each view as shown in FIG. 11A is determined.
[0047]
Subsequently, the center 7 of the rectangle 5 having the final drawing size obtained in the above-described paper size and drawing scale determination processing is obtained (S402) (see FIG. 11A).
[0048]
Subsequently, the center 27 within the effective range 23 for creating the drawing in the paper 21 having the paper size determined by the paper size and drawing scale determination processing described above is obtained (S403). As shown in FIG. 11B, the effective range 23 is usually provided with a column 25 for entering the title and number of the drawing in the sheet 21, so that the drawing is not applied to these columns 25. The range that can be drawn is referred to herein as the effective range 23.
[0049]
Subsequently, as shown in FIGS. 11A and 11B, the center 7 of the final drawing size 5 obtained in step S402 and the center 27 of the effective range 23 of the paper 21 are combined, and each view performed in step S401 is performed. According to the arrangement, a drawing layout for arranging each view in the sheet 21 is determined (S404). Then, the process returns to the main routine.
[0050]
Since the drawing layout of each view has been determined as described above, the main routine outputs the drawing of each view on a sheet according to this.
[0051]
In the present embodiment described above, the part that requires manual operation is basically only the designation of the three-dimensional model to be converted into a two-dimensional drawing and the designation of the plane view, and all other parts are automatically determined. Therefore, it is possible to create a two-dimensional drawing from the three-dimensional model data with a very simple operation and without mistakes.
[0052]
In the above-described embodiment, the clamp jig is described as an example of the three-dimensional model. However, the present invention is not limited to such a three-dimensional model, and can be suitably used for various three-dimensional models. can do. Further, the present invention is not limited to the three-view drawing, and can be applied to the creation of a six-view drawing or a larger number (or fewer) two-dimensional drawings.
[Brief description of the drawings]
FIG. 1 is a main flowchart showing a processing procedure for making a three-dimensional model into a two-dimensional drawing by applying the present invention.
FIG. 2 is a subroutine flowchart showing a procedure for determining a front view in the main flowchart shown in FIG. 1;
FIG. 3 is a subroutine flowchart showing a procedure for determining a scale in the main flowchart shown in FIG. 1;
4 is a subroutine flowchart showing a procedure of drawing layout processing in the main flowchart shown in FIG. 1. FIG.
FIG. 5 is a perspective view for explaining a cubic model including a three-dimensional model (X, Y, and Z in the figure indicate three-dimensional coordinates).
FIG. 6 is a drawing showing candidates for a front view.
FIG. 7 is a perspective view for explaining search of a surface in a three-dimensional model (X, Y, and Z in the figure indicate three-dimensional coordinates).
FIG. 8 is a drawing showing a front view that is finally determined.
FIG. 9 is a perspective view of a three-dimensional model for explaining a paper size and scale determination process (note that X, Y, and Z indicate three-dimensional coordinates in the figure).
FIG. 10 is a diagram showing a state in which the paper size and scale determination processing is actually arranged as a two-dimensional drawing for explaining the processing.
FIG. 11 is a drawing for explaining a drawing layout;
FIG. 12 is a diagram illustrating an example of creating a two-dimensional drawing from a three-dimensional model.
[Explanation of symbols]
1 ... 3D model,
2 ... 2D drawings,
10 ... Cube model.

Claims (5)

CADシステムが自動的に3次元モデルデータから2次元図面を作成する方法であって、
前記3次元モデルデータから、前記3次元モデルを包含する立方体モデルを作成する段階と、
該作成した立方体モデルの中から、各面の面積が最大の面を検出して、その面を見たときの方向から前記3次元モデルを見た図を第1正面図候補として抽出する段階と、
前記第1正面図候補を抽出したときの前記立方体モデルの面の長手方向が作成する2次元図面の横軸に沿うものを、前記第1正面図候補の中から抽出して、これを第2正面図候補とする段階と、
前記第1正面図候補を抽出したときの前記立方体モデルの面の長手方向に対して垂直な前記3次元モデル内の面を検出する段階と、
前記3次元モデル内の面を検出する段階で検出された3次元モデル内の面のうち、面積の最も大きな面がある方が、右側を向いているものを前記第2正面図候補のなかから抽出して、これを最終的な正面図に決定する段階と、を有することを特徴とする2次元図面作成方法。
A CAD system for automatically creating a 2D drawing from 3D model data,
Creating a cubic model including the three-dimensional model from the three-dimensional model data;
A step of detecting a surface having the maximum area of each surface from the created cubic model and extracting a view of the three-dimensional model from a direction when the surface is viewed as a first front view candidate; ,
The one along the horizontal axis of the two-dimensional drawing created by the longitudinal direction of the surface of the cube model when the first front view candidate is extracted is extracted from the first front view candidates, A stage to be a front view candidate,
Detecting a surface in the three-dimensional model perpendicular to the longitudinal direction of the surface of the cube model when the first front view candidate is extracted;
Of the faces in the 3D model detected in the stage of detecting the faces in the 3D model, the one with the largest area is the one facing the right side from the second front view candidates. Extracting and determining the final front view as a two-dimensional drawing creation method.
前記3次元モデル内の面を検出する段階は、
前記立方体モデルの面の長手方向に、その両端から内側へ向かって前記3次元モデルデータを検索するものであることを特徴とする請求項1記載の2次元図面作成方法。
Detecting a surface in the three-dimensional model comprises:
2. The two-dimensional drawing creation method according to claim 1, wherein the three-dimensional model data is searched inward from both ends in the longitudinal direction of the surface of the cube model.
CADシステムが自動的に3次元モデルデータから2次元図面を作成する方法であって、
前記3次元モデルデータから、前記3次元モデルを包含する立方体モデルを作成する段階と、
該作成した立方体モデルの中から、各面の面積が最大の面を検出して、その面を見たときの方向から前記3次元モデルを見た図を第1正面図候補として抽出する段階と、
前記第1正面図候補を抽出したときの前記立方体モデルの面の縦横の辺の長さが同じ場合に、前記3次元モデルデータから、前記第1正面図候補を抽出したときの前記立方体モデルの上下左右の方向からそれぞれ内側へ、前記3次元モデル内の面を検出する段階と、
前記3次元モデル内の面を検出する段階で検出された3次元モデル内の面のうち、面積の最も大きな面がある部分が作成する2次元図面の右側に向くものを前記第1正面図候補の中から抽出して、これを最終的な正面図に決定する段階と、を有することを特徴とする2次元図面作成方法。
A CAD system for automatically creating a 2D drawing from 3D model data,
Creating a cubic model including the three-dimensional model from the three-dimensional model data;
A step of detecting a surface having the maximum area of each surface from the created cubic model and extracting a view of the three-dimensional model from a direction when the surface is viewed as a first front view candidate; ,
When the lengths of the vertical and horizontal sides of the surface of the cube model when the first front view candidate is extracted are the same, the cube model when the first front view candidate is extracted from the three-dimensional model data. Detecting a surface in the three-dimensional model inward from the top, bottom, left, and right directions;
Of the faces in the three-dimensional model detected in the step of detecting the faces in the three-dimensional model, the first front view candidate is the one facing the right side of the two-dimensional drawing created by the portion having the largest area. Extracting from the above and determining the final front view. The method for creating a two-dimensional drawing.
2次元図面作成方法は、さらに、予め決められたスケールによって、前記最終的な正面図と予め決められた面の図が入る用紙サイズを決定する段階を有することを特徴とする請求項1または請求項3記載の2次元図面作成方法。2. The two-dimensional drawing creation method further comprises a step of determining a paper size on which the final front view and a predetermined plane view are entered according to a predetermined scale. Item 2. A method for creating a two-dimensional drawing according to Item 3. 前記用紙サイズを決定する段階は、予め用意されている図面サイズ候補の中から、予め決められたスケールによって、前記最終的な正面図と予め決められた面の図が入る用紙サイズを決定するものであり、このとき前記予め用意されている図面サイズ候補の中に、予め決められたスケールによって、前記最終的な正面図と予め決められた面の図が入る用紙サイズがない場合には、前記スケールを変更することを特徴とする請求項4記載の2次元図面作成方法。The step of determining the paper size is to determine a paper size in which the final front view and a predetermined surface figure are included according to a predetermined scale from among drawing size candidates prepared in advance. At this time, when there is no paper size that can be used for the drawing of the final front view and the predetermined plane according to a predetermined scale among the drawing size candidates prepared in advance, 5. The two-dimensional drawing creation method according to claim 4, wherein the scale is changed.
JP02073699A 1999-01-28 1999-01-28 2D drawing creation method Expired - Fee Related JP3744243B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02073699A JP3744243B2 (en) 1999-01-28 1999-01-28 2D drawing creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02073699A JP3744243B2 (en) 1999-01-28 1999-01-28 2D drawing creation method

Publications (2)

Publication Number Publication Date
JP2000222599A JP2000222599A (en) 2000-08-11
JP3744243B2 true JP3744243B2 (en) 2006-02-08

Family

ID=12035492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02073699A Expired - Fee Related JP3744243B2 (en) 1999-01-28 1999-01-28 2D drawing creation method

Country Status (1)

Country Link
JP (1) JP3744243B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5237861B2 (en) * 2009-03-11 2013-07-17 ドゥーマンズ株式会社 Multi-front structure design support device and control program therefor
KR101174093B1 (en) 2011-04-25 2012-08-14 한국기계연구원 A geometry representing system of 3d convex object using geometric texture and driving method thereof
JP6742768B2 (en) * 2016-03-17 2020-08-19 株式会社ア−キテック Image image output device and image image output program
JP6857052B2 (en) * 2017-03-03 2021-04-14 株式会社キーエンス Robot setting device, robot setting method, robot setting program, computer-readable recording medium, and recording equipment
JP6889574B2 (en) * 2017-03-03 2021-06-18 株式会社キーエンス Robot setting device, robot setting method, robot setting program, computer-readable recording medium, and recording equipment
JP7798135B2 (en) * 2024-06-10 2026-01-14 日本電気株式会社 Information processing device, display system, data generation method and program

Also Published As

Publication number Publication date
JP2000222599A (en) 2000-08-11

Similar Documents

Publication Publication Date Title
US11720079B2 (en) System and method for computer numerical control (CNC) tool without undercut features operations planning with the aid of a digital computer
Spitz et al. Accessibility analysis for planning of dimensional inspection with coordinate measuring machines
Grimstead et al. Creating solid models from single 2D sketches
Li et al. Arc–surface intersection method to calculate cutter–workpiece engagements for generic cutter in five-axis milling
EP1995673A1 (en) Computer-aided design apparatus
US8255077B2 (en) Apparatus, method and program for creating tool reference plane
US6862560B1 (en) Machining simulation method and apparatus
JP3744243B2 (en) 2D drawing creation method
US6735489B1 (en) Horizontally structured manufacturing process modeling
JP2000331194A (en) Shape model simplification method
US8477133B2 (en) Method and apparatus for generating three-dimensional finite element mesh
JPH10149432A (en) 3D shape search device
JP2002207504A (en) Three-dimensional shape data generation method and three-dimensional shape data generation device
Yau et al. Adaptive NC simulation for multi-axis solid machining
JP3626793B2 (en) Conversion method from 2D CAD diagram to 3D CAD diagram
JP7801549B1 (en) 3D data creation method and 3D data creation system
Tangelder et al. Freeform shape machining using Minkowski operations
JP4237180B2 (en) Unprocessed shape extraction device and extraction method
JPS63237839A (en) Automatic creating device for machining data by two-dimensional cad drawing
JPWO1997013221A1 (en) Drawing Creation Equipment
JP2710380B2 (en) Device for checking interference between parts
JP2518935B2 (en) Housing design support equipment
Ngoi et al. Modular fixture design: a designer's assistance
JP4622987B2 (en) Tool reference plane data creation device and creation method
JPH01291379A (en) 3D object interference check method and device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050621

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050804

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051101

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051114

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees