JP2007048139A - Product design device, and product design method and program - Google Patents

Product design device, and product design method and program Download PDF

Info

Publication number
JP2007048139A
JP2007048139A JP2005233347A JP2005233347A JP2007048139A JP 2007048139 A JP2007048139 A JP 2007048139A JP 2005233347 A JP2005233347 A JP 2005233347A JP 2005233347 A JP2005233347 A JP 2005233347A JP 2007048139 A JP2007048139 A JP 2007048139A
Authority
JP
Japan
Prior art keywords
holding structure
information
shape
holding
existing part
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
JP2005233347A
Other languages
Japanese (ja)
Inventor
Toshihiro Ogino
利浩 荻野
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2005233347A priority Critical patent/JP2007048139A/en
Publication of JP2007048139A publication Critical patent/JP2007048139A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a product design device capable of designing a holding structure with dimension value appropriate to hold an arranged existing component by arranging the existing component at an optional position of the opposite component. <P>SOLUTION: A component selection means 10 arranges a designated target existing component at the opposite component at which the existing component is arranged and acquires holding structure information about a holding structure for holding the target existing component from a standard component holding structure information database 14. A holding structure generation means 20 performs a CAD macro included in the holding structure information acquired by the component selecting means 10 to thereby acquire shape information of the holding structure for holding the target existing component from a library definition database 24, generates the shape of a holding structure shown by the acquired shape information, arranges the shape at a position indicated by arrangement information and changes the shape of the arranged holding structure into a shape with a dimension value indicated by dimension information. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、製品設計を支援する製品設計装置、製品設計方法およびプログラムに関する。   The present invention relates to a product design apparatus, product design method, and program for supporting product design.

製品設計を行う装置として、製品設計装置である3次元CAD(Computer Aided
Design)システム装置が広く用いられている。3次元CADシステム装置は、コンピュータによって設計支援を行う装置であり、設計の効率化を図ることができる。3次元CADシステム装置の中には、製品形状および部品形状をソリッドモデルあるいはサーフェスモデルによって定義して作成し、その作成手順および寸法値などを履歴あるいはパラメータ値として記憶するパラメトリック設計CADシステム装置がある。このパラメトリック設計CADシステム装置は、その履歴あるいはパラメータ値を修正することによって、自動的に製品形状および部品形状を再計算して、形状変更することができる。
3D CAD (Computer Aided), a product design device, as a product design device
Design) system devices are widely used. The three-dimensional CAD system device is a device that supports design by a computer, and can improve design efficiency. Among three-dimensional CAD system devices, there is a parametric design CAD system device that defines and creates product shapes and part shapes by solid models or surface models, and stores the creation procedure and dimension values as history or parameter values. . The parametric design CAD system apparatus can automatically recalculate the product shape and the part shape by changing the history or parameter value, and change the shape.

製品設計において、新規に部品を設計する場合、標準部品などの既存部品をその新規設計部品に配置して保持させる構造を設計することが多い。たとえば、通信機器の製品設計において、3次元CADシステム装置を用いて、新規に設計する筐体部品上に、標準部品であるレシーバを保持するリブ構造を設計する場合、3次元CADシステム装置が有する機能、すなわち複数の部品の組み付け状態をアセンブリモデルとして表現する機能を使用して、筐体部品にリブ構造を作成することができる。   In designing a product, when designing a new part, a structure is often designed in which an existing part such as a standard part is arranged and held in the newly designed part. For example, when designing a rib structure that holds a receiver that is a standard part on a newly designed housing part using a three-dimensional CAD system apparatus in product design of communication equipment, the three-dimensional CAD system apparatus has Using the function, that is, the function of expressing the assembled state of a plurality of parts as an assembly model, a rib structure can be created in the casing part.

具体的には、既に3次元CADシステム装置で設計されたレシーバの3次元設計データに基づく形状を、新規の筐体部品の設計データに基づく形状の任意の位置に配置する。レシーバが配置された筐体部品の形状を表示装置に表示し、表示装置で確認しながらレシーバを位置決めし、周囲を囲うよう保持するリブ構造が設けられた筐体部品の設計データを作成する。この場合、レシーバの周囲を囲って保持するリブ形状の厚み、およびレシーバとそのレシーバを保持するリブ形状との隙間は、筐体部品の設計を担当する設計者が決定するものであり、設計者の熟練度などによって、設計値にバラツキが発生し、品質問題が生じる可能性がある。   Specifically, the shape based on the three-dimensional design data of the receiver already designed by the three-dimensional CAD system apparatus is arranged at an arbitrary position of the shape based on the design data of the new housing part. The shape of the casing component in which the receiver is arranged is displayed on the display device, the receiver is positioned while being confirmed by the display device, and the design data of the casing component provided with the rib structure that holds the periphery is created. In this case, the thickness of the rib shape that holds and surrounds the periphery of the receiver, and the gap between the receiver and the rib shape that holds the receiver, are determined by the designer in charge of the housing component design. Depending on the proficiency level of the product, the design value may vary and quality problems may occur.

従来の技術による製品設計装置として、互いに接合する2つの部品を設計することができる製品設計装置がある。この製品設計装置は、製品を構成する各部品について、部品の構造に関する情報である標準構造データ、部品を設計する手順に関する情報である設計手順パラメータ、および他の部品との接合部があるときは、その接合部の連続している部分の構造についての情報である連続部構造情報を記憶しており、互いに接合する2つの部品が選択されると、片方の部品の連続部構造情報に従って、他方の部品の接合部の標準構造データを自動的に修正するものである(たとえば特許文献1参照)。   As a product design apparatus according to the prior art, there is a product design apparatus that can design two parts to be joined together. When there is a standard structure data that is information on the structure of a part, a design procedure parameter that is information on a procedure for designing a part, and a joint with another part for each part constituting the product, this product design device , Storing the continuous part structure information which is information about the structure of the continuous part of the joint part, and when two parts to be joined to each other are selected, the other part according to the continuous part structure information of one part The standard structure data of the joint part of this part is automatically corrected (see, for example, Patent Document 1).

特開2003−122807号公報JP 2003-122807 A

しかしながら、上述した従来の技術による製品設計装置は、標準部品などの既存部品を、既存部品が配置される相手部品に配置し、配置された既存部品を保持する保持構造体を相手部品に設計する場合、標準構造データなどの情報が記憶されている標準部品だけしか選択することができず、設計者は、標準部品の位置を相手部品の任意の位置に移動するなどの設計変更を行うことができないという問題がある。さらに、互いに接合する2つの部品の接合面の形状を、いずれかの部品の形状に変更することはできるが、接合部の連続している部分の構造についての情報である連続部構造情報は寸法情報を含んでいないので、たとえばリブ形状の厚みなどを自動的に適切な寸法値に設計変更することができないという問題がある。   However, the above-described product design apparatus according to the prior art places an existing part such as a standard part on a counterpart part where the existing part is placed, and designs a holding structure that holds the placed existing part as a counterpart part. In this case, only standard parts in which information such as standard structure data is stored can be selected, and the designer can make design changes such as moving the position of the standard part to an arbitrary position of the counterpart part. There is a problem that you can not. Furthermore, the shape of the joint surface of two parts to be joined to each other can be changed to the shape of one of the parts, but the continuous part structure information, which is information about the structure of the continuous part of the joint, is a dimension. Since the information is not included, there is a problem that, for example, the thickness of the rib shape cannot be automatically changed to an appropriate dimension value.

本発明の目的は、既存部品を相手部品の任意の位置に配置し、配置された既存部品を保持する適切な寸法値の保持構造体を設計することができる製品設計装置、製品設計方法およびプログラムを提供することである。   An object of the present invention is to provide a product design apparatus, a product design method, and a program capable of designing a holding structure having an appropriate dimension value by placing an existing part at an arbitrary position of a counterpart part and holding the placed existing part. Is to provide.

本発明は、既に設計された既存部品を保持する各保持構造体を配置する位置を表す配置情報および各保持構造体の寸法値を表す寸法情報を含む保持構造情報と、寸法が変数で表された各保持構造体の形状を表わす形状情報とを記憶する記憶手段と、
記憶手段から保持構造情報および形状情報を読み出すための読み出し手段と、
既存部品と、その既存部品が配置される相手部品とを指定し、指定された既存部品を指定された相手部品に配置する既存部品配置手段と、
既存部品配置手段によって指定された既存部品を保持する各保持構造体の保持構造情報および形状情報を読み出し手段によって読み出し、読み出された形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、前記読み出された保持構造情報に含まれる配置情報が示す相手部品の位置に配置し、さらに配置された保持構造体の形状を、前記読み出された保持構造情報に含まれる寸法情報が示す寸法値の形状に変更する保持構造生成手段と、
保持構造生成手段によって変更された形状を出力する出力手段とを含むことを特徴とする製品設計装置である。
In the present invention, holding structure information including arrangement information indicating a position where each holding structure holding an already designed existing part is arranged, and dimension information indicating a dimension value of each holding structure, and dimensions are represented by variables. Storage means for storing shape information representing the shape of each holding structure;
Reading means for reading the holding structure information and the shape information from the storage means;
An existing part placement means for designating an existing part and a counterpart part on which the existing part is placed, and placing the designated existing part on the designated counterpart part;
The holding structure information and shape information of each holding structure that holds the existing part specified by the existing part placement unit is read by the reading unit, and the shape of the holding structure indicated by the read shape information is generated and generated. The shape of the holding structure is arranged at the position of the counterpart component indicated by the arrangement information included in the read holding structure information, and the shape of the arranged holding structure is added to the read holding structure information. Holding structure generating means for changing to the shape of the dimension value indicated by the included dimension information;
An output means for outputting the shape changed by the holding structure generating means.

本発明に従えば、まず、記憶手段によって、既に設計された既存部品を保持する各保持構造体を配置する位置を表す配置情報および各保持構造体の寸法値を表す寸法情報を含む保持構造情報と、寸法が変数で表された各保持構造体の形状を表わす形状情報とが記憶され、既存部品配置手段によって、既存部品と、その既存部品が配置される相手部品とが指定され、指定された既存部品が指定された相手部品に配置される。   According to the present invention, first, holding structure information including arrangement information indicating a position where each holding structure holding an already designed existing part is arranged and dimension information indicating a dimension value of each holding structure is stored by the storage unit. And shape information representing the shape of each holding structure whose dimensions are represented by variables are stored, and the existing part placement means designates and designates the existing part and the counterpart part on which the existing part is placed. The existing part is placed on the specified counterpart part.

次に、保持構造生成手段によって、既存部品配置手段によって指定された既存部品を保持する各保持構造体の保持構造情報および形状情報が読み出し手段によって読み出され、読み出された形状情報が示す保持構造体の形状が生成され、生成された保持構造体の形状が、前記読み出された保持構造情報に含まれる配置情報が示す相手部品の位置に配置され、さらに配置された保持構造体の形状が、前記読み出された保持構造情報に含まれる寸法情報が示す寸法値の形状に変更され、出力手段によって、保持構造生成手段によって変更された形状が出力される。   Next, the holding structure information and shape information of each holding structure holding the existing part specified by the existing part placement unit are read by the reading unit by the holding structure generation unit, and the holding indicated by the read shape information The shape of the structure is generated, the shape of the generated holding structure is arranged at the position of the counterpart part indicated by the arrangement information included in the read holding structure information, and the shape of the holding structure further arranged However, the shape is changed to the shape of the dimension value indicated by the dimension information included in the read holding structure information, and the changed shape is output by the holding structure generation unit.

