JP2014215769A - Drawing generation apparatus, drawing generation method and program - Google Patents

Drawing generation apparatus, drawing generation method and program Download PDF

Info

Publication number
JP2014215769A
JP2014215769A JP2013091662A JP2013091662A JP2014215769A JP 2014215769 A JP2014215769 A JP 2014215769A JP 2013091662 A JP2013091662 A JP 2013091662A JP 2013091662 A JP2013091662 A JP 2013091662A JP 2014215769 A JP2014215769 A JP 2014215769A
Authority
JP
Japan
Prior art keywords
model
part model
contact
dimension
shape data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013091662A
Other languages
Japanese (ja)
Inventor
洋二 内倉
Yoji Uchikura
洋二 内倉
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2013091662A priority Critical patent/JP2014215769A/en
Publication of JP2014215769A publication Critical patent/JP2014215769A/en
Pending legal-status Critical Current

Links

Classifications

    • G06F17/50

Abstract

PROBLEM TO BE SOLVED: To facilitate drawing generation based on information of a three-dimensional component model.SOLUTION: A storage part 511 stores shape data of a first component model and shape data of a second component model included in a three-dimensional assembly model. An extraction part 512 extracts a contact position where the first component model and the second component model come into contact with each other based on the shape data of the first component model and the shape data of the second component model. A generation part 513 determines the dimension of the second component model based on the contact position, and generates drawing information of the second component model including the dimension. An output part 514 outputs the drawing information generated by the generation part 513.

Description

本発明は、図面生成装置、図面生成方法、及びプログラムに関する。   The present invention relates to a drawing generation apparatus, a drawing generation method, and a program.

近年では、3次元コンピュータ支援設計(CAD)による設計が普及し、様々な製品工程において、3次元CADで作成された3次元形状の部品モデルが利用されている。例えば、3次元CADで作成された部品モデルから部品の2次元図面を作成する際にも、部品モデルと2次元図面を連携させる等の方法が利用されている。   In recent years, design by three-dimensional computer-aided design (CAD) has become widespread, and three-dimensional shape part models created by three-dimensional CAD are used in various product processes. For example, when creating a two-dimensional drawing of a part from a part model created by three-dimensional CAD, a method of linking the part model and the two-dimensional drawing is used.

3次元CADで作成された部品モデルは、部品の形状を示す寸法情報を含んでおり、2次元図面又は3次元図面を作成する際に、その寸法情報を抽出して図面上に配置することが可能である。例えば、2次元図面を作成する際に、3次元の部品モデルの任意方向からの投影図を2次元図面として描画し、3次元の部品モデルの形状を示す寸法を2次元図面上に自動的に配置することができる。   The part model created by 3D CAD includes dimension information indicating the shape of the part. When creating a 2D drawing or 3D drawing, the dimension information can be extracted and placed on the drawing. Is possible. For example, when creating a two-dimensional drawing, a projection drawing from an arbitrary direction of a three-dimensional part model is drawn as a two-dimensional drawing, and a dimension indicating the shape of the three-dimensional part model is automatically displayed on the two-dimensional drawing. Can be arranged.

各部品モデル同士を接合して3次元モデルを組み立てる3次元モデル作成装置も知られている(例えば、特許文献1を参照)。この3次元モデル作成装置は、他の部品モデルに接合するための接合基準データを有する3次元の部品モデルを作成し、少なくとも2つの部品モデルを選択して作業座標空間に配置する。そして、3次元モデル作成装置は、接合基準データで指定される接合基準点に基づいて各部品モデル同士を接合して、3次元モデルを組み立てる。   There is also known a three-dimensional model creation device that assembles a three-dimensional model by joining component models (see, for example, Patent Document 1). The three-dimensional model creation device creates a three-dimensional part model having joining reference data for joining to another part model, selects at least two part models, and places them in the work coordinate space. Then, the three-dimensional model creation device assembles the three-dimensional models by joining the component models based on the joining reference points specified by the joining reference data.

