JP2009237631A - Diagram element-selecting device and method - Google Patents
Diagram element-selecting device and method Download PDFInfo
- Publication number
- JP2009237631A JP2009237631A JP2008079361A JP2008079361A JP2009237631A JP 2009237631 A JP2009237631 A JP 2009237631A JP 2008079361 A JP2008079361 A JP 2008079361A JP 2008079361 A JP2008079361 A JP 2008079361A JP 2009237631 A JP2009237631 A JP 2009237631A
- Authority
- JP
- Japan
- Prior art keywords
- graphic element
- search
- graphic
- information
- condition
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
本発明は、形状を構成する図形要素を選択する図形要素選択装置および方法に関し、より詳細には、CADシステムにおいて複数の図形要素からなる形状を生成するために、その形状を構成する図形要素を選択する図形要素選択装置および方法に関する。 The present invention relates to a graphic element selection apparatus and method for selecting a graphic element constituting a shape, and more specifically, in order to generate a shape composed of a plurality of graphic elements in a CAD system, the graphic element constituting the shape is selected. The present invention relates to a graphic element selection apparatus and method for selection.
CAD(Computer Aided Design)システムなどにおいて、画面に表示される複数の図形要素の中から図形要素を選択する従来の技術がある。 In a CAD (Computer Aided Design) system or the like, there is a conventional technique for selecting a graphic element from a plurality of graphic elements displayed on a screen.
第1の従来の技術である図形順次選択装置は、ディスプレイに表示された重なった図形の中から、選択状態にある図形の内部の座標を指示することによって、指示された座標を含む図形のうちで、前記選択状態にある図形の次の重ね順位の図形を新たに選択状態とする(たとえば特許文献1参照)。 A graphic sequential selection device according to the first conventional technique indicates a coordinate including an instructed coordinate by instructing a coordinate inside a graphic in a selected state from among the overlapping graphic displayed on the display. Then, the graphic in the next overlapping order of the graphic in the selected state is newly selected (see, for example, Patent Document 1).
第2の従来の技術である図形選択方法は、複数の図形要素から構成される図形を選択する際に、指定された図形要素に接する図形要素を検索する工程を含むように構成され、接する一連の図形要素を最小限の操作回数で選択することができる(たとえば特許文献2参照)。 A graphic selection method as a second conventional technique is configured to include a step of searching for a graphic element in contact with a designated graphic element when selecting a graphic composed of a plurality of graphic elements. Can be selected with a minimum number of operations (see, for example, Patent Document 2).
第3の従来の技術である複数要素一括選択方法は、第1の平面、および第1の平面に平行な第2の平面を特定し、複数の幾何形状要素の中から、特定された第1の平面および第2の平面によって挟まれる空間領域に存在する幾何形状要素を一括選択する(たとえば特許文献3参照)。 The multi-element batch selection method according to the third conventional technique specifies a first plane and a second plane parallel to the first plane, and specifies the first specified from the plurality of geometric elements. The geometric elements existing in the space region sandwiched between the second plane and the second plane are selected at once (see, for example, Patent Document 3).
第4の従来の技術である図形選択方法は、表示画面に表示された図形要素の中から代表要素を選択すると、代表要素の形状情報および属性情報を表示する。そして、表示された代表要素の形状情報および属性情報から条件項目として抽出しない情報を選択して条件項目を確定し、確定された条件項目に合致したすべての図形要素を検索して選択する。特定の条件を等しくする複数の図形要素を簡単な操作で選択することができる。形状情報は、半径および角度などの形状特有な項目であり、属性情報は、ペン番号、線種、カラー、およびレイヤ番号などの標準属性である(たとえば特許文献4参照)。 In the graphic selection method as the fourth conventional technique, when a representative element is selected from graphic elements displayed on the display screen, the shape information and attribute information of the representative element are displayed. Then, information that is not extracted as a condition item is selected from the displayed shape element and attribute information of the representative element to determine the condition item, and all graphic elements that match the determined condition item are searched and selected. A plurality of graphic elements that equalize a specific condition can be selected by a simple operation. The shape information is an item unique to the shape such as a radius and an angle, and the attribute information is a standard attribute such as a pen number, a line type, a color, and a layer number (see, for example, Patent Document 4).
第1の従来の技術は、重なって表示されている図形のうち、選択状態でない図形を選択状態とすることができ、第2の従来の技術は、接する図形要素を選択することができ、第3の従来の技術は、2つの平行な平面に挟まれる幾何形状要素を選択することができる。しかしながら、いずれの従来の技術も選択範囲が限定され、選択範囲外にある要素を選択するには、同様の複数回の操作を繰り返す必要がある。 In the first conventional technique, it is possible to select a graphic that is not in a selected state from among the graphic that is displayed in an overlapping manner, and in the second conventional technique, it is possible to select a graphic element that touches, The 3 conventional technique can select a geometric element sandwiched between two parallel planes. However, the selection range is limited in any of the conventional techniques, and it is necessary to repeat the same multiple operations in order to select an element outside the selection range.
第4の従来の技術は、選択範囲は限定されないが、図形要素の形状情報および属性情報によって定まる特定の条件、たとえば半径あるいは角度などを等しくする図形要素を選択するものであり、選択された図形要素と特定の位置関係にある図形要素を選択することはできないという問題がある。 In the fourth conventional technique, the selection range is not limited, but a specific condition determined by the shape information and attribute information of the graphic element, for example, a graphic element having the same radius or angle is selected. There is a problem that a graphic element having a specific positional relationship with an element cannot be selected.
本発明の目的は、部品が配置される被配置物の形状を構成する図形要素の中から同じ形状の部品が配置される図形要素の候補を位置関係を含む条件によって絞り込むことができる図形要素選択装置および方法を提供することである。 The object of the present invention is to select graphic elements that can narrow down candidates of graphic elements on which parts of the same shape are arranged from among the graphic elements constituting the shape of the placement object on which the parts are arranged, by conditions including positional relationships. An apparatus and method is provided.
本発明は、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための図形要素識別情報とを対応付けて記憶する図形要素記憶手段と、
同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件を表す検索条件情報を記憶する検索条件情報記憶手段と、
前記図形要素記憶手段に記憶される図形要素識別情報の中から1つの部品を配置する位置にある形状を構成する図形要素の図形要素識別情報を選択する図形要素選択手段と、
前記図形要素記憶手段に記憶される幾何情報のうち前記図形要素選択手段によって選択された図形要素識別情報が示す第1の図形要素の幾何情報と、前記検索条件情報記憶手段に記憶される検索条件情報が示す予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する検索手段と、
前記検索手段によって検索された図形要素の候補の図形要素識別情報を選択可能に表示する表示手段とを含むことを特徴とする図形要素選択装置である。
The present invention relates to geometric element storage means for storing geometric information representing graphic elements constituting the shape of an object on which a part is arranged and graphic element identification information for identifying the graphic elements in association with each other;
Search condition information storage means for storing search condition information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged;
Graphic element selection means for selecting graphic element identification information of a graphic element constituting a shape at a position where one part is arranged from among graphic element identification information stored in the graphic element storage means;
The geometric information of the first graphic element indicated by the graphic element identification information selected by the graphic element selection means among the geometric information stored in the graphic element storage means, and the search condition stored in the search condition information storage means Search means for searching for a graphic element candidate in which a component having the same shape as the component arranged at the position of the first graphic element is based on a predetermined search condition indicated by the information;
A graphic element selection device comprising: display means for selectively displaying graphic element identification information of graphic element candidates searched by the search means.
また本発明は、前記表示手段によって選択可能に表示される図形要素識別情報の中から、前記第1の図形要素の図形要素識別情報と異なる第2の図形要素識別情報を選択する第2の図形要素選択手段をさらに含み、
前記検索手段は、前記図形要素記憶手段に記憶される幾何情報のうち、前記第2の図形要素選択手段によって選択された第2の図形要素識別情報が示す第2の図形要素および前記第1の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索することを特徴とする。
Further, the present invention provides a second graphic for selecting second graphic element identification information different from the graphic element identification information of the first graphic element from graphic element identification information displayed in a selectable manner by the display means. Further comprising element selection means,
The search means includes the second graphic element indicated by the second graphic element identification information selected by the second graphic element selection means among the geometric information stored in the graphic element storage means, and the first graphic element. Searching for a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is searched based on the geometric information of the graphic element and the predetermined search condition. To do.
また本発明は、前記図形要素の形状が円または円弧の形状であり、
前記予め定める検索条件は、図形要素の候補の形状の半径が、前記第1の図形要素の形状の半径に等しいという条件を含むことを特徴とする。
In the present invention, the shape of the graphic element is a circular or arc shape,
The predetermined search condition includes a condition that a radius of the shape of the graphic element candidate is equal to a radius of the shape of the first graphic element.
また本発明は、前記予め定める検索条件は、図形要素の候補が含まれる仮想平面の法線の方向が、前記第1の図形要素が含まれる仮想平面の法線の方向と同じであるという条件をさらに含むことを特徴とする。 In the invention, it is preferable that the predetermined search condition is that a direction of a normal of a virtual plane including a candidate for a graphic element is the same as a direction of a normal of a virtual plane including the first graphic element. Is further included.
また本発明は、前記予め定める検索条件は、図形要素の中心の位置を前記被配置物の重心の位置を原点とするXYZ座標系で表すとき、X座標軸、Y座標軸およびZ座標軸のうち1つの座標軸で、図形要素の候補の中心の位置の座標の絶対値と前記第1の図形要素の中心の位置の座標の絶対値とが等しいという条件をさらに含むことを特徴とする。 Further, in the present invention, when the predetermined search condition is expressed in an XYZ coordinate system in which the position of the center of the graphic element is the origin, the position of the center of gravity of the placement object is one of the X coordinate axis, the Y coordinate axis, and the Z coordinate axis. The coordinate axis further includes a condition that the absolute value of the coordinate of the center position of the graphic element candidate is equal to the absolute value of the coordinate of the center position of the first graphic element.
また本発明は、前記予め定める検索条件は、前記被配置物の表面を構成する面のうち、前記第1の図形要素を含む面が直線の外周縁を含むとき、その外周縁の直線のうちの第1の直線と図形要素の候補の中心との距離が、前記第1の直線と前記第1の図形要素の中心との距離に等しいという条件をさらに含むことを特徴とする。 Further, in the present invention, the predetermined search condition is that when a surface including the first graphic element includes a straight outer peripheral edge among the surfaces constituting the surface of the arrangement object, The distance between the first straight line and the center of the graphic element candidate is further equal to the distance between the first straight line and the center of the first graphic element.
また本発明は、前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心とを通る直線上にあるという条件をさらに含むことを特徴とする。 In the invention, it is preferable that the predetermined search condition further includes a condition that the center of the graphic element candidate is on a straight line passing through the center of the first graphic element and the center of the second graphic element. It is characterized by.
また本発明は、前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心とを通る直線に垂直で、かつ前記第1の図形要素または前記第2の図形要素の中心を通る直線上にあるという条件をさらに含むことを特徴とする。 According to the present invention, the predetermined search condition is that the center of the graphic element candidate is perpendicular to a straight line passing through the center of the first graphic element and the center of the second graphic element, and It further includes a condition that it is on a straight line passing through the center of the graphic element or the second graphic element.
また本発明は、前記第2の図形要素選択手段は、前記表示手段によって選択可能に表示される図形要素識別情報の中から、前記第1の図形要素および第2の図形要素の図形要素識別情報と異なる第3の図形要素識別情報をさらに選択し、
前記検索手段は、前記図形要素記憶手段に記憶される幾何情報のうち、前記第1の図形要素、前記第2の図形要素、および前記第2の図形要素選択手段によって選択された第3の図形要素識別情報が示す第3の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索し、
前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心と前記第3の図形要素の中心とを通る円周上にあるという条件をさらに含むことを特徴とする。
According to the present invention, the second graphic element selection means includes graphic element identification information of the first graphic element and the second graphic element from graphic element identification information displayed so as to be selectable by the display means. And further select third graphic element identification information different from
The search means is a third graphic selected by the first graphic element, the second graphic element, and the second graphic element selection means among the geometric information stored in the graphic element storage means. Based on the geometric information of the third graphic element indicated by the element identification information and the predetermined search condition, the graphic element in which the part having the same shape as the part arranged at the position of the first graphic element is arranged. Search for suggestions,
The predetermined search condition is that the center of the graphic element candidate is on a circle passing through the center of the first graphic element, the center of the second graphic element, and the center of the third graphic element. It further includes a condition.
また本発明は、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための図形要素識別情報とを対応付けて記憶する図形要素記憶部に記憶される図形要素識別情報の中から1つの部品を配置する位置にある形状を構成する図形要素の図形要素識別情報を選択する図形要素選択ステップと、
前記図形要素記憶部に記憶される幾何情報のうち前記図形要素選択ステップで選択された図形要素識別情報が示す第1の図形要素の幾何情報と、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する検索ステップと、
前記検索ステップで検索された図形要素の候補の図形要素識別情報を選択可能に表示する表示ステップとを含むことを特徴とする図形要素選択方法である。
Further, the present invention stores in a graphic element storage unit which stores geometric information representing graphic elements constituting the shape of an arrangement object on which a part is arranged and graphic element identification information for identifying graphic elements in association with each other. A graphic element selection step of selecting graphic element identification information of a graphic element constituting a shape at a position where one part is arranged from among the graphic element identification information to be displayed;
The geometric information stored in the graphic element storage unit is searched for the geometric element having the same shape as the geometric information of the first graphic element indicated by the graphic element identification information selected in the graphic element selection step. A search step of searching for a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is based on a predetermined search condition including a positional relationship for
And a display step for selectively displaying graphic element identification information of graphic element candidates searched in the search step.
本発明によれば、図形要素記憶手段によって、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための図形要素識別情報とが対応付けて記憶され、検索条件情報記憶手段によって、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件を表す検索条件情報が記憶され、図形要素選択手段によって、前記図形要素記憶手段に記憶される図形要素識別情報の中から1つの部品を配置する位置にある形状を構成する図形要素の図形要素識別情報が選択される。 According to the present invention, the graphic element storage means associates and stores geometric information representing graphic elements constituting the shape of the object on which the part is arranged and graphic element identification information for identifying the graphic elements. The search condition information storage means stores search condition information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged, and the graphic element selection means stores the graphic elements. From the graphic element identification information stored in the storage means, graphic element identification information of a graphic element constituting a shape at a position where one part is arranged is selected.
そして、検索手段によって、前記図形要素記憶手段に記憶される幾何情報のうち前記図形要素選択手段によって選択された図形要素識別情報が示す第1の図形要素の幾何情報と、前記検索条件情報記憶手段に記憶される検索条件情報が示す予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補が検索され、表示手段によって、前記検索手段によって検索された図形要素の候補の図形要素識別情報が選択可能に表示される。 Then, the geometric information of the first graphic element indicated by the graphic element identification information selected by the graphic element selection means among the geometric information stored in the graphic element storage means by the search means, and the search condition information storage means A graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is searched based on a predetermined search condition indicated by the search condition information stored in Thus, graphic element identification information of graphic element candidates searched by the search means is displayed so as to be selectable.
したがって、部品が配置される被配置物の形状を構成する図形要素の中から同じ形状の部品が配置される図形要素の候補を位置関係を含む条件によって絞り込むことができる。 Therefore, candidates for graphic elements in which parts having the same shape are arranged can be narrowed down by the condition including the positional relationship from among the graphic elements constituting the shape of the placement object on which the parts are arranged.
また本発明によれば、図形要素選択ステップでは、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための図形要素識別情報とを対応付けて記憶する図形要素記憶部に記憶される図形要素識別情報の中から1つの部品を配置する位置にある形状を構成する図形要素の図形要素識別情報を選択する。 Further, according to the present invention, in the graphic element selection step, the geometric information representing the graphic element constituting the shape of the object on which the part is arranged is associated with the graphic element identification information for identifying the graphic element. From the graphic element identification information stored in the graphic element storage unit to be stored, the graphic element identification information of the graphic element constituting the shape at the position where one part is arranged is selected.
検索ステップでは、前記図形要素記憶部に記憶される幾何情報のうち前記図形要素選択ステップで選択された図形要素識別情報が示す第1の図形要素の幾何情報と、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する。そして、表示ステップでは、前記検索ステップで検索された図形要素の候補の図形要素識別情報を選択可能に表示する。 In the search step, parts having the same shape as the geometric information of the first graphic element indicated by the graphic element identification information selected in the graphic element selection step among the geometric information stored in the graphic element storage unit are arranged. Based on a predetermined search condition including a positional relationship for searching for a graphic element, a candidate for a graphic element in which a part having the same shape as the part arranged at the position of the first graphic element is searched. In the display step, the graphic element identification information of the graphic element candidates searched in the search step is displayed in a selectable manner.
したがって、本発明に係る図形要素選択方法を適用すれば、部品が配置される被配置物の形状を構成する図形要素の中から同じ形状の部品が配置される図形要素の候補を位置関係を含む条件によって絞り込むことができる。 Therefore, if the graphic element selection method according to the present invention is applied, candidates for graphic elements in which parts having the same shape are arranged among the graphic elements constituting the shape of the placement object in which the parts are arranged are included in the positional relationship. It can be narrowed down by conditions.
図1は、本発明の実施の一形態である図形要素選択装置1の構成を示すブロック図である。本発明に係る図形要素選択方法は、図形要素選択装置1で実行される。図形要素選択装置1は、たとえばコンピュータシステムによって構成され、形状データ記憶装置11、形状データ読込部12、形状データ記憶部13、画面出力装置14、対話入力装置15、形状要素選択部16、配置部品選択部17、検索基本式記憶装置18、検索基本式読込部19、検索式作成部20、検索部21、検索結果記憶部22、および検索結果出力装置23を含んで構成される。
FIG. 1 is a block diagram showing a configuration of a graphic
図形要素選択装置1を構成するコンピュータシステムは、図示しない記憶装置、図示しない中央処理装置(Central Processing Unit;以下「CPU」という)、図示しない入力装置および図示しない出力装置を含んで構成される。
The computer system constituting the graphic
図示しない記憶装置は、図形要素選択装置1を制御するためにCPUによって実行される制御プログラム、および図形要素選択装置1を制御するためにCPUによって用いられるデータを記憶し、形状データ記憶装置11および検索基本式記憶装置18を含む。図示しないCPUは、記憶装置に記憶される制御プログラムを実行することによって、画面出力装置14、対話入力装置15および検索結果出力装置23を制御し、形状データ読込部12、形状データ記憶部13、形状要素選択部16、配置部品選択部17、検索基本式読込部19、検索式作成部20、検索部21および検索結果記憶部22の各機能を実現する。各機能は、データを図示しない記憶装置に書き込み、かつ図示しない記憶装置に記憶されるデータを読み出すことができる。
A storage device (not shown) stores a control program executed by the CPU to control the graphic
図示しない入力装置は、情報を入力する装置であり、たとえばキーボードあるいはマウスなどの対話入力装置15によって構成される。図示しない出力装置は、情報を出力する装置であり、液晶ディスプレイなどの表示装置によって構成される画面出力装置14および検索結果出力装置23によって構成される。検索結果出力装置23は、画面出力装置14によって兼用されてもよい。
An input device (not shown) is a device for inputting information, and is configured by a
形状データ記憶装置11は、製品に関する設計データを記憶している。設計データは、製品の構成を示すアセンブリデータ、および製品を構成する部品を表す部品データを含む。部品データは、各部品を識別するための識別情報である部品名と、各部品の形状を表す形状情報と、各部品の形状を構成する図形要素を表す幾何情報と、各図形要素を識別するための図形要素識別情報たとえば要素名とを含むデータである。
The shape
形状データ読込部12は、形状データ記憶装置11から設計データを読み出し、読み出した設計データを形状データ記憶部13に送る。図形要素記憶手段および図形要素記憶部である形状データ記憶部13は、形状データ読込部12から受け取る設計データを図示しない記憶装置に記憶し、図示しない記憶装置に記憶する設計データが示す形状を画面出力装置14に出力する可能である。
The shape
対話入力装置15は、ユーザが、部品が配置される被配置物に配置する部品の部品名、およびその部品名を配置する位置にある被配置部品の形状を構成する図形要素の中からユーザが選択した図形要素の要素名を選択要素情報として入力する入力装置である。さらに、対話入力装置15は、画面出力装置14あるいは検索結果出力装置23に表示される情報に応答して、いずれかの情報を対話入力装置15によって選択することによって、選択した情報を入力することができる。対話入力装置15は、入力された選択要素情報を形状要素選択部16に送り、入力された部品名を配置部品選択部17に送る。
The
形状要素選択部16は、対話入力装置15から選択要素情報を受け取ると、形状データ記憶部13に記憶される部品データの幾何情報から、対話入力装置15から受け取った選択要素情報が示す図形要素の幾何情報を読み出し、読み出した幾何情報を検索式作成部20に送る。検索結果リストが図示しない記憶装置に記憶されている場合は、検索結果リストに含まれる選択要素を選択済みの要素情報として読み出し、読み出した選択済みの要素情報が示す図形要素の幾何情報を、形状データ記憶部13から読み出し、読み出した幾何情報を、対話入力装置15から受け取った選択要素情報が示す図形要素の幾何情報とともに検索式作成部20に送る。
When the shape
検索結果リストは、後述する検索式の検索条件によって検索された検索結果をまとめた一覧表であり、選択要素および配置部品名を含む。選択要素は、対話入力装置15か入力された選択要素情報であり、配置部品名は、対話入力装置15か入力された部品名である。対話入力装置15および形状要素選択部16は、図形要素選択手段および第2の図形要素選択手段である。
The search result list is a list that summarizes the search results searched according to the search condition of the search expression described later, and includes a selection element and a placement part name. The selection element is selection element information input from the
配置部品選択部17は、対話入力装置15から受け取った部品名を検索基本式読込部19に送る。検索結果リストが図示しない記憶装置に記憶されている場合は、検索結果リストに含まれる配置部品名を部品名として読み出し、読み出した部品名を、対話入力装置15から受け取る部品名に代えて検索基本式読込部19に送る。
The arrangement
図2は、検索基本式記憶装置18に記憶される検索基本式情報31の一例を示す図である。検索条件情報記憶手段である検索基本式記憶装置18は、図2に示す検索基本式情報31を記憶する。検索条件情報である検索基本式情報31は、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件を表す情報である。検索基本式情報31は、「部品名」、「要素タイプ」、「検索式の意味」、「検索式」、「条件」および「要素数」の項目を含み、各部品名に対応付けられて「No」順に示される。
FIG. 2 is a diagram showing an example of basic
「部品名」は、各部品を識別するための識別情報であり、たとえばネジあるいはボスなどの部品名がある。「要素タイプ」は、部品名が示す部品の形状を構成する図形要素の種類を示す情報であり、たとえば「円」あるいは「円弧」などの要素タイプがある。「検索式の意味」は、対応付けられる検索式の意味を示す情報である。「検索式」は、検索条件を示す式である。「条件」は、対応する検索式が示す検索条件に合致しない場合、選択候補から除外するか否かを指定する情報であり。条件が「1」のとき、選択候補から除外し、条件が「2」のとき、選択候補から除外しない。「要素数」は、対話入力装置15から入力された選択要素情報および選択済みの要素情報が示す図形要素の数である。
“Part name” is identification information for identifying each part, and includes, for example, a part name such as a screw or a boss. The “element type” is information indicating the type of graphic element that forms the shape of the part indicated by the part name. For example, there is an element type such as “circle” or “arc”. “Meaning of search expression” is information indicating the meaning of the search expression to be associated. “Search expression” is an expression indicating a search condition. “Condition” is information that specifies whether or not to exclude from the selection candidates when the search condition indicated by the corresponding search expression is not met. When the condition is “1”, it is excluded from the selection candidates, and when the condition is “2”, it is not excluded from the selection candidates. The “number of elements” is the number of graphic elements indicated by the selected element information and the selected element information input from the
No.1〜No.11のいずれについても、「部品名」は「ネジ」であり、「要素タイプ」は「円弧」である。No.1の「検索式の意味」および「検索式」は、それぞれ「半径同一」および「R1=R」であり、検索式が示す検索条件は、選択候補の図形要素の半径Rが、選択要素情報または選択済みの要素情報が示す図形要素の半径R1に等しいという条件であることを示している。 No. 1-No. In any of 11, “part name” is “screw” and “element type” is “arc”. No. 1 "meaning of search expression" and "search expression" are "same radius" and "R1 = R", respectively, and the search condition indicated by the search expression is that the radius R of the graphic element of the selection candidate is selected element information Alternatively, the condition is that the selected element information is equal to the radius R1 of the graphic element indicated by the element information.
このように、前記図形要素の形状が円または円弧の形状であり、前記予め定める検索条件は、図形要素の候補の形状の半径が、前記第1の図形要素の形状の半径に等しいという条件を含むので、半径の等しい円または円弧の形状の図形要素を候補として選択することができる。 As described above, the shape of the graphic element is a circular or arc shape, and the predetermined search condition is that the radius of the shape of the graphic element candidate is equal to the radius of the shape of the first graphic element. Therefore, a graphic element having a circle or arc shape with the same radius can be selected as a candidate.
No.2の「検索式の意味」および「検索式」は、それぞれ「円弧エッジのある平面の法線方向同一」および「F1」であり、検索式が示す検索条件は、選択候補の図形要素の円弧を含む仮想平面の法線の方向と、選択要素情報または選択済みの要素情報が示す図形要素の円弧を含む仮想平面の法線の方向とが同じであるという条件であることを示している。 No. 2 "meaning of search expression" and "search expression" are respectively "same normal direction of plane with arc edge" and "F1", and the search condition indicated by the search expression is an arc of the graphic element of the selection candidate Indicates that the direction of the normal of the virtual plane including the same direction as the direction of the normal of the virtual plane including the arc of the graphic element indicated by the selected element information or the selected element information.
このように、前記予め定める検索条件は、図形要素の候補が含まれる仮想平面の法線の方向が、前記第1の図形要素が含まれる仮想平面の法線の方向と同じであるという条件をさらに含むので、図形要素の含まれる仮想平面の法線の方向が同じである図形要素を候補として選択することができる。 As described above, the predetermined search condition is that the direction of the normal line of the virtual plane including the candidate graphic element is the same as the direction of the normal line of the virtual plane including the first graphic element. Furthermore, since it includes, it is possible to select a graphic element having the same normal direction of a virtual plane including the graphic element as a candidate.
No.3の「検索式の意味」および「検索式」は、それぞれ「同一平面上」および「Z0=Z」であり、検索式が示す検索条件は、選択候補の図形要素のZ座標の値Zが、選択要素情報または選択済みの要素情報が示す図形要素のZ座標の値Z0に等しいという条件であることを示している。No.4の「検索式の意味」および「検索式」は、それぞれ「X同軸」および「Y0=Y」であり、検索式が示す検索条件は、選択候補の図形要素のY座標の値Yが、選択要素情報または選択済みの要素情報が示す図形要素のY座標の値Y0に等しいという条件であることを示している。No.5の「検索式の意味」および「検索式」は、それぞれ「Y同軸」および「X0=X」であり、検索式が示す検索条件は、選択候補の図形要素のX座標の値Xが、選択要素情報または選択済みの要素情報が示す図形要素のX座標の値X0に等しいという条件であることを示している。 No. 3 is “on the same plane” and “Z0 = Z”, respectively, and the search condition indicated by the search expression is that the value Z of the Z coordinate of the graphic element of the selection candidate is This indicates that the condition is that the selected element information or the selected element information is equal to the Z coordinate value Z0 of the graphic element indicated by the element information. No. 4 "meaning of search expression" and "search expression" are "X coaxial" and "Y0 = Y", respectively, and the search condition indicated by the search expression is that the value Y of the Y coordinate of the graphic element of the selection candidate is It indicates that the condition is equal to the Y coordinate value Y0 of the graphic element indicated by the selected element information or the selected element information. No. 5 "meaning of search expression" and "search expression" are "Y coaxial" and "X0 = X", respectively, and the search condition indicated by the search expression is that the value X of the X coordinate of the graphic element of the selection candidate is This indicates that the condition is that the X element value X0 of the graphic element indicated by the selected element information or the selected element information is equal.
No.6の「検索式の意味」および「検索式」は、それぞれ「XZ平面対称」および「Y0=(−1)×Y」であり、検索式が示す検索条件が、選択候補の図形要素のY座標の値Yと、選択要素情報または選択済みの要素情報が示す図形要素のY座標の値Y0とは、絶対値が等しく、かつその符号が反対であるという条件であることを示している。図2では「×(掛ける)」を「*」で表している。以下の図についても同じである。No.7の「検索式の意味」および「検索式」は、それぞれ「YZ平面対称」および「X0=(−1)×X」であり、検索式が示す検索条件は、選択候補の図形要素のX座標の値Xと、選択要素情報または選択済みの要素情報が示す図形要素のX座標の値X0とが、絶対値が等しく、かつその符号が反対であるという条件であることを示している。 No. 6 is “XZ plane symmetry” and “Y0 = (− 1) × Y”, respectively, and the search condition indicated by the search expression is Y of the selection candidate graphic element. The coordinate value Y and the Y coordinate value Y0 of the graphic element indicated by the selected element information or the selected element information indicate that the absolute values are equal and the signs are opposite. In FIG. 2, “× (multiply)” is represented by “*”. The same applies to the following figures. No. 7 is “YZ plane symmetry” and “X0 = (− 1) × X”, respectively. The search condition indicated by the search expression is X of the graphic element of the selection candidate. The coordinate value X and the X-coordinate value X0 of the graphic element indicated by the selected element information or the selected element information indicate that the absolute values are equal and the signs thereof are opposite.
このように、前記予め定める検索条件は、図形要素の中心の位置を前記被配置物の重心の位置を原点とするXYZ座標系で表すとき、X座標軸、Y座標軸およびZ座標軸のうち1つの座標軸で、図形要素の候補の中心の位置の座標の絶対値と前記第1の図形要素の中心の位置の座標の絶対値とが等しいという条件をさらに含むので、同軸あるいは平面対称の位置にある図形要素を候補として選択することができる。 In this way, the predetermined search condition is that when the position of the center of the graphic element is expressed in the XYZ coordinate system with the position of the center of gravity of the placement object as the origin, one coordinate axis among the X coordinate axis, the Y coordinate axis, and the Z coordinate axis The graphic element at the coaxial or plane-symmetrical position further includes a condition that the absolute value of the coordinate of the center position of the graphic element candidate is equal to the absolute value of the coordinate of the central position of the first graphic element. Elements can be selected as candidates.
No.8の「検索式の意味」および「検索式」は、それぞれ「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」および「F2」であり、検索式が示す検索条件は、選択候補の図形要素の座標が、図形要素の中心の位置をXYZ座標系で表し、かつそのXYZ座標系の原点を前記被配置物の重心の位置とするとき、X座標軸、Y座標軸およびZ座標軸のうち1つの座標軸で、選択要素情報が示す図形要素の中心の位置の座標の絶対値と等しい図形要素であるという条件であることを示している。 No. “Meaning of search formula” and “search formula” of 8 are “having a center point on an axis passing through the center of the first element and parallel to the edge of the plane on which the first element rides” and “F2”, respectively. The search condition indicated by the search formula is that when the coordinates of the graphic element to be selected represent the position of the center of the graphic element in the XYZ coordinate system, and the origin of the XYZ coordinate system is the position of the center of gravity of the arrangement object In other words, one of the X coordinate axis, the Y coordinate axis, and the Z coordinate axis is a condition that the graphic element is equal to the absolute value of the coordinates of the center position of the graphic element indicated by the selected element information.
このように、前記予め定める検索条件は、前記被配置物の表面を構成する面のうち、前記第1の図形要素を含む面が直線の外周縁を含むとき、その外周縁の直線のうちの第1の直線と図形要素の候補の中心との距離が、前記第1の直線と前記第1の図形要素の中心との距離に等しいという条件をさらに含むので、前記被配置物の直線状の外周縁から等距離に中心がある図形要素を候補として選択することができる。 As described above, when the predetermined search condition is that the surface including the first graphic element among the surfaces constituting the surface of the object to be arranged includes a straight outer peripheral edge, Since it further includes a condition that the distance between the first straight line and the center of the graphic element candidate is equal to the distance between the first straight line and the center of the first graphic element, A graphic element centered at the same distance from the outer periphery can be selected as a candidate.
No.9の「検索式の意味」および「検索式」は、それぞれ「第1、第2要素の中心点を通過する軸上に中心点を持つ」および「F3」であり、検索式が示す検索条件は、選択候補の図形要素の中心が、選択要素情報が示す図形要素の中心と選択済みの要素情報が示す図形要素の中心とを通る直線上にあるという条件であることを示している。 No. 9 "meaning of search expression" and "search expression" are "having a center point on the axis passing through the center point of the first and second elements" and "F3", respectively, and the search condition indicated by the search expression Indicates that the condition is that the center of the graphic element of the selection candidate is on a straight line passing through the center of the graphic element indicated by the selected element information and the center of the graphic element indicated by the selected element information.
このように、前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心とを通る直線上にあるという条件をさらに含むので、すでに選択された2つの図形要素の中心と同一直線上の中心がある図形要素を候補として選択することができる。 Thus, the predetermined search condition further includes a condition that the center of the graphic element candidate is on a straight line passing through the center of the first graphic element and the center of the second graphic element. A graphic element having a center on the same straight line as the center of two already selected graphic elements can be selected as a candidate.
No.10の「検索式の意味」および「検索式」は、それぞれ「第1、第2要素の中心を結ぶ直線に垂直で、第1または第2の中心を通る軸上に中心点を持つ」および「F4」であり、検索式が示す検索条件は、選択候補の図形要素の中心が、選択要素情報が示す図形要素の中心と選択済みの要素情報が示す図形要素の中心とを通る直線に垂直で、かつ選択要素情報が示す図形要素の中心または選択済みの要素情報が示す図形要素の中心を通る直線上にあるという条件であることを示している。 No. 10 "meaning of search expression" and "search expression" are respectively "having a center point on an axis perpendicular to a straight line connecting the centers of the first and second elements and passing through the first or second center" and The search condition indicated by the search formula is “F4”, and the center of the graphic element of the selection candidate is perpendicular to a straight line passing through the center of the graphic element indicated by the selected element information and the center of the graphic element indicated by the selected element information. And the condition is that it is on a straight line passing through the center of the graphic element indicated by the selected element information or the center of the graphic element indicated by the selected element information.
このように、前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心とを通る直線に垂直で、かつ前記第1の図形要素または前記第2の図形要素の中心を通る直線上にあるという条件をさらに含むので、すでに選択された2つの図形要素の中心を通る直線に垂直で、かついずれかの図形の中心を通る直線上に中心がある図形要素を候補として選択することができる。 Thus, the predetermined search condition is that the center of the graphic element candidate is perpendicular to a straight line passing through the center of the first graphic element and the center of the second graphic element, and the first graphic element. Since it further includes a condition that it is on a straight line passing through the center of the element or the second graphic element, a straight line that is perpendicular to the straight line passing through the center of the two already selected graphic elements and passes through the center of any graphic A graphic element with the center on top can be selected as a candidate.
No.11の「検索式の意味」および「検索式」は、それぞれ「第1、第2、第3の円弧の中心を通る円周上に中心点を持つ」および「F5」であり、検索式が示す検索条件は、選択候補の図形要素の中心が、択要素情報が示す図形要素の中心と選択済みの2つの要素情報が示す2つの図形要素のそれぞれの中心とを通る円周上にあるという条件であることを示している。 No. 11 "meaning of search expression" and "search expression" are "having a center point on the circumference passing through the centers of the first, second, and third arcs" and "F5", respectively. The search condition shown is that the center of the graphic element of the selection candidate is on the circumference passing through the center of the graphic element indicated by the selected element information and the center of each of the two graphic elements indicated by the selected two element information. Indicates that this is a condition.
このように、対話入力装置15および形状要素選択部16によって、検索結果記憶部22および検索結果出力装置23によって選択可能に表示される要素名の中から、前記第1の図形要素および第2の図形要素の要素名と異なる第3の要素名がさらに選択される。検索式作成部20および検索部21によって、形状データ記憶部13に記憶される幾何情報のうち、対話入力装置15および形状要素選択部16によって選択された第3の要素名が示す第3の図形要素、前記第1の図形要素および前記第2の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補が検索される。そして、前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心と前記第3の図形要素の中心とを通る円周上にあるという条件をさらに含む。
In this way, the first graphic element and the second graphic element can be selected from among the element names displayed by the
したがって、すでに選択された3つの図形要素の中心と同一円周上に中心がある図形要素を候補として選択することができる。 Therefore, a graphic element having a center on the same circumference as the center of three graphic elements that have already been selected can be selected as a candidate.
No.1〜No.3の「条件」は、「1」であり、No.4〜No.11の「条件」は、「2」である。No.1〜No.8の「要素数」は、「1」であり、No.9およびNo.10の「要素数」は、「2」であり、No.11の要素数」は、「3」である。No.2〜No.11の検索式は、位置関係を規定する検索条件である。
No. 1-No. No. 3 “condition” is “1”. 4-No. The “condition” of 11 is “2”. No. 1-No. The “number of elements” of No. 8 is “1”. 9 and no. The “number of elements” of No. 10 is “2”. The number of elements of “11” is “3”. No. 2-No. The
図1を参照して、検索基本式読込部19は、検索基本式記憶装置18に記憶される検索基本式情報31の中から、配置部品選択部17から受け取った部品名に対応付けられた検索基本式情報を読み出し、読み出した検索基本式情報を検索式作成部20に送る。検索式作成部20は、形状要素選択部16から受け取った幾何情報、および検索基本式読込部19から受け取った検索基本式情報に基づいて検索式情報を作成し、作成した検索式情報を検索部21に送る。
With reference to FIG. 1, the retrieval basic expression reading unit 19 searches the retrieval
検索部21は、検索式作成部20から受け取った検索式情報を検索条件として、形状データ記憶部13に記憶される部品データの幾何情報を検索し、検索条件に合致する幾何情報の図形要素を抽出し、抽出した図形要素に合致した検索条件の数を算出する。そして、抽出した図形要素の要素名と、合致した検索条件の数とに基づいて検索結果リストを生成し、生成した検索結果リストを検索結果記憶部22に送る。検索式作成部20および検索部21は、検索手段である。
The search unit 21 searches the geometric information of the part data stored in the shape
検索結果記憶部22は、検索部21から受け取った検索結果リストを図示しない記憶装置に記憶するとともに、検索結果リストを検索結果出力装置23に送る。検索結果出力装置23は、検索結果記憶部22から受け取った検索結果リストを、後述する選択候補リスト表示画面に出力する。検索結果記憶部22および検索結果出力装置23は、表示手段である。
The search
すなわち、ユーザが、対話入力装置15によって、被配置物に配置する部品の部品名と、その被配置物の形状を構成する図形要素のうちその部品名の部品を配置する第1番目の図形要素(以下「第1の図形要素」という)の要素名つまり選択要素情報とを入力すると、図形要素選択装置1は、対話入力装置15によって入力された部品名および要素名に基づいて、その部品と同じ部品名の部品、つまり同じ形状の部品を配置する第2番目の図形要素の候補を選択候補として検索して、検索結果出力装置23に表示する。
That is, the user uses the
次に、ユーザが、検索結果出力装置23に表示された第2の図形要素の選択候補の中から、対話入力装置15によって第2番目の図形要素(以下「第2の図形要素」という)の要素名を選択すると、図形要素選択装置1は、以前入力された第1の図形要素の要素名つまり選択済みの要素情報が示す要素名と、対話入力装置15によって選択された第2の図形要素の要素名とに基づいて、前記部品と同じ部品名の部品、つまり同じ形状の部品を配置する第3の図形要素の候補を選択候補として検索して、検索結果出力装置23に表示する。
Next, the user selects a second graphic element (hereinafter referred to as “second graphic element”) from the selection candidates of the second graphic element displayed on the search
さらに、図形要素選択装置1は、ユーザが、検索結果出力装置23に表示された選択候補の中から、対話入力装置15によって図形要素を選択する度に、選択済みの要素情報が示す要素名と対話入力装置15によって新たに選択された図形要素の要素名とに基づいて、次の図形要素の候補を選択候補として検索して、検索結果出力装置23に表示する。
Further, every time the user selects a graphic element from the selection candidates displayed on the search
図3は、配置部品が配置される被配置部品の一例であるカバー部品8の外観を示す図である。図3(a)は、カバー部品8の斜視図であり、図3(b)は、カバー部品8を構成する部品の一部を示す図である。構成部品8aには、10個の孔が形成され、構成部品8bには、2個の孔が形成されている。図3(a)には、これらの12個の孔の形状を構成する図形要素として、24個のエッジ1〜エッジ24が示されている。
FIG. 3 is a diagram illustrating an appearance of a
図4は、被配置部品に配置される配置部品の一例であるネジ部品9の外観を示す図である。ユーザは、カバー部品8の12個の孔のうち、ネジ部品9を挿入する孔を形成する図形要素の要素名を、対話入力装置15によって入力する。
FIG. 4 is a diagram illustrating an appearance of a
以下、図形要素選択装置1の動作の具体例を、図4に示すネジ部品9を図3に示すカバー部品8に配置する場合について、第2の図形要素の選択候補の検索、および第3の図形要素の選択候補の検索の順に説明する。
Hereinafter, as a specific example of the operation of the graphic
まず、第2の図形要素の選択候補の検索では、ユーザは、対話入力装置15によって、被配置物として「カバー」、および被配置物に配置する部品として「ネジ」を入力する。これらの部品名の入力は、部品名の候補を画面出力装置14に表示し、表示された部品名の候補の中から選択することによって部品名の入力を可能としてもよい。さらにユーザは、カバー部品9の形状を構成する図形要素つまりエッジ1〜24のうちネジ部品8を配置する第1の図形要素の要素名たとえば「エッジ1」を入力する。要素名の入力は、形状データ記憶部13に記憶される設計データに基づいて、被配置物の形状を図形要素も含めて画面出力装置14に表示し、表示された図形要素の中から図形要素を選択することによって要素名の入力を可能としてもよい。
First, in the search for selection candidates for the second graphic element, the user inputs “cover” as the placement object and “screw” as the component to be placed on the placement object by the
対話入力装置15は、入力された要素名つまり選択要素情報「エッジ1」を形状要素選択部16に送り、入力された部品名「ネジ」を配置部品選択部17に送る。形状要素選択部16は、対話入力装置15から選択要素情報「エッジ1」を受け取ると、形状データ記憶部13に記憶される幾何情報から、対話入力装置15から受け取った選択要素情報「エッジ1」の幾何情報を読み出し、読み出した幾何情報を検索式作成部20に送る。
The
図5は、形状データ記憶部13に記憶される幾何情報32の一例を示す図である。幾何情報32は、「要素名」、「要素タイプ」、「半径」、「中心座標」および「法線ベクトル」の項目を含む。「要素名」は、図形要素の名称である。「要素タイプ」は、図形要素の種類を示し、具体的にはたとえば「円」または「円弧」である。「半径」は、図形要素の形状つまり円または円弧の半径であり、「中心座標」は、その円または円弧の中心の位置をXYZ座標系で示した座標である。「法線ベクトル」は、その円または円弧を含む仮想平面の法線の方向を示すベクトルの方向をXYZ座標系で示した座標である。
FIG. 5 is a diagram illustrating an example of the
図5には、図形要素「エッジ1」の幾何情報32が示され、要素名が「エッジ1」であり、要素タイプが「円弧」であり、半径が「R1」であり、中心座標が「(X0,Y0,Z0)」であり、法線ベクトルが「(X1,Y1,Z1)」である。
FIG. 5 shows
配置部品選択部17は、対話入力装置15から受け取った部品名「ネジ」を検索基本式読込部19に送る。検索基本式読込部19は、検索基本式記憶装置18に記憶される検索基本式情報31の中から、配置部品選択部17から受け取った部品名「ネジ」に対応付けられた検索基本式情報を読み出し、読み出した検索基本式情報を検索式作成部20に送る。検索式作成部20は、形状要素選択部16から受け取った幾何情報、および検索基本式読込部19から受け取った検索基本式情報に基づいて検索式情報を作成し、作成した検索式情報を検索部21に送る。
The arrangement
図6は、検索式作成部20によって作成される検索式情報33の一例を示す図である。検索式情報33は、「要素タイプ」、「幾何情報」、「検索式」および「条件」の項目を含む。「要素タイプ」、「検索式」および「条件」は、それぞれ検索基本式読込部19から受け取った検索基本式情報の「要素タイプ」、「検索式」および「条件」であり、「幾何情報」は、形状要素選択部16から受け取った幾何情報の情報のうち、検索式を規定する情報である。
FIG. 6 is a diagram illustrating an example of the
図6に示した検索式情報33には、「要素タイプ」、「幾何情報」、「検索式」および「条件」として、7つの組み合わせが示されている。第1番目の組み合わせは、「円弧」、「R1」、「R1=R」および「1」であり、第2番目の組み合わせは、「円弧」、「X1,Y1,Z1」、「F1」および「1」であり、第3番目の組み合わせは、「円弧」、「Z0」、「Z0=Z」および「1」であり、第4番目の組み合わせは、「円弧」、「Y0」、「Y0=Y」および「2」であり、第5番目の組み合わせは、「円弧」、「X0」、「X0=X」および「2」であり、第6番目の組み合わせは、「円弧」、「Y0」、「Y0=(−1)×Y」および「2」であり、第7番目の組み合わせは、「円弧」、「X0」、「X0=(−1)×X」および「2」であり、第8番目の組み合わせは、「円弧」、「X0,Y0,Z0」、「F2」および「2」である。
In the
検索部21は、まず、検索式作成部20から受け取った検索式情報33のうち「円弧」を検索条件として、形状データ記憶部13によって記憶される幾何情報を検索し、検索条件に合致する幾何情報の図形要素を抽出する。カバー部品8には、円弧の図形要素として24個のエッジ1〜24があるので、検索部21はエッジ1〜24を検索するが、エッジ1は既に選択されているので、エッジ1を除外し、エッジ2〜24を抽出する。次に、検索部21は、抽出した図形要素を、条件が「1」の検索式によって絞り込む。
First, the search unit 21 searches the geometric information stored in the shape
図7は、検索式情報33の条件が「1」の検索式で絞り込まれた検索結果34の一例を示す図である。図7には、「円弧」という条件で抽出された図形要素のうち、既に選択されているエッジ1を除いたエッジ2〜24の23個の図形要素について、検索式情報33の検索式のうち第1番目の検索式「R1=R」つまり「半径同一」、第2番目の検索式「F1」つまり「円弧エッジのある平面の法線方向同一」、および第3番目の検索式「Z0=Z」つまり「同一平面上」という検索条件によって順次絞り込んで検索した検索結果が示されている。「○」印は、検索条件に合致することを示し、「×」印は、検索条件に合致せず、除外されることと示す。
FIG. 7 is a diagram illustrating an example of a
検索部21は、「半径同一」という検索条件で、エッジ5〜10と、エッジ15〜20とを除外し、「円弧エッジのある平面の法線方向同一」という検索条件で、残ったものからエッジ11〜14と、エッジ21〜24とを除外し、「同一平面上」という検索条件では、残ったものから除外するものはない。したがって、検索部21は、条件が「1」の検索式によって絞り込んだ結果、エッジ5〜24を除外し、エッジ2〜4を残す。
The search unit 21 excludes the edges 5 to 10 and the
図8は、検索式情報33の条件が「2」の検索式で検索された検索結果34の一例を示す図である。検索部21は、検索式情報33の条件が「1」の検索式による絞り込みが終わると、条件が「2」の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を図形要素ごとにカウントする。
FIG. 8 is a diagram illustrating an example of a
図8には、検索式情報33の条件が「1」の検索式で絞り込まれた図形要素エッジ2〜4およびエッジ7〜10の7個の図形要素について、検索式情報33の検索式のうち、第1番目の検索式「Y0=Y」つまり「X同軸」、第2番目の検索式「X0=X」つまり「Y同軸」、第3番目の検索式「Y0=(−1)×Y」つまり「XZ平面対称」、第4番目の検索式「X0=(−1)×X」つまり「YZ平面対称」、および第5番目の検索式「F2」つまり「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件に合致する図形要素が検索された検索結果が示されている。「○」印は、検索条件に合致することを示し、無印は、検索条件に合致しないことを示す。欄外に示す数字は、各図形要素ごとにカウントした合致した検索条件の数である。
FIG. 8 shows the search formulas of the
「X同軸」という検索条件に合致するのは、エッジ4であり、「Y同軸」という検索条件に合致するのは、エッジ2であり、「XZ平面対称」という検索条件に合致するのは、エッジ2であり、「YZ平面対称」という検索条件に合致するのは、エッジ4であり、「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件に合致する図形要素はない。したがって、合致した検索条件の数は、エッジ2,4が「2」であり、エッジ3,7〜10が「0」である。
The
検索部21は、条件が「2」の検索式による検索が終わると、条件が「1」の検索式で絞り込んだ図形要素の要素名と、合致した検索条件の数とに基づいて、検索結果リストを生成し、生成した検索結果リストを検索結果記憶部22に送る。検索結果記憶部22は、検索部21から受け取った検索結果リストを図示しない記憶装置に記憶するとともに、検索結果リストを編集して、具体的には、合致した検索条件の数で並べ直して検索結果出力装置23に送って表示させる。
When the search by the search expression having the condition “2” is completed, the search unit 21 searches based on the element names of the graphic elements narrowed down by the search expression having the condition “1” and the number of matching search conditions. A list is generated, and the generated search result list is sent to the search
図9は、検索部21によって生成された検索結果リスト36の一例を示す図である。検索結果リスト36は、「配置部品名」、「選択要素」、「検索リスト」および「合致数」の項目を含む。「配置部品名」は、対話入力装置15によって入力された部品名である。「選択要素」、対話入力装置15によって入力された要素名つまり選択要素情報、または選択済みの要素情報が示す要素名である。「検索リスト」は、条件が「1」の検索式で絞り込まれた図形要素の要素名である。「合致数」は、合致した検索条件の数である。
FIG. 9 is a diagram illustrating an example of the
図9に示した検索結果リスト36には、配置部品名「ネジ.PRT」および選択要素「エッジ1」が示され、検索リストおよび合致数として、7つの組み合わせが示されている。第1番目の組み合わせとして、「エッジ2」および「2」、第2番目の組み合わせとして、「エッジ3」および「2」、第3番目の組み合わせとして、「エッジ4」および「0」、第4番目の組み合わせとして、「エッジ7」および「0」、第5番目の組み合わせとして、「エッジ8」および「0」、第6番目の組み合わせとして、「エッジ9」および「0」、第7番目の組み合わせとして、「エッジ10」および「0」が示されている。
In the
図10は、検索結果リスト36が示す検索結果を表示する選択候補リスト表示画面51の一例を示す図である。検索結果記憶部22は、検索部21から受け取った検索結果リストを、合致数の多い順序に並べ直して、選択候補リストとして検索結果出力装置23に送り、選択候補リスト表示画面51として出力させる。
FIG. 10 is a diagram illustrating an example of the selection candidate
選択候補リスト表示画面51には、「選択候補リスト」というタイトル、選択候補表示欄511、スクロールボタン512、選択ボタン513および選択中止ボタン514が設けられる。選択候補表示欄511には、検索リストの要素名が要素タイプとともに、合致数の多い順序に並べ変えられて表示される。
The selection candidate
スクロールボタン512は、選択候補表示欄511に表示しきれない要素名を表示させるための操作ボタンである。選択ボタン513は、選択候補表示欄511に表示される要素名の中から、対話入力装置15によって入力された部品名と同じ部品名の部品を配置する図形要素を選択するための操作ボタンである。選択中止ボタン514は、図形要素の選択を中止し、選択候補リスト表示画面51を閉じるための操作ボタンである。操作ボタンの操作は、たとえば画面に表示されるポインタをマウスによって操作ボタンの位置に移動し、マウスを左クリックすることによって操作することができる。
The
図10に示した選択候補表示欄511には、エッジ2を表す「円弧(EDGE2:SU」、エッジ4を表す「円弧(EDGE4:SU」、エッジ3を表す「円弧(EDGE3:SU」、エッジ7を表す「円弧(EDGE7:SU」、およびエッジ8を表す「円弧(EDGE8:SU」が示されている。
In the selection
次に、第3の図形要素の選択候補の検索では、配置部品選択部17は、検索結果記憶部22によって図示しない記憶装置に記憶された検索結果リストの配置部品名「ネジ.PRT」の「ネジ」を部品名として読み込み、読み込んだ部品名「ネジ」を検索基本式読込部19に送る。形状要素選択部16は、対話入力装置15から選択要素情報「エッジ2」を受け取ると、検索結果記憶部22によって図示しない記憶装置に記憶された検索結果リストの選択要素の要素名「エッジ1」を選択済みの要素情報として読み出す。
Next, in the search for the selection candidate of the third graphic element, the arrangement
ユーザが、図10に示した選択候補リスト表示画面51で、第2の図形要素の選択候補の中から第2の図形要素として要素名「エッジ2」を選択すると、対話入力装置15は、選択された要素名「エッジ2」を選択要素情報として形状要素選択部16に送る。
When the user selects the element name “
図11は、形状要素選択部16によって初期化された検索結果リスト37の一例を示す図である。形状要素選択部16は、対話入力装置15から選択要素情報として要素名「エッジ2」を受け取ると、図示しない記憶装置に記憶された検索結果リストの選択要素に、対話入力装置15から受け取った選択要素情報「エッジ2」を追加するとともに、検索結果リストの検索リストおよび合致数を消去する。図11に示した検索結果リスト37には、配置部品名「ネジ.PRT」および選択要素「エッジ1」および「エッジ2」が示され、検索リストおよび合致数は空欄である。
FIG. 11 is a diagram illustrating an example of the
そして、形状要素選択部16は、形状データ記憶部13に記憶される幾何情報から、図示しない記憶装置から読み出した選択済みの要素情報「エッジ1」、および対話入力装置15から受け取った選択要素情報「エッジ2」の幾何情報を読み出し、読み出した幾何情報を検索式作成部20に送る。
Then, the shape
図12は、第2の図形要素の幾何情報が追加された幾何情報38の一例を示す図である。幾何情報38は、図5に示した幾何情報32に、第2の図形要素つまり形状要素選択部16が対話入力装置15から受け取った選択要素情報「エッジ2」の幾何情報を追加した情報である。図12に示した幾何情報38には、要素名「エッジ2」について、要素タイプ「円弧」、半径「R1」、中心座標「(X4,Y4,Z4)」、および法線ベクトル「(X5,Y5,Z5)」が追加されている。
FIG. 12 is a diagram illustrating an example of the
検索基本式読込部19は、検索基本式記憶装置18に記憶される検索基本式情報の中から、配置部品選択部17から受け取った部品名「ネジ」に対応付けられた検索基本式情報を読み出し、読み出した検索基本式情報を検索式作成部20に送る。検索式作成部20は、形状要素選択部16から受け取った幾何情報38、および検索基本式読込部19から受け取った検索基本式情報に基づいて検索式情報を作成し、作成した検索式情報を検索部21に送る。このとき、検索基本式読込部19は、要素数が「1」の検索式情報として、幾何情報38のうちのエッジ1の幾何情報に基づいて第1の検索式情報を作成し、かつ幾何情報38のうちのエッジ2の幾何情報に基づいて第2の検索式情報を作成し、さらに、要素数が「2」の検索式情報として、幾何情報38のうちのエッジ1およびエッジ2の幾何情報に基づいて第3の検索式情報を作成する。
The retrieval basic expression reading unit 19 reads out retrieval basic expression information associated with the component name “screw” received from the arrangement
図13は、形状要素選択部16によって作成される第1の検索式情報39の一例を示す図である。図14は、形状要素選択部16によって作成される第2の検索式情報40の一例を示す図である。図15は、形状要素選択部16によって作成される第3の検索式情報41の一例を示す図である。
FIG. 13 is a diagram illustrating an example of the first
図13に示す第1の検索式情報39には、「要素タイプ」、「幾何情報」、「検索式」および「条件」として、8つの組み合わせが示されている。第1番目の組み合わせは、「円弧」、「R1」、「R1=R」および「1」であり、第2番目の組み合わせは、「円弧」、「X1,Y1,Z1」、「F1」および「1」であり、第3番目の組み合わせは、「円弧」、「Z0」、「Z0=Z」および「1」であり、第4番目の組み合わせは、「円弧」、「Y0」、「Y0=Y」および「2」であり、第5番目の組み合わせは、「円弧」、「X0」、「X0=X」および「2」であり、第6番目の組み合わせは、「円弧」、「Y0」、「Y0=(−1)×Y」および「2」であり、第7番目の組み合わせは、「円弧」、「X0」、「X0=(−1)×X」および「2」であり、第8番目の組み合わせは、「円弧」、「X0,Y0,Z0」、「F2」および「2」である。
The first
図14に示す第2の検索式情報40には、「要素タイプ」、「幾何情報」、「検索式」および「条件」として、8つの組み合わせが示されている。第1番目の組み合わせは、「円弧」、「R5」、「R5=R」および「1」であり、第2番目の組み合わせは、「円弧」、「X5,Y5,Z5」、「F1」および「1」であり、第3番目の組み合わせは、「円弧」、「Z4」、「Z4=Z」および「1」であり、第4番目の組み合わせは、「円弧」、「Y4」、「Y4=Y」および「2」であり、第5番目の組み合わせは、「円弧」、「X4」、「X4=X」および「2」であり、第6番目の組み合わせは、「円弧」、「Y4」、「Y4=(−1)×Y」および「2」であり、第7番目の組み合わせは、「円弧」、「X4」、「X4=(−1)×X」および「2」であり、第8番目の組み合わせは、「円弧」、「X4,Y4,Z4」、「F2」および「2」である。
In the second
図15に示す第3の検索式情報41には、「要素タイプ」、「幾何情報」、「検索式」および「条件」として、3つの組み合わせが示されている。第1番目の組み合わせは、「円弧」、「X0,Y0,Z0,X4,Y4,Z4」、「F3」および「2」であり、第2番目の組み合わせは、「円弧」、「X0,Y0,Z0,X4,Y4,Z4」、「F4」および「2」である。
In the third
検索部21は、検索式作成部20から受け取った第1の検索式情報39、第2の検索式情報40および第3の検索式情報41に基づいて検索を行うが、まず、第1の検索式情報39のうち「円弧」を検索条件として、検索条件に合致する図形要素を抽出し、次に、第1の検索式情報39の要素数が「1」の検索式のうち条件が「1」の検索式によって、抽出した図形要素の絞り込みを行う。
The search unit 21 performs a search based on the first
そして、検索部21は、第1の検索式情報39の要素数が「1」の検索式のうち条件が「2」の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を図形要素ごとにカウントする。さらに、第2の検索式情報40の要素数が「1」の検索式のうち条件が「2」の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を図形要素ごとにカウントした後、第3の検索式情報41の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を図形要素ごとにカウントする。
Then, the search unit 21 searches for a graphic element that matches the search condition of the search expression whose condition is “2” among the search expressions whose number of elements in the first
具体的には、検索部21は、まず、検索式作成部20から受け取った第1の検索式情報39のうち「円弧」を検索条件として、形状データ記憶部13に記憶される部品データの幾何情報を検索し、検索条件に合致する幾何情報の図形要素を抽出する。カバー部品8には、円弧の図形要素として24個のエッジ1〜24があるので、検索部21はエッジ1〜24を検索するが、エッジ1およびエッジ2は既に選択されているので、エッジ1およびエッジ2を除外し、エッジ3〜24を抽出する。次に、検索部21は、抽出した図形要素を、第1の検索式情報39のうち、条件が「1」の検索式によって絞り込む。
Specifically, the search unit 21 first selects the geometry of the component data stored in the shape
図16は、第1の検索式情報39の条件が「1」の検索式で絞り込まれた検索結果42の一例を示す図である。図16には、「円弧」という条件で抽出された図形要素のうち、既に選択されているエッジ1およびエッジ2を除いたエッジ3〜24の22個の図形要素について、第1の検索式情報39が示す条件1で絞り込まれた結果が示されている。図16に示す検索結果42は、図7に示した検索結果34からエッジ2の項目を除いたものと同じであり、重複を避けるために説明は省略する。
FIG. 16 is a diagram illustrating an example of a
検索部21は、第1の検索式情報39が示す条件が「1」の検索式によって図形要素の絞り込みを行った後、第1の検索式情報39の要素数が「1」の検索式のうち条件が「2」の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を、条件が「1」の検索式によって絞り込まれた図形要素ごとにカウントする。
The search unit 21 narrows down the graphic elements using the search formula whose condition indicated by the first
図17は、第1の検索式情報39の条件が「2」の検索式で検索された検索結果43の一例を示す図である。検索部21は、第1の検索式情報39の条件が「1」の検索式で絞り込まれた図形要素エッジ3,4およびエッジ7〜10の6個の図形要素について、第1の検索式情報39の検索式のうち、第1番目の検索式「Y0=Y」つまり「X同軸」、第2番目の検索式「X0=X」つまり「Y同軸」、第3番目の検索式「Y0=(−1)×Y」つまり「XZ平面対称」、第4番目の検索式「X0=(−1)×X」つまり「YZ平面対称」、および第5番目の検索式「F2」つまり「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件によって検索した検索結果が示されている。「○」印は、検索条件に合致することを示し、無印は、検索条件に合致しないことと示す。欄外に示す数字は、各図形要素ごとにカウントした合致した検索条件の数である。
FIG. 17 is a diagram illustrating an example of a
「X同軸」という検索条件に合致するのは、エッジ4であり、「YZ平面対称」という検索条件に合致するのは、エッジ4であり、「Y同軸」、「XZ平面対称」および「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件に合致する図形要素はない。したがって、合致した検索条件の数は、エッジ4が「2」であり、エッジ3,7〜10が「0」である。
The
さらに、検索部21は、第1の検索式情報39の条件が「2」の検索式の検索条件に合致する検索条件の数をカウントした後、第2の検索式情報40の要素数が「1」の検索式のうち条件が「2」の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を、条件が「1」の検索式によって絞り込まれた図形要素ごとにカウントする。
Further, after the search unit 21 counts the number of search conditions that match the search condition of the search expression whose condition of the first
図18は、第2の検索式情報40の条件が「2」の検索式で検索された検索結果44の一例を示す図である。検索部21は、第1の検索式情報39の条件が「1」の検索式で絞り込まれた図形要素エッジ3,4およびエッジ7〜10の6個の図形要素について、第2の検索式情報40の検索式のうち、第1番目の検索式「Y4=Y」つまり「X同軸」、第2番目の検索式「X4=X」つまり「Y同軸」、第3番目の検索式「Y4=(−1)×Y」つまり「XZ平面対称」、第4番目の検索式「X4=(−1)×X」つまり「YZ平面対称」、および第5番目の検索式「F2」つまり「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件によって検索した検索結果が示されている。「○」印は、検索条件に合致することを示し、無印は、検索条件に合致しないことと示す。欄外に示す数字は、各図形要素ごとにカウントした合致した検索条件の数である。
FIG. 18 is a diagram illustrating an example of a search result 44 searched by a search formula whose condition of the second
「X同軸」という検索条件に合致するのは、エッジ3であり、「YZ平面対称」という検索条件に合致するのは、エッジ3であり、「Y同軸」、「XZ平面対称」および「第1要素の中心を通り、第1要素の乗る平面のエッジに平行な軸上に中心点を持つ」という検索条件に合致する図形要素はない。したがって、合致する検索条件の数は、エッジ3が「2」であり、エッジ4,7〜10が「0」である。
The
さらに、検索部21は、第2の検索式情報40の条件が「2」の検索式の検索条件に合致する検索条件の数をカウントした後、第3の検索式情報41の検索式の検索条件に合致する図形要素を検索し、合致した検索条件の数を、条件が「1」の検索式によって絞り込まれた図形要素ごとにカウントする。
Further, the search unit 21 counts the number of search conditions that match the search condition of the search expression whose condition of the second
図19は、第3の検索式情報41の検索式で検索された検索結果45の一例を示す図である。第1の検索式情報39の条件が「1」の検索式で絞り込まれた図形要素エッジ3,4およびエッジ7〜10の6個の図形要素について、第3の検索式情報41の検索式のうち、第1番目の検索式「F3」つまり「第1、第2要素の中心点を通過する軸上に中心点を持つ」、および第2番目の検索式「F4」つまり「第1、第2要素の中心を結ぶ直線に垂直で、第1または第2の中心を通る軸上に中心点を持つ」という検索条件によって検索した検索結果が示されている。「○」印は、検索条件に合致することを示し、無印は、検索条件に合致しないことと示す。欄外に示す数字は、各図形要素ごとにカウントした合致した検索条件の数である。合致した検索条件の数は、エッジ3,4,7〜10のいずれもが「0」である。
FIG. 19 is a diagram illustrating an example of a
検索部21は、第3の検索式情報41の検索式による検索が終わると、検索結果43〜45に基づいて、検索結果リストを生成し、生成した検索結果リストを検索結果記憶部22に送る。検索結果記憶部22は、検索部21から受け取った検索結果リストを図示しない記憶装置に記憶するとともに、検索結果リストを編集して検索結果出力装置23に送って出力させる。
When the search by the search formula of the third
図20は、検索部21によって生成された検索結果リスト46の一例を示す図である。図20に示した検索結果リスト36に含まれる項目は、図9に示した検索結果リスト36の項目と同じ項目であり、重複を避けるために項目の説明は省略する。図20に示した検索結果リスト36には、配置部品名「ネジ.PRT」および選択要素「エッジ1」および「エッジ2」が示され、検索リストおよび合致数として、7つの組み合わせが示されている。7つの組み合わせについては、図9に示した検索結果リスト36の検索リストおよび合致数と同じであり、重複を避けるために説明は省略する。
FIG. 20 is a diagram illustrating an example of the
図21は、検索結果リスト46が示す検索結果を表示する選択候補リスト表示画面52の一例を示す図である。検索結果記憶部22はは、検索部21から受け取った検索結果リスト46を、合致数の多い順序に並べ直して、選択候補リストとして検索結果出力装置23に送り、選択候補リスト表示画面52として出力させる。選択候補リスト表示画面52の構成および表示内容は、図10に示した選択候補リスト表示画面51の構成および表示内容と同じであり、重複を避けるために説明は省略する。ユーザは、図20に示した選択候補リスト表示画面52で、第3の図形要素の選択候補の中から第3の図形要素を選択することができる。
FIG. 21 is a diagram illustrating an example of the selection candidate
このように、形状データ記憶部13によって、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための要素名とが対応付けて記憶され、検索基本式記憶装置18によって、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件を表す検索基本式情報が記憶され、対話入力装置15および形状要素選択部16によって、形状データ記憶部13に記憶される要素名の中から1つの部品を配置する位置にある形状を構成する図形要素の要素名が選択される。
As described above, the shape
そして、検索式作成部20および検索部21によって、形状データ記憶部13に記憶される幾何情報のうち、対話入力装置15および形状要素選択部16によって選択された要素名が示す第1の図形要素の幾何情報と、検索基本式記憶装置18に記憶される検索基本式情報が示す予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補が検索され、検索結果記憶部22および検索結果出力装置23によって、検索式作成部20および検索部21によって検索された図形要素の候補の要素名が選択可能に表示される。
Then, the first graphic element indicated by the element name selected by the
したがって、部品が配置される被配置物の形状を構成する図形要素の中から同じ形状の部品が配置される図形要素の候補を位置関係を含む条件によって絞り込むことができる。 Therefore, candidates for graphic elements in which parts having the same shape are arranged can be narrowed down by the condition including the positional relationship from among the graphic elements constituting the shape of the placement object on which the parts are arranged.
さらに、対話入力装置15および形状要素選択部16によって、検索結果記憶部22および検索結果出力装置23によって選択可能に表示される要素名の中から、前記第1の図形要素の要素名と異なる第2の要素名が選択され、検索式作成部20および検索部21によって、形状データ記憶部13に記憶される幾何情報のうち、対話入力装置15および形状要素選択部16によって選択された第2の要素名が示す第2の図形要素および前記第1の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補が検索される。したがって、2つの図形要素に基づいて、第3の図形要素の候補を検索することができる。
Further, among the element names displayed so as to be selectable by the search
図22は、図形要素選択装置1が実行する第1要素検索処理の処理手順を示すフローチャートである。たとえば画面出力装置14に表示されるメインメニューから図形要素を選択する機能が選択されると、ステップA1に移る。
FIG. 22 is a flowchart showing the processing procedure of the first element search process executed by the graphic
ステップA1では、配置部品を選択する。具体的には、ユーザが、対話入力装置15によって、配置部品つまり被配置物に配置する部品の部品名を選択して入力すると、配置部品選択部17は、入力された部品名を検索基本式読込部19に送る。図形要素選択ステップであるステップA2では、配置参照要素を選択する。具体的には、ユーザが、対話入力装置15によって、被配置物の形状を構成する図形要素のうち、先に入力した部品名の部品を配置する配置参照要素つまり第1の図形要素の要素名を入力すると、形状要素選択部16は、形状データ記憶部13に記憶される幾何情報から、入力された要素名が示す第1の図形要素の幾何情報を読み出し、読み出した幾何情報を検索式作成部20に送る。
In step A1, an arrangement component is selected. Specifically, when the user selects and inputs a part name of a part to be placed, that is, a part to be placed on the placement object, using the
ステップA3では、検索基本式の有無を判定する。検索基本式読込部19は、検索基本式記憶装置18に記憶される検索基本式情報31に、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報が記憶されていると、検索基本式があると判定し、ステップA4に進む。検索基本式記憶装置18に記憶される検索基本式情報31に、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報が記憶されていないと、検索基本式がないと判定し、第1要素検索処理を終了する。
In step A3, the presence / absence of a basic search expression is determined. In the basic search expression unit 19, basic
ステップA4では、検索基本式を読み込む。具体的には、検索基本式読込部19は、検索基本式記憶装置18から、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報を読み出し、読み出した検索基本式情報を検索式作成部20に送る。ステップA5では、検索式を作成する。具体的には、検索式作成部20は、形状要素選択部16から受け取った幾何情報、および検索基本式読込部19から受け取った検索基本式情報に基づいて検索式情報を作成し、作成した検索式情報を検索部21に送る。
In step A4, the basic retrieval formula is read. Specifically, the retrieval basic expression reading unit 19 reads out retrieval basic expression information associated with the component name received from the arrangement
ステップA6では、検索する。具体的には、検索部21は、検索式作成部20から受け取った検索式情報を検索条件として、形状データ記憶部13に記憶される幾何情報を検索し、検索条件に合致する幾何情報の図形要素を抽出し、抽出した図形要素に合致した検索条件の数を算出する。そして、抽出した図形要素の要素名と、合致した検索条件の数とに基づいて検索結果リストを生成し、生成した検索結果リストを検索結果記憶部22に送る。ステップA4〜ステップA6は、検索ステップである。
In step A6, a search is performed. Specifically, the search unit 21 searches the geometric information stored in the shape
表示ステップであるステップA7では、検索結果を表示して、第1要素検索処理を終了する。具体的には、検索結果記憶部22は、検索部21から受け取った検索結果リストを、図示しない記憶装置に記憶するとともに、検索結果リストを編集して検索結果出力装置23に送って、選択候補リスト表示画面として出力させ、第1要素検索処理を終了する。
In step A7, which is a display step, the search result is displayed and the first element search process is terminated. Specifically, the search
このように、図22に示したフローチャートにおいて、ステップA2では、部品が配置される被配置物の形状を構成する図形要素を表す幾何情報と、図形要素を識別するための要素名とを対応付けて記憶する形状データ記憶部13に記憶される要素名の中から1つの部品を配置する位置にある形状を構成する図形要素の要素名を選択する。ステップA4〜A6では、形状データ記憶部13に記憶される幾何情報のうちステップA2で選択された要素名が示す第1の図形要素の幾何情報と、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する。そして、ステップA7では、ステップA4〜A6で検索された図形要素の候補の要素名を選択可能に表示する。
In this way, in the flowchart shown in FIG. 22, in step A2, the geometric information representing the graphic element that forms the shape of the placement object on which the part is arranged is associated with the element name for identifying the graphic element. The element name of the graphic element constituting the shape at the position where one part is arranged is selected from the element names stored in the shape
したがって、本発明に係る図形要素選択方法を適用すれば、部品が配置される被配置物の形状を構成する図形要素の中から同じ形状の部品が配置される図形要素の候補を位置関係を含む条件によって絞り込むことができる。 Therefore, if the graphic element selection method according to the present invention is applied, candidates for graphic elements in which parts having the same shape are arranged among the graphic elements constituting the shape of the placement object in which the parts are arranged are included in the positional relationship. It can be narrowed down by conditions.
図23は、図形要素選択装置1が実行する第2要素検索処理の処理手順を示すフローチャートである。第1要素検索処理を終了すると、ステップB1に移る。
FIG. 23 is a flowchart showing the processing procedure of the second element search processing executed by the graphic
ステップB1では、配置部品を読み込む。具体的には、配置部品選択部17は、検索結果記憶部22によって図示しない記憶装置に記憶された検索結果リストの配置部品名を部品名として読み込み、読み込んだ部品名を検索基本式読込部19に送る。ステップB2では、配置参照要素を読み込む。具体的には、形状要素選択部16は、検索結果記憶部22によって図示しない記憶装置に記憶された検索結果リストの選択要素の要素名を配置参照要素つまり選択済みの要素情報として読み出す。
In step B1, an arrangement part is read. Specifically, the arrangement
ステップB3では、配置参照要素を選択する。具体的には、ユーザが、図10に示した選択候補リスト表示画面51で、第2の図形要素の選択候補の中から第2の図形要素の要素名を選択すると、検索結果記憶部22によって図示しない記憶装置に記憶された検索結果リストの選択要素の要素名を選択済みの要素情報として読み出す。そして、形状要素選択部16は、形状データ記憶部13に記憶される幾何情報から、図示しない記憶装置から読み出した選択済みの要素情報、および対話入力装置15から受け取った選択要素情報が示す図形要素の幾何情報を読み出し、読み出した幾何情報を検索式作成部20に送る。
In step B3, an arrangement reference element is selected. Specifically, when the user selects the element name of the second graphic element from the selection candidates of the second graphic element on the selection candidate
ステップB4では、検索基本式の有無を判定する。検索基本式読込部19は、検索基本式記憶装置18に記憶される検索基本式情報31に、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報が記憶されていると、検索基本式があると判定し、ステップB5に進む。検索基本式記憶装置18に記憶される検索基本式情報31に、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報が記憶されていないと、検索基本式がないと判定し、第2要素検索処理を終了する。
In step B4, the presence / absence of a basic search expression is determined. In the basic search expression unit 19, basic
ステップB5では、検索基本式を読み込む。具体的には、検索基本式読込部19は、検索基本式記憶装置18から、配置部品選択部17から受け取った部品名に対応付けられている検索基本式情報を読み出し、読み出した検索基本式情報を検索式作成部20に送る。ステップB6では、検索式を作成する。具体的には、検索式作成部20は、形状要素選択部16から受け取った幾何情報、および検索基本式読込部19から受け取った検索基本式情報に基づいて検索式情報を作成し、作成した検索式情報を検索部21に送る。
In step B5, the basic search formula is read. Specifically, the retrieval basic expression reading unit 19 reads out retrieval basic expression information associated with the component name received from the arrangement
ステップB7では、検索する。具体的には、検索部21は、検索式作成部20から受け取った検索式情報を検索条件として、形状データ記憶部13に記憶される部品データの幾何情報を検索し、検索条件に合致する幾何情報の図形要素を抽出し、抽出した図形要素に合致した検索条件の数を算出する。そして、抽出した図形要素の要素名と、合致した検索条件の数とに基づいて検索結果リストを生成し、生成した検索結果リストを検索結果記憶部22に送る。
In step B7, a search is performed. Specifically, the search unit 21 searches the geometric information of the part data stored in the shape
ステップB8では、検索結果を表示して、第2要素検索処理を終了する。具体的には、検索結果記憶部22は、検索部21から受け取った検索結果リストを、図示しない記憶装置に記憶するとともに、検索結果リストを編集して検索結果出力装置23に送って、選択候補リスト表示画面として出力させ、第2要素検索処理を終了する。
In step B8, the search result is displayed and the second element search process is terminated. Specifically, the search
1 図形要素選択装置
8 カバー部品
9 ネジ
11 形状データ記憶装置
12 形状データ読込部
13 形状データ記憶部
14 画面出力装置
15 対話入力装置
16 形状要素選択部
17 配置部品選択部
18 検索基本式記憶装置
19 検索基本式読込部
20 検索式作成部
21 検索部
22 検索結果記憶部
23 検索結果出力装置
31 検索式情報
32 幾何情報
51,52 選択候補リスト表示画面
DESCRIPTION OF
Claims (10)
同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件を表す検索条件情報を記憶する検索条件情報記憶手段と、
前記図形要素記憶手段に記憶される図形要素識別情報の中から1つの部品を配置する位置にある形状を構成する図形要素の図形要素識別情報を選択する図形要素選択手段と、
前記図形要素記憶手段に記憶される幾何情報のうち前記図形要素選択手段によって選択された図形要素識別情報が示す第1の図形要素の幾何情報と、前記検索条件情報記憶手段に記憶される検索条件情報が示す予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する検索手段と、
前記検索手段によって検索された図形要素の候補の図形要素識別情報を選択可能に表示する表示手段とを含むことを特徴とする図形要素選択装置。 Graphic element storage means for storing geometric information representing graphic elements constituting the shape of the placement object on which the parts are arranged and graphic element identification information for identifying the graphic elements in association with each other;
Search condition information storage means for storing search condition information representing a predetermined search condition including a positional relationship for searching for graphic elements in which parts having the same shape are arranged;
Graphic element selection means for selecting graphic element identification information of a graphic element constituting a shape at a position where one part is arranged from among graphic element identification information stored in the graphic element storage means;
The geometric information of the first graphic element indicated by the graphic element identification information selected by the graphic element selection means among the geometric information stored in the graphic element storage means, and the search condition stored in the search condition information storage means Search means for searching for a graphic element candidate in which a component having the same shape as the component arranged at the position of the first graphic element is based on a predetermined search condition indicated by the information;
A graphic element selection device comprising: display means for selectively displaying graphic element identification information of graphic element candidates retrieved by the retrieval means.
前記検索手段は、前記図形要素記憶手段に記憶される幾何情報のうち、前記第2の図形要素選択手段によって選択された第2の図形要素識別情報が示す第2の図形要素および前記第1の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索することを特徴とする請求項1に記載の図形要素選択装置。 Second graphic element selection means for selecting second graphic element identification information different from the graphic element identification information of the first graphic element from graphic element identification information displayed in a selectable manner by the display means. Including
The search means includes the second graphic element indicated by the second graphic element identification information selected by the second graphic element selection means among the geometric information stored in the graphic element storage means, and the first graphic element. Searching for a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is searched based on the geometric information of the graphic element and the predetermined search condition. The graphic element selection apparatus according to claim 1.
前記予め定める検索条件は、図形要素の候補の形状の半径が、前記第1の図形要素の形状の半径に等しいという条件を含むことを特徴とする請求項1または2に記載の図形要素選択装置。 The shape of the graphic element is a circular or arc shape,
3. The graphic element selection device according to claim 1, wherein the predetermined search condition includes a condition that a radius of the shape of the graphic element candidate is equal to a radius of the shape of the first graphic element. 4. .
前記検索手段は、前記図形要素記憶手段に記憶される幾何情報のうち、前記第1の図形要素、前記第2の図形要素、および前記第2の図形要素選択手段によって選択された第3の図形要素識別情報が示す第3の図形要素の幾何情報と、前記予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索し、
前記予め定める検索条件は、図形要素の候補の中心が、前記第1の図形要素の中心と前記第2の図形要素の中心と前記第3の図形要素の中心とを通る円周上にあるという条件をさらに含むことを特徴とする請求項2に係る請求項3に記載の図形要素選択装置。 The second graphic element selecting means is a third different from the graphic element identification information of the first graphic element and the second graphic element, out of graphic element identification information displayed so as to be selectable by the display means. Select more graphic element identification information,
The search means is a third graphic selected by the first graphic element, the second graphic element, and the second graphic element selection means among the geometric information stored in the graphic element storage means. Based on the geometric information of the third graphic element indicated by the element identification information and the predetermined search condition, the graphic element in which the part having the same shape as the part arranged at the position of the first graphic element is arranged. Search for suggestions,
The predetermined search condition is that the center of the graphic element candidate is on a circle passing through the center of the first graphic element, the center of the second graphic element, and the center of the third graphic element. The graphic element selection device according to claim 2, further comprising a condition.
前記図形要素記憶部に記憶される幾何情報のうち前記図形要素選択ステップで選択された図形要素識別情報が示す第1の図形要素の幾何情報と、同じ形状の部品が配置される図形要素を検索するための位置関係を含む予め定める検索条件とに基づいて、前記第1の図形要素の位置に配置される部品と同じ形状の部品が配置される図形要素の候補を検索する検索ステップと、
前記検索ステップで検索された図形要素の候補の図形要素識別情報を選択可能に表示する表示ステップとを含むことを特徴とする図形要素選択方法。 Graphic element identification stored in a graphic element storage unit for storing geometric information representing graphic elements constituting the shape of an object on which a part is arranged and graphic element identification information for identifying the graphic elements in association with each other A graphic element selection step for selecting graphic element identification information of a graphic element constituting a shape at a position where one part is to be arranged from the information;
The geometric information stored in the graphic element storage unit is searched for the geometric element having the same shape as the geometric information of the first graphic element indicated by the graphic element identification information selected in the graphic element selection step. A search step of searching for a graphic element candidate in which a part having the same shape as the part arranged at the position of the first graphic element is based on a predetermined search condition including a positional relationship for
A graphic element selection method, comprising: a display step for selectively displaying graphic element identification information of graphic element candidates searched in the search step.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008079361A JP4991611B2 (en) | 2008-03-25 | 2008-03-25 | Graphic element selection apparatus and method |
CN2009801114581A CN101981577B (en) | 2008-03-25 | 2009-03-25 | Device and method for selecting graphic element |
PCT/JP2009/056011 WO2009119693A1 (en) | 2008-03-25 | 2009-03-25 | Device and method for selecting graphic element |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008079361A JP4991611B2 (en) | 2008-03-25 | 2008-03-25 | Graphic element selection apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009237631A true JP2009237631A (en) | 2009-10-15 |
JP4991611B2 JP4991611B2 (en) | 2012-08-01 |
Family
ID=41113883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008079361A Expired - Fee Related JP4991611B2 (en) | 2008-03-25 | 2008-03-25 | Graphic element selection apparatus and method |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP4991611B2 (en) |
CN (1) | CN101981577B (en) |
WO (1) | WO2009119693A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06176123A (en) * | 1992-12-08 | 1994-06-24 | Dainippon Printing Co Ltd | Image forming device |
JPH07271994A (en) * | 1994-03-31 | 1995-10-20 | Mutoh Ind Ltd | Method and system for graphic selection |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2005096182A1 (en) * | 2004-03-31 | 2007-08-16 | 松下電器産業株式会社 | Information extraction system |
CN101055620B (en) * | 2006-04-12 | 2011-04-06 | 富士通株式会社 | Shape comparison device and method |
-
2008
- 2008-03-25 JP JP2008079361A patent/JP4991611B2/en not_active Expired - Fee Related
-
2009
- 2009-03-25 CN CN2009801114581A patent/CN101981577B/en not_active Expired - Fee Related
- 2009-03-25 WO PCT/JP2009/056011 patent/WO2009119693A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06176123A (en) * | 1992-12-08 | 1994-06-24 | Dainippon Printing Co Ltd | Image forming device |
JPH07271994A (en) * | 1994-03-31 | 1995-10-20 | Mutoh Ind Ltd | Method and system for graphic selection |
Also Published As
Publication number | Publication date |
---|---|
CN101981577B (en) | 2013-02-27 |
JP4991611B2 (en) | 2012-08-01 |
CN101981577A (en) | 2011-02-23 |
WO2009119693A1 (en) | 2009-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10379716B2 (en) | Presenting object properties | |
US9956655B2 (en) | Apparatus for generating assembly sequence and method for generating assembly sequence | |
EP3179352B1 (en) | Guided progressive search system and method | |
US20110209074A1 (en) | Rotating animated visual user display interface | |
JP6244901B2 (en) | Graph display control device, electronic device, and program | |
WO2013080681A1 (en) | Similar design structure search device and similar design structure search method | |
EP2669824A1 (en) | Design support system, method and program | |
WO2011152386A1 (en) | Search device, search condition generation method and program | |
JP5087507B2 (en) | Part information display device, part information display method, program, and recording medium | |
AU2018204393A1 (en) | Graphically representing content relationships on a surface of graphical object | |
US11281365B2 (en) | Method to provide design information | |
JP6242709B2 (en) | Assembly sequence generation apparatus and assembly sequence generation method | |
JP2006005655A (en) | Input device and input program provided with item processing function, and computer readable recording medium | |
JP4991611B2 (en) | Graphic element selection apparatus and method | |
WO2016132521A1 (en) | Teaching data-generating device | |
JP6860428B2 (en) | Work instruction device, work instruction method and work instruction program | |
JP2022090123A (en) | Estimation system, estimation method, and estimation program | |
JP3701317B2 (en) | A device that creates operational data for the machine | |
JP3898485B2 (en) | Drawing drawing display device, drawing drawing display method, and recording medium | |
JP7344659B2 (en) | Information processing equipment and programs | |
WO2012046436A1 (en) | Document analysis device, document analysis method, and document analysis program | |
JP2007086979A (en) | Test pattern editing device | |
JP2019046243A (en) | Design support apparatus, and design support method | |
JP6938052B2 (en) | Analytical method of claims and its equipment | |
JP7230393B2 (en) | Design support device, program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100218 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111108 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111202 |
|
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: 20120417 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120507 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150511 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |