JP2000222599A - Two-dimensional drawing preparing method - Google Patents

Two-dimensional drawing preparing method

Info

Publication number
JP2000222599A
JP2000222599A JP11020736A JP2073699A JP2000222599A JP 2000222599 A JP2000222599 A JP 2000222599A JP 11020736 A JP11020736 A JP 11020736A JP 2073699 A JP2073699 A JP 2073699A JP 2000222599 A JP2000222599 A JP 2000222599A
Authority
JP
Japan
Prior art keywords
view
dimensional
dimensional model
model
size
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.)
Granted
Application number
JP11020736A
Other languages
Japanese (ja)
Other versions
JP3744243B2 (en
Inventor
Yasushi Kanazawa
泰 金沢
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

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To automate a two-dimensional(2D) drawing preparation without complicated item designation by extracting the face, which has the largest area among planes in a 3D model, turned to the right out of second front view candidates and defining it as the final front view. SOLUTION: The lengths of longitudinal and lateral sides of the planes of a cubic model 10 that has obtained first front view candidate, are compared (S205). When the absence of a difference between the longitudinal and lateral sides is judged in that comparison (S206), the planes in the 3D model are simultaneously retrieved from four directions of up, down, left and right at the time of extracting the first front view candidates (S209). As a result, the first discovered planes are mutually compared (S210). When the areas of planes in the 3D model are judged different as a result (S211), the front view having the plane of the largest area turned to the right is selected as a 2D drawing to be prepared and this is determined as the final front view.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、CAD図面のデー
タを用いて、3次元モデルから正面図や側面図、平面図
と言った2次元図面を作成する方法に関する。
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 data of a CAD drawing.

【0002】[0002]

【従来の技術】従来、CAD図面のデータを用いて、3
次元モデルから正面図や側面図、平面図と言った2次元
図面を作成する方法は、3次元モデルの中の任意の方向
から見た面を正面図として決定し、これを規準に、例え
ば、側面図や平面図と言ったものを加えて、いわゆる3
面図、あるいは6面図などを作成するものである。
2. Description of the Related Art Conventionally, using data of a CAD drawing,
A method of creating a two-dimensional drawing such as a front view, a side view, and a plan view from a three-dimensional model determines a surface viewed from an arbitrary direction in a three-dimensional model as a front view, and based on this, for example, In addition to the side view and plan view, the so-called 3
This is for creating a plan view, a six-view drawing, and the like.

【0003】具体的には、図12Aに示すような3次元
モデル1から、図12Bに示すような2次元図面(3面
図)20を描き起こす場合に、まず、正面図とする面を
決定して、これに側面図および平面図を加えて3面図2
0とするようなものである。。
More specifically, when a two-dimensional drawing (three-view drawing) 20 as shown in FIG. 12B is drawn from a three-dimensional model 1 as shown in FIG. 12A, first, a surface to be a front view is determined. Then, the side view and the plan view are added to this,
It is like setting it to 0. .

【0004】[0004]

【発明が解決しようとする課題】ところで、このような
2次元図面を作成する場合、少なくとも下記のような項
目を指定する必要がある。 正面図ビューの指定 これは、2次元図面の正面図として、3次元モデルをど
のような座標方向から見て、どの様な向きに配置するか
を指定するものである。なお、2次元図面として描かれ
る面を、3次元モデルのある面を見ると言う意味からビ
ュー(VIEW)と称する。
When such a two-dimensional drawing is created, it is necessary to specify at least the following items. Designation of a front view view This is to designate a coordinate view of the three-dimensional model and a direction in which the three-dimensional model is to be arranged as a front view of the two-dimensional drawing. Note that a surface drawn as a two-dimensional drawing is referred to as a view (VIEW) from the viewpoint of seeing a certain surface of a three-dimensional model.

【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通りのうちのいずれかを指定するものとなる。 正面図以外の面の指定 これは、正面図以外に作成する面を指定するもので、例
えば3面図の場合、正面図の他、側面図と上平面図、ま
た、6面図では、正面図の他、右側面図、左側面図、上
平面図、下平面図、および背面図が指定される。 2次元図面を描く用紙サイズの指定 これは、上記およびで指定した各図を描く用紙の大
きさを指定するもので、通常、A3,A2,A1,A
0,1.5AO,2A0などのJIS用紙サイズの中か
ら指定する。 作成する図面のスケールの指定 これは、用紙上に描く図面の縮尺(スケール)を指定す
るもので、通常、2/1,1/1,1/2,1/4など
の規格化された縮尺の中から指定する。 用紙上への各図のレイアウト、 上記およびで指定した各図を、上記で指定した用
紙上に、上記で指定したスケールで、適切な位置に描
くように指定するものである。
[0005] Normally, in the case of 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, and a Y rotated by 90 degrees clockwise.
-X plane, further rotated by 90 degrees -XY plane, further 90
-YX plane rotated by degrees, -XY plane viewed from the opposite direction of Z axis (+ Z direction from -Z axis direction), YX plane rotated by 90 degrees clockwise, XY plane further rotated by 90 degrees, Furthermore, there are eight types of -YX plane rotated 90 degrees.
Furthermore, since the views viewed from the Y-axis direction and the X-axis direction and from the -Y-axis direction and the -X-axis direction are added, there are a total of 24 views. Therefore, the designation of the front view is to designate any one of these 24 ways. Designation of a surface other than the front view This designates a 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, and in the six-view view, a front view In addition to the figures, a right side view, a left side view, an upper plan view, a lower plan view, and a rear view are designated. Designation of the paper size for drawing the two-dimensional drawing This specifies the size of the paper for drawing each figure specified above and above, and is usually A3, A2, A1, A
Designate from JIS paper sizes such as 0, 1.5 AO, 2A0. Designation of the scale of the drawing to be created This specifies the scale (scale) of the drawing to be drawn on the paper, and is usually a standardized scale such as 2/1, 1/1, 1/2, 1/4 Specify from among. The layout of each figure on a sheet is specified so that each figure specified in the above and is drawn at an appropriate position on the paper specified above on the scale specified above.

【0006】以上のように、2次元図面を作成するため
には少なくとも5項目の指定が必要であり、中でも、正
面図の指定は重要である。
As described above, in order to create a two-dimensional drawing, it is necessary to specify at least five items, and the specification of the front view is particularly important.

【0007】これは、正面図ビューが指定されれば、そ
の他の項目は自ずと決まってくるものであり、例えば正
面図以外の面は、正面図が決まればそれに対して左右の
側面や上下の平面となるものが決定され、用紙サイズや
スケールは正面図と他の面図が入るようなサイズやスケ
ールに決められるものであり、また、図面レイアウトに
しても正面図ビューが決まれば、それを基準にして他の
面図のビューを配置すればよいからである。
If a front view is designated, the other items are automatically determined. For example, if the front view is determined, the left and right side surfaces and the upper and lower planes are determined when the front view is determined. The paper size and scale are determined so that the front view and other views can be inserted. This is because the view of another view may be arranged.

【0008】これに対し、正面図ビューは、基本的に3
次元モデルのどのビューを正面図としてもよいが、まっ
たく自由に指定してよいというものではなく、通常何等
かの規定に従って指定される。例えば、図面を描く場
合、用紙に対して余白が少なく、各図が見やすいスケー
ルとなるように描くことが好ましいとされている。この
ような観点から、正面図ビューの指定は、3次元モデル
を各軸方向から見たとき(各軸の(−)マイナス方向か
ら見た場合を含む)に最も大きくなる面の長手方向が、
2次元図面の横軸に沿うように指定することが好まし
い。これにより、通常、長方形の図面用紙を横にして2
次元図面を作成したときに、図面のスケールを用紙内で
最大にとることができ、かつ、余白の少ない効率的な図
面配置となる。
On the other hand, the front view is basically 3
Although any view of the dimensional model may be a front view, it is not necessarily specified freely, and is usually specified according to some rule. For example, when drawing a drawing, it is said that it is preferable to draw the drawing so that the margin is small on a sheet and each drawing has a scale that is easy to see. From this point of view, the designation of the front view is such that when the 3D model is viewed from each axis direction (including when viewed from the (-) minus direction of each axis),
It is preferable that the designation be made along the horizontal axis of the two-dimensional drawing. As a result, a rectangular drawing sheet is usually set horizontally for two
When a dimensional drawing is created, the scale of the drawing can be maximized in the paper, and an efficient drawing arrangement with a small margin can be obtained.

【0009】ところが、このような正面図ビューの指定
は3次元モデルを人間が見て判断するため、間違いが起
こりやすく、例えば正確に指定されていれば、指定した
大きさの用紙に、指定したスケールで配置することがで
きるところ、間違った指定をしたために、所望の用紙や
スケールでは、2次元図面を描くことができないような
ことが起こる。このような場合、初めから正面図の指定
をしなおしたり、悪くすると、正面図の指定の間違えに
気が付かずに、用紙サイズやスケールを変更するなど、
非常に繁雑な作業を繰り返し行わなければならないこと
になる。
However, since such a front view view is specified by a human looking at the three-dimensional model, an error is likely to occur. For example, if the specification is accurate, the specified size paper is specified. Although it is possible to arrange on a scale, two-dimensional drawings cannot be drawn on a desired sheet or scale due to an incorrect specification. In such a case, the front view is redesignated from the beginning, or if it is worse, the paper size or scale can be changed without noticing the mistake of the front view designation.
You have to do very complicated work repeatedly.

【0010】また、そもそも、上記したような各項目の
指定自体が面倒であり、特に多くの3次元モデルから2
次元図面を作成する場合には、1つの3次元モデルごと
に指定を繰り返す必要があり、このような作業は自動化
することが望まれている。
[0010] In the first place, the specification itself of each item as described above is troublesome.
When creating a three-dimensional drawing, it is necessary to repeat the designation for each three-dimensional model, and it is desired to automate such operations.

【0011】そこで、本発明は、CADシステム上で、
3次元モデルから2次元平面図を作成する際に、繁雑な
項目指定を行うことなく自動的に2次元図面を作成する
ことができる2次元図面作成方法を提供することであ
り、中でも、上記したように、最も難しい正面図の指定
を自動的に行うことができる2次元図面作成方法を提供
することである。
Therefore, the present invention provides a CAD system
It is an object of the present invention to provide a two-dimensional drawing creation method that can automatically create a two-dimensional drawing without performing complicated item designation when creating a two-dimensional plan from a three-dimensional model. As described above, an object of the present invention is to provide a two-dimensional drawing creation method capable of automatically specifying the most difficult front view.

【0012】[0012]

【課題を解決するための手段】本発明の目的は、下記す
る手段により達成される。 (1)3次元モデルデータから2次元図面を作成する方
法であって、前記3次元モデルデータから、前記3次元
モデルを包含する立方体モデルを作成する段階と、該作
成した立方体モデルの中から、各面の面積が最大の面を
検出して、その面を見たときの方向から前記3次元モデ
ルを見た図を第1正面図候補として抽出する段階と、前
記第1正面図候補を抽出したときの前記立方体モデルの
面の長手方向が作成する2次元図面の横軸に沿うもの
を、前記第1正面図候補の中から抽出して、これを第2
正面図候補とする段階と、前記第1正面図候補を抽出し
たときの前記立方体モデルの面の長手方向に対して垂直
な前記3次元モデル内の面を検出する段階と、前記3次
元モデル内の面を検出する段階で検出された3次元モデ
ル内の面のうち、面積の最も大きな面がある方が、右側
を向いているものを前記第2正面図候補のなかから抽出
して、これを最終的な正面図に決定する段階と、を有す
ることを特徴とする2次元図面作成方法。 (2)前記3次元モデル内の面を検出する段階は、前記
立方体モデルの面の長手方向に、その両端から内側へ向
かって前記3次元モデルデータを検索するものであるこ
とを特徴とする2次元図面作成方法。 (3)3次元モデルデータから2次元図面を作成する方
法であって、前記3次元モデルデータから、前記3次元
モデルを包含する立方体モデルを作成する段階と、該作
成した立方体モデルの中から、各面の面積が最大の面を
検出して、その面を見たときの方向から前記3次元モデ
ルを見た図を第1正面図候補として抽出する段階と、前
記第1正面図候補を抽出したときの前記立方体モデルの
面の縦横の辺の長さが同じ場合に、前記3次元モデルデ
ータから、前記第1正面図候補を抽出したときの前記立
方体モデルの上下左右の方向からそれぞれ内側へ、前記
3次元モデル内の面を検出する段階と、前記3次元モデ
ル内の面を検出する段階で検出された3次元モデル内の
面のうち、面積の最も大きな面がある部分が作成する2
次元図面の右側に向くものを前記第1正面図候補の中か
ら抽出して、これを最終的な正面図に決定する段階と、
を有することを特徴とする2次元図面作成方法。 (4)2次元図面作成方法は、さらに、予め決められた
スケールによって、前記最終的な正面図と予め決められ
た面の図が入る用紙サイズを決定する段階を有すること
を特徴とする2次元図面作成方法。 (5)前記用紙サイズを決定する段階は、予め用意され
ている図面サイズ候補の中から、予め決められたスケー
ルによって、前記最終的な正面図と予め決められた面の
図が入る用紙サイズを決定するものであり、このとき前
記予め用意されている図面サイズ候補の中に、予め決め
られたスケールによって、前記最終的な正面図と予め決
められた面の図が入る用紙サイズがない場合には、前記
スケールを変更することを特徴とする2次元図面作成方
法。
The object of the present invention is achieved by the following means. (1) A method of 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; Detecting a surface having the largest area of each surface and extracting a view of the three-dimensional model from a direction in which the surface is viewed as a first front view candidate; and extracting the first front view candidate The longitudinal direction of the face of the cubic model at this time is extracted from the first front view candidate along the horizontal axis of the two-dimensional drawing to be created, and is extracted as the second one.
Making a front view candidate; detecting a face in the three-dimensional model perpendicular to a longitudinal direction of the face of the cubic model when the first front view candidate is extracted; Among the faces in the three-dimensional model detected in the step of detecting the face, the face having the largest area is extracted from the second front view candidate, and the face facing the right side is extracted. Determining a final front view of the two-dimensional drawing. (2) The step of detecting a surface in the three-dimensional model includes retrieving the three-dimensional model data from both ends to the inside in the longitudinal direction of the surface of the cubic model. How to create 3D drawings. (3) 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; Detecting a surface having the largest area of each surface and extracting a view of the three-dimensional model from a direction in which the surface is viewed as a first front view candidate; and extracting the first front view candidate When the length of the vertical and horizontal sides of the surface of the cubic model is the same, when the first front view candidate is extracted from the three-dimensional model data, inward from the top, bottom, left, and right directions of the cubic model, respectively. Detecting a surface in the three-dimensional model, and creating a part having a surface having the largest area among the surfaces in the three-dimensional model detected in the step of detecting the surface in the three-dimensional model.
Extracting the one facing the right side of the three-dimensional drawing from among the first front view candidates and determining this as the final front view;
A two-dimensional drawing creation method, comprising: (4) The two-dimensional drawing creation method further includes a step of determining, based on a predetermined scale, a sheet size on which the final front view and the predetermined surface drawing are to be inserted. Drawing creation method. (5) The step of determining the paper size includes, using a predetermined scale from among the drawing size candidates prepared in advance, changing the paper size in which the final front view and the drawing of the predetermined surface are included. At this time, if there is no sheet size in which the final front view and the figure of the predetermined surface can be entered by the predetermined scale in the previously prepared drawing size candidates. Is a method for creating a two-dimensional drawing, wherein the scale is changed.

【0013】[0013]

【発明の効果】本発明によれば、請求項ごとに以下のよ
うな効果を奏する。
According to the present invention, the following effects can be obtained for each claim.

【0014】請求項1記載の本発明によれば、3次元モ
デルデータから、これを包含する立方体モデルを作成し
て、作成した立方体モデルの最大面積のものを第1正面
図候補として抽出し、続いて、その中から面の長手方向
が横向きになるものを第2正面図候補として抽出し、続
いて、第1正面図候補を抽出した立方体モデルの面の長
手方向に対して垂直な3次元モデル内の面を検出し、検
出した3次元モデル内の面のうちの最大面積となる方が
右側を向いているものを第2正面図候補のなかから抽出
して、これを最終的な正面図とすることとしたので、正
面図として最も大きな面積となる方向から見た図が選択
され、かつ、これが横向きに配置されるので、用紙に対
して効率よく2次元図面を配置することができる正面図
を自動的に決定することができる。また、3次元モデル
内の面の大きい面積のある側を右側に配置するようにし
たので、3次元モデルの重心側が必ず右側へくるように
配置されるようになる。
According to the first aspect of the present invention, a cubic model containing the three-dimensional model data is created, and the largest area of the created cubic model is extracted as a first front view candidate. Subsequently, a candidate in which the longitudinal direction of the surface is horizontal is extracted as a second front view candidate from among them, and subsequently, a three-dimensional image perpendicular to the longitudinal direction of the surface of the cube model from which the first front view candidate is extracted is extracted. A surface in the model is detected, and a surface having the largest area of the detected surface in the three-dimensional model, which is directed to the right, is extracted from the second front view candidates, and is extracted as a final front view. Since the figure is selected, the figure viewed from the direction having the largest area as the front view is selected and the figure is arranged horizontally, so that the two-dimensional drawing can be efficiently arranged on the sheet. Automatically determine front view It is possible. In addition, since the side having the large area of the surface in the three-dimensional model is arranged on the right side, the center of gravity of the three-dimensional model is always arranged on the right side.

【0015】請求項2記載の本発明によれば、第1正面
図候補を抽出したときの前記立方体モデルの面の長手方
向に垂直な前記3次元モデル内の面を検出する際に、前
記立方体モデルの面の長手方向に、その両端から内側へ
向かって前記3次元モデルデータを検索することとした
ので、2方向から同時に3次元モデルの重心となる側を
検出することができる。
According to the second aspect of the present invention, when detecting a surface in the three-dimensional model perpendicular to a longitudinal direction of the surface of the cube model when the first front view candidate is extracted, Since the three-dimensional model data is searched inward from both ends in the longitudinal direction of the surface of the model, it is possible to simultaneously detect the side that becomes the center of gravity of the three-dimensional model from two directions.

【0016】請求項3記載の本発明によれば、3次元モ
デルデータから、これを包含する立方体モデルを作成し
て、作成した立方体モデルの最大面積のものを第1正面
図候補として抽出し、続いて、第1正面図候補を抽出し
た立方体モデルの上下左右の方向から3次元モデル内の
面を検出し、検出した3次元モデル内の面のうちの最大
面積となる部分が2次元図面の右側に向くようにしたの
で、正面図として最も大きな面積となる方向から見た図
が正面図として選択され、かつ、正面図が縦横に差がな
い正方形となるような3次元モデルにおいて、その重心
のある側が必ず右側に向くように自動的に配置されるよ
うになる。
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 cubic model having the largest area is extracted as a first front view candidate. Subsequently, a surface in the three-dimensional model is detected from the upper, lower, left, and right directions of the cubic model from which the first front view candidate is extracted, and a portion having the largest area among the detected surfaces in the three-dimensional model is defined as a part of the two-dimensional drawing. Since it is directed to the right side, the center of gravity of the three-dimensional model in which the view viewed from the direction having the largest area as the front view is selected as the front view and the front view is a square having no difference in length and width. Will be automatically arranged so that the side with the mark always faces the right side.

【0017】請求項4記載の本発明によれば、予め決め
られたスケールにより、最終的に決定された正面図と、
その他の面の図が入る用紙サイズを決定する段階をさら
に有することとしたので、予め決められたスケールによ
って描かれる2次元図面が入る大きさの用紙を自動的に
決定することができる。
According to the present invention, a front view finally determined by a predetermined scale,
Since the method further includes the step of determining the paper size on which the drawing of the other surface is to be placed, it is possible to automatically determine the size of the paper on which the two-dimensional drawing drawn by the predetermined scale can be placed.

【0018】請求項5記載の本発明によれば、予め決め
られたスケールにより、最終的に決定された正面図と、
その他の面の図が入る用紙サイズを決定する段階におい
て、予め用意されている図面サイズの候補のなかに、全
ての面図が入るサイズがない場合にはスケールを変更す
ることとしたので、予め決められたスケールでは全ての
面が入る大きさの用紙がない場合に、予め用意されてい
る用紙に納まるように、自動的にスケールが変更され、
用紙に対して最適なスケールが決定される。
According to the fifth aspect of the present invention, a front view finally determined by a predetermined scale,
At the stage of determining the paper size in which the drawings of the other surfaces are to be included, if there is no size that can accommodate all the surface drawings among the prepared drawing size candidates, the scale is changed. If there is no paper that is large enough to fit all sides in the determined scale, the scale is automatically changed to fit on the prepared paper,
The optimal scale for the paper is determined.

【0019】[0019]

【発明の実施の形態】以下、添付した図面を参照して、
本発明の一実施の形態を説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG.
An embodiment of the present invention will be described.

【0020】図1は本発明を適用した実施形態に係る2
次元図面作成の処理手順を示すメインフローチャートで
あり、図2〜4は、このメインフローチャート中の主要
なステップのサブルーチンフローチャートである。
FIG. 1 shows a second embodiment according to the present invention.
It is a main flowchart showing a processing procedure for creating a three-dimensional drawing, and FIGS. 2 to 4 are subroutine flowcharts of main steps in the main flowchart.

【0021】なお、本実施形態では、図12に示したよ
うに、自動車車体の製造ラインに用いられるクランプ治
具の3次元モデル1を、3面図20として2次元図面化
する場合を例に説明する。
In the present embodiment, as shown in FIG. 12, a three-dimensional model 1 of a three-dimensional model 1 of a clamp jig used in a production line of an automobile body is converted into a two-dimensional drawing as a three-sided view 20 as an example. explain.

【0022】本実施形態に係る2次元図面作成方法の基
本的な処理手順は、図1に示すように、まず、CADシ
ステムに予め蓄積されている3次元モデルデータの中か
ら2次元図面化する3次元モデルを指定すると共に、何
面図(例えば3面図や6面図など)を作成するかを指定
する(S1)。このとき複数の3次元モデルを選択する
ようにしてもよく、その場合には、選択した一つひとつ
のモデルごとに下記のステップS2〜5を繰り返し実行
する。なお、本実施形態では、前記のように3次元モデ
ルとしてはクランプ治具が指定され、作成する2次元図
面は3面図を指定する。
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 two-dimensional drawing is created from three-dimensional model data previously stored in a CAD system. Along with designating the three-dimensional model, the number of planes (for example, three-plane and six-plane) 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 S5 are repeatedly executed for each selected model. In the present embodiment, a clamp jig is designated as a three-dimensional model as described above, and a three-dimensional view is designated for a two-dimensional drawing to be created.

【0023】続いて、3次元モデルデータを用いた正面
図ビューの決定処理が行われ(S2)、さらに、用紙サ
イズ、図面スケールの決定処理(S3)、図面レイアウ
ト処理が行われて(S4)、最終的にCADシステムに
接続されたプリンタ(あるいはプロッタ)から2次元図
面が出力される(S5)。
Subsequently, a process of determining a front view using the three-dimensional model data is performed (S2), a process of determining a paper size and a drawing scale (S3), and a drawing layout process are performed (S4). Finally, a two-dimensional drawing is output from a printer (or plotter) connected to the CAD system (S5).

【0024】次に、以上の基本手順における正面図ビュ
ーの決定処理の手順を図2を参照して説明する。
Next, the procedure of the front view view determination process in the above basic procedure will be described with reference to FIG.

【0025】まず、選択された1つの3次元モデルのデ
ータから、3次元座標のX,Y,Z各軸ごとに原点から
の最大値および最小値を求め(S201)、求めた各軸
ごとの最大値および最小値から、図5に示すように、3
次元モデル1全体を包含し、各座標軸と平行な面からな
る立方体モデル10を作図する(S202)。なお、ス
テップS201において、最大値および最小値を求めて
いるのは、3次元座標上の原点から座標位置により3次
元モデルの大きさを算出しているためで、例えば3次元
モデルのいずれか一端部を3次元座標の原点においた場
合には、最大値を求めるだけでよい。また、S201を
介さずに、直接、3次元モデルの寸法データから3次元
モデルを包含する立方体モデルを作図してもよい。
First, the maximum value and the minimum value from the origin are obtained for each of the three-dimensional coordinate X, Y, and Z axes from the data of one selected three-dimensional model (S201). From the maximum value and the minimum value, as shown in FIG.
The cubic model 10 including the entire dimensional model 1 and having a plane parallel to each coordinate axis is drawn (S202). Note that the reason why the maximum value and the minimum value are obtained in step S201 is that the size of the three-dimensional model is calculated based on the coordinate position from the origin on the three-dimensional coordinates. When the part is located at the origin of the three-dimensional coordinates, it is only necessary to find the maximum value. Further, a cubic model including the three-dimensional model may be drawn directly from the dimension data of the three-dimensional model without going through S201.

【0026】続いて、得られた立方体モデル10の各軸
方向から見た3つの面(XY面,YZ面,ZX面)の面
積を求める(S203)。
Subsequently, the areas of three planes (XY plane, YZ plane, ZX plane) of the obtained cubic model 10 viewed from the respective axial directions are obtained (S203).

【0027】そして、求めた面積のうち最も大きな面積
の面を見る方向と同じ方向を第1の正面図ビュー候補
(第1正面図候補)とする(S204)。これにより、
3次元モデル1の場合、Z軸方向から見た面が最も大き
な面積であるので、正面図ビューの候補としては、Y−
X面、−X−Y面、−YX面、−XY面、YX面、X−
Y面、および−Y−X面の8通りが抽出されることにな
る。
Then, the same direction as the direction in which the largest area of the obtained areas is viewed is set as a first front view candidate (first front view candidate) (S204). This allows
In the case of the three-dimensional model 1, the surface viewed from the Z-axis direction has the largest area.
X plane, -XY plane, -YX plane, -XY plane, YX plane, X-
Eight patterns of the Y plane and the −YX plane are extracted.

【0028】続いて、第1正面図ビュー候補を得た立方
体モデル10の面の縦横の辺の長さを比較する(S20
5)。
Subsequently, the lengths of the vertical and horizontal sides of the surface of the cubic model 10 from which the first front view candidate has been obtained are compared (S20).
5).