3次元データで作成された完成品データから実際に現物を完成させるために必要な一連の作業を支援するための情報を自動的に導出する作業支援情報自動導出システムも知られている(例えば、特許文献2を参照)。この作業支援情報自動導出システムは、3次元データ上で完成した完成品を構成する固定部品と移動部品のうち、移動部品を各軸方向に移動させて、移動部品と固定部品との干渉が有った場合に算出される固定部品に対する移動部品の移動距離を取得する。これにより、移動距離及び干渉の有無が固定部品と移動部品の組み合わせ毎の各軸方向における数値の配列で示された位置関係マトリクスが導出される。   There is also known a work support information automatic derivation system that automatically derives information for supporting a series of operations necessary for actually completing an actual product from finished product data created with three-dimensional data (for example, (See Patent Document 2). In this work support information automatic derivation system, there is interference between the moving parts and the fixed parts by moving the moving parts in each axial direction among the fixed parts and moving parts that constitute the completed product on the three-dimensional data. The movement distance of the moving part with respect to the fixed part calculated in this case is acquired. As a result, a positional relationship matrix is derived in which the movement distance and the presence or absence of interference are indicated by an array of numerical values in each axial direction for each combination of the fixed part and the moving part.

特開2004−240990号公報JP 2004-240990 A 特開2006−277462号公報JP 2006-277462 A

従来の3次元CADで作成された部品モデルから部品の2次元図面又は3次元図面を作成する方法には、以下のような問題がある。   The method for creating a two-dimensional drawing or a three-dimensional drawing of a part from a part model created by a conventional three-dimensional CAD has the following problems.

3次元の部品モデルの形状を作成する過程の寸法は、3次元形状を作成するためのみの寸法であり、製造性を考慮した寸法基準位置からの寸法配置ではない場合がある。また、部品モデルの作成時には、図面作成に不要な形状が含まれていることもある。このため、3次元CADの部品モデルの形状及び寸法をそのまま図面に反映させるのは適切ではない。   The dimension in the process of creating the shape of the three-dimensional part model is a dimension only for creating a three-dimensional shape, and may not be a dimension arrangement from a dimension reference position in consideration of manufacturability. In addition, when creating a part model, shapes that are unnecessary for drawing creation may be included. For this reason, it is not appropriate to reflect the shape and dimensions of the three-dimensional CAD part model in the drawing as they are.

そこで、3次元の部品モデルの形状を2次元図面に投影した後、オペレータが、製造性を考慮し、加工に必要な形状を基準位置として、2次元図面上の形状に必要な寸法を手作業にて作成している。   Therefore, after projecting the shape of the three-dimensional part model onto the two-dimensional drawing, the operator manually takes the necessary size for the shape on the two-dimensional drawing with the shape necessary for processing as the reference position in consideration of manufacturability. Created in.

例えば、図1に示す3次元の部品モデルを作成する過程において、図2に示すような寸法が設定される場合がある。図2の部品モデルでは、実際の部品には存在しない基準位置P201〜基準位置P203が空間内に設けられ、基準位置P201〜基準位置P203からの寸法が配置されている。   For example, in the process of creating the three-dimensional part model shown in FIG. 1, dimensions as shown in FIG. 2 may be set. In the part model of FIG. 2, reference positions P201 to P203 that do not exist in actual parts are provided in the space, and dimensions from the reference positions P201 to P203 are arranged.

図2の部品モデルの形状を2次元図面に投影して上面側投影図を作成すると、図3に示すような2次元図面が作成される。図3の2次元図面上では、部品モデルの各表面からの寸法と、図2の基準位置P201〜基準位置P203からの寸法とが混在しており、寸法基準が統一されていない。さらに、図2の基準位置P201〜基準位置P203からの寸法は、部品の加工に不要な寸法であることが多い。   When the shape of the part model of FIG. 2 is projected onto a two-dimensional drawing to create a top side projection, a two-dimensional drawing as shown in FIG. 3 is created. In the two-dimensional drawing of FIG. 3, the dimensions from each surface of the component model and the dimensions from the reference position P201 to the reference position P203 in FIG. 2 are mixed, and the dimension reference is not unified. Furthermore, the dimensions from the reference position P201 to the reference position P203 in FIG. 2 are often dimensions that are not necessary for processing the part.

そこで、オペレータは、図4に示すように、図3の2次元図面における寸法基準位置を部品モデルの適切な表面に変更して、その表面からの寸法を手作業にて作成する。これにより、2次元図面が修正される。   Therefore, as shown in FIG. 4, the operator changes the dimension reference position in the two-dimensional drawing of FIG. 3 to an appropriate surface of the component model, and manually creates a dimension from the surface. Thereby, the two-dimensional drawing is corrected.

3次元図面を作成する際にも同様に、オペレータが、3次元の部品モデル上で加工に必要な基準位置から寸法を取り直すことで、寸法を手作業にて作成している。   Similarly, when creating a three-dimensional drawing, an operator manually creates a dimension by re-taking the dimension from a reference position necessary for processing on a three-dimensional part model.

このように、3次元CADによって様々な効率化が図られているにもかかわらず、3次元CADで作成された部品モデルから部品の図面を作成するための工数は、十分に削減されていない。   As described above, although various efficiencies are achieved by the three-dimensional CAD, the man-hours for creating the part drawing from the part model created by the three-dimensional CAD have not been sufficiently reduced.

1つの側面において、本発明は、3次元の部品モデルの情報に基づく図面作成を効率化することを目的とする。   In one aspect, an object of the present invention is to improve the efficiency of drawing creation based on information of a three-dimensional part model.

1つの案では、図面生成装置は、記憶部、抽出部、生成部、及び出力部を含む。
記憶部は、3次元アセンブリモデルに含まれる第1の部品モデルの形状データと第2の部品モデルの形状データとを記憶する。抽出部は、第1の部品モデルの形状データと第2の部品モデルの形状データとに基づいて、第1の部品モデルと第2の部品モデルとが接触している接触位置を抽出する。生成部は、接触位置を基準として第2の部品モデルの寸法を求め、その寸法を含む第2の部品モデルの図面情報を生成する。出力部は、図面情報を出力する。
In one plan, the drawing generation apparatus includes a storage unit, an extraction unit, a generation unit, and an output unit.
The storage unit stores shape data of the first part model and shape data of the second part model included in the three-dimensional assembly model. The extraction unit extracts a contact position where the first part model and the second part model are in contact based on the shape data of the first part model and the shape data of the second part model. The generation unit obtains the dimension of the second part model based on the contact position, and generates drawing information of the second part model including the dimension. The output unit outputs drawing information.

実施形態の図面生成装置によれば、3次元の部品モデルの情報に基づく図面作成を効率化することができる。   According to the drawing generation apparatus of the embodiment, the drawing creation based on the information of the three-dimensional part model can be made efficient.

3次元の部品モデルを示す図である。It is a figure which shows a three-dimensional component model. 寸法が設定された3次元の部品モデルを示す図である。It is a figure which shows the three-dimensional component model by which the dimension was set. 2次元図面を示す図である。It is a figure which shows a two-dimensional drawing. 修正された2次元図面を示す図である。It is a figure which shows the corrected two-dimensional drawing. 図面生成装置の機能的構成図である。It is a functional block diagram of drawing production | generation apparatus. 図面生成処理のフローチャートである。It is a flowchart of drawing production | generation processing. 図面生成装置の具体例を示す図である。It is a figure which shows the specific example of drawing production | generation apparatus. 基準面抽出処理のフローチャートである。It is a flowchart of a reference plane extraction process. 構成情報なしの場合の処理の第1の例を示すフローチャートである。It is a flowchart which shows the 1st example of a process in case there is no structure information. 構成情報なしの場合の処理の第2の例を示すフローチャートである。It is a flowchart which shows the 2nd example of a process in case there is no structure information. 2次元図面生成処理のフローチャートである。It is a flowchart of a two-dimensional drawing generation process. 2次元図面生成処理における寸法配置処理のフローチャートである。It is a flowchart of the dimension arrangement | positioning process in a two-dimensional drawing production | generation process. 3次元図面生成処理のフローチャートである。It is a flowchart of a three-dimensional drawing generation process. 3次元図面生成処理における寸法配置処理のフローチャートである。It is a flowchart of the dimension arrangement | positioning process in a three-dimensional drawing production | generation process. アセンブリモデルを示す図である。It is a figure which shows an assembly model. 構成情報を示す図である。It is a figure which shows structure information. 3方向における接触面を示す図である。It is a figure which shows the contact surface in 3 directions. 部品モデルの体積を示す図である。It is a figure which shows the volume of a component model. 最大体積の部品モデルに接触している2番目の部品モデルを示す図である。It is a figure which shows the 2nd component model which is contacting the component model of the largest volume. 2番目の部品モデルに接触している3番目の部品モデルを示す図である。It is a figure which shows the 3rd component model which is contacting the 2nd component model. モデル情報抽出部により生成された構成情報を示す図である。It is a figure which shows the structure information produced | generated by the model information extraction part. 接触面の接触面積を示す図である。It is a figure which shows the contact area of a contact surface. 円柱形状の部品モデルを含むアセンブリモデルを示す図(その1)である。It is a figure (the 1) which shows the assembly model containing a cylindrical part model. 円柱形状の部品モデルを含むアセンブリモデルを示す図(その2)である。It is a figure (the 2) which shows the assembly model containing a cylindrical part model. 円柱形状の部品モデルと接触している箇所を示す図である。It is a figure which shows the location which is contacting the cylindrical part model. 2個の穴を有する部品モデルを含むアセンブリモデルを示す図である。It is a figure which shows the assembly model containing the component model which has two holes. 2個の穴を有する部品モデルを示す図である。It is a figure which shows the component model which has two holes. 2個の穴の位置に基づく基準面を示す図である。It is a figure which shows the reference plane based on the position of two holes. 4個の穴を有する部品モデルを含むアセンブリモデルを示す図である。It is a figure which shows the assembly model containing the component model which has four holes. 4個の穴を有する部品モデルを示す図である。It is a figure which shows the component model which has four holes. 4個の穴の位置に基づく基準面を示す図である。It is a figure which shows the reference plane based on the position of four holes. 2次元図面生成処理における処理対象の部品モデルを示す図である。It is a figure which shows the component model of the process target in a two-dimensional drawing production | generation process. 基準面の位置からの寸法を含む2次元図面を示す図である。It is a figure which shows the two-dimensional drawing containing the dimension from the position of a reference plane. 基準面以外の位置からの寸法を含む2次元図面を示す図である。It is a figure which shows the two-dimensional drawing containing the dimension from positions other than a reference plane. 寸法変更後の2次元図面を示す図である。It is a figure which shows the two-dimensional drawing after a dimension change. アセンブリモデルにおける基準面の強調表示を示す図である。It is a figure which shows the highlight display of the reference plane in an assembly model. 部品モデルにおける基準面の強調表示を示す図である。It is a figure which shows the highlight display of the reference plane in a component model. 基準面のタグを示す図である。It is a figure which shows the tag of a reference plane. アセンブリモデル作成時における基準面の強調表示を示す図である。It is a figure which shows the highlight display of the reference plane at the time of assembly model creation. 3次元図面生成処理における処理対象の部品モデルを示す図である。It is a figure which shows the component model of the process target in a three-dimensional drawing production | generation process. 基準面の位置からの寸法を含む3次元図面を示す図である。It is a figure which shows the three-dimensional drawing containing the dimension from the position of a reference plane. 基準面以外の位置からの寸法を含む3次元図面を示す図である。It is a figure which shows the three-dimensional drawing containing the dimension from positions other than a reference plane. 情報処理装置の構成図である。It is a block diagram of information processing apparatus.

以下、図面を参照しながら、実施形態を詳細に説明する。
図5は、実施形態の図面生成装置の機能的構成例を示している。図5の図面生成装置501は、記憶部511、抽出部512、生成部513、及び出力部514を含む。
Hereinafter, embodiments will be described in detail with reference to the drawings.
FIG. 5 illustrates a functional configuration example of the drawing generation apparatus according to the embodiment. The drawing generation device 501 of FIG. 5 includes a storage unit 511, an extraction unit 512, a generation unit 513, and an output unit 514.

記憶部511は、3次元アセンブリモデルに含まれる第1の部品モデルの形状データと第2の部品モデルの形状データとを記憶する。抽出部512及び生成部513は、記憶部511に記憶されている形状データを用いて、実施形態に係る処理を実行する機能的なユニットである。   The storage unit 511 stores the shape data of the first part model and the shape data of the second part model included in the three-dimensional assembly model. The extraction unit 512 and the generation unit 513 are functional units that execute processing according to the embodiment using the shape data stored in the storage unit 511.

図6は、図5の図面生成装置501が行う図面生成処理の例を示すフローチャートである。まず、抽出部512は、記憶部511を参照し、第1の部品モデルの形状データと第2の部品モデルの形状データとに基づいて、第1の部品モデルと第2の部品モデルとが接触している接触位置を抽出する(ステップ601)。   FIG. 6 is a flowchart illustrating an example of a drawing generation process performed by the drawing generation apparatus 501 of FIG. First, the extraction unit 512 refers to the storage unit 511 and makes contact between the first component model and the second component model based on the shape data of the first component model and the shape data of the second component model. The contact position is extracted (step 601).

次に、生成部513は、接触位置を基準として第2の部品モデルの寸法を求め(ステップ602)、その寸法を含む第2の部品モデルの図面情報を生成する(ステップ603)。そして、出力部514は、生成部513が生成した図面情報を出力する。   Next, the generation unit 513 obtains the dimension of the second part model based on the contact position (step 602), and generates drawing information of the second part model including the dimension (step 603). Then, the output unit 514 outputs the drawing information generated by the generation unit 513.

このような図面生成装置501によれば、3次元の部品モデルの情報に基づく図面作成を効率化することができる。   According to such a drawing generation apparatus 501, it is possible to improve the efficiency of drawing creation based on information of a three-dimensional part model.

図7は、図5の図面生成装置501の具体例を示している。図7の抽出部512は、モデル情報抽出部701及び基準面抽出部702を含み、生成部513は、方向決定部711及び寸法配置部712を含む。   FIG. 7 shows a specific example of the drawing generation apparatus 501 of FIG. The extraction unit 512 in FIG. 7 includes a model information extraction unit 701 and a reference plane extraction unit 702, and the generation unit 513 includes a direction determination unit 711 and a dimension arrangement unit 712.

図7の記憶部511は、3次元CADで作成された3次元アセンブリモデルの情報を記憶する。3次元アセンブリモデルの情報には、3次元アセンブリモデルに含まれる複数の部品モデルの形状データが含まれる。各部品モデルの形状データには、例えば、各部品モデルの形状を規定する複数の頂点の位置と、それらの頂点の間のエッジのサイズ等の情報が含まれる。   The storage unit 511 in FIG. 7 stores information on a three-dimensional assembly model created by three-dimensional CAD. The information of the three-dimensional assembly model includes shape data of a plurality of part models included in the three-dimensional assembly model. The shape data of each part model includes, for example, information such as the positions of a plurality of vertices that define the shape of each part model and the size of the edge between the vertices.

3次元アセンブリモデルの情報には、さらに、3次元アセンブリモデルに含まれる構成情報が含まれる場合もある。3次元アセンブリモデルは、複数の部品モデルが組み立てられた状態を表すモデルであり、構成情報は、その状態における複数の部品モデルの組み立て順序を示す情報である。構成情報は、3次元CADにより生成される場合もあり、モデル情報抽出部701により生成される場合もある。   The information of the three-dimensional assembly model may further include configuration information included in the three-dimensional assembly model. The three-dimensional assembly model is a model that represents a state in which a plurality of part models are assembled, and the configuration information is information that indicates the assembly order of the plurality of part models in that state. The configuration information may be generated by three-dimensional CAD, or may be generated by the model information extraction unit 701.

3次元アセンブリモデルに含まれる部品モデルの図面を作成する際、部品の加工条件、組み立て条件等に応じて基準位置となる面、エッジ等が存在し、この基準位置をもとに図面が作成されることが多い。   When creating a drawing of a part model included in a 3D assembly model, there are surfaces, edges, etc. that serve as reference positions according to the processing conditions and assembly conditions of the parts, and the drawing is created based on this reference position. Often.

一方、3次元アセンブリモデルを作成する際は、この基準位置をもとに2つの部品モデルを接触させた、アセンブリ状態の3次元アセンブリモデルが作成される。そこで、3次元アセンブリモデルに含まれる2つの部品モデルの間に接触している接触位置がある場合、その接触位置をそれらの部品の図面を作成する際の基準位置として利用することができる。   On the other hand, when creating a three-dimensional assembly model, an assembly state three-dimensional assembly model is created in which two component models are brought into contact with each other based on the reference position. Therefore, when there is a contact position that is in contact between two part models included in the three-dimensional assembly model, the contact position can be used as a reference position when creating a drawing of those parts.

抽出部512のモデル情報抽出部701は、記憶部511に記憶された3次元アセンブリモデルの情報を参照して、図面生成処理に用いる各種情報を抽出する。基準面抽出部702は、抽出された各種情報に基づいて、2つの部品モデルが接触している接触位置を含む平面(接触面)を抽出し、接触面を基準面に決定する。この基準面は、各部品モデルの寸法の基準位置として用いられる。   The model information extraction unit 701 of the extraction unit 512 refers to the information of the three-dimensional assembly model stored in the storage unit 511 and extracts various information used for the drawing generation process. The reference surface extraction unit 702 extracts a plane (contact surface) including a contact position where the two component models are in contact based on the various pieces of extracted information, and determines the contact surface as a reference surface. This reference plane is used as a reference position for the dimensions of each component model.

生成部513の方向決定部711は、生成対象の図面が2次元図面であるか又は3次元図面であるかに応じて、部品モデルの正面方向及び側面方向を決定する。寸法配置部712は、決定された正面方向及び側面方向に基づいて、生成対象の図面上に基準面からの寸法を配置する。   The direction determination unit 711 of the generation unit 513 determines the front direction and the side direction of the part model depending on whether the drawing to be generated is a two-dimensional drawing or a three-dimensional drawing. The dimension arranging unit 712 arranges dimensions from the reference plane on the generation target drawing based on the determined front direction and side direction.

出力部514は、例えば、表示装置、プリンタ、又はネットワーク接続装置である。出力部514が表示装置である場合、出力部514は、生成された図面を画面上に表示し、出力部514がプリンタである場合、出力部514は、生成された図面を紙媒体に印刷して出力する。   The output unit 514 is, for example, a display device, a printer, or a network connection device. When the output unit 514 is a display device, the output unit 514 displays the generated drawing on the screen, and when the output unit 514 is a printer, the output unit 514 prints the generated drawing on a paper medium. Output.

出力部514がネットワーク接続装置である場合、出力部514は、生成された図面を通信ネットワークに出力し、その通信ネットワークに接続された情報処理装置(コンピュータ)等へ図面が送信される。情報処理装置は、受信した図面を表示装置又はプリンタを介して表示又は印刷することができる。   When the output unit 514 is a network connection device, the output unit 514 outputs the generated drawing to a communication network, and the drawing is transmitted to an information processing device (computer) connected to the communication network. The information processing apparatus can display or print the received drawing via a display device or a printer.

次に、図8から図42までを参照しながら、図7の図面生成装置501が行う図面生成処理について詳細に説明する。   Next, the drawing generation process performed by the drawing generation apparatus 501 in FIG. 7 will be described in detail with reference to FIGS.

図8は、抽出部512が行う基準面抽出処理の例を示すフローチャートである。まず、モデル情報抽出部701は、記憶部511に記憶された3次元アセンブリモデルの情報を参照して(ステップ801)、構成情報が含まれているか否かをチェックする(ステップ802)。3次元アセンブリモデルに構成情報が含まれている場合(ステップ802,YES)、モデル情報抽出部701は、構成情報から部品モデル間の親子関係を取得する(ステップ803)。   FIG. 8 is a flowchart illustrating an example of the reference plane extraction process performed by the extraction unit 512. First, the model information extraction unit 701 refers to the information of the three-dimensional assembly model stored in the storage unit 511 (step 801) and checks whether or not configuration information is included (step 802). When configuration information is included in the three-dimensional assembly model (step 802, YES), the model information extraction unit 701 acquires a parent-child relationship between component models from the configuration information (step 803).

例えば、図15に示すアセンブリモデルは、以下の5つの部品モデルを含む。
MODEL_A
MODEL_B
MODEL_C
MODEL_D
MODEL_E
For example, the assembly model shown in FIG. 15 includes the following five part models.
MODEL_A
MODEL_B
MODEL_C
MODEL_D
MODEL_E

図15のアセンブリモデルでは、MODEL_A上にMODEL_Bが組み立てられ、MODEL_B上にMODEL_Cが組み立てられている。同様に、MODEL_A上にMODEL_Dが組み立てられ、MODEL_D上にMODEL_Eが組み立てられている。   In the assembly model of FIG. 15, MODEL_B is assembled on MODEL_A, and MODEL_C is assembled on MODEL_B. Similarly, MODEL_D is assembled on MODEL_A, and MODEL_E is assembled on MODEL_D.

この組み立て順序を示す構成情報は、図16のようになる。図16の構成情報から、以下のような部品モデル間の親子関係が取得される。
MODEL_Aの子:MODEL_B,MODEL_D
MODEL_Bの子:MODEL_C
MODEL_Dの子:MODEL_E
MODEL_Cの親:MODEL_B
MODEL_Eの親:MODEL_D
MODEL_Bの親:MODEL_A
MODEL_Cの親:MODEL_A
The configuration information indicating the assembly order is as shown in FIG. The following parent-child relationship between component models is acquired from the configuration information of FIG.
Child of MODEL_A: MODEL_B, MODEL_D
Child of MODEL_B: MODEL_C
Child of MODEL_D: MODEL_E
The parent of MODEL_C: MODEL_B
The parent of MODEL_E: MODEL_D
The parent of MODEL_B: MODEL_A
The parent of MODEL_C: MODEL_A

部品モデル間の親子関係は、部品モデル間の上下関係を表し、親の部品モデルはその子の部品モデルよりも上位の部品モデルであり、子の部品モデルはその親の部品モデルよりも下位の部品モデルである。図15のアセンブリモデルの場合、最上位の部品モデルは、MODEL_Aであり、MODEL_Aの下位の部品モデルは、MODEL_B及びMODEL_Dである。MODEL_Bの下位の部品モデルは、MODEL_Cであり、MODEL_Dの下位の部品モデルは、MODEL_Eである。   A parent-child relationship between part models represents a hierarchical relationship between part models, where the parent part model is a higher-order part model than its child part model, and the child part model is a lower-order part than its parent part model. It is a model. In the case of the assembly model shown in FIG. 15, the uppermost part model is MODEL_A, and the lower part part models of MODEL_A are MODEL_B and MODEL_D. The lower part model of MODEL_B is MODEL_C, and the lower part model of MODEL_D is MODEL_E.

次に、基準面抽出部702は、部品モデル間の親子関係に基づいて、最上位の部品モデルから順に処理対象の部品モデルを選択し、処理対象の部品モデルと他の部品モデルとの間の接触面を抽出する(ステップ804)。このとき、基準面抽出部702は、記憶部511に記憶された3次元アセンブリモデルの情報から各部品モデルの形状データを抽出し、2つの部品モデルの形状データが示す頂点の位置等に基づいて、それらの部品モデルの間の接触面を抽出する。   Next, the reference plane extraction unit 702 selects a part model to be processed in order from the top-level part model based on the parent-child relationship between the part models, and the part model between the part model to be processed and another part model is selected. A contact surface is extracted (step 804). At this time, the reference plane extraction unit 702 extracts the shape data of each component model from the information of the three-dimensional assembly model stored in the storage unit 511, and based on the vertex positions indicated by the shape data of the two component models. Extract the contact surface between these part models.

次に、基準面抽出部702は、処理対象の部品モデルから同一方向の複数の接触面が抽出されたか否かをチェックする(ステップ805)。同一方向の複数の接触面が抽出された場合(ステップ805,YES)、基準面抽出部702は、接触相手の部品モデルがより上位の部品モデルである接触面を選択し(ステップ809)、選択した接触面をその方向の基準面に決定する(ステップ806)。これにより、処理対象の部品モデルの親に相当する部品モデルと接触している接触面を基準面に決定することができる。   Next, the reference surface extraction unit 702 checks whether or not a plurality of contact surfaces in the same direction have been extracted from the component model to be processed (step 805). When a plurality of contact surfaces in the same direction are extracted (step 805, YES), the reference surface extraction unit 702 selects a contact surface whose component model of the contact partner is a higher-order component model (step 809) and selects The contact surface thus determined is determined as a reference surface in that direction (step 806). Thereby, the contact surface in contact with the component model corresponding to the parent of the component model to be processed can be determined as the reference surface.

一方、同一方向の接触面が1つだけ抽出された場合(ステップ805,NO)、基準面抽出部702は、その接触面を基準面に決定する(ステップ806)。   On the other hand, when only one contact surface in the same direction is extracted (step 805, NO), the reference surface extraction unit 702 determines that contact surface as a reference surface (step 806).

ここで、図17に示すように、図15のMODEL_A、MODEL_B、及びMODEL_Cを処理対象の部品モデルとして、互いに直交する3方向(X方向、Y方向、Z方向)における接触面を抽出する場合を説明する。   Here, as shown in FIG. 17, a case in which contact surfaces in three directions (X direction, Y direction, Z direction) orthogonal to each other are extracted using MODEL_A, MODEL_B, and MODEL_C in FIG. 15 as processing target component models. explain.

まず、処理対象の部品モデルがMODEL_Aである場合、X方向、Y方向、及びZ方向における接触面として、MODEL_AのX表面、Y表面、及びZ表面がそれぞれ抽出される。X表面、Y表面、及びZ表面は、下位の部品モデルであるMODEL_Bと接触している。この場合、各方向の接触面が1つだけ抽出されたため、X表面、Y表面、及びZ表面は、X方向、Y方向、及びZ方向の基準面にそれぞれ決定される。   First, when the part model to be processed is MODEL_A, the X surface, Y surface, and Z surface of MODEL_A are extracted as contact surfaces in the X direction, the Y direction, and the Z direction, respectively. The X surface, Y surface, and Z surface are in contact with MODEL_B, which is a lower part model. In this case, since only one contact surface in each direction is extracted, the X surface, the Y surface, and the Z surface are determined as reference surfaces in the X direction, the Y direction, and the Z direction, respectively.

次に、処理対象の部品モデルがMODEL_Bである場合、X方向における接触面として、MODEL_BのX表面及びX裏面が抽出され、Y方向における接触面として、MODEL_BのY表面及びY裏面が抽出される。さらに、Z方向における接触面として、MODEL_BのZ表面及びZ裏面が抽出される。X表面、Y表面、及びZ表面は、下位の部品モデルであるMODEL_Cと接触しており、X裏面、Y裏面、及びZ裏面は、上位の部品モデルであるMODEL_Aと接触している。   Next, when the part model to be processed is MODEL_B, the X surface and X back surface of MODEL_B are extracted as contact surfaces in the X direction, and the Y surface and Y back surface of MODEL_B are extracted as contact surfaces in the Y direction. . Further, the Z front surface and the Z back surface of MODEL_B are extracted as contact surfaces in the Z direction. The X surface, the Y surface, and the Z surface are in contact with MODEL_C, which is a lower component model, and the X back surface, the Y back surface, and the Z back surface are in contact with MODEL_A, which is an upper component model.

この場合、各方向の複数の接触面が抽出されたため、複数の接触面のうち1つの接触面が基準面に決定される。X方向においては、X表面及びX裏面のうち、より上位の部品モデル(MODEL_A)と接触しているX裏面が基準面に決定される。同様にして、Y方向においてはY裏面が基準面に決定され、Z方向においてはZ裏面が基準面に決定される。   In this case, since a plurality of contact surfaces in each direction are extracted, one of the plurality of contact surfaces is determined as a reference surface. In the X direction, the X back surface in contact with the higher-order component model (MODEL_A) among the X front surface and the X back surface is determined as the reference surface. Similarly, the Y back surface is determined as the reference surface in the Y direction, and the Z back surface is determined as the reference surface in the Z direction.

次に、処理対象の部品モデルがMODEL_Cである場合、X方向、Y方向、及びZ方向における接触面として、MODEL_CのX裏面、Y裏面、及びZ裏面がそれぞれ抽出される。X裏面、Y裏面、及びZ裏面は、上位の部品モデルであるMODEL_Bと接触している。この場合、各方向の接触面が1つだけ抽出されたため、X裏面、Y裏面、及びZ裏面は、X方向、Y方向、及びZ方向の基準面にそれぞれ決定される。   Next, when the component model to be processed is MODEL_C, the X back surface, the Y back surface, and the Z back surface of MODEL_C are extracted as contact surfaces in the X direction, the Y direction, and the Z direction, respectively. The X back surface, the Y back surface, and the Z back surface are in contact with MODEL_B, which is a higher-level component model. In this case, since only one contact surface in each direction is extracted, the X back surface, the Y back surface, and the Z back surface are determined as reference surfaces in the X direction, the Y direction, and the Z direction, respectively.

各方向の基準面を決定した後、基準面抽出部702は、処理対象の部品モデルの下位の部品モデルがあるか否かをチェックする(ステップ807)。下位の部品モデルがある場合(ステップ807,YES)、基準面抽出部702は、下位の部品モデルを処理対象の部品モデルとして、ステップ804以降の処理を繰り返す。そして、下位の部品モデルがなくなった場合(ステップ807,NO)、基準面抽出部702は、処理を終了する。   After determining the reference plane in each direction, the reference plane extraction unit 702 checks whether there is a lower part model of the part model to be processed (step 807). When there is a lower part model (step 807, YES), the reference plane extraction unit 702 repeats the processes in and after step 804 using the lower part model as the part model to be processed. Then, when there is no lower part model (step 807, NO), the reference plane extraction unit 702 ends the process.

3次元アセンブリモデルに構成情報が含まれていない場合(ステップ802,NO)、抽出部512は、構成情報なしの場合の処理を行う(ステップ808)。   When the configuration information is not included in the three-dimensional assembly model (step 802, NO), the extraction unit 512 performs processing when there is no configuration information (step 808).

図9は、図8のステップ808の処理の第1の例を示すフローチャートである。第1の例では、3次元アセンブリモデルに含まれる各部品モデルの形状データから構成情報が生成され、生成された構成情報に基づいて基準面が決定される。   FIG. 9 is a flowchart showing a first example of the process in step 808 of FIG. In the first example, configuration information is generated from shape data of each part model included in the three-dimensional assembly model, and a reference plane is determined based on the generated configuration information.

まず、モデル情報抽出部701は、3次元アセンブリモデルに含まれる各部品モデルの体積を計算し、最大体積の部品モデルを抽出する(ステップ901)。このとき、モデル情報抽出部701は、各部品モデルの形状データが示す頂点の位置及びエッジのサイズ等に基づいて、各部品モデルの体積を計算することができる。   First, the model information extraction unit 701 calculates the volume of each part model included in the three-dimensional assembly model, and extracts the part model having the maximum volume (step 901). At this time, the model information extraction unit 701 can calculate the volume of each component model based on the vertex position and the edge size indicated by the shape data of each component model.

次に、モデル情報抽出部701は、最大体積の部品モデルに接触している他の部品モデルを抽出する(ステップ902)。モデル情報抽出部701は、抽出した部品モデルにさらに接触している部品モデルを抽出する処理を繰り返すことで、最大体積の部品モデルから抽出順に組み立て順序を設定した構成情報を生成する(ステップ903)。   Next, the model information extraction unit 701 extracts another part model that is in contact with the part model having the maximum volume (step 902). The model information extraction unit 701 generates configuration information in which the assembly order is set in the order of extraction from the part model having the maximum volume by repeating the process of extracting the part model that is further in contact with the extracted part model (step 903). .

例えば、図15の各部品モデルの体積が図18に示すように計算された場合、最大体積の部品モデルであるMODEL_Aが、1番目の組み立て順序の部品モデルとして抽出される。次に、図19に示すように、MODEL_Aに接触しているMODEL_B及びMODEL_Dが、2番目の組み立て順序の部品モデルとして抽出される。   For example, when the volume of each part model in FIG. 15 is calculated as shown in FIG. 18, MODEL_A that is the part model with the largest volume is extracted as the part model in the first assembly order. Next, as shown in FIG. 19, MODEL_B and MODEL_D that are in contact with MODEL_A are extracted as part models in the second assembly order.

そして、図20に示すように、MODEL_Bに接触しているMODEL_Cと、MODEL_Dに接触しているMODEL_Eとが、3番目の組み立て順序の部品モデルとして抽出される。こうして、図21に示すような構成情報が生成される。   Then, as shown in FIG. 20, MODEL_C in contact with MODEL_B and MODEL_E in contact with MODEL_D are extracted as part models in the third assembly order. In this way, configuration information as shown in FIG. 21 is generated.

ステップ904〜ステップ909の処理は、図8のステップ803〜ステップ807及びステップ809の処理と同様である。   The processing from step 904 to step 909 is the same as the processing from step 803 to step 807 and step 809 in FIG.

図10は、図8のステップ808の処理の第2の例を示すフローチャートである。第2の例では、構成情報を生成することなく基準面が決定される。   FIG. 10 is a flowchart showing a second example of the process in step 808 of FIG. In the second example, the reference plane is determined without generating configuration information.

まず、モデル情報抽出部701は、3次元アセンブリモデルに含まれる複数の部品モデルから処理対象の部品モデルを選択し、処理対象の部品モデルに隣接する隣接部品モデルを抽出する(ステップ1001)。このとき、モデル情報抽出部701は、各部品モデルの形状データが示す頂点の位置等に基づいて、隣接部品モデルを抽出することができる。   First, the model information extraction unit 701 selects a part model to be processed from a plurality of part models included in the three-dimensional assembly model, and extracts an adjacent part model adjacent to the part model to be processed (step 1001). At this time, the model information extraction unit 701 can extract the adjacent part model based on the position of the vertex indicated by the shape data of each part model.

次に、基準面抽出部702は、処理対象の部品モデルと隣接部品モデルとの接触面を抽出し、同一方向の複数の接触面が抽出されたか否かをチェックする(ステップ1002)。同一方向の複数の接触面が抽出された場合(ステップ1002,YES)、基準面抽出部702は、各接触面のうち接触部分の面積(接触面積)を計算する(ステップ1003)。そして、基準面抽出部702は、最大接触面積の接触面を抽出し(ステップ1004)、その方向の基準面に決定する(ステップ1005)。これにより、複数の隣接部品モデルとの複数の接触面のうちの1つを基準面に決定することができる。   Next, the reference surface extraction unit 702 extracts contact surfaces between the component model to be processed and the adjacent component model, and checks whether a plurality of contact surfaces in the same direction have been extracted (step 1002). When a plurality of contact surfaces in the same direction are extracted (step 1002, YES), the reference surface extraction unit 702 calculates the area (contact area) of the contact portion of each contact surface (step 1003). Then, the reference surface extraction unit 702 extracts the contact surface having the maximum contact area (step 1004) and determines the reference surface in that direction (step 1005). Thereby, one of a plurality of contact surfaces with a plurality of adjacent part models can be determined as a reference surface.

一方、同一方向の接触面が1つだけ抽出された場合(ステップ1002,NO)、基準面抽出部702は、その接触面を基準面に決定する(ステップ1005)。   On the other hand, when only one contact surface in the same direction has been extracted (step 1002, NO), the reference surface extraction unit 702 determines that contact surface as a reference surface (step 1005).

例えば、図22に示すように、処理対象の部品モデルがMODEL_Bである場合、X方向における接触面として、MODEL_BのX表面及びX裏面が抽出され、Y方向における接触面として、MODEL_BのY表面及びY裏面が抽出される。さらに、Z方向における接触面として、MODEL_BのZ表面及びZ裏面が抽出される。X表面、Y表面、及びZ表面は、隣接部品モデルであるMODEL_Cと接触しており、X裏面、Y裏面、及びZ裏面は、隣接部品モデルであるMODEL_Aと接触している。   For example, as shown in FIG. 22, when the part model to be processed is MODEL_B, the X surface and the X back surface of MODEL_B are extracted as the contact surfaces in the X direction, and the Y surface of MODEL_B and the contact surfaces in the Y direction are extracted. The Y back surface is extracted. Further, the Z front surface and the Z back surface of MODEL_B are extracted as contact surfaces in the Z direction. The X surface, the Y surface, and the Z surface are in contact with MODEL_C that is an adjacent component model, and the X back surface, the Y back surface, and the Z back surface are in contact with MODEL_A that is an adjacent component model.

この場合、各方向の複数の接触面が抽出されたため、複数の接触面のうち1つの接触面が基準面に決定される。X方向においては、接触面積が20であるX表面と接触面積が45であるX裏面のうち、より大きな接触面積を有するX裏面が基準面に決定される。同様にして、Y方向においてはY裏面が基準面に決定され、Z方向においてはZ裏面が基準面に決定される。   In this case, since a plurality of contact surfaces in each direction are extracted, one of the plurality of contact surfaces is determined as a reference surface. In the X direction, the X back surface having a larger contact area is determined as the reference surface among the X surface having a contact area of 20 and the X back surface having a contact area of 45. Similarly, the Y back surface is determined as the reference surface in the Y direction, and the Z back surface is determined as the reference surface in the Z direction.

各方向の基準面を決定した後、基準面抽出部702は、未処理の他の部品モデルがあるか否かをチェックする(ステップ1006)。他の部品モデルがある場合(ステップ1006,YES)、基準面抽出部702は、他の部品モデルを処理対象の部品モデルとして、ステップ1001以降の処理を繰り返す。そして、他の部品モデルがなくなった場合(ステップ1006,NO)、基準面抽出部702は、処理を終了する。   After determining the reference plane in each direction, the reference plane extraction unit 702 checks whether there are other unprocessed part models (step 1006). When there is another part model (step 1006, YES), the reference plane extraction unit 702 repeats the processing from step 1001 onward using another part model as a part model to be processed. If there is no other part model (step 1006, NO), the reference plane extraction unit 702 ends the process.

ところで、以下の(1)〜(3)に示すように、図8のステップ804、図9のステップ905、又は図10のステップ1002において、X方向、Y方向、又はZ方向のいずれかの方向の接触面が存在しない場合もあり得る。このような場合でも、基準面抽出部702は、例えば、以下の(1)〜(3)に示すような方法で基準面を決定することができる。   By the way, as shown in the following (1) to (3), in step 804 in FIG. 8, step 905 in FIG. 9, or step 1002 in FIG. 10, any direction of the X direction, the Y direction, or the Z direction. In some cases, the contact surface may not exist. Even in such a case, the reference plane extraction unit 702 can determine the reference plane by a method as shown in the following (1) to (3), for example.

(1)処理対象の部品モデルと他の部品モデルとの間の接触面が1方向のみ存在し、他の方向には、円弧、エッジ、又は頂点により接触している箇所が存在する場合
図23〜図25に示すアセンブリモデルは、MODEL_M、MODEL_K、及び円柱形状の3個のMODEL_Lを含んでいる。処理対象の部品モデルであるMODEL_Kの裏面は、MODEL_Mと接触し、MODEL_Kの側面は、1個のMODEL_Lと接触し、MODEL_Kの底面は、2個のMODEL_Lと接触している。この場合、MODEL_KとMODEL_Mとの間には接触面(MODEL_Kの裏面)が存在するため、MODEL_Kの裏面が基準面に決定される。
(1) A case where a contact surface between a part model to be processed and another part model exists in only one direction, and there is a place in contact with an arc, an edge, or a vertex in the other direction. The assembly model shown in FIG. 25 includes MODEL_M, MODEL_K, and three cylindrical MODEL_Ls. The back surface of MODEL_K, which is a part model to be processed, is in contact with MODEL_M, the side surface of MODEL_K is in contact with one MODEL_L, and the bottom surface of MODEL_K is in contact with two MODEL_L. In this case, since the contact surface (the back surface of MODEL_K) exists between MODEL_K and MODEL_M, the back surface of MODEL_K is determined as the reference surface.

しかし、MODEL_Kと3個のMODEL_Lとの間には接触面が存在しない。そこで、接触面の代わりに、1個のMODEL_Lの円弧部分と接触している、MODEL_Kの側面が抽出され、基準面に決定される。同様に、2個のMODEL_Lの円弧部分と接触している、MODEL_Kの底面が抽出され、基準面に決定される。   However, no contact surface exists between MODEL_K and the three MODEL_L. Therefore, instead of the contact surface, the side surface of MODEL_K that is in contact with the arc portion of one MODEL_L is extracted and determined as a reference surface. Similarly, the bottom surface of MODEL_K that is in contact with the arc portions of the two MODEL_L is extracted and determined as a reference surface.

他の部品モデルの円弧部分と接触している箇所の代わりに、他の部品モデルのエッジ又は頂点と接触している箇所を基準面に決定してもよい。   Instead of the portion that is in contact with the arc portion of another component model, the portion that is in contact with the edge or vertex of the other component model may be determined as the reference plane.

(2)処理対象の部品モデルと他の部品モデルとの間の接触面が1方向のみ存在し、他の方向には、処理対象の部品モデルと2個の部品モデルとの間の隙間が存在する場合
図26に示すアセンブリモデルは、MODEL_G、MODEL_F、及び円柱形状の2個のMODEL_Hを含み、処理対象の部品モデルであるMODEL_Fの裏面は、MODEL_Gと接触している。図27に示すように、MODEL_Fには円形の穴が2個存在し、各穴とMODEL_Hとの間に隙間がある状態で、アセンブリモデルが組み立てられている。この場合、MODEL_FとMODEL_Gとの間には接触面(MODEL_Fの裏面)が存在するため、MODEL_Fの裏面が基準面に決定される。
(2) There is only one contact surface between the part model to be processed and another part model, and there is a gap between the part model to be processed and the two part models in the other direction. When the assembly model shown in FIG. 26 includes MODEL_G, MODEL_F, and two cylindrical MODEL_Hs, the back surface of MODEL_F, which is a part model to be processed, is in contact with MODEL_G. As shown in FIG. 27, MODEL_F has two circular holes, and the assembly model is assembled with a gap between each hole and MODEL_H. In this case, since the contact surface (the back surface of MODEL_F) exists between MODEL_F and MODEL_G, the back surface of MODEL_F is determined as the reference surface.

しかし、MODEL_Fの他の方向には接触面が存在しない。そこで、接触面の代わりに、MODEL_Fと他の部品モデルとの間に隙間が存在する箇所が抽出される。この例では、MODEL_Fと2個のMODEL_Hとの間に隙間が存在し、MODEL_FとそれぞれのMODEL_Hとが隙間を介して対面している。   However, there is no contact surface in the other direction of MODEL_F. Therefore, instead of the contact surface, a place where a gap exists between MODEL_F and another part model is extracted. In this example, a gap exists between MODEL_F and two MODEL_H, and MODEL_F and each MODEL_H face each other through the gap.

組み立ての際には、MODEL_FとMODEL_Hとの相対的な位置を隙間の分だけ変動させることが可能であるため、隙間に面したMODEL_Fの表面又はMODEL_Hの表面を基準面として採用するのは好ましくない。そこで、図28に示すように、MODEL_Fの2個の穴の中心位置2801及び中心位置2802が基準位置として抽出される。   When assembling, it is possible to change the relative position of MODEL_F and MODEL_H by the amount of the gap. Therefore, it is not preferable to use the surface of MODEL_F facing the gap or the surface of MODEL_H as the reference plane. . Therefore, as shown in FIG. 28, the center position 2801 and the center position 2802 of the two holes of MODEL_F are extracted as reference positions.

そして、MODEL_Fの裏面に垂直で面積が比較的大きな2つの平面として、平面S1及び平面S2が抽出され、中心位置2801及び中心位置2802を通り、平面S1に平行な平面2811が基準面に決定される。さらに、中心位置2801と中心位置2802の中間位置2803を通り、平面S2に平行な平面2812が別の基準面に決定される。   Then, planes S1 and S2 are extracted as two planes that are perpendicular to the back surface of MODEL_F and have a relatively large area, and a plane 2811 that passes through the center position 2801 and the center position 2802 and is parallel to the plane S1 is determined as the reference plane. The Furthermore, a plane 2812 that passes through an intermediate position 2803 between the center position 2801 and the center position 2802 and is parallel to the plane S2 is determined as another reference plane.

このように、MODEL_Fの裏面を垂直方向の寸法の基準位置に決定し、MODEL_Fの2個の穴の位置に基づいて、水平方向の寸法の基準位置を決定することができる。   In this manner, the back surface of MODEL_F can be determined as the reference position of the vertical dimension, and the reference position of the horizontal dimension can be determined based on the positions of the two holes of MODEL_F.

(3)処理対象の部品モデルと他の部品モデルとの間の接触面が1方向のみ存在し、他の方向には、処理対象の部品モデルと4個の部品モデルとの間の隙間が存在する場合
図29に示すアセンブリモデルは、MODEL_I、MODEL_J、及び円柱形状の4個のMODEL_Nを含み、処理対象の部品モデルであるMODEL_Jの裏面は、MODEL_Iと接触している。図30に示すように、MODEL_Jには円形の穴が4個存在し、各穴とMODEL_Nとの間に隙間がある状態で、アセンブリモデルが組み立てられている。この場合、MODEL_JとMODEL_Iとの間には接触面(MODEL_Jの裏面)が存在するため、MODEL_Jの裏面が基準面に決定される。
(3) There is only one contact surface between the part model to be processed and another part model, and there is a gap between the part model to be processed and the four part models in the other direction. 29. The assembly model shown in FIG. 29 includes MODEL_I, MODEL_J, and four MODEL_Ns having a cylindrical shape, and the back surface of MODEL_J that is a part model to be processed is in contact with MODEL_I. As shown in FIG. 30, MODEL_J has four circular holes, and the assembly model is assembled with a gap between each hole and MODEL_N. In this case, since the contact surface (the back surface of MODEL_J) exists between MODEL_J and MODEL_I, the back surface of MODEL_J is determined as the reference surface.

しかし、MODEL_Jの他の方向には接触面が存在しない。そこで、接触面の代わりに、MODEL_Jと他の部品モデルとの間に隙間が存在する箇所が抽出される。この例では、MODEL_Jと4個のMODEL_Nとの間に隙間が存在し、MODEL_JとそれぞれのMODEL_Nとが隙間を介して対面している。   However, there is no contact surface in the other direction of MODEL_J. Therefore, instead of the contact surface, a portion where a gap exists between MODEL_J and another part model is extracted. In this example, a gap exists between MODEL_J and the four MODEL_N, and MODEL_J and each MODEL_N face each other through the gap.

組み立ての際には、MODEL_JとMODEL_Nとの相対的な位置を隙間の分だけ変動させることが可能であるため、隙間に面したMODEL_Jの表面又はMODEL_Nの表面を基準面として採用するのは好ましくない。そこで、図31に示すように、MODEL_Jの4個の穴の中心位置3101、中心位置3102、中心位置3103、及び中心位置3104が抽出される。   When assembling, it is possible to change the relative position of MODEL_J and MODEL_N by the gap, so it is not preferable to use the surface of MODEL_J facing the gap or the surface of MODEL_N as the reference plane. . Therefore, as shown in FIG. 31, the center position 3101, the center position 3102, the center position 3103, and the center position 3104 of the four holes of MODEL_J are extracted.

次に、MODEL_Jの裏面に垂直で面積が比較的大きな2つの平面として、平面S3及び平面S4が抽出される。そして、中心位置3101と中心位置3102の中間位置を通るとともに、中心位置3103と中心位置3104の中間位置を通り、平面S3に平行な平面3111が基準面に決定される。さらに、中心位置3101と中心位置3103の中間位置を通るとともに、中心位置3102と中心位置3104の中間位置を通り、平面S4に平行な平面3112が別の基準面に決定される。   Next, a plane S3 and a plane S4 are extracted as two planes that are perpendicular to the back surface of MODEL_J and have a relatively large area. A plane 3111 that passes through an intermediate position between the center position 3101 and the center position 3102 and passes through an intermediate position between the center position 3103 and the center position 3104 and parallel to the plane S3 is determined as a reference plane. Further, a plane 3112 that passes through an intermediate position between the center position 3101 and the center position 3103 and passes through an intermediate position between the center position 3102 and the center position 3104 and parallel to the plane S4 is determined as another reference plane.

このように、MODEL_Jの裏面を垂直方向の寸法の基準位置に決定し、MODEL_Jの4個の穴の位置に基づいて、水平方向の寸法の基準位置を決定することができる。   In this way, the back surface of MODEL_J can be determined as the reference position for the vertical dimension, and the reference position for the horizontal dimension can be determined based on the positions of the four holes of MODEL_J.

図11は、生成部513が行う2次元図面生成処理の例を示すフローチャートである。まず、方向決定部711は、処理対象の部品モデルの各方向における基準面の面積又は外形サイズを計算する(ステップ1101)。このとき、方向決定部711は、処理対象の部品モデルの形状データが示す頂点の位置及びエッジのサイズ等に基づいて、各基準面の面積又は外形サイズを計算することができる。   FIG. 11 is a flowchart illustrating an example of a two-dimensional drawing generation process performed by the generation unit 513. First, the direction determining unit 711 calculates the area or outer size of the reference surface in each direction of the part model to be processed (step 1101). At this time, the direction determining unit 711 can calculate the area or the outer size of each reference plane based on the vertex position and the edge size indicated by the shape data of the component model to be processed.

次に、方向決定部711は、複数の方向の基準面のうち、比較的大きな面積又は外形サイズを有する基準面を正面方向に決定する(ステップ1102)。比較的大きな面積又は外形サイズを有する基準面としては、例えば、最大の面積又は外形サイズを有する基準面が抽出される。   Next, the direction determining unit 711 determines, in the front direction, a reference surface having a relatively large area or outer size among reference surfaces in a plurality of directions (step 1102). As the reference surface having a relatively large area or outer size, for example, a reference surface having the largest area or outer size is extracted.

次に、寸法配置部712は、決定された正面方向の基準面を2次元図面の正面図に投影し(ステップ1103)、正面図を基準に側面図及び上面図を配置する(ステップ1104)。そして、寸法配置部712は、正面図、側面図、及び上面図上における各基準面の位置を基準位置として、処理対象の部品モデルに含まれる各形状の寸法を求め、寸法補助線及び寸法線とともに寸法を配置する(ステップ1105)。なお、側面図又は上面図のいずれか一方又は両方の生成を省略することも可能である。   Next, the dimension arrangement unit 712 projects the determined reference plane in the front direction onto the front view of the two-dimensional drawing (step 1103), and arranges a side view and a top view based on the front view (step 1104). Then, the dimension placement unit 712 obtains the dimensions of each shape included in the component model to be processed using the position of each reference plane on the front view, the side view, and the top view as a reference position. Then, the dimensions are arranged (step 1105). Note that generation of either one or both of the side view and the top view can be omitted.

例えば、図15のMODEL_Bが処理対象の部品モデルである場合、図32に示すように、3方向の基準面A、基準面B、及び基準面Cが抽出され、最大の面積を有する基準面Bが正面方向に決定される。この場合、例えば、図33に示すように、基準面Bを投影した正面図と、基準面Aを投影した側面図とが生成される。   For example, when MODEL_B in FIG. 15 is a part model to be processed, a reference plane A, a reference plane B, and a reference plane C in three directions are extracted as shown in FIG. Is determined in the front direction. In this case, for example, as shown in FIG. 33, a front view in which the reference plane B is projected and a side view in which the reference plane A is projected are generated.

正面図上では、基準面A及び基準面Cが線分として表示されるため、基準面Aに含まれるエッジ3301と基準面Cに含まれるエッジ3302が寸法の基準位置に設定される。さらに、寸法配置部712は、これらの基準位置を示す記号を生成することも可能である。記号3311及び記号3312は、基準面Aの位置及び基準面Cの位置をそれぞれ示している。   Since the reference plane A and the reference plane C are displayed as line segments on the front view, the edge 3301 included in the reference plane A and the edge 3302 included in the reference plane C are set as the reference positions for the dimensions. Further, the dimension arranging unit 712 can generate symbols indicating these reference positions. Symbols 3311 and 3312 indicate the position of the reference plane A and the position of the reference plane C, respectively.

同様に、側面図上では、基準面Bが線分として表示されるため、基準面Bに含まれるエッジ3303が寸法の基準位置に設定され、基準面Bの位置を示す記号3313が生成される。   Similarly, on the side view, since the reference plane B is displayed as a line segment, the edge 3303 included in the reference plane B is set as a reference position for dimensions, and a symbol 3313 indicating the position of the reference plane B is generated. .

正面図及び側面図上に寸法を配置する際には、体裁上の理由から寸法線が重複しないように工夫することが望ましい。そこで、寸法配置部712は、各基準面の位置から近い順に、エッジ、面、頂点のような形状要素を抽出し、抽出した順に、各基準面の位置から形状要素までの寸法を生成する。   When arranging dimensions on the front view and side view, it is desirable to devise so that the dimension lines do not overlap for reasons of appearance. Therefore, the dimension arranging unit 712 extracts shape elements such as edges, surfaces, and vertices in the order from the position of each reference surface, and generates dimensions from the position of each reference surface to the shape element in the extracted order.

ところで、図11のステップ1105において、アセンブリモデルにより指定される所定位置からの寸法を配置した後に、配置された寸法を基準面の位置からの寸法に変更することも可能である。   By the way, in step 1105 in FIG. 11, after the dimension from the predetermined position designated by the assembly model is arranged, the arranged dimension can be changed to the dimension from the position of the reference plane.

図12は、このような寸法配置処理の例を示すフローチャートである。まず、寸法配置部712は、各方向の基準面を抽出し(ステップ1201)、正面図、側面図、及び上面図上に各基準面の位置を設定する(ステップ1202)。そして、寸法配置部712は、正面図、側面図、及び上面図上の所定位置からの寸法を生成し、寸法補助線及び寸法線とともに寸法を配置する(ステップ1203)。このとき、出力部514は、生成された寸法を含む正面図、側面図、及び上面図を画面上に表示することができる。   FIG. 12 is a flowchart showing an example of such dimension arrangement processing. First, the dimension arrangement unit 712 extracts a reference plane in each direction (step 1201), and sets the position of each reference plane on the front view, the side view, and the top view (step 1202). Then, the dimension arranging unit 712 generates a dimension from a predetermined position on the front view, the side view, and the top view, and arranges the dimension together with the dimension extension line and the dimension line (step 1203). At this time, the output unit 514 can display a front view, a side view, and a top view including the generated dimensions on the screen.

次に、寸法配置部712は、各寸法補助線の終端位置と基準面の位置とが一致しているか否かをチェックする(ステップ1204)。寸法補助線の終端位置と基準面の位置とが一致している場合、基準面からの寸法が配置されていると判断され、一致していない場合、基準面からの寸法が配置されていないと判断される。寸法配置部712は、寸法補助線の終端位置の代わりに、寸法線の終端位置を基準面の位置と比較してもよい。   Next, the dimension arranging unit 712 checks whether or not the end position of each dimension auxiliary line matches the position of the reference plane (step 1204). If the end position of the extension line and the position of the reference plane match, it is determined that the dimension from the reference plane is placed. If they do not match, the dimension from the reference plane is not placed. To be judged. The dimension arrangement unit 712 may compare the end position of the dimension line with the position of the reference plane instead of the end position of the dimension extension line.

基準面の位置と一致しない寸法補助線がある場合(ステップ1204,NO)、寸法配置部712は、正面図、側面図、又は上面図上で対応する寸法補助線、寸法線、及び寸法を強調表示するように、出力部514に指示する(ステップ1205)。このとき、寸法配置部712は、寸法補助線、寸法線、及び寸法を他の寸法と視覚的に区別できるように、表示色、表示輝度等を変更して強調表示することができる。   When there is a dimension extension line that does not match the position of the reference plane (step 1204, NO), the dimension placement unit 712 emphasizes the corresponding dimension extension line, dimension line, and dimension on the front view, the side view, or the top view. The output unit 514 is instructed to display (step 1205). At this time, the dimension arranging unit 712 can highlight the display by changing the display color, the display brightness, and the like so that the dimension auxiliary line, the dimension line, and the dimension can be visually distinguished from other dimensions.

オペレータは、強調表示された寸法の配置を確認し、寸法の修正が必要と判断した場合、修正指示を入力する。寸法配置部712は、入力された修正指示に従って寸法補助線、寸法線、及び寸法を修正し(ステップ1206)、ステップ1204以降の処理を繰り返す。そして、すべての寸法補助線の終端と基準面の位置とが一致している場合(ステップ1204,YES)、寸法配置部712は、処理を終了する。   The operator confirms the arrangement of the highlighted dimension, and inputs a correction instruction when it is determined that the dimension needs to be corrected. The dimension placement unit 712 corrects the dimension extension line, the dimension line, and the dimension in accordance with the input correction instruction (step 1206), and repeats the processes after step 1204. Then, when the end points of all the dimension extension lines coincide with the positions of the reference planes (step 1204, YES), the dimension arranging unit 712 ends the process.

例えば、図34に示すように、基準面以外の位置からの寸法3401、寸法3402、及び寸法3403が強調表示された場合、オペレータは、それらの寸法を基準面からの寸法に変更する修正指示を入力する。これにより、図35に示すように、寸法3401、寸法3402、及び寸法3403が、基準面からの寸法3501、寸法3502、及び寸法3503に変更される。   For example, as shown in FIG. 34, when the dimension 3401, the dimension 3402, and the dimension 3403 from a position other than the reference plane are highlighted, the operator issues a correction instruction to change those dimensions to the dimension from the reference plane. input. Thereby, as shown in FIG. 35, the dimension 3401, the dimension 3402, and the dimension 3403 are changed to the dimension 3501, the dimension 3502, and the dimension 3503 from the reference plane.

さらに、基準面の情報を利用して、アセンブリモデル又は部品モデルを強調表示することも可能である。この場合、生成部513は、部品モデルの各形状要素のうち、基準面に対応する形状要素を抽出し、所定の表示色、基準面全体の強調、輪郭線の強調等のように、他の形状要素や他の部品モデルと区別するための表示条件を設定する。   Furthermore, it is also possible to highlight an assembly model or a part model using information on the reference plane. In this case, the generation unit 513 extracts a shape element corresponding to the reference surface from among the shape elements of the part model, and outputs other elements such as a predetermined display color, enhancement of the entire reference surface, enhancement of the contour line, and the like. Set display conditions to distinguish shape elements and other component models.

例えば、図36のアセンブリモデルの強調表示では、MODEL_Bの3方向の基準面がMODEL_Aとは異なる表示色で表示されている。ここで、MODEL_Bの3方向の基準面とは、MODEL_Aと接触しているX裏面、Y裏面、及びZ裏面である。図37のMODEL_Bの強調表示においても、図36と同様に、MODEL_Bの3方向の基準面が所定の表示色で表示されている。   For example, in the assembly model highlight display of FIG. 36, the reference planes in the three directions of MODEL_B are displayed in a display color different from that of MODEL_A. Here, the reference surfaces in the three directions of MODEL_B are the X back surface, the Y back surface, and the Z back surface in contact with MODEL_A. Also in the highlighted display of MODEL_B in FIG. 37, the reference planes in the three directions of MODEL_B are displayed in a predetermined display color, as in FIG.

さらに、図38に示すように、オペレータがポインティングデバイス等により基準面に対応する画面位置を指定すると、寸法配置部712は、基準面を示すタグ3801等を部品モデル上に表示することができる。タグ3801には「削除」及び「設定」の選択肢が含まれており、オペレータが「削除」を選択すると、部品モデルの属性情報から基準面の情報が削除され、「設定」を選択すると、部品モデルの属性情報に基準面の情報が設定される。   Furthermore, as shown in FIG. 38, when the operator designates a screen position corresponding to the reference plane using a pointing device or the like, the dimension arranging unit 712 can display a tag 3801 indicating the reference plane on the component model. The tag 3801 includes “Delete” and “Set” options. When the operator selects “Delete”, the reference plane information is deleted from the attribute information of the part model, and when “Set” is selected, the part Reference plane information is set in the model attribute information.

部品モデルの属性情報に基準面の情報を設定することにより、その部品モデルを利用して別のアセンブリモデルを作成する際に基準面を強調表示することが可能になる。例えば、図39に示すように、MODEL_Qの上にMODEL_Bを組み立てて別のアセンブリモデルを作成する際に、MODEL_Bの基準面が強調表示される。これにより、基準面を目安として利用することが可能になり、アセンブリモデル作成作業の工数が削減される。   By setting the reference plane information in the attribute information of the part model, the reference plane can be highlighted when another assembly model is created using the part model. For example, as shown in FIG. 39, when the MODEL_B is assembled on the MODEL_Q to create another assembly model, the reference surface of the MODEL_B is highlighted. As a result, the reference plane can be used as a guide, and the number of man-hours for creating the assembly model can be reduced.

図13は、生成部513が行う3次元図面生成処理の例を示すフローチャートである。図13のステップ1301及びステップ1302の処理は、図11のステップ1101及びステップ1102の処理と同様である。   FIG. 13 is a flowchart illustrating an example of a three-dimensional drawing generation process performed by the generation unit 513. The processing in step 1301 and step 1302 in FIG. 13 is the same as the processing in step 1101 and step 1102 in FIG.

方向決定部711は、各方向における基準面の面積又は外形サイズを計算した後、比較的大きな面積又は外形サイズを有する基準面に平行な面を正面方向に決定し、他の基準面に平行な面を側面方向に決定する(ステップ1303)。比較的大きな面積又は外形サイズを有する基準面としては、例えば、最大の面積又は外形サイズを有する基準面が抽出される。   The direction determining unit 711 calculates the area or outer size of the reference surface in each direction, determines a surface parallel to the reference surface having a relatively large area or outer size in the front direction, and is parallel to other reference surfaces. The surface is determined in the side direction (step 1303). As the reference surface having a relatively large area or outer size, for example, a reference surface having the largest area or outer size is extracted.

次に、寸法配置部712は、決定された正面方向及び側面方向に基づいて、処理対象の部品モデルの3次元図面を生成する(ステップ1304)。そして、寸法配置部712は、3次元図面上の各基準面の位置を基準位置として、処理対象の部品モデルに含まれる各形状の寸法を求め、寸法補助線及び寸法線とともに寸法を配置する。   Next, the dimension arrangement unit 712 generates a three-dimensional drawing of the part model to be processed based on the determined front direction and side direction (step 1304). Then, the dimension arranging unit 712 obtains the dimensions of each shape included in the component model to be processed using the position of each reference plane on the three-dimensional drawing as a reference position, and arranges the dimensions together with the dimension extension lines and the dimension lines.

例えば、図15のMODEL_Bが処理対象の部品モデルである場合、図40に示すように、3方向の基準面AA、基準面BB、及び基準面CCが抽出され、最大の面積を有する基準面BBが正面方向に決定される。この場合、例えば、図41に示すような3次元図面が生成される。   For example, when MODEL_B in FIG. 15 is a part model to be processed, as shown in FIG. 40, a reference plane AA, a reference plane BB, and a reference plane CC in three directions are extracted, and the reference plane BB having the maximum area is extracted. Is determined in the front direction. In this case, for example, a three-dimensional drawing as shown in FIG. 41 is generated.

寸法配置部712は、3次元図面上に各基準面の位置を示す記号を生成することも可能である。記号4101、記号4102、及び記号4103は、基準面AA、基準面BB、及び基準面CCの位置をそれぞれ示している。   The dimension arranging unit 712 can also generate a symbol indicating the position of each reference plane on the three-dimensional drawing. Symbol 4101, symbol 4102, and symbol 4103 indicate the positions of the reference plane AA, the reference plane BB, and the reference plane CC, respectively.

3次元図面上に寸法を配置する際には、体裁上の理由から寸法線が重複しないように工夫することが望ましい。そこで、寸法配置部712は、各基準面の位置から近い順に、エッジ、面、頂点のような形状要素を抽出し、抽出した順に、各基準面の位置から形状要素までの寸法を生成する。   When arranging dimensions on a three-dimensional drawing, it is desirable to devise so that dimension lines do not overlap for reasons of appearance. Therefore, the dimension arranging unit 712 extracts shape elements such as edges, surfaces, and vertices in the order from the position of each reference surface, and generates dimensions from the position of each reference surface to the shape element in the extracted order.

ところで、図13のステップ1304において、アセンブリモデルにより指定される所定位置からの寸法を配置した後に、配置された寸法を基準面の位置からの寸法に変更することも可能である。   Incidentally, in step 1304 in FIG. 13, after the dimension from the predetermined position specified by the assembly model is arranged, the arranged dimension can be changed to the dimension from the position of the reference plane.

図14は、このような寸法配置処理の例を示すフローチャートである。図14のステップ1401〜ステップ1406の処理は、生成される図面が3次元図面である点を除いて、図12のステップ1201〜ステップ1206の処理と同様である。   FIG. 14 is a flowchart showing an example of such dimension arrangement processing. The processing in steps 1401 to 1406 in FIG. 14 is the same as the processing in steps 1201 to 1206 in FIG. 12 except that the generated drawing is a three-dimensional drawing.

例えば、図42に示すように、基準面以外の位置からの寸法4201が強調表示された場合、オペレータは、寸法4201を基準面BBからの寸法に変更する修正指示を入力する。これにより、寸法4201が基準面BBからの寸法に変更される。   For example, as shown in FIG. 42, when the dimension 4201 from a position other than the reference plane is highlighted, the operator inputs a correction instruction to change the dimension 4201 to the dimension from the reference plane BB. Thereby, the dimension 4201 is changed to the dimension from the reference plane BB.

図8〜図14の図面生成処理によれば、3次元アセンブリモデルに含まれる部品モデルの2次元図面及び3次元図面の作成を効率化することができる。また、アセンブリモデルにおける部品モデルの配置が変更された際、それに追従して、2次元図面及び3次元図面の寸法を変更することができるため、図面変更作業の工数が削減される。   According to the drawing generation processing of FIGS. 8 to 14, it is possible to improve the efficiency of creating a two-dimensional drawing and a three-dimensional drawing of a part model included in the three-dimensional assembly model. Further, when the arrangement of the part model in the assembly model is changed, the dimensions of the two-dimensional drawing and the three-dimensional drawing can be changed following the change, so that the man-hour for the drawing changing work is reduced.

図8〜図14のフローチャートは一例に過ぎず、図面生成装置の構成や条件に応じて一部の処理を省略又は変更してもよい。例えば、3次元アセンブリモデルに必ず構成情報が含まれている場合は、図8のステップ802及びステップ808の処理を省略することができる。   The flowcharts of FIGS. 8 to 14 are merely examples, and some processes may be omitted or changed according to the configuration and conditions of the drawing generation apparatus. For example, when the configuration information is always included in the three-dimensional assembly model, the processing in steps 802 and 808 in FIG. 8 can be omitted.

また、図8のステップ804、図9のステップ905、又は図10のステップ1002において、処理対象の部品モデルと他の部品モデルとの間の接触面の代わりに、処理対象の部品モデルと他の部品モデルとの間の接触位置を抽出してもよい。この場合、ステップ806、ステップ907、又はステップ1005において、抽出された接触位置が寸法の基準位置に決定され、図11のステップ1105及び図13のステップ1304において、基準位置からの寸法が生成される。   Further, in step 804 in FIG. 8, step 905 in FIG. 9, or step 1002 in FIG. 10, instead of the contact surface between the part model to be processed and another part model, the part model to be processed and other parts You may extract the contact position between parts models. In this case, in step 806, step 907, or step 1005, the extracted contact position is determined as the reference position of the dimension, and in step 1105 of FIG. 11 and step 1304 of FIG. 13, the dimension from the reference position is generated. .

図5及び図7の図面生成装置501は、例えば、図43に示すような情報処理装置を用いて実現可能である。   The drawing generation apparatus 501 in FIGS. 5 and 7 can be realized by using an information processing apparatus as shown in FIG. 43, for example.

図43の情報処理装置は、Central Processing Unit(CPU)4301、メモリ4302、入力装置4303、出力装置4304、補助記憶装置4305、媒体駆動装置4306、及びネットワーク接続装置4307を備える。これらの構成要素はバス4308により互いに接続されている。   43 includes a central processing unit (CPU) 4301, a memory 4302, an input device 4303, an output device 4304, an auxiliary storage device 4305, a medium driving device 4306, and a network connection device 4307. These components are connected to each other by a bus 4308.

メモリ4302は、例えば、Read Only Memory(ROM)、Random Access Memory(RAM)、フラッシュメモリ等の半導体メモリであり、処理に用いられるプログラム及びデータを格納する。メモリ4302は、記憶部511として用いることができる。   The memory 4302 is a semiconductor memory such as a read only memory (ROM), a random access memory (RAM), or a flash memory, and stores programs and data used for processing. The memory 4302 can be used as the storage unit 511.

CPU4301(プロセッサ)は、例えば、メモリ4302を利用してプログラムを実行することにより、図5及び図7の抽出部512及び生成部513として動作し、図面生成処理を行う。このとき、CPU4301は、図7のモデル情報抽出部701、基準面抽出部702、方向決定部711、及び寸法配置部712としても動作する。   The CPU 4301 (processor), for example, operates as the extraction unit 512 and the generation unit 513 in FIGS. 5 and 7 by executing a program using the memory 4302, and performs drawing generation processing. At this time, the CPU 4301 also operates as the model information extraction unit 701, the reference plane extraction unit 702, the direction determination unit 711, and the dimension arrangement unit 712 in FIG.

入力装置4303は、例えば、キーボード、ポインティングデバイス等であり、ユーザ又はオペレータからの指示や情報の入力に用いられる。出力装置4304は、例えば、表示装置、プリンタ、スピーカ等であり、ユーザ又はオペレータへの問い合わせや処理結果の出力に用いられる。処理結果には2次元図面又は3次元図面が含まれ、出力装置4304は、出力部514として用いることができる。   The input device 4303 is, for example, a keyboard, a pointing device, or the like, and is used for inputting an instruction or information from a user or an operator. The output device 4304 is, for example, a display device, a printer, a speaker, or the like, and is used to output an inquiry to a user or an operator or a processing result. The processing result includes a two-dimensional drawing or a three-dimensional drawing, and the output device 4304 can be used as the output unit 514.

補助記憶装置4305は、例えば、磁気ディスク装置、光ディスク装置、光磁気ディスク装置、テープ装置等である。この補助記憶装置4305には、ハードディスクドライブも含まれる。情報処理装置は、補助記憶装置4305にプログラム及びデータを格納しておき、それらをメモリ4302にロードして使用することができる。補助記憶装置4305は、記憶部511として用いることができる。   The auxiliary storage device 4305 is, for example, a magnetic disk device, an optical disk device, a magneto-optical disk device, a tape device, or the like. The auxiliary storage device 4305 includes a hard disk drive. The information processing apparatus can store programs and data in the auxiliary storage device 4305 and load them into the memory 4302 for use. The auxiliary storage device 4305 can be used as the storage unit 511.

媒体駆動装置4306は、可搬型記録媒体4309を駆動し、その記録内容にアクセスする。可搬型記録媒体4309は、メモリデバイス、フレキシブルディスク、光ディスク、光磁気ディスク等である。この可搬型記録媒体4309には、Compact Disk Read Only Memory(CD−ROM)、Digital Versatile Disk(DVD)、Universal Serial Bus(USB)メモリ等も含まれる。ユーザ又はオペレータは、この可搬型記録媒体4309にプログラム及びデータを格納しておき、それらをメモリ4302にロードして使用することができる。   The medium driving device 4306 drives the portable recording medium 4309 and accesses the recorded contents. The portable recording medium 4309 is a memory device, a flexible disk, an optical disk, a magneto-optical disk, or the like. The portable recording medium 4309 includes a compact disk read only memory (CD-ROM), a digital versatile disk (DVD), a universal serial bus (USB) memory, and the like. A user or an operator can store programs and data in the portable recording medium 4309 and load them into the memory 4302 for use.

このように、図面生成処理に用いられるプログラム及びデータを格納するコンピュータ読み取り可能な記録媒体には、メモリ4302、補助記憶装置4305、及び可搬型記録媒体4309のような、物理的な(非一時的な)記録媒体が含まれる。   As described above, the computer-readable recording medium for storing the program and data used in the drawing generation processing includes physical (non-temporary) such as the memory 4302, the auxiliary storage device 4305, and the portable recording medium 4309. Recording medium).