このように、寸法が変数で表された各保持構造体の形状を表す形状情報と独立して、既存部品毎にその既存部品を保持する保持構造体を配置する位置を表す配置情報および各保持構造体の寸法値を表す寸法情報を記憶し、既存部品が相手部品に配置されると、形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、配置情報が示す相手部品の位置に配置し、さらに配置された保持構造体の形状を、寸法情報が示す寸法値に変更するので、既存部品を相手部品の任意の位置に配置し、既存部品を保持する保持構造体の形状を生成し、配置し、さらに設定された寸法に変更することができる。   In this way, independent of the shape information representing the shape of each holding structure whose dimensions are represented by variables, the arrangement information indicating the position where the holding structure holding the existing part is arranged for each existing part and each holding Dimension information representing the dimension value of the structure is stored, and when an existing part is placed on the counterpart part, the shape of the holding structure indicated by the shape information is generated, and the shape of the generated holding structure is Placed at the position of the mating part shown, and the shape of the placed holding structure is changed to the dimension value indicated by the dimension information, so the existing part can be placed at an arbitrary position of the mating part and hold the existing part The shape of the structure can be generated, placed, and further changed to the set dimensions.

また本発明は、前記保持構造情報は、保持構造体の形状を生成するための生成手順を表す予め登録された形状生成マクロを特定するマクロ特定情報をさらに含み、
前記保持構造生成手段は、前記読み出された保持構造情報に含まれるマクロ特定情報によって特定される形状生成マクロを実行することによって、前記読み出された形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、前記読み出された保持構造情報に含まれる配置情報が示す位置に配置することを特徴とする。
In the present invention, the holding structure information further includes macro specifying information for specifying a pre-registered shape generation macro representing a generation procedure for generating a shape of the holding structure,
The holding structure generation unit generates a shape of the holding structure indicated by the read shape information by executing a shape generation macro specified by the macro specifying information included in the read holding structure information. Then, the shape of the generated holding structure is arranged at a position indicated by arrangement information included in the read holding structure information.

本発明に従えば、保持構造情報は、保持構造体の形状を生成するための生成手順を表す予め登録された形状生成マクロを特定するマクロ特定情報をさらに含み、保持構造生成手段は、保持構造情報に含まれるマクロ特定情報によって特定される形状生成マクロを実行することによって、形状情報が示す形状の保持構造体を保持構造情報に含まれる配置情報が示す相手部品の位置に配置するので、形状生成マクロを実行するだけで、保持構造体の形状の生成と配置を行うことができる。   According to the present invention, the holding structure information further includes macro specifying information for specifying a pre-registered shape generation macro representing a generation procedure for generating the shape of the holding structure, and the holding structure generation means includes the holding structure By executing the shape generation macro specified by the macro specifying information included in the information, the holding structure of the shape indicated by the shape information is arranged at the position of the counterpart part indicated by the arrangement information included in the holding structure information. The shape and shape of the holding structure can be generated and arranged simply by executing the generation macro.

また本発明は、前記保持構造情報は、既存部品を保持する保持構造体の数を表す保持構造体数情報と、マクロ特定情報、配置情報、および寸法情報を保持構造体数情報が示す数だけ含む保持構造定義情報とを、既存部品毎に含むことを特徴とする。   Further, according to the present invention, the holding structure information includes the holding structure number information indicating the number of holding structures holding the existing parts, and the number of the holding structure number information indicating the macro specifying information, the arrangement information, and the dimension information. The holding structure definition information is included for each existing part.

本発明に従えば、保持構造情報は、既存部品を保持する保持構造体の数を表す保持構造体数情報と、マクロ特定情報、配置情報、および寸法情報を保持構造体数情報が示す数だけ含む保持構造定義情報とを、既存部品毎に含むので、既存部品を保持する複数の保持構造体を、形状と寸法とを保持構造体毎に指定することができる。   According to the present invention, the holding structure information includes the holding structure number information indicating the number of holding structures holding the existing parts, and the number indicated by the holding structure number information indicating the macro identification information, the arrangement information, and the dimension information. Since the holding structure definition information to be included is included for each existing part, a plurality of holding structures that hold the existing part can be designated for each holding structure.

また本発明は、前記形状情報は、各保持構造体の形状情報を特定するための形状特定情報をさらに含み、
前記形状生成マクロは、その形状生成マクロに対応する形状特定情報によって特定される形状情報を前記読み出し手段によって前記記憶手段から読み出す手順を含み、
前記保持構造生成手段は、前記形状生成マクロを実行することによって、その形状生成マクロに対応する形状特定情報によって特定される形状情報を読み出すことを特徴とする。
Further, in the present invention, the shape information further includes shape specifying information for specifying shape information of each holding structure,
The shape generation macro includes a procedure of reading shape information specified by shape specification information corresponding to the shape generation macro from the storage unit by the reading unit,
The holding structure generating means reads the shape information specified by the shape specifying information corresponding to the shape generation macro by executing the shape generation macro.

本発明に従えば、形状生成マクロは、その形状生成マクロに対応する形状特定情報によって特定される形状情報を記憶手段から読み出す手順を含むので、保持構造生成手段は、形状生成マクロを実行することによって、形状特定情報によって特定される形状情報を記憶手段から読み出すことができる。   According to the present invention, since the shape generation macro includes a procedure for reading out shape information specified by the shape specification information corresponding to the shape generation macro from the storage unit, the holding structure generation unit executes the shape generation macro. Thus, the shape information specified by the shape specifying information can be read from the storage means.

また本発明は、前記保持構造生成手段は、前記配置された保持構造体の形状の変数で表された寸法を、前記読み出された保持構造体情報に含まれる寸法情報が示す寸法値にすることによって、保持構造体の形状を変更する保持構造再定義手段をさらに含むことを特徴とする。   According to the present invention, the holding structure generating means sets the dimension represented by the variable of the shape of the arranged holding structure to a dimension value indicated by the dimension information included in the read holding structure information. Accordingly, the image forming apparatus further includes holding structure redefining means for changing the shape of the holding structure.

本発明に従えば、保持構造再定義手段は、配置された保持構造体の形状の変数で表された寸法を、読み出された保持構造体情報に含まれる寸法情報が示す寸法値にすることによって、保持構造体の形状を変更するので、寸法の異なる保持構造体毎に保持構造体の形状を表す形状情報を記憶する必要がない。   According to the present invention, the holding structure redefining means sets the dimension represented by the variable of the shape of the arranged holding structure to the dimension value indicated by the dimension information included in the read holding structure information. Therefore, since the shape of the holding structure is changed, it is not necessary to store shape information representing the shape of the holding structure for each holding structure having different dimensions.

また本発明は、既に設計された既存部品を保持する各保持構造体を配置する位置を表す配置情報および各保持構造体の寸法値を表す寸法情報を含む保持構造情報と、寸法が変数で表された各保持構造体の形状を表わす形状情報とを記憶部に記憶する記憶工程と、
既存部品と、その既存部品が配置される相手部品とを指定し、指定された既存部品を指定された相手部品に配置する既存部品配置工程と、
既存部品配置工程で指定された既存部品を保持する各保持構造体の保持構造情報および形状情報を記憶部から読み出し、読み出された形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、前記読み出された保持構造情報に含まれる配置情報が示す相手部品の位置に配置し、さらに配置された保持構造体の形状を、前記読み出された保持構造情報に含まれる寸法情報が示す寸法値の形状に変更する保持構造生成工程と、
保持構造生成工程で変更された形状を出力する出力工程とを含むことを特徴とする製品設計方法である。
Further, the present invention provides holding structure information including arrangement information indicating a position where each holding structure holding an already designed existing part is arranged, and dimension information indicating a dimension value of each holding structure, and a dimension represented by a variable. A storage step of storing, in the storage unit, shape information representing the shape of each held holding structure;
An existing part placement process for designating an existing part and a counterpart part on which the existing part is placed, and placing the designated existing part on the designated counterpart part;
The holding structure information and shape information of each holding structure holding the existing part specified in the existing part placement step is read from the storage unit, and the shape of the holding structure indicated by the read shape information is generated and generated. The shape of the holding structure is arranged at the position of the counterpart component indicated by the arrangement information included in the read holding structure information, and the shape of the arranged holding structure is added to the read holding structure information. A holding structure generation step for changing to the shape of the dimension value indicated by the included dimension information;
An output process for outputting the shape changed in the holding structure generation process.

本発明に従えば、まず、記憶工程では、既に設計された既存部品を保持する各保持構造体を配置する位置を表す配置情報および各保持構造体の寸法値を表す寸法情報を含む保持構造情報と、寸法が変数で表された各保持構造体の形状を表わす形状情報とを記憶部に記憶し、既存部品配置工程では、既存部品と、その既存部品が配置される相手部品とを指定し、指定された既存部品を指定された相手部品に配置する。   According to the present invention, first, in the storing step, holding structure information including arrangement information indicating a position where each holding structure holding an already designed part is arranged and dimension information indicating a dimension value of each holding structure. And shape information representing the shape of each holding structure whose dimensions are represented by variables are stored in the storage unit. In the existing part placement process, the existing part and the counterpart part to which the existing part is placed are designated. The specified existing part is placed on the specified counterpart part.

次に、保持構造生成工程では、既存部品配置工程で指定された既存部品を保持する各保持構造体の保持構造情報および形状情報を記憶部から読み出し、読み出された形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、前記読み出された保持構造情報に含まれる配置情報が示す相手部品の位置に配置し、さらに配置された保持構造体の形状を、前記読み出された保持構造情報に含まれる寸法情報が示す寸法値の形状に変更し、出力工程では、保持構造生成工程で変更された形状を出力する。   Next, in the holding structure generation process, the holding structure information and shape information of each holding structure holding the existing part specified in the existing part arrangement process is read from the storage unit, and the holding structure indicated by the read shape information The shape of the generated holding structure is arranged at the position of the counterpart part indicated by the arrangement information included in the read holding structure information, and the shape of the holding structure further arranged is The shape is changed to the shape of the dimension value indicated by the dimension information included in the read holding structure information, and the shape changed in the holding structure generation step is output in the output step.

このように、寸法が変数で表された各保持構造体の形状を表す形状情報と独立して、既存部品毎にその既存部品を保持する保持構造体を配置する位置を表す配置情報および各保持構造体の寸法値を表す寸法情報を記憶し、既存部品が相手部品に配置されると、形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、配置情報が示す相手部品の位置に配置し、さらに配置された保持構造体の形状を、寸法情報が示す寸法値に変更するので、既存部品を相手部品の任意の位置に配置し、既存部品を保持する保持構造体の形状を生成し、配置し、さらに設定された寸法に変更することができる。   In this way, independent of the shape information representing the shape of each holding structure whose dimensions are represented by variables, the arrangement information indicating the position where the holding structure holding the existing part is arranged for each existing part and each holding Dimension information representing the dimension value of the structure is stored, and when an existing part is placed on the counterpart part, the shape of the holding structure indicated by the shape information is generated, and the shape of the generated holding structure is Placed at the position of the mating part shown, and the shape of the placed holding structure is changed to the dimension value indicated by the dimension information, so the existing part can be placed at an arbitrary position of the mating part and hold the existing part The shape of the structure can be generated, placed, and further changed to the set dimensions.

また本発明は、コンピュータを前記製品設計装置として機能させるためのプログラムである。   The present invention is a program for causing a computer to function as the product design apparatus.

本発明に従えば、コンピュータを製品設計装置として機能させるためのプログラムとして提供することができる。   According to the present invention, a computer can be provided as a program for causing a computer to function as a product design apparatus.

本発明によれば、既存部品を相手部品の任意の位置に配置し、既存部品を保持する保持構造体の形状を生成し、配置し、さらに設定された寸法に変更することができるので、相手部品の任意の位置に配置された既存部品を保持する適切な寸法値の保持構造体を設計することができる。   According to the present invention, the existing part can be arranged at an arbitrary position of the counterpart part, the shape of the holding structure holding the existing part can be generated, arranged, and further changed to the set dimension. A holding structure having an appropriate dimension value for holding an existing part arranged at an arbitrary position of the part can be designed.