【0029】比較の結果、縦横の長さが異なると判断さ
れた場合には(S206)、続いて、前記第1正面図ビ
ュー候補の中から立方体モデルの面の長手方向が横向き
となるビューを第2正面図ビューの候補(第2正面図候
補)として選択する(S207)。3次元モデル1で
は、Y軸方向がX軸方向より長いので、3次元モデルの
第2正面図ビューの候補は、図6に示すように、−Y−
X面(図6A)、Y−X面(図6B)、−YX面(図6
C)、およびYX面(図6D)の4つビュー(VIE
W)となる。
As a result of the comparison, if it is determined that the vertical and horizontal lengths are different (S206), subsequently, a view in which the longitudinal direction of the surface of the cubic model is horizontal is selected from the first front view view candidates. It is selected as a candidate for the second front view (second front view candidate) (S207). In the three-dimensional model 1, since the Y-axis direction is longer than the X-axis direction, the candidate for the second front view of the three-dimensional model is -Y- as shown in FIG.
X plane (FIG. 6A), YX plane (FIG. 6B), -YX plane (FIG.
C), and four views (VIE) of the YX plane (FIG. 6D).
W).

【0030】続いて、前記した立方体モデル10の長手
方向の両端位置から内側に向かって、すなわち、長手方
向の両端から長手方向に沿う軸の正と負の2方向から同
時に3次元モデルデータを検索して、3次元モデル内の
長手方向に対して垂直な面を検出する(S208)。し
たがって、3次元モデル1では、図7に示すように、+
Y軸方向と−Y軸方向の2方向から同時に検索を開始す
ることになる。
Subsequently, the three-dimensional model data is simultaneously searched from both ends in the longitudinal direction of the cubic model 10 toward the inside, that is, from both the positive and negative axes along the longitudinal direction from both ends in the longitudinal direction. Then, 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.
The search is started simultaneously from the two directions of the Y axis direction and the −Y axis direction.