ネットワーク接続装置4307は、Local Area Network(LAN)、インターネット等の通信ネットワークに接続され、通信に伴うデータ変換を行う通信インタフェースである。ネットワーク接続装置4307は、出力部514として用いることができる。   The network connection device 4307 is a communication interface that is connected to a communication network such as a local area network (LAN) or the Internet and performs data conversion accompanying communication. The network connection device 4307 can be used as the output unit 514.

情報処理装置は、ネットワーク接続装置4307を介して、ユーザ端末から処理要求を受信し、処理結果である2次元図面又は3次元図面をユーザ端末へ送信することができる。情報処理装置は、プログラム及びデータを外部の装置からネットワーク接続装置4307を介して受け取り、それらをメモリ4302にロードして使用することもできる。   The information processing apparatus can receive a processing request from the user terminal via the network connection apparatus 4307 and transmit a two-dimensional drawing or a three-dimensional drawing as a processing result to the user terminal. The information processing apparatus can receive a program and data from an external apparatus via the network connection apparatus 4307 and load them into the memory 4302 for use.

なお、情報処理装置が図43のすべての構成要素を含む必要はなく、用途や条件に応じて一部の構成要素を省略することも可能である。例えば、情報処理装置がユーザ端末から通信ネットワーク経由で処理要求を受信する場合は、入力装置4303及び出力装置4304を省略してもよい。   Note that the information processing apparatus does not have to include all the components shown in FIG. 43, and some of the components can be omitted depending on the application and conditions. For example, when the information processing apparatus receives a processing request from the user terminal via the communication network, the input device 4303 and the output device 4304 may be omitted.