さらに、各保持構造体の寸法情報を形状情報と独立した情報としたことによって、保持構造体の形状を、複数の既存部品および複数の保持構造体で共通化することができ、既存部品毎および保持構造体毎に、その形状を表す形状情報を記憶する必要がなく、形状情報を記憶する記憶容量を削減することができる。   Furthermore, by making the dimension information of each holding structure independent of the shape information, the shape of the holding structure can be shared by a plurality of existing parts and a plurality of holding structures. It is not necessary to store shape information representing the shape of each holding structure, and the storage capacity for storing the shape information can be reduced.

また本発明によれば、形状生成マクロを実行するだけで、保持構造体の形状の生成と配置を行うことができるので、形状生成マクロをあらかじめ登録しておけば、容易に保持構造体の形状の生成と配置を行うことができる。   Furthermore, according to the present invention, the shape and shape of the holding structure can be generated and executed simply by executing the shape generation macro. Therefore, if the shape generation macro is registered in advance, the shape of the holding structure can be easily obtained. Can be generated and arranged.

また本発明によれば、既存部品を保持する複数の保持構造体を、形状と寸法とを保持構造体毎に指定することができるので、1つの既存部品について、形状あるいは寸法の異なる複数の保持構造体を設計することができる。   Further, according to the present invention, since a plurality of holding structures that hold existing parts can be designated for each holding structure in shape and dimensions, a plurality of holding structures having different shapes or dimensions can be specified for one existing part. A structure can be designed.

また本発明によれば、保持構造生成手段は、形状生成マクロを実行することによって、形状特定情報によって特定される形状情報を記憶手段から読み出すことができるので、保持構造体毎に、その保持構造体の形状情報を特定する形状特定情報を記憶する必要がない。   Further, according to the present invention, the holding structure generating means can read the shape information specified by the shape specifying information from the storage means by executing the shape generating macro, so that each holding structure has its holding structure. There is no need to store shape specifying information for specifying the shape information of the body.

また本発明によれば、寸法の異なる保持構造体毎に保持構造体の形状を表す形状情報を記憶する必要がないので、形状情報の記憶容量を削減することができる。   Further, according to the present invention, it is not necessary to store the shape information indicating the shape of the holding structure for each holding structure having different dimensions, so that the storage capacity of the shape information can be reduced.

また本発明によれば、既存部品を相手部品の任意の位置に配置し、既存部品を保持する保持構造体の形状を生成し、配置し、さらに設定された寸法に変更することができるので、相手部品の任意の位置に配置された既存部品を保持する適切な寸法値の保持構造体を設計することができる。   Further, according to the present invention, the existing part can be arranged at an arbitrary position of the counterpart part, the shape of the holding structure holding the existing part can be generated, arranged, and further changed to the set dimensions. A holding structure having an appropriate dimension value for holding an existing part arranged at an arbitrary position of the counterpart part can be designed.

また本発明によれば、コンピュータを製品設計装置として機能させるためのプログラムとして提供することができる。   Further, according to the present invention, it is possible to provide a program for causing a computer to function as a product design apparatus.

図1は、本発明の実施の一形態である製品設計装置1の機能の構成を示すブロック図である。製品設計装置1は、たとえばパラメトリック設計を行うことができる3次元CAD(Computer Aided Design)システム装置である。   FIG. 1 is a block diagram showing a functional configuration of a product design apparatus 1 according to an embodiment of the present invention. The product design apparatus 1 is, for example, a three-dimensional CAD (Computer Aided Design) system apparatus capable of performing parametric design.

この製品設計装置1のハードウエアは、たとえばコンピュータによって構成される。すなわち、データを入力するためのキーボードあるいはマウスなどの入力装置、液晶パネルあるいはCRT(Cathode Ray Tube)などの表示装置を含む出力装置、データを処理し、各構成要素とデータをやり取りするCPU(Central Processing Unit)、CPUで実行されるプログラムおよびデータを記憶するためのROM(Read Only Memory)、RAM(Random Access Memory)、あるいは大容量のデータを記憶することができるHDD(Hard
Disk Drive)などの記憶装置、ならびに他の装置とデータの送受信を行うためのI/O(Input/Output)インタフェース装置などを含む一般的なコンピュータである。
The hardware of the product design apparatus 1 is configured by a computer, for example. That is, an input device such as a keyboard or mouse for inputting data, an output device including a display device such as a liquid crystal panel or CRT (Cathode Ray Tube), a CPU (Central Processing Unit) that processes data and exchanges data with each component Processing Unit), ROM (Read Only Memory) for storing programs and data executed by the CPU, RAM (Random Access Memory), or HDD (Hard that can store large amounts of data)
It is a general computer including a storage device such as a disk drive) and an input / output (I / O) interface device for transmitting / receiving data to / from other devices.

さらに必要に応じて、表示装置以外の出力装置であるプリンタなどの印刷装置、外部記憶媒体であるCDROM(Compact Disk Read Only Memory)、フレキシブルディスク、もしくはIC(Integrated Circuit)カードなどからデータを読み取る記録媒体読取装置、またはLAN(Local Area Network)などの通信回線に接続するための通信装置をコンピュータに付設して、必要な場合に、外部の記録媒体あるいは装置からプログラムもしくはデータを入力または出力することができるようにするのが望ましい。これらの構成要素は、従来の技術によるものであり説明は省略する。   In addition, if necessary, a record that reads data from a printing device such as a printer that is an output device other than a display device, a CDROM (Compact Disk Read Only Memory) that is an external storage medium, a flexible disk, or an IC (Integrated Circuit) card A medium reader or a communication device for connecting to a communication line such as a LAN (Local Area Network) is attached to the computer, and when necessary, a program or data is input or output from an external recording medium or device. It is desirable to be able to These components are based on the conventional technology, and a description thereof will be omitted.

図1に示した製品設計装置1は、大きく分類して2つの手段、つまり部品選定手段10と保持構造生成手段20とを含む。部品選定手段10は、既に設計された既存部品のうちで目的の既存部品と、目的の既存部品が配置される相手部品とを指定し、指定された目的の既存部品をその相手部品に配置した後、目的の既存部品を保持する保持構造体に関する後述する保持構造情報を取得する。   The product design apparatus 1 shown in FIG. 1 roughly includes two means, that is, a part selection means 10 and a holding structure generation means 20. The part selection means 10 designates the target existing part among the already designed existing parts and the counterpart part on which the target existing part is placed, and places the designated target existing part on the counterpart part. Thereafter, holding structure information, which will be described later, regarding the holding structure that holds the target existing part is acquired.

保持構造生成手段20は、部品選定手段10によって取得された保持構造情報に含まれる後述するCADマクロを実行することによって、寸法が変数で表された各保持構造体の形状を表わす形状情報の中から、目的の既存部品の保持構造体の形状情報を取得し、保持構造情報に含まれる配置情報が示す相手部品の位置に、取得した形状情報が示す保持構造体の形状を配置し、配置された保持構造体の形状を保持構造情報に含まれる寸法情報が示す寸法値の形状に変更する。   The holding structure generation unit 20 executes a CAD macro (described later) included in the holding structure information acquired by the part selection unit 10, so that the inside of the shape information representing the shape of each holding structure whose dimensions are represented by variables. Then, the shape information of the holding structure of the target existing part is acquired, and the shape of the holding structure indicated by the acquired shape information is arranged and arranged at the position of the counterpart part indicated by the arrangement information included in the holding structure information. The shape of the holding structure is changed to the shape of the dimension value indicated by the dimension information included in the holding structure information.

部品選定手段10は、既存部品配置手段11、相手部品選択手段12、標準部品保持構造情報データベース読込み手段13、および標準部品保持構造情報データベース14を含む。既に設計された既存部品および既存部品が配置される相手部品を含む部品に関する部品情報は、たとえば上述した図示しない記憶装置に記憶されており、既存部品配置手段11は、記憶手段に記憶された部品情報が示す部品のうちで、目的の既存部品を指定し、その目的の既存部品を相手部品に配置する。   The part selection unit 10 includes an existing part placement unit 11, a counterpart part selection unit 12, a standard part holding structure information database reading unit 13, and a standard part holding structure information database 14. The part information regarding the already designed existing part and the part including the counterpart part on which the existing part is placed is stored in, for example, the storage device (not shown) described above, and the existing part placement unit 11 stores the part stored in the storage unit. Among the parts indicated by the information, the target existing part is specified, and the target existing part is arranged in the counterpart part.

相手部品選択手段12は、記憶装置に記憶された部品情報が示す部品のうちで、目的の既存部品を配置するための相手部品を指定、つまり記憶装置に記憶された部品情報が示す部品の中から相手部品を選択する。標準部品保持構造情報データベース読込み手段13は、標準部品保持構造情報データベース14から、目的の既存部品を保持する保持構造体に関する保持構造情報を読み出す。保持構造体は、既存部品を保持するために、相手部品に新たに生成される構造体である。   The counterpart component selecting means 12 designates a counterpart component for placing the target existing component among the components indicated by the component information stored in the storage device, that is, among the components indicated by the component information stored in the storage device. Select the other part. The standard part holding structure information database reading means 13 reads the holding structure information related to the holding structure holding the target existing part from the standard part holding structure information database 14. The holding structure is a structure that is newly generated in the counterpart part in order to hold the existing part.

図2は、図1に示した標準部品保持構造情報データベース14に記憶されている保持構造情報を模式的に示す。標準部品保持構造情報データベース14は、保持構造情報を記憶するデータベースである。保持構造情報は、必ずしもデータベースとして記憶されている必要はなく、保持構造情報が書き込みおよび読み出し可能な記憶装置、たとえば上述した図示しないHDDなどの記憶装置に記憶されていればよい。   FIG. 2 schematically shows holding structure information stored in the standard part holding structure information database 14 shown in FIG. The standard part holding structure information database 14 is a database that stores holding structure information. The holding structure information does not necessarily have to be stored as a database, and the holding structure information only needs to be stored in a storage device that can be written and read, for example, a storage device such as the HDD (not shown).

保持構造情報は、既存部品情報と保持構造定義情報とを1組とする情報を既存部品毎に含む。既存部品情報は、1つの既存部品に対して1レコードの情報である。保持構造定義情報は、1つの保持構造体に関する情報を1レコードとして、その既存部品を保持する保持構造体の数のレコードだけ含む情報である。   The holding structure information includes information that sets the existing part information and the holding structure definition information as one set for each existing part. The existing part information is information of one record for one existing part. The holding structure definition information is information including only one record of the number of holding structures holding the existing part, with information related to one holding structure as one record.

既存部品情報の1レコードは、複数ワードから構成される。たとえば第1ワードは、そのレコードが既存部品情報であるか、保持構造定義情報であるかを示す既存部品・保持構造区分フラグであり、そのレコードが既存部品情報であることを示す「1」が記憶されている。第2ワードは、既存部品名を示し、第3ワードは、保持構造体数情報であり、既存部品名が示す既存部品を保持する保持構造体の数を示す。   One record of existing part information is composed of a plurality of words. For example, the first word is an existing part / holding structure classification flag indicating whether the record is existing part information or holding structure definition information, and “1” indicating that the record is existing part information. It is remembered. The second word indicates an existing part name, and the third word is information on the number of holding structures, and indicates the number of holding structures that hold the existing part indicated by the existing part name.

保持構造定義情報の1レコードは、複数ワードから構成される。たとえば第1ワードは、既存部品・保持構造区分フラグであり、そのレコードが保持構造定義情報であることを示す「2」が記憶されている。第2ワードは、そのレコードの保持構造体のCADマクロを特定するマクロ特定情報であるCADマクロ名を示す。形状生成マクロであるCADマクロは、保持構造体の形状を生成するための生成手順を表すプログラムであり、たとえば上述した記憶装置に予め登録されている。   One record of the holding structure definition information is composed of a plurality of words. For example, the first word is an existing part / holding structure classification flag, and “2” indicating that the record is holding structure definition information is stored. The second word indicates a CAD macro name which is macro specifying information for specifying the CAD macro of the holding structure of the record. The CAD macro, which is a shape generation macro, is a program representing a generation procedure for generating the shape of the holding structure, and is registered in advance in, for example, the storage device described above.