【0031】一方、前記ステップS205の縦横の辺の
比較において、縦横の辺に差がないと判断されたとき
(S206)には、第1正面図ビューの候補を抽出した
ときの面の上下左右の4方向から同時に3次元モデル内
の面を検索する(S209)。したがって、この場合に
は、第1正面図候補がZ軸方向から見たものである場
合、+X軸方向、−X軸方向、+Y軸方向、および−Y
軸方向の4方向から同時に検索を開始することになる。
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 upper, lower, left and right sides of the surface when the first front view view candidate is extracted are determined. A surface in the three-dimensional model is simultaneously searched from the four directions (S209). Therefore, in this case, when the first front view candidate is viewed from the Z axis direction, the + X axis direction, the −X axis direction, the + Y axis direction, and the −Y
The search is started simultaneously from four axial directions.

【0032】続いて、上記ステップS208またはS2
09において3次元モデル内の面を検索した結果、最も
最初に見つかった面同士を比較する(S210)。
Subsequently, at step S208 or S2
As a result of searching for a face in the three-dimensional model in 09, the faces found first are compared (S210).

【0033】そして、比較の結果、3次元モデル内の面
の面積が異なると判断されたとき(S211)には、最
も大きな面積となる面のある方が作成する2次元図面と
して右側を向くような正面図ビューを、前記ステップS
207およびS208を経た場合には第2正面図ビュー
候補の中から選択して、これを最終的な正面図ビューに
決定する(S212)。これにより、3次元モデル1の
場合、図8に示すように、YX面のビューが最終的な正
面図ビューとして決定される。一方、前記ステップS2
09を経た場合には、第1正面図ビュー候補の中から選
択して、これを最終的な正面図ビューに決定する。
Then, as a result of the comparison, when it is determined that the areas of the faces in the three-dimensional model are different (S211), the face having the largest area faces the right side as the two-dimensional drawing to be created. Step S
After passing through steps 207 and S208, a second front view candidate is selected from among the second front view candidates and determined as the final front view (S212). Thus, in the case of the three-dimensional model 1, the view on the YX plane is determined as the final front view as shown in FIG. On the other hand, step S2
In the case of passing through 09, a candidate is selected from among the first front view views and is determined as the final front view.