開示の実施形態とその利点について詳しく説明したが、当業者は、特許請求の範囲に明確に記載した本発明の範囲から逸脱することなく、様々な変更、追加、省略をすることができるであろう。   Although the disclosed embodiments and their advantages have been described in detail, those skilled in the art can make various modifications, additions and omissions without departing from the scope of the present invention as explicitly set forth in the claims. Let's go.

511 記憶部
512 抽出部
513 生成部
514 出力部
701 モデル情報抽出部
702 基準面抽出部
711 方向決定部
712 寸法配置部
2801、2802、3101〜3104 中心位置
2803 中間位置
2811、2812、3111、3112、S1〜S3 平面
3301〜3303 エッジ
3311〜3313、4101〜4103 記号
3401〜3403、3501〜3503、4201 寸法
3801 タグ
4301 CPU
4302 メモリ
4303 入力装置
4304 出力装置
4305 補助記憶装置
4306 媒体駆動装置
4307 ネットワーク接続装置
4308 バス
4309 可搬型記録媒体
P201、P202、P203 基準位置
511 Storage unit 512 Extraction unit 513 Generation unit 514 Output unit 701 Model information extraction unit 702 Reference plane extraction unit 711 Direction determination unit 712 Dimensional arrangement unit 2801, 2802, 3101 to 3104 Center position 2803 Intermediate position 2811, 2812, 3111, 3112, S1 to S3 planes 3301 to 3033 Edges 3311 to 3313, 4101 to 4103 Symbols 3401 to 3403, 3501 to 3503, 4201 Size 3801 Tag 4301 CPU
4302 Memory 4303 Input device 4304 Output device 4305 Auxiliary storage device 4306 Medium drive device 4307 Network connection device 4308 Bus 4309 Portable recording medium P201, P202, P203 Reference position