第3ワードは、そのレコードの保持構造体を配置すべき位置を示す配置情報であり、たとえば座標系である配置座標系で示される。この例では、保持構造体を配置すべき位置を、相手部品の配置座標系を用いて定義しているが、相手部品の座標系での配置座標値を用いてもよく、定義方法はこれらに限定されない。第4ワード以降のワードは、そのレコードの保持構造体の寸法値を表す寸法情報であり、1つの寸法値に1ワード割り当てられる。寸法情報は、たとえばボスの径あるいは穴径などの寸法値を表す。   The third word is arrangement information indicating the position where the holding structure of the record is to be arranged, and is indicated by, for example, an arrangement coordinate system that is a coordinate system. In this example, the position where the holding structure should be arranged is defined using the arrangement coordinate system of the counterpart part. However, the arrangement coordinate value in the coordinate system of the counterpart part may be used, and the definition method is as follows. It is not limited. Words after the fourth word are dimension information indicating the dimension value of the holding structure of the record, and one word is assigned to one dimension value. The dimension information represents a dimension value such as a boss diameter or a hole diameter.

図2に示した例では、既存部品情報A141aと保持構造定義情報A142aとから構成される1組の情報は、既存部品Aについての情報であり、既存部品情報B141bと保持構造定義情報B142bとから構成される1組の情報は、既存部品Bについての情報であり、既存部品情報C141cと保持構造定義情報C142cとから構成される1組の情報は、既存部品Cについての情報である。   In the example shown in FIG. 2, one set of information composed of the existing part information A141a and the holding structure definition information A142a is information about the existing part A. From the existing part information B141b and the holding structure definition information B142b, The set of configured information is information about the existing component B, and the set of information configured from the existing component information C141c and the holding structure definition information C142c is information about the existing component C.

既存部品情報A141aおよび保持構造定義情報A142aの詳細情報が、図2の下側に示されている。既存部品情報A141aは、標準部品保持構造情報データベース14に記憶されている情報の中で、第mレコードの情報であり、第1ワード143には、既存部品・保持構造区分フラグが「1」と示され、第2ワード144には、既存部品名が示され、第3ワード145には、その既存部品を保持する保持構造体の数「n」が示されている。   Detailed information of the existing part information A141a and the holding structure definition information A142a is shown on the lower side of FIG. The existing part information A 141 a is information of the m-th record among the information stored in the standard part holding structure information database 14. In the first word 143, the existing part / holding structure classification flag is “1”. The second word 144 shows the name of an existing part, and the third word 145 shows the number “n” of holding structures that hold the existing part.

保持構造定義情報A142aの第1レコードは、第(m+1)レコードの情報であり、第1ワードには、既存部品・保持構造区分フラグが「2」と示され、第2ワード146には、CADマクロ名「ボス作成」が示され、第3ワード147には、配置座標系が示され、第4ワードおよび第5ワード148には、それぞれ寸法情報「P0=5」および寸法情報「P1=2」が示されている。保持構造定義情報A142aの第2レコードは、第(m+2)レコードの情報であり、第1ワードには、既存部品・保持構造区分フラグが「2」と示され、第2ワード151には、CADマクロ名「ボス作成」が示され、第3ワード152には、配置座標系が示され、第4ワードおよび第5ワード149には、それぞれ寸法情報「P0=6」および寸法情報「P1=4」が示されている。   The first record of the holding structure definition information A 142a is the information of the (m + 1) th record, the existing word / holding structure classification flag is indicated as “2” in the first word, and the CAD in the second word 146. The macro name “create boss” is shown, the arrangement coordinate system is shown in the third word 147, and the dimension information “P0 = 5” and the dimension information “P1 = 2” are shown in the fourth word and the fifth word 148, respectively. "It is shown. The second record of the holding structure definition information A 142a is the information of the (m + 2) th record, the existing word / holding structure classification flag is indicated as “2” in the first word, and the CAD in the second word 151. The macro name “Create Boss” is shown, the arrangement coordinate system is shown in the third word 152, and the dimension information “P0 = 6” and the dimension information “P1 = 4” are shown in the fourth word and the fifth word 149, respectively. "It is shown.

さらに保持構造定義情報A142aの第nレコードは、第(m+n)レコードの情報であり、第1ワードには、既存部品・保持構造区分フラグが「2」と示され、第2ワードには、CADマクロ名「リブ作成」が示され、第3ワードには、配置座標系が示され、第4ワード以降のワードには、寸法情報「P2=2」等が示される。   Further, the nth record of the holding structure definition information A 142a is information of the (m + n) record, the existing word / holding structure classification flag is indicated as “2” in the first word, and the CAD is indicated in the second word. The macro name “Create Rib” is shown, the arrangement coordinate system is shown in the third word, and dimension information “P2 = 2” is shown in the fourth and subsequent words.

このように、保持構造情報は、既存部品を保持する保持構造体の数を表す保持構造体数情報と、マクロ特定情報、配置情報、および寸法情報を保持構造体数情報が示す数だけ含む保持構造定義情報とを、既存部品毎に含むので、既存部品を保持する複数の保持構造体を、形状と寸法とを保持構造体毎に指定することができる。したがって、1つの既存部品について、形状あるいは寸法の異なる複数の保持構造体を設計することができる。   As described above, the holding structure information includes the holding structure number information indicating the number of holding structures holding the existing parts, and the macro specifying information, the arrangement information, and the dimension information as many as the holding structure number information indicates. Since the structure definition information is included for each existing part, a plurality of holding structures for holding the existing parts can be designated for each holding structure. Therefore, a plurality of holding structures having different shapes or dimensions can be designed for one existing part.

図1を参照して、保持構造生成手段20は、CADマクロ実行手段21、ライブラリ定義データベース読込み手段22、保持構造再定義手段23、およびライブラリ定義データベース24を含む。CADマクロ実行手段21は、標準部品保持構造情報データベース読込み手段13が標準部品保持構造情報データベース14から読み出した保持構造情報の保持構造定義情報に含まれるCADマクロ名で特定されるCADマクロを実行する。このCADマクロは、寸法が変数で表された各保持構造体の形状を表わす形状情報を特定するための形状特定情報であるライブラリ名を、ライブラリ定義データベース読込み手段22に指示する手順と、ライブラリ名に関連付けられた形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、保持構造定義情報が示す配置座標系にその形状の配置座標系が合致する位置に配置する手順とを含む。   Referring to FIG. 1, holding structure generation means 20 includes CAD macro execution means 21, library definition database reading means 22, holding structure redefinition means 23, and library definition database 24. The CAD macro execution means 21 executes the CAD macro specified by the CAD macro name included in the holding structure definition information of the holding structure information read from the standard part holding structure information database 14 by the standard part holding structure information database reading means 13. . This CAD macro includes a procedure for instructing the library definition database reading means 22 of a library name that is shape specifying information for specifying shape information representing the shape of each holding structure whose dimensions are represented by variables, and a library name. The shape of the holding structure indicated by the shape information associated with is generated, and the generated shape of the holding structure is arranged at a position where the arrangement coordinate system of the shape matches the arrangement coordinate system indicated by the holding structure definition information. Procedures.

図3は、図1に示したライブラリ定義データベース24に記憶されている形状情報を模式的に示す。ライブラリ定義データベース24は、各保持構造体の形状情報を記憶するデータベースである。形状情報は、必ずしもデータベースとして記憶されている必要はなく、形状情報が書き込みおよび読み出し可能な記憶装置、たとえば上述した図示しないHDDなどの記憶装置に記憶されていればよい。   FIG. 3 schematically shows shape information stored in the library definition database 24 shown in FIG. The library definition database 24 is a database that stores shape information of each holding structure. The shape information is not necessarily stored as a database, but may be stored in a storage device in which the shape information can be written and read, for example, a storage device such as the HDD (not shown).

形状情報は、寸法が変数で表された保持構造体の形状を表わす形状情報であり、ライブラリ定義データベース24には、各保持構造体の形状情報に、各形状情報を特定するための形状特定情報であるライブラリ名が関連付けられて記憶されている。たとえば図3に示したライブラリ定義データベース24は、ライブラリ名が「ボス」である保持構造体の形状情報が示すボス形状240、およびライブラリ名が「リブ」である保持構造体の形状情報が示すリブ形状245が示されている。   The shape information is shape information representing the shape of the holding structure whose dimensions are represented by variables, and the library definition database 24 has shape specifying information for specifying each shape information in the shape information of each holding structure. Is stored in association with the library name. For example, the library definition database 24 shown in FIG. 3 includes a boss shape 240 indicated by shape information of a holding structure whose library name is “boss”, and a rib indicated by shape information of the holding structure whose library name is “rib”. Shape 245 is shown.

ボス形状240には、ボスの寸法241が変数として、たとえばボスの直径P0および穴径P1として表され、さらにボス形状240の座標系である配置座標系242が示されている。リブ形状245には、リブの寸法246が変数として、たとえば厚みT1および各内面の中心位置からそれぞれの内面までの距離L1〜L4として表され、さらにリブ形状245の座標系である配置座標系247が示されている。ボス形状240およびリブ形状245に付された下方向の矢印は、高さ方向は指定した面に当たるまで押し出すこと、つまり指定された面に接するように保持構造体を配置することを示す。   In the boss shape 240, a boss dimension 241 is represented as a variable, for example, as a boss diameter P0 and a hole diameter P1, and an arrangement coordinate system 242 that is a coordinate system of the boss shape 240 is shown. In the rib shape 245, the rib dimension 246 is expressed as a variable, for example, as a thickness T1 and distances L1 to L4 from the center position of each inner surface to each inner surface, and an arrangement coordinate system 247 which is a coordinate system of the rib shape 245. It is shown. The downward arrows attached to the boss shape 240 and the rib shape 245 indicate that the height direction is pushed out until it hits the designated surface, that is, the holding structure is arranged so as to contact the designated surface.

図1を参照して、ライブラリ定義データベース読込み手段22は、CADマクロ実行手段21から指示されたライブラリ名に関連付けられた形状情報を、ライブラリ定義データベース24から読み出し、読み出した形状情報をCADマクロ実行手段21に渡す。CADマクロ実行手段21は、ライブラリ定義データベース読込み手段22から形状情報を受け取ると、受け取った形状情報が示す保持構造体の形状を、保持構造定義情報に含まれる配置情報が示す相手部品の位置に配置する。このとき、変数で表される寸法に対する寸法情報がまだ与えられていないので、変数で表される寸法には、予め定める寸法値を用いて、保持構造体の形状が生成される。   Referring to FIG. 1, library definition database reading means 22 reads shape information associated with a library name designated by CAD macro execution means 21 from library definition database 24, and reads the read shape information into CAD macro execution means. Pass to 21. When the CAD macro execution means 21 receives the shape information from the library definition database reading means 22, the CAD macro execution means 21 places the shape of the holding structure indicated by the received shape information at the position of the counterpart part indicated by the arrangement information included in the holding structure definition information. To do. At this time, since the dimension information for the dimension represented by the variable has not been given yet, the shape of the holding structure is generated using a predetermined dimension value for the dimension represented by the variable.