【0034】前記ステップ210において、最も最初に
見つかった面同士を比較した結果、面積が同じである場
合には(S211)、そのうちのどちらを右側としても
よいので、例えば予め各ビューにコードを付しておいて
そのコード番号の若い方を右側とするように、前記同様
に正面図ビュー候補の中から選択する(S213)。
In step 210, as a result of comparing the first found faces with each other, if the areas are the same (S211), either of them may be set to the right side. For example, a code is added to each view in advance. In the same manner as described above, selection is made from among the front view candidates so that the code number having the smaller number is the right side (S213).

【0035】ここで、ステップS210〜213の処理
は、3次元モデル内の重心位置を検出するための処理
で、通常、最も大きな面積のある側に3次元モデルの重
心位置があるので、これを3次元モデル内の面を検出す
ることにより判断している。特に、本実施形態のよう
に、3次元モデルがクランプ治具の場合、クランプ治具
は地面側の台座があるため、3次元モデルの形状として
天地方向の大きさに明らかな差があり、かつ地面側に大
きな面積があるため、このような処理により効率よく、
クランプ治具の重心のある地面側を検出することができ
る。なお、3次元モデルの天地方向における面積の差が
少ないものの場合には、このような処理に代えて、検索
した面の全てを比較して、最も面積の大きなものがある
方を右側としてもよい。
Here, the processing of steps S210 to S213 is a processing for detecting the position of the center of gravity in the three-dimensional model. Usually, the position of the center of gravity of the three-dimensional model is located on the side having the largest area. The determination is made by detecting a surface in the three-dimensional model. In particular, when the three-dimensional model is a clamp jig as in the present embodiment, the clamp jig has a pedestal on the ground side, and there is a clear difference in the size of the three-dimensional model in the vertical direction as the shape of the three-dimensional model, and Because there is a large area on the ground side, such processing is more efficient,
The ground side with the center of gravity of the clamp jig can be detected. When the three-dimensional model has a small area difference in the vertical direction, instead of such processing, all the searched surfaces may be compared, and the one having the largest area may be set to the right side. .