Claims (9)

3次元アセンブリモデルに含まれる第1の部品モデルの形状データと第2の部品モデルの形状データとを記憶する記憶部と、
前記第1の部品モデルの形状データと前記第2の部品モデルの形状データとに基づいて、前記第1の部品モデルと前記第2の部品モデルとが接触している接触位置を抽出する抽出部と、
前記接触位置を基準として前記第2の部品モデルの寸法を求め、前記寸法を含む前記第2の部品モデルの図面情報を生成する生成部と、
前記図面情報を出力する出力部と、
を備えることを特徴とする図面生成装置。
A storage unit for storing shape data of the first part model and shape data of the second part model included in the three-dimensional assembly model;
An extraction unit that extracts a contact position where the first part model and the second part model are in contact based on the shape data of the first part model and the shape data of the second part model When,
A generating unit that obtains a dimension of the second part model based on the contact position and generates drawing information of the second part model including the dimension;
An output unit for outputting the drawing information;
A drawing generation apparatus comprising:
前記記憶部は、前記第2の部品モデルが前記第1の部品モデルの下位の部品モデルであるとともに、前記3次元アセンブリモデルに含まれる第3の部品モデルの上位の部品モデルであることを示す構成情報をさらに記憶し、前記抽出部は、前記構成情報に基づいて、前記第1の部品モデルと前記第2の部品モデルとが接触している接触位置と、前記第2の部品モデルと前記第3の部品モデルとが接触している接触位置とを抽出し、前記第1の部品モデルと前記第2の部品モデルとが接触している接触位置を前記寸法の基準として選択することを特徴とする請求項1記載の図面生成装置。   The storage unit indicates that the second part model is a lower part model of the first part model and a higher part model of the third part model included in the three-dimensional assembly model. Further storing configuration information, the extraction unit based on the configuration information, the contact position where the first part model and the second part model are in contact, the second part model and the A contact position where the third part model is in contact is extracted, and a contact position where the first part model and the second part model are in contact is selected as a reference for the dimension. The drawing generation apparatus according to claim 1. 前記構成情報は、前記3次元アセンブリモデルの情報に含まれており、前記第1の部品モデル上に前記第2の部品モデルが組み立てられ、前記第2の部品モデル上に前記第3の部品モデルが組み立てられている状態を示すことを特徴とする請求項2記載の図面生成装置。   The configuration information is included in the information of the three-dimensional assembly model, the second part model is assembled on the first part model, and the third part model is formed on the second part model. The drawing generation apparatus according to claim 2, wherein the drawing generation apparatus is in an assembled state. 前記抽出部は、前記第1の部品モデルの体積、前記第2の部品モデルの体積、及び前記第3の部品モデルの体積を計算し、前記第1の部品モデルの体積が最大である場合、前記第1の部品モデルに接触している前記第2の部品モデルを、前記第1の部品モデルの下位の部品モデルとして抽出し、前記第2の部品モデルに接触している前記第3の部品モデルを、前記第2の部品モデルの下位の部品モデルとして抽出することにより、前記構成情報を生成することを特徴とする請求項2記載の図面生成装置。   The extraction unit calculates the volume of the first part model, the volume of the second part model, and the volume of the third part model, and when the volume of the first part model is maximum, The second part model in contact with the first part model is extracted as a lower part model of the first part model, and the third part in contact with the second part model 3. The drawing generation apparatus according to claim 2, wherein the configuration information is generated by extracting a model as a lower part model of the second part model. 前記抽出部は、前記第2の部品モデルが前記第1の部品モデルと接触している第1の接触面の面積と、前記第2の部品モデルが前記第3の部品モデルと接触している第2の接触面の面積とを計算し、前記第1の接触面の面積が前記第2の接触面の面積より大きい場合、前記第1の接触面を前記接触位置として抽出することを特徴とする請求項1記載の図面生成装置。   The extraction unit includes an area of a first contact surface where the second part model is in contact with the first part model, and the second part model is in contact with the third part model. And calculating an area of the second contact surface, and extracting the first contact surface as the contact position when the area of the first contact surface is larger than the area of the second contact surface. The drawing generation apparatus according to claim 1. 前記生成部は、前記図面情報上に前記接触位置を示す記号を生成することを特徴とする請求項1乃至5のいずれか1項に記載の図面生成装置。   The drawing generation apparatus according to claim 1, wherein the generation unit generates a symbol indicating the contact position on the drawing information. 前記生成部は、前記3次元アセンブリモデルにより指定される所定位置を基準として前記第2の部品モデルの寸法を求め、前記所定位置を基準とする前記寸法を含む前記図面情報を生成し、前記出力部は、前記図面情報を画面上に表示し、前記所定位置と前記接触位置とが一致していない場合、前記所定位置を基準とする前記寸法を強調表示することを特徴とする請求項1乃至6のいずれか1項に記載の図面生成装置。   The generation unit obtains a dimension of the second part model with reference to a predetermined position specified by the three-dimensional assembly model, generates the drawing information including the dimension with the predetermined position as a reference, and outputs the output The unit displays the drawing information on a screen, and when the predetermined position does not coincide with the contact position, the unit highlights the dimension based on the predetermined position. The drawing generation device according to any one of claims 6 to 7. コンピュータによって実行される図面生成方法であって、
3次元アセンブリモデルに含まれる第1の部品モデルの形状データと第2の部品モデルの形状データとを記憶する記憶部を参照し、
前記第1の部品モデルの形状データと前記第2の部品モデルの形状データとに基づいて、前記第1の部品モデルと前記第2の部品モデルとが接触している接触位置を抽出し、
前記接触位置を基準として前記第2の部品モデルの寸法を求め、
前記寸法を含む前記第2の部品モデルの図面情報を生成する、
ことを特徴とする図面生成方法。
A drawing generation method executed by a computer,
Referring to a storage unit that stores shape data of the first part model and shape data of the second part model included in the three-dimensional assembly model;
Based on the shape data of the first part model and the shape data of the second part model, a contact position where the first part model and the second part model are in contact is extracted,
Determining the dimension of the second part model with reference to the contact position;
Generating drawing information of the second part model including the dimensions;
A drawing generation method characterized by the above.
3次元アセンブリモデルに含まれる第1の部品モデルの形状データと第2の部品モデルの形状データとを記憶する記憶部を参照し、
前記第1の部品モデルの形状データと前記第2の部品モデルの形状データとに基づいて、前記第1の部品モデルと前記第2の部品モデルとが接触している接触位置を抽出し、
前記接触位置を基準として前記第2の部品モデルの寸法を求め、
前記寸法を含む前記第2の部品モデルの図面情報を生成する、
処理をコンピュータに実行させるプログラム。
Referring to a storage unit that stores shape data of the first part model and shape data of the second part model included in the three-dimensional assembly model;
Based on the shape data of the first part model and the shape data of the second part model, a contact position where the first part model and the second part model are in contact is extracted,
Determining the dimension of the second part model with reference to the contact position;
Generating drawing information of the second part model including the dimensions;
A program that causes a computer to execute processing.
JP2013091662A 2013-04-24 2013-04-24 Drawing generation apparatus, drawing generation method and program Pending JP2014215769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013091662A JP2014215769A (en) 2013-04-24 2013-04-24 Drawing generation apparatus, drawing generation method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013091662A JP2014215769A (en) 2013-04-24 2013-04-24 Drawing generation apparatus, drawing generation method and program

Publications (1)

Publication Number Publication Date
JP2014215769A true JP2014215769A (en) 2014-11-17

Family

ID=51941484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013091662A Pending JP2014215769A (en) 2013-04-24 2013-04-24 Drawing generation apparatus, drawing generation method and program

Country Status (1)

Country Link
JP (1) JP2014215769A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016197392A (en) * 2015-04-02 2016-11-24 スリーディー・システムズ・コリア・インコーポレイテッド Method of generating dimensions from geometric shape generated using three-dimensional scanner
JP2018025953A (en) * 2016-08-09 2018-02-15 株式会社ミスミ Design support device, design support system, server, and design support method
JP2020112942A (en) * 2019-01-09 2020-07-27 トヨタ自動車株式会社 Design apparatus
JP7464423B2 (en) 2020-03-25 2024-04-09 株式会社Jmuシステムズ Drawing creation method and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016197392A (en) * 2015-04-02 2016-11-24 スリーディー・システムズ・コリア・インコーポレイテッド Method of generating dimensions from geometric shape generated using three-dimensional scanner
JP2018025953A (en) * 2016-08-09 2018-02-15 株式会社ミスミ Design support device, design support system, server, and design support method
WO2018030073A1 (en) * 2016-08-09 2018-02-15 株式会社ミスミ Design assistance device, design assistance system, server, and design assistance method
US20190213799A1 (en) * 2016-08-09 2019-07-11 Misumi Corporation Design assistance device, design assistance system, server, and design assistance method
US11074761B2 (en) 2016-08-09 2021-07-27 Misumi Corporation Assistance device, design assistance system, server, and design assistance method
US11721082B2 (en) 2016-08-09 2023-08-08 Misumi Corporation Assistance device, design assistance system, server, and design assistance method
JP2020112942A (en) * 2019-01-09 2020-07-27 トヨタ自動車株式会社 Design apparatus
JP7081503B2 (en) 2019-01-09 2022-06-07 トヨタ自動車株式会社 Design equipment
JP7464423B2 (en) 2020-03-25 2024-04-09 株式会社Jmuシステムズ Drawing creation method and system