このように、保持構造情報は、保持構造体の形状を生成するための生成手順を表す予め登録されたCADマクロつまり形状生成マクロを特定するCADマクロ名つまりマクロ特定情報をさらに含み、保持構造生成手段は、保持構造情報に含まれるマクロ特定情報によって特定される形状生成マクロを実行することによって、形状情報が示す形状の保持構造体を保持構造情報に含まれる配置情報が示す相手部品の位置に配置するので、形状生成マクロを実行するだけで、保持構造体の形状の生成と配置を行うことができる。したがって、形状生成マクロをあらかじめ登録しておけば、容易に保持構造体の形状の生成と配置を行うことができる。   As described above, the holding structure information further includes a CAD macro name that identifies a pre-registered CAD macro that represents a generation procedure for generating the shape of the holding structure, that is, a shape generation macro. The means executes the shape generation macro specified by the macro specifying information included in the holding structure information, thereby placing the holding structure having the shape indicated by the shape information at the position of the counterpart part indicated by the arrangement information included in the holding structure information. Therefore, the shape and shape of the holding structure can be generated and executed simply by executing the shape generation macro. Therefore, if the shape generation macro is registered in advance, the shape and arrangement of the holding structure can be easily performed.

さらに、形状生成マクロは、その形状生成マクロに対応する形状特定情報であるライブラリ名によって特定される形状情報を記憶手段から読み出す手順を含むので、保持構造生成手段に含まれるマクロ実行手段は、形状生成マクロを実行することによって、形状特定情報によって特定される形状情報を記憶手段から読み出すことができる。したがって、保持構造体毎に、その保持構造体の形状情報を特定する形状特定情報を記憶する必要がない。   Furthermore, since the shape generation macro includes a procedure for reading out shape information specified by the library name, which is shape specification information corresponding to the shape generation macro, from the storage means, the macro execution means included in the holding structure generation means By executing the generation macro, the shape information specified by the shape specifying information can be read from the storage unit. Therefore, it is not necessary to store the shape specifying information for specifying the shape information of the holding structure for each holding structure.

保持構造再定義手段23は、標準部品保持構造情報データベース読込み手段13が読み出した保持構造情報に含まれる各保持構造定義情報に含まれる配置情報が示す位置に配置された保持構造体の形状の変数で表された寸法を、各保持構造定義情報の寸法情報が示す寸法値にすることによって、保持構造体の形状を変更する。変更された保持構造体の形状は、たとえば表示装置あるいは印刷装置などの出力装置に出力されるとともに、変更された保持構造体の形状を表す変更形状情報は記憶装置に記憶される。   The holding structure redefinition means 23 is a variable of the shape of the holding structure arranged at the position indicated by the arrangement information included in each holding structure definition information included in the holding structure information read by the holding structure information database reading means 13 Is changed to the dimension value indicated by the dimension information of each holding structure definition information, thereby changing the shape of the holding structure. The changed shape of the holding structure is output to an output device such as a display device or a printing device, and changed shape information indicating the changed shape of the holding structure is stored in the storage device.

このように、保持構造再定義手段は、配置された保持構造体の形状の変数で表された寸法を、読み出された保持構造体情報に含まれる寸法情報が示す寸法値にすることによって、保持構造体の形状を変更するので、寸法の異なる保持構造体毎に保持構造体の形状を表す形状情報を記憶する必要がない。したがって、形状情報の記憶容量を削減することができる。   In this way, the holding structure redefinition means sets the dimension represented by the variable of the shape of the arranged holding structure to the dimension value indicated by the dimension information included in the read holding structure information, Since the shape of the holding structure is changed, it is not necessary to store shape information representing the shape of the holding structure for each holding structure having different dimensions. Therefore, the storage capacity of shape information can be reduced.

図4は、既存部品を保持する保持構造体を生成する例を模式的に示す。図4に示した例は、既存部品30を相手部品40に配置し、2つの保持構造体、つまりボス41およびボス42によって、それぞれ既存部品30の締結部31および締結部32を保持する例である。既存部品30は、図2に示した既存部品情報A141aおよび保持構造定義情報A142aの既存部品であり、既存部品情報A141aに含まれる保持構造体の数nが「2」の場合を示す。2つの保持構造体、つまりボス41およびボス42は、図3に示したボス形状240を有する保持構造体である。   FIG. 4 schematically shows an example of generating a holding structure that holds an existing part. The example shown in FIG. 4 is an example in which the existing part 30 is arranged on the counterpart part 40 and the fastening part 31 and the fastening part 32 of the existing part 30 are held by two holding structures, that is, the boss 41 and the boss 42, respectively. is there. The existing part 30 is an existing part of the existing part information A141a and the holding structure definition information A142a shown in FIG. 2, and the number n of holding structures included in the existing part information A141a is “2”. The two holding structures, that is, the boss 41 and the boss 42 are holding structures having the boss shape 240 shown in FIG.

図4(a)は、既存部品30を相手部品40に配置する前の状態を示す。既存部品30は、締結部31および締結部32の2つの締結部を有し、この2つの締結部が、相手部品40の保持構造体によって保持される。図4(a)に示した相手部品40には、まだ保持構造体は生成されていない。既存部品30には、その座標系300が示され、締結部31および締結部32には、それぞれの座標系147および座標系152が示され、さらに相手部品40には、その座標系400が示されている。   FIG. 4A shows a state before the existing part 30 is placed on the counterpart part 40. The existing part 30 has two fastening parts, that is, a fastening part 31 and a fastening part 32, and the two fastening parts are held by the holding structure of the counterpart part 40. A holding structure has not yet been generated for the mating component 40 shown in FIG. The coordinate system 300 is shown for the existing part 30, the coordinate system 147 and the coordinate system 152 are shown for the fastening part 31 and the fastening part 32, and the coordinate system 400 is shown for the counterpart part 40. Has been.

既存部品配置手段11は、既存部品30を相手部品40に配置する面、たとえば面40aを指定し、さらに既存部品30の座標系300と、相手部品40の座標系400とを選択することによって、既存部品30を相手部品40に配置する。すなわち既存部品30の座標系300を、相手部品40の座標系400に合致するように、既存部品30を配置する。   The existing component placement means 11 designates a surface on which the existing component 30 is placed on the counterpart component 40, for example, the plane 40a, and further selects the coordinate system 300 of the existing component 30 and the coordinate system 400 of the counterpart component 40, The existing part 30 is placed on the counterpart part 40. That is, the existing part 30 is arranged so that the coordinate system 300 of the existing part 30 matches the coordinate system 400 of the counterpart part 40.

図4(b)は、既存部品30を相手部品40に配置した状態を示す。既存部品30は、既存部品30の座標系300が、相手部品40の座標系400に合致するように配置されている。締結部31および締結部32は、相手部品に新たに生成された2つの保持構造体、つまりボス41およびボス42によって、それぞれ保持されている。   FIG. 4B shows a state in which the existing component 30 is arranged on the counterpart component 40. The existing part 30 is arranged so that the coordinate system 300 of the existing part 30 matches the coordinate system 400 of the counterpart part 40. The fastening portion 31 and the fastening portion 32 are respectively held by two holding structures newly generated in the counterpart part, that is, the boss 41 and the boss 42.

CADマクロ実行手段21は、既存部品配置手段11によって既存部品30が相手部品40に配置された後、保持構造定義情報A142aに定義されたCADマクロを実行することによって、既存部品30を保持する保持構造体、つまりボス41およびボス42の形状を生成し、相手部品40に配置する。保持構造定義情報A142aの第1レコードに定義されたCADマクロは、「ボス作成」というCADマクロ名で示されるCADマクロである。   The CAD macro executing means 21 holds the existing part 30 by executing the CAD macro defined in the holding structure definition information A 142 a after the existing part 30 is placed on the counterpart part 40 by the existing part placing means 11. The shapes of the structures, that is, the boss 41 and the boss 42 are generated and arranged on the counterpart component 40. The CAD macro defined in the first record of the holding structure definition information A 142a is a CAD macro indicated by the CAD macro name “Create Boss”.

CADマクロ名「ボス作成」のCADマクロは、既存部品30を保持する保持構造体の形状を表わす形状情報を特定するためのライブラリ名「ボス」を、ライブラリ定義データベース読込み手段22に指示する手順を含む。ライブラリ定義データベース読込み手段22は、ライブラリ名「ボス」を指示されると、ライブラリ定義データベース24から、ライブラリ名が「ボス」である形状情報、つまり図3に示したボス形状240の形状情報を読み出して、CADマクロ実行手段21に渡す。   The CAD macro with the CAD macro name “Create Boss” is a procedure for instructing the library definition database reading means 22 with the library name “boss” for specifying the shape information indicating the shape of the holding structure holding the existing part 30. Including. When the library name “boss” is instructed, the library definition database reading means 22 reads the shape information whose library name is “boss” from the library definition database 24, that is, the shape information of the boss shape 240 shown in FIG. To the CAD macro execution means 21.

さらに、CADマクロ名「ボス作成」のCADマクロは、ライブラリ名「ボス」のボス形状240を、ボス41の保持構造定義情報が示す配置座標系にボス形状240の配置座標系242を合致させる位置に配置する手順を含む。   Further, the CAD macro of the CAD macro name “boss creation” is a position where the boss shape 240 of the library name “boss” matches the arrangement coordinate system 242 of the boss shape 240 with the arrangement coordinate system indicated by the holding structure definition information of the boss 41. Including the procedure to place in.

CADマクロ実行手段21は、まずライブラリ定義データベース読込み手段22が読み出したボス形状240の形状情報が示す形状を生成する。このとき、まだ寸法情報が与えられていないので、変数で表される寸法には、予め定める寸法値を用いて、ボス41の形状が生成される。次に、生成したボス41の形状を、ボス41の保持構造定義情報が示す配置座標系、つまり保持構造定義情報A142aの第1レコードに示された配置座標系147の位置に配置する。すなわち、ボス41を、既存部品30が相手部品40に配置されたときの締結部31の配置座標系147に配置する。   The CAD macro execution means 21 first generates a shape indicated by the shape information of the boss shape 240 read by the library definition database reading means 22. At this time, since the dimension information is not given yet, the shape of the boss 41 is generated by using a predetermined dimension value for the dimension represented by the variable. Next, the generated shape of the boss 41 is arranged in the arrangement coordinate system indicated by the holding structure definition information of the boss 41, that is, the position of the arrangement coordinate system 147 shown in the first record of the holding structure definition information A 142a. That is, the boss 41 is arranged in the arrangement coordinate system 147 of the fastening portion 31 when the existing part 30 is arranged on the counterpart part 40.

ボス42については、保持構造定義情報A142aの第2レコードに定義されたCADマクロが実行されて、ボス41と同様に、ボス42の形状が生成され、保持構造定義情報A142aの第2レコードの配置座標系152、つまり既存部品30が相手部品40に配置されたときの締結部32の配置座標系152の位置に配置される。   For the boss 42, the CAD macro defined in the second record of the holding structure definition information A 142a is executed, and the shape of the boss 42 is generated in the same way as the boss 41, and the second record of the holding structure definition information A 142a is arranged. The coordinate system 152 is arranged at the position of the arrangement coordinate system 152 of the fastening portion 32 when the existing component 30 is arranged on the counterpart component 40.

保持構造再定義手段23は、CADマクロ実行手段21が生成したボス41およびボス42の形状の寸法を、保持構造定義情報A142aに定義された寸法情報が示す寸法値に変更する。ボス41は、図2に示した保持構造定義情報A142aの第1レコードに示される寸法情報148が示す寸法値「P0=5」および「P1=2」、つまり直径5mmおよび穴径2mmの形状に変更される。同様にボス42は、図2に示した保持構造定義情報の第2レコードに示される寸法情報149が示す寸法値「P0=6」および「P1=4」、つまり直径6mmおよび穴径4mmの形状に変更される。   The holding structure redefinition means 23 changes the dimensions of the shapes of the boss 41 and the boss 42 generated by the CAD macro execution means 21 to the dimension values indicated by the dimension information defined in the holding structure definition information A 142a. The boss 41 has the dimension values “P0 = 5” and “P1 = 2” indicated by the dimension information 148 shown in the first record of the holding structure definition information A142a shown in FIG. 2, that is, a shape with a diameter of 5 mm and a hole diameter of 2 mm. Be changed. Similarly, the boss 42 has the dimension values “P0 = 6” and “P1 = 4” indicated by the dimension information 149 shown in the second record of the holding structure definition information shown in FIG. 2, that is, a shape with a diameter of 6 mm and a hole diameter of 4 mm. Changed to

このように、寸法が変数で表された各保持構造体の形状を表す形状情報と独立して、既存部品毎にその既存部品を保持する保持構造体を配置する位置を表す配置情報および各保持構造体の寸法値を表す寸法情報を記憶し、既存部品が相手部品に配置されると、形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、配置情報が示す相手部品の位置に配置し、さらに配置された保持構造体の形状を、寸法情報が示す寸法値に変更するので、既存部品を相手部品の任意の位置に配置し、既存部品を保持する保持構造体の形状を生成し、配置し、さらに設定された寸法に変更することができる。したがって、相手部品の任意の位置に配置された既存部品を保持する適切な寸法値の保持構造体を設計することができる。   In this way, independent of the shape information representing the shape of each holding structure whose dimensions are represented by variables, the arrangement information indicating the position where the holding structure holding the existing part is arranged for each existing part and each holding Dimension information representing the dimension value of the structure is stored, and when an existing part is placed on the counterpart part, the shape of the holding structure indicated by the shape information is generated, and the shape of the generated holding structure is Placed at the position of the mating part shown, and the shape of the placed holding structure is changed to the dimension value indicated by the dimension information, so the existing part can be placed at an arbitrary position of the mating part and hold the existing part The shape of the structure can be generated, placed, and further changed to the set dimensions. Therefore, it is possible to design a holding structure having an appropriate dimension value for holding an existing part arranged at an arbitrary position of the counterpart part.

さらに、各保持構造体の寸法情報を形状情報と独立した情報としたことによって、保持構造体の形状を、複数の既存部品および複数の保持構造体で共通化することができ、既存部品毎および保持構造体毎に、その形状を表す形状情報を記憶する必要がなく、形状情報を記憶する記憶容量を削減することができる。   Furthermore, by making the dimension information of each holding structure independent of the shape information, the shape of the holding structure can be shared by a plurality of existing parts and a plurality of holding structures. It is not necessary to store shape information representing the shape of each holding structure, and the storage capacity for storing the shape information can be reduced.

図5は、本発明の実施の他の形態である製品設計方法の処理工程を示すフローチャートである。この製品設計方法の処理工程は、図1に示した製品設計装置1によって処理される。既存部品を相手部品に配置するための製品設計を行うときに、ステップS1に移る。   FIG. 5 is a flowchart showing processing steps of a product design method according to another embodiment of the present invention. The processing steps of this product design method are processed by the product design apparatus 1 shown in FIG. When designing a product for placing an existing part on a counterpart part, the process proceeds to step S1.

ステップS1では、既存部品名を指定して既存部品データを読込む。すなわち、既存部品配置手段11は、設計者からの指示によって、目的の既存部品を指定する既存部品名で特定される既存部品の情報を、たとえば既に設計された既存部品および既存部品が配置される相手部品を含む部品に関する部品情報を記憶する図示しない記憶装置から読み出して、一時記憶のためのRAMなどのメモリ(以下RAMという)に、その既存品名とともに記憶する。設計者は、キーボードあるいはマウスなどの図示しない入力装置によって、既存部品配置手段11および相手部品選択手段12に指示する。   In step S1, an existing part name is designated and existing part data is read. That is, the existing part placement unit 11 arranges information on the existing part specified by the name of the existing part that designates the target existing part, for example, the already designed existing part and the existing part, in accordance with an instruction from the designer. The information is read from a storage device (not shown) that stores the component information related to the component including the counterpart component, and is stored together with the existing product name in a memory such as a RAM (hereinafter referred to as RAM) for temporary storage. The designer instructs the existing component placement unit 11 and the counterpart component selection unit 12 by an input device (not shown) such as a keyboard or a mouse.

ステップS2では、相手部品上の配置する面を選択する。すなわち、相手部品選択手段12は、設計者からの指示によって、たとえば記憶装置に記憶された部品情報が示す部品の中から、目的の既存部品を配置する相手部品を選択し、選択された相手部品の面のうち、目的の既存部品を配置する面を指定する。ステップS3では、既存部品配置手段11は、設計者からの指示によって、たとえば既存部品の座標系と相手部品の座標系とを選択することによって、相手部品選択手段12によって指定された相手部品の面のうちで、既存部品の座標系を相手部品の座標系に合致する位置に、目的の既存部品を配置する。   In step S2, a surface to be arranged on the counterpart part is selected. In other words, the counterpart component selection unit 12 selects the counterpart component on which the target existing component is to be placed from among the components indicated by the component information stored in the storage device, for example, according to an instruction from the designer. Specifies the surface on which the target existing part is placed. In step S3, the existing component placement unit 11 selects the surface of the counterpart part designated by the counterpart part selection unit 12 by selecting, for example, the coordinate system of the existing part and the coordinate system of the counterpart part according to an instruction from the designer. Among these, the target existing part is arranged at a position where the coordinate system of the existing part matches the coordinate system of the counterpart part.

ステップS4では、標準部品保持構造情報データベース読込み手段12は、標準部品保持構造情報データベース14からデータ、つまり1レコード分の保持構造情報のうち、第1ワードの既存部品・保持構造区分フラグを表す情報を読込む。ステップS5では、読込んだ既存部品・保持構造区分フラグが「1」であるか否かを判定する。既存部品・保持構造区分フラグが「1」のとき、ステップS6に進み、既存部品・保持構造区分フラグが「1」でないとき、次の1レコードの保持構造情報の既存部品・保持構造区分フラグの情報を読込むために、ステップS4に戻る。   In step S4, the standard part holding structure information database reading means 12 stores data from the standard part holding structure information database 14, that is, information representing the existing part / holding structure classification flag of the first word among the holding structure information for one record. Is read. In step S5, it is determined whether or not the read existing part / holding structure classification flag is “1”. When the existing part / holding structure classification flag is “1”, the process proceeds to step S6. When the existing part / holding structure classification flag is not “1”, the existing part / holding structure classification flag of the next one record holding structure information In order to read the information, the process returns to step S4.

ステップS6では、標準部品保持構造情報データベース読込み手段12は、標準部品保持構造情報データベース14からデータ、つまり同じレコードの保持構造情報の第2ワードの既存部品名の情報を読込む。ステップS7では、既存部品名が、配置した既存部品名と同一か否かを判定する。すなわち、読込んだ既存部品名が、ステップS1でRAMに記憶した既存部品名と同じであるか否かを判定する。既存部品名が同一であるとき、ステップS8に進み、既存部品名が同一でないとき、次の1レコードの保持構造情報の既存部品・保持構造区分フラグの情報を読込むために、ステップS4に戻る。   In step S6, the standard part holding structure information database reading means 12 reads data, that is, information on the existing part name of the second word of the holding structure information of the same record from the standard part holding structure information database 14. In step S7, it is determined whether the existing part name is the same as the existing part name. That is, it is determined whether the existing part name read is the same as the existing part name stored in the RAM in step S1. When the existing part name is the same, the process proceeds to step S8. When the existing part name is not the same, the process returns to step S4 to read the information of the existing part / holding structure classification flag of the holding structure information of the next one record.

ステップS8では、標準部品保持構造情報データベース読込み手段12は、標準部品保持構造情報データベース14から、同じレコードの保持構造情報の第3ワードの保持構造体の数nの情報を取得、つまり読込んでRAMに記憶する。   In step S8, the standard part holding structure information database reading means 12 acquires, that is, reads, information from the standard part holding structure information database 14 about the number n of holding structures in the third word of the holding structure information of the same record. To remember.

ステップS9では、標準部品保持構造情報データベース読込み手段12は、標準部品保持構造情報データベース14から、次のレコードの保持構造情報を読込む。ステップS10では、標準部品保持構造情報データベース読込み手段12は、読込んだ保持構造情報、つまり保持構造定義情報から、CADマクロ名、配置座標系、および寸法情報を取得、つまり読込んでRAMに記憶する。   In step S9, the standard part holding structure information database reading means 12 reads the holding structure information of the next record from the standard part holding structure information database 14. In step S10, the standard part holding structure information database reading means 12 obtains, that is, reads and stores the CAD macro name, the arrangement coordinate system, and the dimension information from the read holding structure information, that is, holding structure definition information. .

ステップS11では、CADマクロ実行手段21は、RAMに記憶したCADマクロ名で示されるCADマクロを実行する。CADマクロは、保持構造体の形状を生成するための生成手順を表すプログラムであり、たとえば記憶装置に予め登録されている。この生成手順は、ライブラリ定義データベース読込み手段22に、ライブラリ名を指示する手順と、ライブラリ名に関連付けられた形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、保持構造定義情報が示す配置座標系にその形状の配置座標系を合致させる位置に配置する手順とを含む。   In step S11, the CAD macro executing means 21 executes the CAD macro indicated by the CAD macro name stored in the RAM. The CAD macro is a program representing a generation procedure for generating the shape of the holding structure, and is registered in advance in a storage device, for example. In this generation procedure, the library definition database reading means 22 is instructed to specify the library name, and the shape of the holding structure indicated by the shape information associated with the library name is generated. The shape of the generated holding structure is And a procedure of arranging the shape at a position that matches the arrangement coordinate system of the shape with the arrangement coordinate system indicated by the holding structure definition information.

ステップS12では、ライブラリ定義データベース読込み手段22は、ライブラリ定義データベース24からデータ、つまりライブラリ名に関連付けられている形状情報を読込む。ステップS13では、保持構造形状を生成する。すなわち、CADマクロ実行手段21は、ライブラリ定義データベース読込み手段22によって読込まれた形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、RAMに記憶した配置座標系にその形状の配置座標系を合致させる位置に配置する。このとき、高さ方向は指定した面に当たるまで押し出すという情報が、その形状情報に含まれているときは、指定された面に接するように保持構造体を配置する。   In step S12, the library definition database reading means 22 reads data, that is, shape information associated with the library name from the library definition database 24. In step S13, a holding structure shape is generated. That is, the CAD macro execution unit 21 generates the shape of the holding structure indicated by the shape information read by the library definition database reading unit 22, and the generated shape of the holding structure is stored in the arrangement coordinate system stored in the RAM. It arrange | positions in the position which matches the arrangement coordinate system of the shape. At this time, if the shape information includes information that the height direction is pushed out until it hits the designated surface, the holding structure is arranged so as to be in contact with the designated surface.

ステップS14では、保持構造形状の寸法パラメータに設計値をセットし、再計算する。すなわち、保持構造再定義手段23は、配置された保持構造体の形状を、寸法の変数をRAMに記憶された寸法情報が示す寸法値にして再計算した形状に変更する。製品設計装置1は、パラメトリック設計CADシステム装置であり、変数で表された寸法に、ステップS9で読み出された寸法情報、つまりRAMに記憶した寸法情報が示す寸法値を反映するパラメトリック設計を行う。変更された保持構造体の形状は、たとえば表示装置あるいは印刷装置などの出力装置に出力されるとともに、変更された保持構造体の形状を表す変更形状情報は記憶装置に記憶される。   In step S14, the design value is set in the dimension parameter of the holding structure shape and recalculated. That is, the holding structure redefining means 23 changes the shape of the arranged holding structure to a shape recalculated with the dimension variable as the dimension value indicated by the dimension information stored in the RAM. The product design apparatus 1 is a parametric design CAD system apparatus, and performs parametric design that reflects the dimension information read in step S9, that is, the dimension value indicated by the dimension information stored in the RAM, in the dimension represented by the variable. . The changed shape of the holding structure is output to an output device such as a display device or a printing device, and changed shape information indicating the changed shape of the holding structure is stored in the storage device.

ステップS15では、CADマクロの実行回数が保持構造体の数nに一致したか否かを判定する。すなわち、ステップS8で取得した保持構造体の数nの保持構造体について、CADマクロを実行したか否かを判定する。CADマクロの実行回数が保持構造体の数nに一致しないとき、次の保持構造体について、CADマクロを実行するために、ステップS9に戻り、CADマクロの実行回数が保持構造体の数nに一致するときは、終了する。   In step S15, it is determined whether or not the number of executions of the CAD macro matches the number n of holding structures. That is, it is determined whether or not the CAD macro has been executed for the number n of holding structures acquired in step S8. When the number of executions of the CAD macro does not match the number n of holding structures, the process returns to step S9 to execute the CAD macro for the next holding structure, and the number of executions of the CAD macro is set to the number n of holding structures. If they match, exit.

図5に示した製品設計方法を図4に示した例に適用した場合を説明する。すなわち、締結部31および締結部32の2つの締結部を有する既存部品30を、相手部品40に配置する場合、締結部31を保持する保持構造体であるボス41および締結部32を保持する保持構造体であるボス42を設計する。   The case where the product design method shown in FIG. 5 is applied to the example shown in FIG. 4 will be described. That is, when the existing part 30 having two fastening parts, that is, the fastening part 31 and the fastening part 32, is arranged on the counterpart part 40, the boss 41 that is a holding structure that holds the fastening part 31 and the holding part 32 that holds the fastening part 32. The boss 42 which is a structure is designed.

ステップS1では、既存部品配置手段11は、設計者から指示された既存部品名30によって特定される既存部品の情報を、記憶装置から読み出し、RAMに記憶する。ステップS2では、相手部品選択手段12は、設計者の指示によって、既存部品30を配置する相手部品40の面40aを選択する。ステップS3では、既存部品配置手段11は、設計者からの指示によって、既存部品30を、相手部品40の面40aのうちで、既存部品30の座標系300と相手部品40の座標系400とを選択することによって定まる位置に、配置する。すなわち、既存部品30は、座標系300が相手部品40の座標系400に合致する位置に配置される。   In step S <b> 1, the existing component placement unit 11 reads information on the existing component specified by the existing component name 30 instructed by the designer from the storage device and stores it in the RAM. In step S <b> 2, the counterpart component selection unit 12 selects the surface 40 a of the counterpart component 40 on which the existing component 30 is arranged according to the designer's instruction. In step S <b> 3, the existing component placement unit 11 converts the existing component 30 into the coordinate system 300 of the existing component 30 and the coordinate system 400 of the counterpart component 40 in the surface 40 a of the counterpart component 40 according to an instruction from the designer. Place it at a position determined by the selection. That is, the existing component 30 is arranged at a position where the coordinate system 300 matches the coordinate system 400 of the counterpart component 40.

既存部品30が、図2に示した既存部品Aであるとすると、図2に示した第mレコードが読込まれるまで、ステップS4〜ステップS7の処理が繰り返され、第mレコードが読込まれると、第1ワードの既存部品・保持構造区分フラグが「1」であり、かつ第2ワードの既存部品名が同一であるので、ステップS8に進む。   If the existing part 30 is the existing part A shown in FIG. 2, the processes in steps S4 to S7 are repeated until the m-th record is read until the m-th record shown in FIG. 2 is read. Since the existing part / holding structure classification flag in the first word is “1” and the existing part name in the second word is the same, the process proceeds to step S8.

ステップS8では、標準部品保持構造情報データベース読込み手段12は、第mレコードの保持構造情報の第3ワードの保持構造体の数「2」を取得し、RAMに記憶する。ステップS9では、さらに、次のレコード、つまり第(m+1)レコードの保持構造情報を読込む。ステップS10では、読込んだ第(m+1)レコードの保持構造情報、つまり保持構造体であるボス41の保持構造定義情報から、CADマクロ名146「ボス作成」、配置座標系147、および寸法情報148つまり寸法情報「P0=5」および寸法情報「P1=2」を取得する。   In step S8, the standard part holding structure information database reading means 12 acquires the number “2” of holding structures of the third word of the holding structure information of the m-th record and stores it in the RAM. In step S9, the holding structure information of the next record, that is, the (m + 1) th record is read. In step S10, the CAD macro name 146 “boss creation”, the arrangement coordinate system 147, and the dimension information 148 are obtained from the holding structure information of the read (m + 1) th record, that is, holding structure definition information of the boss 41 that is the holding structure. That is, the dimension information “P0 = 5” and the dimension information “P1 = 2” are acquired.

ステップS11では、CADマクロ実行手段21は、CADマクロ名が「ボス作成」であるCADマクロを実行し、ライブラリ名「ボス」をライブラリ定義データベース読込み手段22に指示する。ステップS12では、ライブラリ定義データベース読込み手段22は、ライブラリ定義データベース24から、ライブラリ名「ボス」に関連付けられている形状情報を読込み、CADマクロ実行手段21に渡す。   In step S 11, the CAD macro execution means 21 executes a CAD macro whose CAD macro name is “Create Boss”, and instructs the library name “boss” to the library definition database reading means 22. In step S 12, the library definition database reading unit 22 reads shape information associated with the library name “boss” from the library definition database 24 and passes it to the CAD macro execution unit 21.

ステップS13では、CADマクロ実行手段21は、ライブラリ定義データベース読込み手段22から受け取った形状情報が示す形状、すなわち図3に示したライブラリ名「ボス」の形状240を生成し、生成された形状を、ステップS10で取得した配置座標系、つまりステップS3で既存部品30が相手部品40に配置された状態での締結部31の配置座標系147に、ボス形状240の配置座標系242を合致させる位置に配置する。このとき、高さ方向は指定した面に当たるまで押し出すという情報が、その形状情報に含まれているので、相手部品の面40aに接するようにボス41を配置する。   In step S13, the CAD macro executing means 21 generates the shape indicated by the shape information received from the library definition database reading means 22, that is, the shape 240 of the library name “boss” shown in FIG. At the position where the arrangement coordinate system 242 of the boss shape 240 is matched with the arrangement coordinate system acquired in step S10, that is, the arrangement coordinate system 147 of the fastening portion 31 in the state where the existing part 30 is arranged on the counterpart part 40 in step S3. Deploy. At this time, since the shape information includes information that the height direction is pushed out until it hits the designated surface, the boss 41 is arranged so as to contact the surface 40a of the counterpart part.

ステップS14では、ステップS10で取得した寸法情報148つまり寸法情報「P0=5」および寸法情報「P1=2」を、ボス形状240の変数P0および変数P1にセットして、再計算する。すなわち直径5mmおよび穴径2mmのボス41の形状に変更する。ステップS15では、CADマクロの実行回数は「1」であり、ステップS8でRAMに記憶した保持構造体の数「2」に一致しないので、ステップS9に戻る。   In step S14, the dimension information 148 acquired in step S10, that is, dimension information “P0 = 5” and dimension information “P1 = 2” are set in the variable P0 and variable P1 of the boss shape 240, and recalculated. That is, the shape of the boss 41 having a diameter of 5 mm and a hole diameter of 2 mm is changed. In step S15, the number of executions of the CAD macro is “1”, which does not match the number of holding structures “2” stored in the RAM in step S8, and thus the process returns to step S9.

ステップS9では、第(m+2)レコードの保持構造情報を読込む。ステップS10では、読込んだ第(m+2)レコードの保持構造情報、つまり保持構造体であるボス42の保持構造定義情報から、CADマクロ名151「ボス作成」、配置座標系152、および寸法情報149つまり寸法情報「P0=6」および寸法情報「P1=4」を取得する。   In step S9, the holding structure information of the (m + 2) th record is read. In step S10, the CAD macro name 151 “boss creation”, the arrangement coordinate system 152, and the dimension information 149 are obtained from the holding structure information of the read (m + 2) record, that is, the holding structure definition information of the boss 42 that is the holding structure. That is, the dimension information “P0 = 6” and the dimension information “P1 = 4” are acquired.

ステップS11およびステップS12では、ボス42について、ボス41と同様の処理を行う。ステップS13では、CADマクロ実行手段21は、図3に示したライブラリ名「ボス」の形状240を生成し、生成された形状を、ステップS10で取得した配置座標系、つまりステップS3で既存部品30が相手部品40に配置された状態での締結部32の配置座標系152に、ボス形状240の座標系242を合致させる位置に配置する。このとき、高さ方向は指定した面に当たるまで押し出すという情報が、その形状情報に含まれているので、相手部品の面40aに接するようにボス42を配置する。   In step S11 and step S12, the boss 42 is processed in the same manner as the boss 41. In step S13, the CAD macro executing means 21 generates the shape 240 of the library name “boss” shown in FIG. 3, and the generated shape is the arrangement coordinate system acquired in step S10, that is, the existing part 30 in step S3. Is arranged at a position where the coordinate system 242 of the boss shape 240 is matched with the arrangement coordinate system 152 of the fastening portion 32 in a state where the boss shape 240 is arranged on the counterpart part 40. At this time, since the shape information includes information that the height direction is pushed out until it hits the designated surface, the boss 42 is arranged so as to contact the surface 40a of the counterpart part.

ステップS14では、ステップS10で取得した寸法情報149つまり寸法情報「P0=6」および寸法情報「P1=4」を、ボス形状240の変数P0および変数P1にセットし、再計算する。すなわち直系6mmおよび穴径4mmのボス42の形状に変更する。ステップS15では、CADマクロの実行回数は「2」であり、ステップS8でRAMに記憶した保持構造体の数「2」に一致するので、終了する。   In step S14, the dimension information 149 acquired in step S10, that is, the dimension information “P0 = 6” and the dimension information “P1 = 4” are set in the variable P0 and the variable P1 of the boss shape 240, and recalculated. That is, the shape is changed to the shape of the boss 42 having a direct diameter of 6 mm and a hole diameter of 4 mm. In step S15, the number of executions of the CAD macro is “2”, which is equal to the number “2” of the holding structures stored in the RAM in step S8, and thus the process is finished.

このように、寸法が変数で表された各保持構造体の形状を表す形状情報と独立して、既存部品毎にその既存部品を保持する保持構造体を配置する位置を表す配置情報および各保持構造体の寸法値を表す寸法情報を記憶し、既存部品が相手部品に配置されると、形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、配置情報が示す相手部品の位置に配置し、さらに配置された保持構造体の形状を、寸法情報が示す寸法値に変更するので、既存部品を相手部品の任意の位置に配置し、既存部品を保持する保持構造体の形状を生成し、配置し、さらに設定された寸法に変更することができる。したがって、相手部品の任意の位置に配置された既存部品を保持する適切な寸法値の保持構造体を設計することができる。   In this way, independent of the shape information representing the shape of each holding structure whose dimensions are represented by variables, the arrangement information indicating the position where the holding structure holding the existing part is arranged for each existing part and each holding Dimension information representing the dimension value of the structure is stored, and when an existing part is placed on the counterpart part, the shape of the holding structure indicated by the shape information is generated, and the shape of the generated holding structure is Placed at the position of the mating part shown, and the shape of the placed holding structure is changed to the dimension value indicated by the dimension information, so the existing part can be placed at an arbitrary position of the mating part and hold the existing part The shape of the structure can be generated, placed, and further changed to the set dimensions. Therefore, it is possible to design a holding structure having an appropriate dimension value for holding an existing part arranged at an arbitrary position of the counterpart part.

読み出し手段は、たとえば標準部品保持構造情報データベース読込み手段13およびライブラリ定義データベース読込み手段22であり、マクロ実行手段は、たとえばCADマクロ実行手段21であり、記憶手段は、たとえば上述した図示しない記憶装置であり、出力手段は、たとえば上述した図示しない表示装置あるいは印刷装置などの出力装置である。   The reading means is, for example, the standard part holding structure information database reading means 13 and the library definition database reading means 22, the macro execution means is, for example, the CAD macro execution means 21, and the storage means is, for example, the above-described storage device (not shown). The output means is, for example, an output device such as the above-described display device or printing device (not shown).