【0036】以上により最終的な正面図ビューが決定さ
れたら、メインルーチンへ戻る。
After the final front view is determined as described above, the process returns to the main routine.

【0037】次に図3を参照して、用紙サイズおよび図
面スケールの決定手順について説明する。
Next, a procedure for determining the paper size and the drawing scale will be described with reference to FIG.

【0038】まず、図面スケールを1/1に設定する
(S301)。なお、このスケールの値1/1は予め設
定してあるもので、この他の値を設定するようにしても
よい。
First, the drawing scale is set to 1/1 (S301). The value 1/1 of this scale is set in advance, and another value may be set.

【0039】続いて、最終的に決定された正面図ビュ
ー、作成するビューおよびスケールから用紙上に描く図
面の最低限必要な長方形の大きさを得る(S302)。
この処理は、図面作成に最低限必要な大きさを得るため
に行う処理である。また、作成するビューとは、本実施
形態では3面図を作成するので、正面図ビューのほかに
左側面図と上平面図の2つのビューと言うことになる。
Subsequently, the minimum required rectangle size of the drawing to be drawn on the sheet is obtained from the finally determined front view, view to be created, and scale (S302).
This process is performed to obtain the minimum size required 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 top plan view in addition to the front view.

【0040】そして、これら各ビューの大きさは、この
時点で正面図ビューが既に決定しているので、前述した
立方体モデルから簡単に求めることができる。本実施形
態の場合には、図9に示すように、3次元モデル1を包
含する立方体モデル10のAの長さにスケール値を掛け
たものが作成する図面上の正面図の横の長さであり、B
の長さにスケール値を掛けたものが左側面図の横の長さ
となる。したがって、最低限必要な長方形の横の長さは
(A+B)×スケール値となる。一方、長方形の縦の長
さは、図9上のCの長さにスケール値を掛けたものが正
面図の縦の長さであり、Bの長さにスケール値を掛けた
ものが上平面図の縦の長さとなる。したがって、最低限
必要な長方形の縦の長さは(C+B)×スケール値とな
る。なお、実際に図面として描かれたときのA、Bおよ
びCの位置関係を図10に示す。
The size of each of these views can be easily obtained from the cubic model described above since the front view has already been determined at this time. In the case of the present embodiment, as shown in FIG. 9, the length of A of the cubic model 10 including the three-dimensional model 1 multiplied by the scale value creates the horizontal length of the front view on the drawing. And B
Is the 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 the vertical length of the front view obtained by multiplying the length of C in FIG. 9 by the scale value, and the vertical length of the length of B is multiplied by the scale value. It becomes the vertical length of the figure. Therefore, the minimum required 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】続いて、前記ステップS302で求めた長
方形の大きさに寸法や風船などを記入する余白分を加え
て、図面作成に必要となる大きさ長方形を得る(S30
2)。これには、例えば前記ステップS302で求めた
長方形の大きさに、余白分となる一定の値を加えてもよ
いし、また、一定の倍率で大きくするようにしてもよ
い。なお、ここで得られた長方形の大きさを最終図面サ
イズと称する。具体的は、例えば各面図ごとに、左右上
下に20mの余白をとるように予め設定してお気、これ
を各面図ごとに加算するとよい。これにより、図10に
示すように、余白を含めた各面図の入る最終図面サイズ
が得られる。
Subsequently, the size of the rectangle obtained in the step S302 is added to the size of the rectangle, and a blank space for entering balloons and the like is added to obtain a rectangle of a size required for drawing (S30).
2). For this purpose, for example, a fixed value serving as a margin may be added to the size of the rectangle obtained in step S302, or the size may be increased at a fixed magnification. The size of the rectangle obtained here is called the final drawing size. More specifically, for example, a margin of 20 m may be set in the left, right, up, and down for each plan view, and this may be added for each plan view. As a result, as shown in FIG. 10, a final drawing size in which each view including the margins can be obtained is obtained.