Similar Documents

Publication Publication Date Title
JP5011916B2 (en) Shape refinement device, shape refinement method, shape refinement program, and machine CAD device
AU2016262789B2 (en) 3d modeling by tracing 2d image ui
JP6636097B2 (en) Method, apparatus and device for creating a visual model layout of a space
JP4681527B2 (en) Height-restricted area information creation device, height-restricted area information creation method, and height-restricted area information creation program
CN110929310A (en) Cloud drawing intelligent generation and editing method
JP2014215769A (en) Drawing generation apparatus, drawing generation method and program
JP2012014569A (en) Assembly sequence generation system, program and method
JP6242709B2 (en) Assembly sequence generation apparatus and assembly sequence generation method
JP2008084210A (en) Height-limit computing device, height-limit computing method, height-limit computing program, and manufacturing method of three-dimensional structure
JP4979358B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP5423220B2 (en) Printed circuit board data generation system, printed circuit board data generation method, and printed circuit board data generation program
JP5062080B2 (en) Apparatus and method for generating three-dimensional model data
JP2011034505A (en) Design support apparatus and design support method
JP6264208B2 (en) Display program, display method, and display device
WO2017204196A1 (en) Three-dimensional shape data creation device and three-dimensional shape data creation assist method
US10672194B2 (en) Editing device for three-dimensional shape data, and non-transitory computer readable medium storing three-dimensional shape-data editing program
US20160163090A1 (en) Computing device and method for simulating process of scanning drawing of object
KR101420820B1 (en) Method of embodying three-dimensional object animation, apparatus performing the same and storage media storing the same
JP2006018589A (en) Operation module, cad apparatus and note entry method
JP2020181544A (en) Connection point search program, information processing device, and connection point search method
JP2008287593A (en) Cad data management device
JP6972647B2 (en) 3D shape data editing device and 3D shape data editing program
JP2008152429A (en) Image processor, image processing method, program and storage medium
JP3721763B2 (en) How to create a 3D model
JP6467879B2 (en) Leader line layout position determining program, leader line layout position determining method, and leader line layout position determining apparatus