上述した各手段は、コンピュータを製品設計装置として機能させるためのプログラムを、図示しないCPUに実行させることによって実現される機能である。このプログラムは、図示しない記憶装置に記憶されているが、コンピュータ読み取り可能な記録媒体に記録されていてもよく、プログラムをその記録媒体からコンピュータに読み取らせ、コンピュータにそのプログラムを実行させてもよい。コンピュータにそのプログラムを実行させることによって、コンピュータを製品設計装置1として機能させることができる。   Each means described above is a function realized by causing a CPU (not shown) to execute a program for causing a computer to function as a product design apparatus. Although this program is stored in a storage device (not shown), it may be recorded on a computer-readable recording medium, or may cause the computer to read the program from the recording medium and cause the computer to execute the program. . By causing the computer to execute the program, the computer can function as the product design apparatus 1.

このように、コンピュータを製品設計装置1として機能させるためのプログラムとして提供することができる。   In this way, the computer can be provided as a program for causing the computer to function as the product design apparatus 1.

本発明の実施の一形態である製品設計装置1の機能の構成を示すブロック図である。It is a block diagram which shows the structure of the function of the product design apparatus 1 which is one Embodiment of this invention. 図1に示した標準部品保持構造情報データベース14に記憶されている保持構造情報を模式的に示す。The holding structure information memorize | stored in the standard component holding structure information database 14 shown in FIG. 1 is shown typically. 図1に示したライブラリ定義データベース24に記憶されている形状情報を模式的に示す。The shape information stored in the library definition database 24 shown in FIG. 1 is schematically shown. 既存部品を保持する保持構造体を生成する例を模式的に示す。An example of generating a holding structure for holding an existing part will be schematically shown. 本発明の実施の他の形態である製品設計方法の処理工程を示すフローチャートである。It is a flowchart which shows the process process of the product design method which is the other form of implementation of this invention.

符号の説明Explanation of symbols

1 製品設計装置
10 部品選定手段
11 既存部品配置手段
12 相手部品選択手段
13 標準部品保持構造情報データベース読込み手段
14 標準部品保持構造情報データベース
20 保持構造生成手段
21 CADマクロ実行手段
22 ライブラリ定義データベース読込み手段
23 保持構造再定義手段
24 ライブラリ定義データベース
30 既存部品
31,32 締結部
40 相手部品
41,42 ボス
DESCRIPTION OF SYMBOLS 1 Product design apparatus 10 Part selection means 11 Existing parts arrangement means 12 Counterpart selection means 13 Standard part holding structure information database reading means 14 Standard part holding structure information database 20 Holding structure generation means 21 CAD macro execution means 22 Library definition database reading means 23 holding structure redefinition means 24 library definition database 30 existing parts 31, 32 fastening part 40 mating parts 41, 42 boss

Claims (7)

既に設計された既存部品を保持する各保持構造体を配置する位置を表す配置情報および各保持構造体の寸法値を表す寸法情報を含む保持構造情報と、寸法が変数で表された各保持構造体の形状を表わす形状情報とを記憶する記憶手段と、
記憶手段から保持構造情報および形状情報を読み出すための読み出し手段と、
既存部品と、その既存部品が配置される相手部品とを指定し、指定された既存部品を指定された相手部品に配置する既存部品配置手段と、
既存部品配置手段によって指定された既存部品を保持する各保持構造体の保持構造情報および形状情報を読み出し手段によって読み出し、読み出された形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、前記読み出された保持構造情報に含まれる配置情報が示す相手部品の位置に配置し、さらに配置された保持構造体の形状を、前記読み出された保持構造情報に含まれる寸法情報が示す寸法値の形状に変更する保持構造生成手段と、
保持構造生成手段によって変更された形状を出力する出力手段とを含むことを特徴とする製品設計装置。
Retention structure information including arrangement information indicating the position where each holding structure that holds an already designed existing part is arranged, and dimension information indicating the dimension value of each holding structure, and each holding structure whose dimensions are represented by variables Storage means for storing shape information representing the shape of the body;
Reading means for reading the holding structure information and the shape information from the storage means;
An existing part placement means for designating an existing part and a counterpart part on which the existing part is placed, and placing the designated existing part on the designated counterpart part;
The holding structure information and shape information of each holding structure that holds the existing part specified by the existing part placement unit is read by the reading unit, and the shape of the holding structure indicated by the read shape information is generated and generated. The shape of the holding structure is arranged at the position of the counterpart component indicated by the arrangement information included in the read holding structure information, and the shape of the arranged holding structure is added to the read holding structure information. Holding structure generating means for changing to the shape of the dimension value indicated by the included dimension information;
And an output means for outputting the shape changed by the holding structure generating means.
前記保持構造情報は、保持構造体の形状を生成するための生成手順を表す予め登録された形状生成マクロを特定するマクロ特定情報をさらに含み、
前記保持構造生成手段は、前記読み出された保持構造情報に含まれるマクロ特定情報によって特定される形状生成マクロを実行することによって、前記読み出された形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、前記読み出された保持構造情報に含まれる配置情報が示す位置に配置することを特徴とする請求項1に記載の製品設計装置。
The holding structure information further includes macro specifying information for specifying a pre-registered shape generation macro representing a generation procedure for generating the shape of the holding structure,
The holding structure generation unit generates a shape of the holding structure indicated by the read shape information by executing a shape generation macro specified by the macro specifying information included in the read holding structure information. The product design apparatus according to claim 1, wherein the shape of the generated holding structure is arranged at a position indicated by arrangement information included in the read holding structure information.
前記保持構造情報は、既存部品を保持する保持構造体の数を表す保持構造体数情報と、マクロ特定情報、配置情報、および寸法情報を保持構造体数情報が示す数だけ含む保持構造定義情報とを、既存部品毎に含むことを特徴とする請求項2に記載の製品設計装置。   The holding structure information includes holding structure number information indicating the number of holding structures holding existing parts, and holding structure definition information including macro identification information, arrangement information, and dimension information as many as the holding structure number information indicates. The product design apparatus according to claim 2, further comprising: for each existing part. 前記形状情報は、各保持構造体の形状情報を特定するための形状特定情報をさらに含み、
前記形状生成マクロは、その形状生成マクロに対応する形状特定情報によって特定される形状情報を前記読み出し手段によって前記記憶手段から読み出す手順を含み、
前記保持構造生成手段は、前記形状生成マクロを実行することによって、その形状生成マクロに対応する形状特定情報によって特定される形状情報を読み出すことを特徴とする請求項2または3に記載の製品設計装置。
The shape information further includes shape specifying information for specifying the shape information of each holding structure,
The shape generation macro includes a procedure of reading shape information specified by shape specification information corresponding to the shape generation macro from the storage unit by the reading unit,
The product design according to claim 2 or 3, wherein the holding structure generation means reads shape information specified by shape specification information corresponding to the shape generation macro by executing the shape generation macro. apparatus.
前記保持構造生成手段は、前記配置された保持構造体の形状の変数で表された寸法を、前記読み出された保持構造体情報に含まれる寸法情報が示す寸法値にすることによって、保持構造体の形状を変更する保持構造再定義手段をさらに含むことを特徴とする請求項1〜4のいずれか1つに記載の製品設計装置。   The holding structure generating means sets the dimension represented by the variable of the shape of the arranged holding structure to a dimension value indicated by the dimension information included in the read holding structure information, thereby holding the holding structure. The product design apparatus according to claim 1, further comprising a holding structure redefining unit that changes a shape of the body. 既に設計された既存部品を保持する各保持構造体を配置する位置を表す配置情報および各保持構造体の寸法値を表す寸法情報を含む保持構造情報と、寸法が変数で表された各保持構造体の形状を表わす形状情報とを記憶部に記憶する記憶工程と、
既存部品と、その既存部品が配置される相手部品とを指定し、指定された既存部品を指定された相手部品に配置する既存部品配置工程と、
既存部品配置工程で指定された既存部品を保持する各保持構造体の保持構造情報および形状情報を記憶部から読み出し、読み出された形状情報が示す保持構造体の形状を生成し、生成された保持構造体の形状を、前記読み出された保持構造情報に含まれる配置情報が示す相手部品の位置に配置し、さらに配置された保持構造体の形状を、前記読み出された保持構造情報に含まれる寸法情報が示す寸法値の形状に変更する保持構造生成工程と、
保持構造生成工程で変更された形状を出力する出力工程とを含むことを特徴とする製品設計方法。
Retention structure information including arrangement information indicating the position where each holding structure that holds an already designed existing part is arranged, and dimension information indicating the dimension value of each holding structure, and each holding structure whose dimensions are represented by variables A storage step of storing shape information representing the shape of the body in the storage unit;
An existing part placement process for designating an existing part and a counterpart part on which the existing part is placed, and placing the designated existing part on the designated counterpart part;
The holding structure information and shape information of each holding structure holding the existing part specified in the existing part placement step is read from the storage unit, and the shape of the holding structure indicated by the read shape information is generated and generated. The shape of the holding structure is arranged at the position of the counterpart component indicated by the arrangement information included in the read holding structure information, and the shape of the arranged holding structure is added to the read holding structure information. A holding structure generation step for changing to the shape of the dimension value indicated by the included dimension information;
An output process for outputting the shape changed in the holding structure generation process.
コンピュータを請求項1〜5のいずれか1つに記載の製品設計装置として機能させるためのプログラム。   The program for functioning a computer as a product design apparatus as described in any one of Claims 1-5.
JP2005233347A 2005-08-11 2005-08-11 Product design device, and product design method and program Pending JP2007048139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005233347A JP2007048139A (en) 2005-08-11 2005-08-11 Product design device, and product design method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005233347A JP2007048139A (en) 2005-08-11 2005-08-11 Product design device, and product design method and program

Publications (1)

Publication Number Publication Date
JP2007048139A true JP2007048139A (en) 2007-02-22

Family

ID=37850901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005233347A Pending JP2007048139A (en) 2005-08-11 2005-08-11 Product design device, and product design method and program

Country Status (1)

Country Link
JP (1) JP2007048139A (en)

Similar Documents

Publication Publication Date Title
US20170344229A1 (en) Selection control method, selection control device, and recording medium
JP2007323219A (en) Fmea support method, apparatus, program and medium
JP2006235985A (en) Information processing apparatus, method and program
JP5426938B2 (en) Information processing apparatus and information processing method
JP5788996B2 (en) Image search system, image search method, image search device, program, and information storage medium
US20170344199A1 (en) Display control method, display control device, and recording medium
US8024158B2 (en) Management system and management method of CAD data used for a structural analysis
JP2007087309A (en) Cad program for executing projection control processing, cad device, and cad system
JP2018180693A (en) Work instruction generation device and work instruction generation method
JP2007048139A (en) Product design device, and product design method and program
JP4977681B2 (en) Data pattern / test data generation / storage method and system
JP4278610B2 (en) Numerical analysis support device, numerical analysis support method, numerical analysis support program, and computer-readable recording medium storing the program
JP6552162B2 (en) Information processing apparatus, information processing method, and program
US20070232120A1 (en) Design support system, design support method, and program
JP4726465B2 (en) Three-dimensional shape processing method and apparatus
JP6364786B2 (en) Design document management program, design document management method, and design document management apparatus
US9261875B2 (en) Support apparatus, design support program, and design support method
JP7251329B2 (en) Control program, control method and control device
JP5047890B2 (en) Design verification apparatus, design verification method, program, and recording medium
US8077908B2 (en) Method for using an image analysis program to analyze a plurality of images having the same image blocks
JP2009134342A (en) Function specification automatic generation device
JP2018006985A (en) Image processing device and control method therefor
JP2009075890A (en) Design support device for generating three-dimensional model for analysis
JP2002259359A (en) Editor, recording medium with stored program therefor, and program
JP2008234379A (en) Software generation device and software generation method