【0042】続いて、得られた最終図面サイズの大きさ
が、用紙内の図面を作成できる有効範囲に入る大きさ
で、かつ、その中で最小の用紙サイズを、予め用意され
ている用紙サイズ候補の中から選択する(S304)。
ここで、予め用意されている用紙サイズ候補としては、
例えばJIS−A系列の用紙で、A3,A2,A1,A
0,1.5AO,2A0などである。したがって、例え
ば、最終図面サイズの大きさが入る大きさとしてA1,
A0,1.5A0,2A0が選択可能となったときに
は、この中で最小のA1が選択される。なお、ここで、
選択できる用紙サイズがない場合には用紙NGを出力す
る。
Subsequently, the size of the obtained final drawing size is a size that falls within the effective range in which the drawings on the paper can be created, and the minimum paper size among the sizes is set to the previously prepared paper size. A selection is made from the candidates (S304).
Here, the paper size candidates prepared in advance include:
For example, in JIS-A series paper, A3, A2, A1, A
0, 1.5 AO, 2A0, etc. Therefore, for example, A1,
When A0, 1.5A0, and 2A0 can be selected, the smallest A1 is selected. Here,
If there is no selectable paper size, paper NG is output.

【0043】続いて、用紙NGが出力されたか否かを判
断する(S305)。
Subsequently, it is determined whether or not the paper NG has been output (S305).

【0044】ここで、用紙サイズが選択できているとき
には、そのまま選択された用紙サイズと現在のスケール
値を使用するように決定して(S306)、メインルー
チンへ戻る。一方、用紙サイズを選択できなかったとき
には、スケール値をスケールダウンする(S307)。
したがって、例えばスケール値が1/1のスケールの場
合には1/2へ、1/2の場合には1/4などにスケー
ル値を変更する。そして、ステップS302へ戻り、以
降の処理を繰り返し実行して、最終的に前記ステップS
307において全てのビュー図面が入る用紙サイズとス
ケール値が決定される。
Here, when the paper size has been selected, it is determined to use the currently 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.
At 307, a paper size and a scale value that can accommodate all the view drawings are determined.

【0045】次に、図4を参照して図面レイアウトの手
順を説明する。
Next, the procedure of the drawing layout will be described with reference to FIG.

【0046】まず、正面図ビューと、他の面の各ビュー
図面が予め設定された余白を取って配置する(S40
1)。ここでは、3面図を作成するので、前述した正面
図の決定処理で最終的に得られた正面図ビューと、左側
面図ビューおよび上平面図ビューを、前述した用紙サイ
ズおよび図面スケールの決定処理で決定されたスケール
値により縮尺して、最終図面サイズの長方形内に予め設
定されている余白、例えば各面図ごとにその左右上下に
20mm取って配置する。これにより図11Aのような
各ビューの配置が決定する。
First, the front view and the view drawings of the other surfaces are arranged with a predetermined margin (S40).
1). Here, since the three-view drawing is created, the front view, the left-side view, and the top-plan view finally obtained in the above-described front-view determination processing are converted into the above-described paper size and drawing scale determination. The scale is reduced according to the scale value determined in the processing, and a predetermined margin is set in a rectangle of the final drawing size, for example, 20 mm on each of the left, right, upper and lower sides for each plan view. Thus, the arrangement of each view as shown in FIG. 11A is determined.

【0047】続いて、前述の用紙サイズおよび図面スケ
ールの決定処理の中で得られた最終図面サイズの長方形
5の中心7を求める(S402)(図11A参照)。
Subsequently, the center 7 of the rectangle 5 of the final drawing size obtained in the above-described paper size and drawing scale determination processing is obtained (S402) (see FIG. 11A).

【0048】続いて、前述の用紙サイズおよび図面スケ
ールの決定処理で決定された用紙サイズの用紙21の中
の図面を作成する有効範囲23内の中心27を求める
(S403)。なお、この有効範囲23とは、図11B
に示すように、通常、用紙21内においては、図面の標
題や番号などを入れるための欄25を設けるため、これ
らの欄25にかかることなく図面を描くことができる範
囲をここでは有効範囲23と称している。
Subsequently, the center 27 within the effective range 23 for creating a drawing in the sheet 21 of the sheet size determined in the above-described sheet size and drawing scale determination processing is obtained (S403). Note that this effective range 23 corresponds to FIG.
As shown in the figure, normally, in the paper 21, there is provided a column 25 for entering the title and number of the drawing, so that the range in which the drawing can be drawn without occupying these columns 25 is referred to as an effective range 23 here. It is called.

【0049】続いて、図11AおよびBに示したよう
に、前記ステップS402で求めた最終図面サイズ5の
中心7と用紙21の有効範囲23の中心27とを合わせ
て、前記ステップS401で行った各ビューの配置に従
って、各ビューを用紙21内に配置する図面レイアウト
を決定する(S404)。そして、メインルーチンへ戻
る。
Subsequently, as shown in FIGS. 11A and 11B, the center 7 of the final drawing size 5 obtained in the step S402 and the center 27 of the effective area 23 of the paper 21 are combined, and the process is performed in the step S401. According to the arrangement of each view, a drawing layout for arranging each view in the paper 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 paper according to the layout.

【0051】以上説明した本実施形態では、人手がかか
る部分は、基本的に2次元図面化する3次元モデルの指
定と何面図とするかの指定のみでよく、その他の部分は
全て自動的に決定されるので、非常に簡単な操作で、か
つ、間違えなく3次元モデルデータから2次元図面の作
成を行えるようになる。
In the above-described embodiment, the portion 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 number of views, and all other portions are automatically performed. Therefore, the two-dimensional drawing can be created from the three-dimensional model data with a very simple operation and without mistake.

【0052】なお、以上説明した本実施形態では、3次
元モデルとしてクランプ治具を例に説明したが、本発明
はこのような3次元モデルに限定されるものではなく、
様々な3次元モデルについて好適に利用することができ
る。また、3面図に限らず6面図やさらに数多くの(ま
たは少ない)2次元図面の作成にも適用可能である。
In the above-described embodiment, the clamp jig has been described as an example of the three-dimensional model. However, the present invention is not limited to such a three-dimensional model.
It can be suitably used for various three-dimensional models. In addition, the present invention is not limited to the three-view drawing, and can be applied to the creation of a six-view drawing and more (or less) two-dimensional drawings.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明を適用して3次元モデルを2次元図面
化するための処理手順を示すメインフローチャートであ
る。
FIG. 1 is a main flowchart showing a processing procedure for converting a three-dimensional model into a two-dimensional drawing by applying the present invention.

【図2】 図1に示されるメインフローチャート中の正
面図ビューの決定処理の手順を示すサブルーチンフロー
チャートである。
FIG. 2 is a subroutine flowchart showing a procedure of a process of determining a front view in the main flowchart shown in FIG. 1;

【図3】 図1に示されるメインフローチャート中の用
紙さいず、スケールの決定処理の手順を示すサブルーチ
ンフローチャートである。
FIG. 3 is a subroutine flowchart illustrating a procedure of a scale determining process in a main flowchart shown in FIG. 1;

【図4】 図1に示されるメインフローチャート中の図
面レイアウト処理の手順を示すサブルーチンフローチャ
ートである。
FIG. 4 is a subroutine flowchart showing a procedure of a drawing layout process in the main flowchart shown in FIG. 1;

【図5】 3次元モデルを包含する立方体モデルを説明
するための斜視図である(なお、図中X,Y,Zは3次
元座標を示す)。
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).

【図6】 正面図ビューの候補を示す図面である。FIG. 6 is a diagram showing front view view candidates.

【図7】 3次元モデル内の面の検索を説明するための
斜視図である(なお、図中X,Y,Zは3次元座標を示
す)。
FIG. 7 is a perspective view for explaining a search for a plane in a three-dimensional model (X, Y, and Z in the figure indicate three-dimensional coordinates).

【図8】 最終的に決定した正面図ビューを示す図面で
ある。
FIG. 8 is a diagram showing a finally determined front view.

【図9】 用紙サイズおよびスケールの決定処理を説明
するための3次元モデルの斜視図である(なお、図中
X,Y,Zは3次元座標を示す)。
FIG. 9 is a perspective view of a three-dimensional model for explaining a process for determining a paper size and a scale (in the figure, X, Y, and Z indicate three-dimensional coordinates).

【図10】 用紙サイズおよびスケールの決定処理を説
明するための実際に2次元図面として配置された状態を
示す図面である。
FIG. 10 is a view showing a state where the sheet is actually arranged as a two-dimensional drawing for explaining the paper size and scale determination processing.

【図11】 図面レイアウトを説明するための図面であ
る。
FIG. 11 is a drawing for explaining a drawing layout.

【図12】 3次元モデルから2次元図面を作成する一
例を示す図面である。
FIG. 12 is a drawing showing an example of creating a two-dimensional drawing from a three-dimensional model.

【符号の説明】[Explanation of symbols]

1…3次元モデル、 2…2次元図面、 10…立方体モデル。 1 3D model, 2 2D drawing, 10 Cube model.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 3次元モデルデータから2次元図面を作
成する方法であって、 前記3次元モデルデータから、前記3次元モデルを包含
する立方体モデルを作成する段階と、 該作成した立方体モデルの中から、各面の面積が最大の
面を検出して、その面を見たときの方向から前記3次元
モデルを見た図を第1正面図候補として抽出する段階
と、 前記第1正面図候補を抽出したときの前記立方体モデル
の面の長手方向が作成する2次元図面の横軸に沿うもの
を、前記第1正面図候補の中から抽出して、これを第2
正面図候補とする段階と、 前記第1正面図候補を抽出したときの前記立方体モデル
の面の長手方向に対して垂直な前記3次元モデル内の面
を検出する段階と、 前記3次元モデル内の面を検出する段階で検出された3
次元モデル内の面のうち、面積の最も大きな面がある方
が、右側を向いているものを前記第2正面図候補のなか
から抽出して、これを最終的な正面図に決定する段階
と、を有することを特徴とする2次元図面作成方法。
1. 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; Detecting a surface in which the area of each surface is the largest, and extracting a view of the three-dimensional model from a direction in which the surface is viewed as a first front view candidate; Is extracted from the 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
Making a front view candidate; detecting a face in the three-dimensional model perpendicular to a longitudinal direction of the face of the cubic model when the first front view candidate is extracted; 3 detected at the stage of detecting the surface of
Extracting, from among the second front view candidates, the face having the largest area among the faces in the two-dimensional model from the second front view candidate, and determining this as the final front view; And a method for creating a two-dimensional drawing.
【請求項2】 前記3次元モデル内の面を検出する段階
は、 前記立方体モデルの面の長手方向に、その両端から内側
へ向かって前記3次元モデルデータを検索するものであ
ることを特徴とする請求項1記載の2次元図面作成方
法。
2. The method according to claim 1, wherein the step of detecting a surface in the three-dimensional model includes retrieving the three-dimensional model data inward from both ends of the surface of the cubic model in a longitudinal direction. The method for creating a two-dimensional drawing according to claim 1.
【請求項3】 3次元モデルデータから2次元図面を作
成する方法であって、 前記3次元モデルデータから、前記3次元モデルを包含
する立方体モデルを作成する段階と、 該作成した立方体モデルの中から、各面の面積が最大の
面を検出して、その面を見たときの方向から前記3次元
モデルを見た図を第1正面図候補として抽出する段階
と、 前記第1正面図候補を抽出したときの前記立方体モデル
の面の縦横の辺の長さが同じ場合に、前記3次元モデル
データから、前記第1正面図候補を抽出したときの前記
立方体モデルの上下左右の方向からそれぞれ内側へ、前
記3次元モデル内の面を検出する段階と、 前記3次元モデル内の面を検出する段階で検出された3
次元モデル内の面のうち、面積の最も大きな面がある部
分が作成する2次元図面の右側に向くものを前記第1正
面図候補の中から抽出して、これを最終的な正面図に決
定する段階と、を有することを特徴とする2次元図面作
成方法。
3. 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; Detecting a surface in which the area of each surface is the largest, and extracting a view of the three-dimensional model from a direction in which the surface is viewed as a first front view candidate; When the length of the vertical and horizontal sides of the surface of the cubic model when extracting is the same, from the three-dimensional model data, respectively, from the top, bottom, left and right directions of the cubic model when the first front view candidate is extracted Inward, detecting a surface in the three-dimensional model, and detecting the surface in the three-dimensional model.
Of the faces in the two-dimensional model, those that face the right side of the two-dimensional drawing created by the portion having the largest area are extracted from the first front view candidates and determined as the final front view. Performing a two-dimensional drawing.
【請求項4】 2次元図面作成方法は、さらに、予め決
められたスケールによって、前記最終的な正面図と予め
決められた面の図が入る用紙サイズを決定する段階を有
することを特徴とする請求項1または請求項3記載の2
次元図面作成方法。
4. The two-dimensional drawing creation method further includes a step of determining, based on a predetermined scale, a sheet size in which the final front view and the predetermined surface drawing are to be inserted. Claim 2 of Claim 1 or Claim 3
How to create 3D drawings.
【請求項5】 前記用紙サイズを決定する段階は、予め
用意されている図面サイズ候補の中から、予め決められ
たスケールによって、前記最終的な正面図と予め決めら
れた面の図が入る用紙サイズを決定するものであり、こ
のとき前記予め用意されている図面サイズ候補の中に、
予め決められたスケールによって、前記最終的な正面図
と予め決められた面の図が入る用紙サイズがない場合に
は、前記スケールを変更することを特徴とする請求項4
記載の2次元図面作成方法。
5. The step of deciding the sheet size is performed on a sheet in which the final front view and the figure of a predetermined surface are entered according to a predetermined scale from a set of drawing size candidates prepared in advance. The size is determined. At this time, among the drawing size candidates prepared in advance,
The scale is changed when there is no paper size that fits the final front view and the figure of the predetermined surface according to a predetermined scale.
The two-dimensional drawing creation method described in the above.
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 true JP2000222599A (en) 2000-08-11
JP3744243B2 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010211571A (en) * 2009-03-11 2010-09-24 Domans Kk Multi-front structure design support device and program for controlling same
KR101174093B1 (en) 2011-04-25 2012-08-14 한국기계연구원 A geometry representing system of 3d convex object using geometric texture and driving method thereof
JP2017167933A (en) * 2016-03-17 2017-09-21 株式会社ア−キテック Image output device and image output program
CN108527362A (en) * 2017-03-03 2018-09-14 株式会社基恩士 Equipment, robot setting method and computer readable recording medium storing program for performing is arranged in robot
JP2018144161A (en) * 2017-03-03 2018-09-20 株式会社キーエンス Robot setting device, robot setting method, robot setting program, computer-readable recording medium, and recorded device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010211571A (en) * 2009-03-11 2010-09-24 Domans Kk Multi-front structure design support device and program for controlling same
KR101174093B1 (en) 2011-04-25 2012-08-14 한국기계연구원 A geometry representing system of 3d convex object using geometric texture and driving method thereof
JP2017167933A (en) * 2016-03-17 2017-09-21 株式会社ア−キテック Image output device and image output program
CN108527362A (en) * 2017-03-03 2018-09-14 株式会社基恩士 Equipment, robot setting method and computer readable recording medium storing program for performing is arranged in robot
JP2018144161A (en) * 2017-03-03 2018-09-20 株式会社キーエンス Robot setting device, robot setting method, robot setting program, computer-readable recording medium, and recorded device
JP2018144160A (en) * 2017-03-03 2018-09-20 株式会社キーエンス Robot setting device, robot setting method, robot setting program, computer-readable recording medium, and recorded device
US10864636B2 (en) 2017-03-03 2020-12-15 Keyence Corporation Robot setting apparatus, robot setting method, robot setting program, computer readable recording medium, and apparatus storing program
CN108527362B (en) * 2017-03-03 2022-10-04 株式会社基恩士 Robot setting apparatus, robot setting method, and computer-readable recording medium

Also Published As

Publication number Publication date
JP3744243B2 (en) 2006-02-08

Similar Documents

Publication Publication Date Title
JP4469775B2 (en) Automatic generation of tolerance schemes
JP2853355B2 (en) 3D graphic data generator
JPH10149432A (en) Three-dimensional form retrieval device
US5671167A (en) Method and apparatus for forming a model for use in finite element method analysis
JP2000222599A (en) Two-dimensional drawing preparing method
GB2346222A (en) Method for simulating machining of raw stock
JP4973447B2 (en) Difference enhancement program, difference enhancement processing method, and difference enhancement processing apparatus
JPH08263124A (en) Method and device for generating machining program
JP2000057184A (en) Method for generating three-dimensional shape model
JP2006244326A (en) Icon display device
JPH10162041A (en) System for data conversion from two-dimensional cad to three-dimensional cad, and interference checking method for mounted component
JP2006338119A (en) Production examination support device
JP3626793B2 (en) Conversion method from 2D CAD diagram to 3D CAD diagram
JPH04309187A (en) Mapping method for stereoscopic model
KR20000072426A (en) System and method of unstructured tetrahedral mesh generation for a 3d object on semiconductor substrate
JP2006106938A (en) Cad apparatus, method of creating cad drawing, cad drawing creating program and program medium recording the program
JPH0716860B2 (en) Automatic processing data creation device based on 2D CAD drawings
JP2518935B2 (en) Housing design support equipment
JP3900839B2 (en) Graphic front / back setting device and graphic front / back setting method
JPS61190668A (en) 3-d object drawing apparatus
JPH01291379A (en) Method and device for interference check of three-dimensional object
JPH0973476A (en) Three-dimensional shape information input device
JP2818067B2 (en) Bleed image processing method
JP2004252815A (en) Image display device, its method and program
JP2003316836A (en) Diagraming 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