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

JP3144085B2 - Design support equipment - Google Patents

Design support equipment

Info

Publication number
JP3144085B2
JP3144085B2 JP04254747A JP25474792A JP3144085B2 JP 3144085 B2 JP3144085 B2 JP 3144085B2 JP 04254747 A JP04254747 A JP 04254747A JP 25474792 A JP25474792 A JP 25474792A JP 3144085 B2 JP3144085 B2 JP 3144085B2
Authority
JP
Japan
Prior art keywords
data
shape
attribute
constraint
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP04254747A
Other languages
Japanese (ja)
Other versions
JPH06103340A (en
Inventor
智利 石田
南  俊介
淳子 平方
敦 井上
義昭 篠塚
裕敏 内山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP04254747A priority Critical patent/JP3144085B2/en
Publication of JPH06103340A publication Critical patent/JPH06103340A/en
Application granted granted Critical
Publication of JP3144085B2 publication Critical patent/JP3144085B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は設計や製造の支援のため
に利用される情報を扱うCAD/CAM/CAE装置に
関し、特に、設計製造対象物の形状情報と、材質,表面
特性,製造法等の属性情報と、それらの関係を示す拘束
情報を取り扱う装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CAD / CAM / CAE apparatus for handling information used for design and manufacturing support, and more particularly, to shape information of a design / manufacturing object, material, surface characteristics, and manufacturing method. The present invention relates to a device that handles attribute information such as information and constraint information indicating the relationship between them.

【0002】[0002]

【従来の技術】本発明と最も類似した公知例は設計上の
仕様値を入力して図面または形状モデルを自動作成する
自動設計システムである。具体的には、仕様値からすべ
ての設計パラメータ、すべての寸法を計算するものであ
る。このようなシステムは、属性値である設計仕様値を
入力すると、プログラムとして表現されている拘束条件
を満たすように、他の属性値である設計パラメータが決
定される。さらにこのようなシステムではこの結果決定
された設計パラメータから形状データが生成され出力さ
れる。
2. Description of the Related Art A known example most similar to the present invention is an automatic design system for automatically creating a drawing or a shape model by inputting design specification values. Specifically, all design parameters and all dimensions are calculated from specification values. In such a system, when a design specification value as an attribute value is input, another design parameter as an attribute value is determined so as to satisfy a constraint condition expressed as a program. Further, in such a system, shape data is generated and output from the design parameters determined as a result.

【0003】最も代表的なものはアメリカICAD社の
システムIMPAKT(アメリカでの製品名はICAD)であ
る。このシステムを使用すると、ユーザは設計仕様,部
品や組立品に関する設計パラメータ,性能,寸法といっ
た属性データ、その属性間の拘束関係のデータ,形状の
作成方法のデータを宣言的に記述して入力することがで
きる。また1度入力したデータを変更することもでき
る。つぎに設計仕様等特定の属性に値を入力すると、シ
ステムは拘束データの表わす拘束条件に合うように他の
属性データの値を求め、その結果と先に入力した形状作
成方法のデータに基づいて形状を生成し、それを出力す
る。すなわち設計仕様値を入力するのみで図面または形
状モデルを得ることができるようになるのである(酒井
俊二他著:インテリジェントCADの最新動向,PIX
EL(No.94),1990年7月)。
[0003] The most typical one is a system IMPAKT (a product name in the United States is ICAD) of ICAD, USA. Using this system, the user declaratively describes and inputs design specifications, attribute data such as design parameters for parts and assemblies, performance and dimensions, data on the constraint relationship between the attributes, and data on the method of creating the shape. be able to. Also, the data once input can be changed. Next, when a value is input to a specific attribute such as a design specification, the system obtains the value of another attribute data so as to meet the constraint condition represented by the constraint data, and based on the result and the data of the shape creation method previously input, Generate a shape and output it. That is, a drawing or a shape model can be obtained only by inputting design specification values (Shunji Sakai et al .: Latest Trend of Intelligent CAD, PIX)
EL (No. 94), July 1990).

【0004】[0004]

【発明が解決しようとする課題】設計においては一般
に、形状が決まりそれによって属性が決まる場合または
属性が決まりそれによって形状が決まる場合がある。形
状によって属性が決まる場合として、例えば取付け部と
他の部分との関係で形状が決まっているときに、強度的
に十分な材料を使用するために形状から材質という属性
が決まる場合がある。また逆に、属性によって形状が決
まる場合として、例えば腐食性の高い雰囲気等で使用す
るために、材質という属性が決まりそれによって強度が
十分となる形状を決める場合がある。また同様に、ある
部分の形状が決まりそれによって他の部分の形状が決ま
る場合、ある項目の属性が決まりそれによって他の項目
の属性が決まる場合もある。しかしながら、従来の技術
ではここに示した、形状が先に決まってそれに応じて属
性が決まるような拘束関係と属性が先に決まってそれに
応じて形状が決まるような拘束関係を同時に扱うことが
できなかったのである。本発明の目的は、このような問
題を解決し、設計の問題をそのまま扱うことによって設
計情報の管理を容易化し、設計の自動化,省力化を行う
ことである。
Generally, in design, there are cases where a shape is determined and an attribute is determined thereby, or an attribute is determined and a shape is determined thereby. When the attribute is determined by the shape, for example, when the shape is determined by the relationship between the mounting portion and other parts, the attribute of the material may be determined from the shape in order to use a material having sufficient strength. Conversely, as a case where the shape is determined by the attribute, for example, there is a case where the attribute of the material is determined for use in a highly corrosive atmosphere or the like, and a shape having sufficient strength is thereby determined. Similarly, when the shape of a part is determined and thereby the shape of another part is determined, the attribute of a certain item may be determined and the attribute of another item may be determined. However, with the conventional technology, the constraint relationship shown here, in which the shape is determined first and the attribute is determined accordingly, and the constraint relationship in which the attribute is determined first and the shape is determined accordingly, can be handled simultaneously. There was no. SUMMARY OF THE INVENTION An object of the present invention is to solve such a problem, to facilitate the management of design information by directly handling the design problem, and to automate the design and save labor.

【0005】[0005]

【課題を解決するための手段】本発明は、設計対象物の
形状のデータを操作する手段と、設計対象物の特徴に関
する属性データを操作する手段と、複数の形状データ及
び属性データの間の関係を示す拘束データを操作する手
段と、上記拘束データの変更に基づいて変更された拘束
データによって表現される上記形状データ又は上記属性
データとの関係を満たすように上記形状データ及び上記
属性データを変更する第1の変更手段と、上記属性デー
タの変更に基づいて変更される拘束データによって表現
される上記形状データ又は上記属性データとの関係を満
たすように上記形状データ及び他の属性データを変更す
る第2の変更手段と、上記形状データの変更に基づいて
変更される拘束データによって表現される上記形状デー
タ又は上記属性データとの関係を満たすように他の形状
データ及び上記属性データを変更する第3の変更手段
と、上記第1,第2,第3の変更手段によって変更され
たデータが他の形状データ又は属性データ又は拘束デー
タと矛盾が生じないかを検出する検出手段とを有するこ
とを特徴とする。
SUMMARY OF THE INVENTION The present invention provides means for operating shape data of a design object, means for operating attribute data relating to characteristics of the design object, Means for operating the constraint data indicating the relationship, and the shape data and the attribute data so as to satisfy the relationship with the shape data or the attribute data represented by the constraint data changed based on the change of the constraint data. Changing the shape data and other attribute data so as to satisfy a relationship between the first changing means to be changed and the shape data or the attribute data represented by the constraint data changed based on the change of the attribute data. A second changing means for performing the above-mentioned shape data or the above-mentioned attribute data represented by the constraint data changed based on the change of the shape data. A third changing means for changing other shape data and the attribute data so as to satisfy the relationship with the data, and changing the data changed by the first, second and third changing means to other shape data or attribute data. Detecting means for detecting whether there is any contradiction with the data or the constraint data.

【0006】[0006]

【作用】対話方式によって形状データの操作指示が与え
られると形状データが生成,変更,削除,出力される。
属性データの操作指示が与えられると属性データが生
成,変更,削除,出力される。拘束データの操作指示が
与えられると拘束データが生成,変更,削除,出力され
る。拘束データの変更に基づいて拘束データによって表
現されたすべての拘束を満たすように形状データ及び属
性データが変更される。属性データの変更に基づいて拘
束データによって表現されたすべての拘束を満たすよう
に形状データ及び他の属性データが変更される。形状デ
ータの変更に基づいて拘束データによって表現されたす
べての拘束を満たすように他の形状データ及び属性デー
タが変更される。このように、拘束データを満たすよう
に形状データ又は属性データの変更が繰り返される。更
に、拘束データで表現された拘束の矛盾を検出し、矛盾
が検出されれば、形状データ又は属性データの変更の繰
り返しを停止する。
When an operation instruction for shape data is given in an interactive manner, shape data is generated, changed, deleted, and output.
When an operation instruction for attribute data is given, attribute data is generated, changed, deleted, and output. When an operation instruction for constraint data is given, constraint data is generated, changed, deleted, and output. Based on the change of the constraint data, the shape data and the attribute data are changed so as to satisfy all the constraints expressed by the constraint data. Based on the change in the attribute data, the shape data and other attribute data are changed so as to satisfy all the constraints expressed by the constraint data. Based on the change of the shape data, other shape data and attribute data are changed so as to satisfy all the constraints expressed by the constraint data. Thus, the change of the shape data or the attribute data is repeated so as to satisfy the constraint data. Further, a contradiction of the constraint expressed by the constraint data is detected, and if the contradiction is detected, the repetition of the change of the shape data or the attribute data is stopped.

【0007】[0007]

【実施例】本発明の第1の実施例は、拘束データとして
計算式を扱う設計支援装置(CADシステム)である。た
だし本発明は拘束データの種類を限定するものではな
い。拘束データが論理式の形態をとり、演算順序が実行
時に決まるような計算の方法も有りうるし、連立方程式
となるような拘束条件となるものも本発明の範囲であ
る。実施例の説明の前にまず本装置で支援することので
きる設計の例を示す。本装置の説明はその後でこの設計
をどのようにして支援するかという例を示しながら説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention is a design support apparatus (CAD system) that handles a calculation formula as constraint data. However, the present invention does not limit the types of constraint data. There may be a calculation method in which the constraint data takes the form of a logical expression and the order of operation is determined at the time of execution, and a constraint condition that becomes a simultaneous equation is also within the scope of the present invention. Before describing the embodiments, an example of a design that can be supported by the present apparatus will be described first. The description of the device will then be given with examples of how to support this design.

【0008】設計問題の例として図5に示すようなパイ
プ接続部のねじ選択とねじ配置の問題を取り上げる。図
5において301はフランジ付きの2本のパイプであ
る。これらのフランジ部分にガスケット(302)を挾
んでねじ(303)で締結されている。この2つのパイ
プの外径dとフランジ外径D、締結力は設計仕様値とし
て与えられている。ただし、パイプの外径とフランジの
外径は属性データとしてではなく、図面上の形状データ
として与えられており、締結力は形状データと直接的な
関係のない、いわば組立品全体の属性データとして与え
られている。パイプとフランジの外径が形状データとし
てではなく属性データとして与えられる場合も想定でき
るが、ここでは設計者が感覚的にサイズを把握したいの
で対話的に図面上で形状を表現しながら決めた、または
既存の属性データの存在しない図面データをそのまま用
いたなどの理由で属性データが存在しないと仮定する。
一般に設計ではこれ以外にも意匠的な観点で形状を決め
る場合、人間工学的な見地から使いやすい大きさ,握り
やすい形等といった目的で形状を決める場合等、属性に
よるデータでは扱いにくい仕様値として存在する場合が
少なくない。
As an example of a design problem, a problem of screw selection and screw arrangement of a pipe connecting portion as shown in FIG. 5 is taken up. In FIG. 5, reference numeral 301 denotes two flanged pipes. These flange portions are fastened by screws (303) with a gasket (302) interposed therebetween. The outer diameter d, flange outer diameter D, and fastening force of these two pipes are given as design specification values. However, the outer diameter of the pipe and the outer diameter of the flange are given not as attribute data but as shape data on the drawing, and the fastening force is not directly related to the shape data, so-called attribute data of the entire assembly. Has been given. It can be assumed that the outer diameters of pipes and flanges are given not as shape data but as attribute data, but here the designer decided to express the shape interactively on the drawing because he wanted to grasp the size intuitively. Alternatively, it is assumed that no attribute data exists because, for example, drawing data having no existing attribute data is used as it is.
In general, when designing a shape other than this from a design point of view, when determining a shape from the ergonomic point of view such as a size that is easy to use, a shape that is easy to grasp, etc., it is a specification value that is difficult to handle with attribute data. Often there are.

【0009】さてこの状態でボルトの選択ならびにボル
トの取付け場所を決定するには、図6に示すような設計
計算が必要である。図6では、左半分は形状情報と、形
状と属性の間の関係式の一部を表わしている。d及びD
はそれぞれ円筒の直径であり、k及びpは部品の番号と
部品の位置という形状情報であり、(k,p)の式の右
辺が形状情報k,pと属性情報ボルト部品番号,ボルト
配置位置の関係、すなわちk,pを求める計算式を示す
情報である。右半分の領域は属性情報と属性間の関係式
を表わしている。「締結力」とか「ボルト軸力」といっ
た、単に単語のみを表わしているものと、計算式の等号
より左にあるものが属性の項目である。各項目には実際
の値が存在する。また等号の右側がそれぞれの属性の値
を求める計算式である。ただしこの計算は一例を示した
のみであり、このような設計で必ずこの計算を行うこと
を示しているわけではない。この図は与えられた仕様値
D,d,締結力を用いて、ボルトの配置位置を決める寸
法「ボルト配置位置」,ボルト配置位置の幾何学力なマ
トリックス表現である「p」,ボルト1本あたりに必要
な引っ張り強度である「ボルトの軸力」,ボルトのねじ
部の外径である「ボルト呼び径」,ボルトのねじ部の谷
部分の径である「ボルト谷径」,ボルトの素材に必要な
単位面積あたりの引っ張り強度である「必要応力」,必
要応力を満たすボルトの素材の種類を示す「ボルト材
質」,標準部品であるボルトを特定する「ボルト部品番
号」を順次求める手順を示している。この中の式に用い
ている( )は小数部分を有する値の整数部分のみを取
り出す演算を表わしており、寸法値を丸めるため、標準
品として容易に入手できるボルトを選択するために用い
ている。またif( )は、第1引数の条件が成立する
場合に第2引数の式の値を返し、条件が成立しない場合
には第3引数の式の値を返す関係である。文字列化は数
値を文字列形式に変換する関数である。演算子+は数値
の場合加算を行うが文字列の場合には文字列の接続を行
う。
In this state, in order to determine the selection of the bolts and the place to attach the bolts, a design calculation as shown in FIG. 6 is required. In FIG. 6, the left half represents the shape information and a part of the relational expression between the shape and the attribute. d and D
Is the diameter of the cylinder, and k and p are shape information such as the part number and the part position. The right side of the equation (k, p) is the shape information k, p, the attribute information bolt part number, and the bolt arrangement position , That is, information indicating a calculation formula for obtaining k and p. The area in the right half represents the attribute information and the relational expression between the attributes. Items that merely represent words, such as "fastening force" and "bolt axial force", and items to the left of the equal sign in the calculation formula are attribute items. Each item has an actual value. The right side of the equal sign is a calculation formula for calculating the value of each attribute. However, this calculation is only an example, and does not necessarily indicate that this calculation is performed with such a design. This figure shows a dimension "bolt arrangement position" for determining the bolt arrangement position using given specification values D, d and fastening force, "p" which is a geometric force matrix expression of the bolt arrangement position, and per bolt. The required bolt strength is "axial force of the bolt", the outer diameter of the threaded part of the bolt "nominal diameter of the bolt", the diameter of the threaded part of the bolt "bolt diameter", the material of the bolt The procedure for obtaining the required stress, which is the required tensile strength per unit area, the bolt material, which indicates the type of bolt material that satisfies the required stress, and the bolt part number, which specifies the standard bolt, is shown. ing. The parentheses () used in the expression in this expression represent an operation for extracting only an integer part of a value having a decimal part, and are used for rounding a dimension value and selecting a bolt which can be easily obtained as a standard product. . Also, if () is a relation that returns the value of the expression of the second argument when the condition of the first argument is satisfied, and returns the value of the expression of the third argument when the condition is not satisfied. Stringification is a function that converts a number into a string format. The operator + performs addition in the case of a numerical value, but connects the character strings in the case of a character string.

【0010】このような計算が終わるとその結果を形状
データである図面を反映させることが必要である。これ
は計算で求めた部品番号に相当する部品データをデータ
ベースから取り出し、同じく計算で求めた配置位置に配
置することによって行うことができる。ボルトのような
標準的な部品のデータはデータベースに蓄えられている
のでそのデータを検索して用いれば、とくに詳細の部分
の寸法を計算する必要はない。
[0010] When such calculations are completed, it is necessary to reflect the result to a drawing which is shape data. This can be performed by extracting the component data corresponding to the component number obtained by calculation from the database, and arranging the component data at the arrangement position similarly obtained by calculation. Since the data of standard parts such as bolts are stored in the database, if the data is searched and used, it is not necessary to calculate the dimensions of the detailed parts.

【0011】設計においては最適な解を求めるために部
分的に大きさや部品を変更してみて他の部分の状況を調
べるということがよく行われる。例えば仕様値であるD
と締結力を変更してみると、図7に示すようにボルトの
径や材質が変わり、使用するボルトが変わる。このよう
な比較を行うと、この例の場合Dとdの差の大きさによ
って使用可能なボルトの種類が大きく変わり、強度面の
余裕が大きく変わることがわかる。設計者はこの図に示
されるような計算を簡単に行いたいのである。本実施例
の装置は図1に示すように、入力装置(1),処理装置
(2),記憶装置(3),出力装置(4)によって構成
されている。そのうち処理装置(2)と記憶装置(3)
は図に示すようにさらに小さい要素から構成されてい
る。形状変更保存装置(2a)は図形的に表示されてい
る形状情報をドラッギング等の方法を用いて直接的に操
作する装置である。ドラッギングとはマウス等のポイン
ティングデバイスによって掴むような感じで形状の大き
さ,位置などを変更する方法である。形状変更保存装置
(2a)では、1つの形状要素が変更されたときにそれ
に合うように周辺の形状要素のデータを変更するという
処理も行う。例えば直方体の1つの面の位置が変更され
ると、その面の周りの稜線と頂点のデータを変更する処
理を行うものである。一般に直方体の1面の位置を変更
すると、その面を平面のまま保とうとすると周辺の稜線
や頂点を変更しないと形状を維持できないのである。形
状変更保存装置(2a)の部分を単独で取り出すと、図
55のような構成になっており、それ単独で使用するこ
ともできる。本実施例では機能的に同等の形状処理装置
を別途用意している。属性変更保存装置(2b)は属性
データの項目及び値を変更するものである。本実施例で
は属性は数値,文字列,選択肢,集合等で表現されてい
るのでそれぞれの形式に応じた操作方法が用意されてい
る。属性間拘束変更保存装置(2c),属性形状間拘束変
更保存装置(2d),属性間拘束変更保存装置(2e)と
しては、本実施例の場合各拘束データが計算式の形式で
表現されているので文字列として計算式を操作する方法
が用意されている。属性間拘束処理装置(2f)は、属
性データが変更されたときに、関係する属性間拘束デー
タを抽出し、その属性間拘束データの表わす拘束関係に
基づいて他の属性データを変更する処理と、属性間拘束
データが変更されたときに、関係する属性データを抽出
し、前記属性間拘束データの表わす拘束関係に従って属
性データを変更する処理とを行う装置である。属性形状
間拘束処理装置(2g)は、属性データまたは形状データ
が変更されたときに、関係する属性形状間拘束データを
抽出し、その属性形状間拘束データの表わす拘束関係に
従って他の属性データまたは形状データを変更する処理
と、属性形状間拘束データが変更されたときに、関係す
る属性データ及び形状データを抽出し、前記属性形状間
拘束データの表わす拘束関係に従って属性データまたは
形状データを変更する処理とを行う装置である。形状間
拘束処理装置(2h)は、形状データが変更されたとき
に、関係する形状間拘束データを抽出し、その形状間拘
束データの表わす拘束関係に基づいて他の形状データを
変更する処理と、形状間拘束データが変更されたとき
に、関係する形状データを抽出し、前記形状間拘束デー
タの表わす拘束関係に従って形状データを変更する処理
と、形状データが変更されたときに形状として成立する
ように周辺の形状データを変更する処理(例えば面デー
タが変更されたときにとなりの面との接続が維持できる
ように変更された面の周辺の稜線データ,頂点データ,
面データを変更する処理)とを行う装置である。拘束処
理伝播装置(2i)は、属性間拘束処理装置(2f)が
属性データを変更した場合に、その変更された属性デー
タに関係する属性形状拘束データの有無を検索し、存在
する場合その変更された属性データに関して処理を行う
ように属性形状間拘束処理装置に指示を送る処理と、属
性形状間拘束処理装置(2g)が属性データを変更した場
合に、その変更された属性データに関係する属性間拘束
データの有無を検索し、存在する場合その変更された属
性データに関して処理を行うように属性間拘束処理装置
に指示を送る処理と、属性形状間拘束処理装置(2g)
が形状データを変更した場合に、その変更された形状デ
ータに関係する形状間拘束データの有無を検索し、存在
する場合その変更された形状データに関して処理を行う
ように形状間拘束処理装置に指示を送る処理と、形状間
拘束処理装置(2h)が形状データを変更した場合に、
その変更された形状データに関係する属性形状間拘束デ
ータの有無を検索し、存在する場合その変更された形状
データに関して処理を行うように属性形状間拘束処理装
置に指示を送る処理とを行う。拘束矛盾検出装置(2
j)は拘束条件に矛盾がないかどうかを検出する装置で
ある。本実施例の場合は、属性間拘束処理装置(2
f),属性形状間拘束処理装置(2g),形状間拘束処
理装置(2h)の処理を監視し、あらかじる定めた時間
または回数で処理が停止しない場合に強制的に終了さ
せ、その旨をメッセージとして出力装置に出力する。5
つの各再生装置(2k〜2o)は記憶装置からデータを
取り出して出力装置(4)に転送する装置である。処理
装置制御装置(2p)は各処理装置の処理の調整を行う
装置である。
In design, it is common practice to partially change the size and components in order to find the optimum solution and to check the status of other parts. For example, the specification value D
When the fastening force is changed, as shown in FIG. 7, the diameter and material of the bolt change, and the bolt used changes. From this comparison, it can be seen that in this example, the types of bolts that can be used greatly change depending on the magnitude of the difference between D and d, and the margin of strength greatly changes. The designer wants to easily perform the calculations shown in this figure. As shown in FIG. 1, the apparatus of this embodiment includes an input device (1), a processing device (2), a storage device (3), and an output device (4). Of which processing unit (2) and storage unit (3)
Is composed of smaller elements as shown in the figure. The shape change storage device (2a) is a device for directly operating shape information displayed graphically using a method such as dragging. Dragging is a method of changing the size, position, and the like of a shape as if it were grasped by a pointing device such as a mouse. In the shape change storage device (2a), when one shape element is changed, a process of changing data of peripheral shape elements to match the change is also performed. For example, when the position of one surface of a rectangular parallelepiped is changed, a process of changing the data of the ridge line and the vertex around the surface is performed. In general, when the position of one surface of a rectangular parallelepiped is changed, if the surface is to be kept flat, the shape cannot be maintained unless the peripheral ridges and vertices are changed. When the portion of the shape change storage device (2a) is taken out alone, the configuration is as shown in FIG. 55, and it can be used alone. In this embodiment, a functionally equivalent shape processing apparatus is separately prepared. The attribute change storage device (2b) changes the item and value of attribute data. In the present embodiment, the attributes are represented by numerical values, character strings, choices, sets, and the like, so that operation methods corresponding to the respective formats are prepared. In the case of the present embodiment, each of the constraint data is expressed in the form of a calculation formula as the attribute constraint change storage device (2c), attribute shape constraint change storage device (2d), and attribute constraint change storage device (2e). There is a way to manipulate the formula as a string. The attribute constraint processing device (2f) extracts related attribute constraint data when attribute data is changed, and changes other attribute data based on the constraint relationship represented by the attribute constraint data. And a process for extracting related attribute data when the inter-attribute constraint data is changed, and changing the attribute data according to the constraint relationship represented by the inter-attribute constraint data. When the attribute data or the shape data is changed, the attribute-shape constraint processing device (2g) extracts related attribute-shape constraint data, and according to the constraint relationship represented by the attribute-shape constraint data, retrieves other attribute data or A process of changing shape data, and when attribute-shape constraint data is changed, related attribute data and shape data are extracted, and attribute data or shape data is changed according to the constraint relationship represented by the attribute-shape constraint data. It is a device that performs processing. The inter-shape constraint processing device (2h) extracts related inter-shape constraint data when the shape data is changed, and changes other shape data based on the constraint relationship represented by the inter-shape constraint data. A process of extracting related shape data when the inter-shape constraint data is changed, and changing the shape data in accordance with the constraint relationship represented by the inter-shape constraint data; and establishing the shape when the shape data is changed. Processing to change the peripheral shape data (for example, when the surface data is changed, the ridge line data, vertex data,
(A process of changing plane data). When the inter-attribute constraint processing device (2f) changes the attribute data, the constraint processing propagation device (2i) searches for the presence or absence of attribute shape constraint data related to the changed attribute data. Sending an instruction to the inter-attribute / shape constraint processing device to perform processing on the attribute data that has been changed, and, when the inter-attribute / shape constraint processing device (2g) changes the attribute data, it relates to the changed attribute data. A process of searching for the presence / absence of inter-attribute constraint data, and if present, sending an instruction to the inter-attribute constraint processor to perform processing on the changed attribute data; and an inter-attribute constraint processor (2g).
When the shape data has been changed, the presence / absence of inter-shape constraint data related to the changed shape data is searched, and if present, the inter-shape constraint processing device is instructed to perform processing on the changed shape data. And when the inter-shape constraint processing device (2h) changes the shape data,
The presence / absence of attribute-shape constraint data related to the changed shape data is searched, and if so, a process is performed to send an instruction to the attribute-shape constraint processing device to perform processing on the changed shape data. Restriction inconsistency detection device (2
j) is a device for detecting whether there is no contradiction in the constraint conditions. In the case of the present embodiment, the attribute constraint processing device (2
f), the processing of the attribute shape constraint processing device (2g) and the process of the shape constraint processing device (2h) are monitored, and if the process is not stopped for a predetermined time or number of times, the process is forcibly terminated. Output to the output device as a message. 5
Each of the two reproducing devices (2k to 2o) is a device for extracting data from the storage device and transferring the data to the output device (4). The processing device control device (2p) is a device that adjusts the processing of each processing device.

【0012】これに対して、従来は図2に示すような機
能構成の設計支援装置しか存在しなかった。すなわち、
形状を変更する装置は無かったし、形状変更に伴って属
性データを変更する手段も無かった。
On the other hand, conventionally, there was only a design support apparatus having a functional configuration as shown in FIG. That is,
There was no device for changing the shape, and there was no means for changing the attribute data according to the shape change.

【0013】また本実施例においては、既存装置を拡張
して実現するため、形状変更保存装置(2a)及び形状
データ(3a)を図4に示す構成で実現している。まず
形状データは形状データ1と形状データ2とによって構
成されている。形状データ1は図形的な対話に適したデ
ータの構造となっており、形状に関するすべての情報を
保持している。形状データ2は形状データ1のうちの一
部のデータについてのみ、属性データと同一の形式で保
持している。そして形状データ1と形状データ2の間に
は、一方のデータが変更されると双方が同値となるよう
に影響を反映させる、形状反映装置12と形状反映装置
21がある。操作方法としては形状データを図形的に参
照しながら対話的に行う形状操作1と、形状データ2に
ついて属性データと同一の操作方法で操作する形状操作
2がある。このような仕組みにより見かけ上1組の形状
データを構成している。
Further, in this embodiment, in order to extend and realize the existing device, the shape change storage device (2a) and the shape data (3a) are realized by the configuration shown in FIG. First, the shape data is composed of shape data 1 and shape data 2. The shape data 1 has a data structure suitable for a graphical conversation, and holds all information related to the shape. The shape data 2 holds only a part of the shape data 1 in the same format as the attribute data. Then, between the shape data 1 and the shape data 2, there is a shape reflection device 12 and a shape reflection device 21 that reflect the influence so that when one of the data is changed, both have the same value. As the operation method, there are a shape operation 1 for interactively referring to the shape data graphically, and a shape operation 2 for operating the shape data 2 in the same operation method as the attribute data. Apparently, a set of shape data is constituted by such a mechanism.

【0014】本装置では、図56(a)に示すように、
属性データ,形状データ,拘束データを入力すると、拘
束を満たすための計算順序が決定され、その順序に従っ
て順次計算,結果の記録が行われ、その結果が出力され
る。またこの状態で属性データまたは形状データの一部
を変更すると、図56(b)に示すように、まず変更デ
ータに関連する拘束データが抽出され、その拘束データ
の計算順序が決定され、その順序に従って順次計算,結
果の記録が行われ、その結果が出力される。この流れを
より詳細にすると、以下のようになる。
In this apparatus, as shown in FIG.
When the attribute data, the shape data, and the constraint data are input, the calculation order for satisfying the constraint is determined, the calculation is sequentially performed according to the order, the result is recorded, and the result is output. When a part of the attribute data or the shape data is changed in this state, first, as shown in FIG. 56B, constraint data related to the changed data is extracted, and the calculation order of the constraint data is determined. , And the result is recorded, and the result is output. The details of this flow are as follows.

【0015】本装置には、設計者などの操作者が入力装
置(1)を用いて行う入力指示、すなわち形状データ,
属性データ,形状データや属性データ間の拘束を表わす
計算式の入力指示を処理する手段がある。本実施例では
その時の指示の順序は問わない。また間違った入力を変
更や削除する指示を処理する手段も操作手段の中にあ
る。これらの処理は処理装置(2)によって行われる。
そして処理されたデータは記憶装置(3)に記録され
る。またその時には処理しているデータをさまざまな形
式で出力装置(4)に表示する手段も備えている。
The present device has an input instruction given by an operator such as a designer using the input device (1), that is, shape data,
There is a means for processing an instruction to input a calculation formula representing a constraint between attribute data, shape data and attribute data. In this embodiment, the order of instructions at that time does not matter. Means for processing an instruction to change or delete an incorrect input is also included in the operation means. These processes are performed by the processing device (2).
Then, the processed data is recorded in the storage device (3). Also provided is a means for displaying the data being processed in various formats on the output device (4) at that time.

【0016】処理装置(2)では、それ以外に、次のよ
うな処理が行われる。まず形状データ1が入力,変更さ
れると、対応する形状データ2を生成,変更する。例え
ば形状データ1として点のデータが入力されると、その
点データに対応させて、点の座標値や表示色等を表現す
る形状データ2を生成する。本発明はこのときにどのよ
うな項目のデータを生成するかを限定するものではな
く、その他必要に応じてさまざまの項目の形状データ2
を生成する手段を有することも本発明の範囲である。ま
た形状データ2生成の時期は、形状データ1生成の直後
でもよいし、形状データ2生成の指示が入力装置から与
えられた時、またその他何らかの理由で必要となった時
点でもよい。
In the processing device (2), the following processing is additionally performed. First, when the shape data 1 is input and changed, the corresponding shape data 2 is generated and changed. For example, when data of a point is input as the shape data 1, the shape data 2 expressing the coordinate value of the point, the display color, etc. is generated in correspondence with the point data. The present invention does not limit what kind of item data is generated at this time. In addition, if necessary, the shape data 2 of various items may be used.
It is also within the scope of the present invention to have means for generating The shape data 2 may be generated immediately after the shape data 1 is generated, when an instruction to generate the shape data 2 is given from the input device, or when it becomes necessary for some other reason.

【0017】処理装置(2)ではまた、次のような処理
も行われる。上記の場合に生成された、形状データ1に
対応する形状データ2の値が変更された場合に、対応す
る形状データ1を変更する。例えば形状データ2として
記録されている点の座標値が変更されると、その形状デ
ータ2に対応する形状データ1の点の位置を変更する。
変更する時期は、形状データ2の変更の直後でもよい
し、形状データ1変更の指示が入力装置(1)から与え
られた時、またその他何らかの理由で必要となった時点
でもよい。また、形状データ1の表現形式によっては、
変更される点の周りの線や面のデータが点データの変更
に伴って形状処理手段によって変更されることもある。
この場合に変更された周辺の形状要素のデータに対応す
る形状データ2が存在すると、この値も変更される。本
発明は形状データ1の表現形式を限定するものではな
く、形状の次元を限定するものではない。またもしその
形状データ1が表示されていれば表示も変更することが
できる。
The processing unit (2) also performs the following processing. When the value of the shape data 2 corresponding to the shape data 1 generated in the above case is changed, the corresponding shape data 1 is changed. For example, when the coordinate value of the point recorded as the shape data 2 is changed, the position of the point of the shape data 1 corresponding to the shape data 2 is changed.
The timing of the change may be immediately after the change of the shape data 2, when an instruction to change the shape data 1 is given from the input device (1), or when it becomes necessary for some other reason. Also, depending on the expression format of the shape data 1,
The data of the line or plane around the point to be changed may be changed by the shape processing unit in accordance with the change of the point data.
In this case, if there is shape data 2 corresponding to the data of the changed peripheral shape element, this value is also changed. The present invention does not limit the expression format of the shape data 1 and does not limit the dimension of the shape. If the shape data 1 is displayed, the display can be changed.

【0018】さらに処理装置(2)では次のような処理
も行われる。生成または変更された形状データ2に関係
する拘束データが存在する場合、より具体的には、生成
または変更された形状データ2を式中に有する式が、他
の形状データ2または属性データの値の計算式として存
在する場合、その計算式の演算を行い、その結果を形状
データ2または属性データの値とする。その時、その演
算結果を代入するデータが形状データ2であれば、対応
する形状データ1を変更する。また演算結果の形状デー
タ2または属性データが他の計算式で参照されている場
合、その計算式の演算を行い、その結果を形状データ2
または属性データの値とする。
Further, the following processing is also performed in the processing device (2). When there is constraint data related to the generated or changed shape data 2, more specifically, when the expression having the generated or changed shape data 2 in the expression is the value of another shape data 2 or attribute data If there is a calculation formula, the calculation formula is calculated, and the result is used as the value of the shape data 2 or the attribute data. At this time, if the data into which the operation result is substituted is the shape data 2, the corresponding shape data 1 is changed. When the shape data 2 or the attribute data of the calculation result is referred to by another calculation formula, the calculation of the calculation formula is performed, and the result is referred to as the shape data 2.
Or, it is the value of attribute data.

【0019】以上述べた処理の結果、記憶装置(3)の
中に記録されている各データには、図3に示すような関
係が生じる。すなわち、複数の属性データ,形状データ
が存在し、各種の拘束データによって、それらのデータ
の間に各種の拘束関係が定義される。そしてすべての拘
束関係が満たされているのである。
As a result of the above-described processing, a relationship as shown in FIG. 3 is generated for each data recorded in the storage device (3). That is, there are a plurality of attribute data and shape data, and various constraint data defines various constraint relationships between the data. And all the constraints are satisfied.

【0020】次に、本装置を用いて設計を支援する方法
は、操作手順にしたがって説明する。
Next, a method of supporting design using the present apparatus will be described according to the operation procedure.

【0021】ユーザはまず形状情報を扱う既存の設計支
援装置と同様の方法で図5に示す図面を作成することが
できる。より具体的には、直線を描くコマンド,円を描
くコマンド等を選択し、指示にしたがって始点,終点,
中心の位置,半径,直径,線の種類,線の幅等を入力す
る。また誤りがあった場合には変更することや削除する
こともできる。特に、大きさや位置はドラッギング等に
よって直接的に変更することができる。ボルトは標準的
な部品を用いるので、データベースに保存されているデ
ータの中から適当なものを選択して仮に配置しておく。
標準部品にはすべて部品番号が付いており、後で計算の
結果異なる部品番号が得られるとその部品と自動的に置
き替わる。このような操作を行うと形状データが入力で
きる。ただし本発明はこの操作方法を限定するものでは
ない。このような操作方法によって形状データ1を入力
すると、入力の途中で形状を図形的に見ることができ、
感覚的にわかりやすい。
The user can first create the drawing shown in FIG. 5 in the same manner as in an existing design support apparatus that handles shape information. More specifically, a command to draw a straight line, a command to draw a circle, etc. is selected, and the start point, end point,
Enter the center position, radius, diameter, line type, line width, etc. If there is an error, it can be changed or deleted. In particular, the size and position can be directly changed by dragging or the like. Since the bolts use standard parts, appropriate ones are selected from the data stored in the database and temporarily arranged.
All standard parts have a part number, and if a different part number is calculated later, that part is automatically replaced. By performing such an operation, shape data can be input. However, the present invention does not limit this operation method. When the shape data 1 is input by such an operation method, the shape can be seen graphically during the input,
Easy to understand intuitively.

【0022】次にユーザは属性データとして扱う属性の
項目を定義する。本設計の場合、数値形式のデータとし
て締結力,ボルト軸力,ボルト呼び径,ボルト谷径,必
要応力,ボルト配置位置を、選択肢データとしてボルト
材質を、文字列としてボルト部品番号を定義する。この
ときボルト軸力,ボルト呼び径,ボルト谷径,必要応
力,ボルト材質,ボルト部品番号はボルト単品と関係す
る情報なので、部品データとの対応関係を定義すること
もできる。このように属性の項目とそのデータ形式はユ
ーザが自由に定義することができる。
Next, the user defines an attribute item to be handled as attribute data. In the case of this design, the fastening force, the bolt axial force, the bolt nominal diameter, the bolt valley diameter, the required stress, and the bolt arrangement position are defined as numerical data, the bolt material is defined as option data, and the bolt part number is defined as a character string. At this time, since the bolt axial force, the bolt nominal diameter, the bolt valley diameter, the required stress, the bolt material, and the bolt part number are information related to the bolt alone, the correspondence relation with the part data can also be defined. In this way, the attribute items and their data formats can be freely defined by the user.

【0023】この様子を図を使って説明する。図8
(a)は属性項目の編集画面を開いた状態である。ここ
で定義する属性は、特定の面や線に付属させるものでは
なく、設計対象モデル全体に関するデータなので、モデ
ルの属性としている。そこでモデルに付加する属性項目
編集操作を行うことを指示したと想定しており、この結
果タイトルとして「モデル」と表示されている。このと
き、記憶装置4の内部には、図8(b)に示すように、
属性付加対象である「モデル」の項目が作成されてい
る。
This situation will be described with reference to the drawings. FIG.
(A) is a state in which an attribute item edit screen is opened. The attribute defined here is not attached to a specific surface or line, but is data relating to the entire design target model. Therefore, it is assumed that the user instructs to perform an attribute item editing operation to be added to the model, and as a result, "Model" is displayed as the title. At this time, as shown in FIG.
An item of "model" to which attributes are to be added has been created.

【0024】この状態でキーボードから「設計仕様」と
入力する。すなわち、属性項目「設計仕様」が定義さ
れ、次のデータを入力するための枠が表示される。各枠
は、上から順に属性「設計仕様」のデータ形式の定義,
属性「設計仕様」の子供の属性の定義,属性「設計仕
様」の兄弟の属性の定義のためのものである。
In this state, "design specification" is input from the keyboard. That is, the attribute item “design specification” is defined, and a frame for inputting the next data is displayed. Each frame is the definition of the data format of the attribute "design specification" in order from the top,
This is for defining the attribute of the child of the attribute “design specification” and the attribute of the sibling of the attribute “design specification”.

【0025】次に子供の枠を選択指示してキーボードか
ら「締結力」と入力する。すなわち、属性項目「締結
力」が「設計仕様」の子供として定義され、次のデータ
を入力するための枠が表示される。各枠は、上から順に
属性「締結力」のデータ形式の定義,属性「締結力」の
子供の属性の定義,属性「締結力」の兄弟の属性の定
義,属性「設計仕様」の兄弟の属性の定義のためのもの
である。属性「設計仕様」には子供が定義されたため、
もはや直接的にデータを記録することはないので、デー
タ形式定義の枠は表示されなくなった。
Next, the child's frame is selected and instructed, and "fastening force" is input from the keyboard. That is, the attribute item “fastening force” is defined as a child of “design specification”, and a frame for inputting the next data is displayed. Each frame is defined from the top in order from the definition of the data format of the attribute "fastening force", the definition of the child attribute of the attribute "fastening force", the definition of the attribute of the sibling of the attribute "fastening force", and the definition of the sibling of the attribute "design specification". For attribute definition. Because the attribute "design spec" defined a child,
Since data is no longer recorded directly, the data format definition frame is no longer displayed.

【0026】次にデータ形式の定義の枠を選択指示して
キーボードから「real」と入力する。すなわち属性項目
「締結力」のデータ形式が表示され、内部データとして
はデータの記録場所に相当する領域ができる。
Next, a frame for defining the data format is selected and designated, and "real" is input from the keyboard. That is, the data format of the attribute item "fastening force" is displayed, and an area corresponding to the data recording location is created as internal data.

【0027】一方形状データと属性データのインタフェ
ースを取るために、形状データ2がある。形状データ2
は形状データを属性と関連させて扱いやすくするための
ものである。形状データ2は形状を表わすデータであ
り、項目は形状データ1と同一またはその一部であるが
データ形式及び操作方法は属性データと同一である。例
えば点には座標値、点から出ている線等、線には両端
点、線の種類(直線,円弧,自由曲線等)、線の種類に
応じたパラメータ(径,制御点座標等)、表示上の太
さ,表示色等、面には境界線,境界点,面の種類(平
面,円筒面,円錐面,球面,自由曲面等)、面の種類に
応じたパラメータ(面上点座標,面方向ベクトル,中心
軸方向ベクトル,径,頂点座標,中心点座標等)、表示
色等、部品には配置位置,部品名称,部品番号,材質
等、組立品には使用部品の部品番号と配置位置の組デー
タのリスト,製品名称,製品番号等の項目がある。これ
らの項目はあらかじめシステムで定義されている。また
いわゆる形状データではないが形状データと共に表示さ
れることの多い寸法線,寸法値の文字列,表,表の各項
目等も同等に対応するデータ項目をあらかじめ定義し、
これも形状データ2と同等に扱っている。形状データ以
外にシステムで汎用的な属性項目をあらかじめ用意して
おくこともできる。ただし本発明はこれらの項目を限定
するものではない。
On the other hand, there is shape data 2 for interfacing shape data and attribute data. Shape data 2
Is for making the shape data easy to handle by relating it to the attribute. The shape data 2 is data representing a shape, and the items are the same as or a part of the shape data 1, but the data format and the operation method are the same as the attribute data. For example, a point has coordinate values, a line extending from a point, etc., a line has both end points, a line type (straight line, arc, free curve, etc.), a parameter (diameter, control point coordinates, etc.) corresponding to the line type, Boundary line, boundary point, surface type (plane, cylindrical surface, conical surface, spherical surface, free-form surface, etc.), parameters according to surface type (point coordinates on surface) , Surface direction vector, center axis direction vector, diameter, vertex coordinates, center point coordinates, etc.), display color, etc., placement position, part name, part number, material, etc. for parts. There are items such as a list of set position data, a product name, and a product number. These items are predefined in the system. Data items that are not so-called shape data but are often displayed together with shape data, such as dimension lines, dimension value character strings, tables, and table items are also defined in advance.
This is also treated in the same manner as the shape data 2. In addition to the shape data, general-purpose attribute items can be prepared in the system in advance. However, the present invention does not limit these items.

【0028】この形状データ2は属性データと同様に操
作することができ、例えば図9(a1)の部品リストのよう
に属性データ(締結力)と並べて表示することができる
し、図9(b)のように内部的にも同様な形式で記録し
ている。ただ区別のために、形状データ2のデータはす
べて、予約している属性項目名「形状特性」の子供とし
て記録することにしている。
The shape data 2 can be operated in the same manner as the attribute data. For example, it can be displayed alongside the attribute data (fastening force) as shown in the part list of FIG. ) Is recorded in the same format internally. However, for the sake of distinction, all the data of the shape data 2 are recorded as children of the reserved attribute item name “shape characteristic”.

【0029】次にユーザは属性データの実際の保存場所
を用意し、値を入力する。具体的には、まず形状情報の
表示されている画面においてまず属性データ付加対象の
形状を選択する。すると上記で作成した属性項目および
属性形式のデータに従って選択した形状に付加可能な属
性の項目名が表示される。そこでその中から保存場所を
確保したい項目を指示する。項目名は必要に応じて複数
指示することができる。
Next, the user prepares an actual storage location of the attribute data and inputs a value. Specifically, first, a shape to which attribute data is to be added is selected on a screen on which shape information is displayed. Then, item names of attributes that can be added to the selected shape are displayed according to the attribute items and attribute format data created above. Therefore, the user specifies an item for which a storage location is desired to be secured. A plurality of item names can be specified as necessary.

【0030】このとき形状データ2に関しても全く同様
の操作が可能である。形状データ2は「形状特性」以下
の項目として定義されている。そして形状データ2の場
合には、確保した保存場所に、対応する形状データ1を
参照してその値を記録する。また何らかの方法でこの保
存場所に別の値を記録すると、形状データ1がその値に
なるように自動的に形状を変更する処理が行われる。こ
のような形状データ2は基本的に形状データ1と同値と
なるような処理を行っており、これによって形状データ
と属性データの間でデータの受け渡しを行うことができ
る。この詳細な方法は後で述べる。
At this time, the same operation can be performed on the shape data 2. The shape data 2 is defined as items under “shape characteristics”. In the case of the shape data 2, the value is recorded in the secured storage location with reference to the corresponding shape data 1. If another value is recorded in this storage location by some method, a process of automatically changing the shape so that the shape data 1 becomes the value is performed. Such shape data 2 is basically processed so as to have the same value as the shape data 1, whereby data can be transferred between the shape data and the attribute data. This detailed method will be described later.

【0031】さて先の設計に戻ると、この場面で必要な
属性の保存場所を確保し、値を入力する。具体的には、
締結力,ボルト軸力,ボルト呼び径,ボルト谷径,必要
応力,ボルト材質,ボルト配置位置,ボルト部品番号,
d,D,k,pである。このうち最後の4つは形状デー
タなので、実際には対象とする線(円)の直径,部品の
部品番号等であり、形状データ1と形状データ2の両方
にデータが保存される。また最後の4つは形状データ2
なので保存場所を確保すると、そこには対応する形状デ
ータ1の値が転写される。ボルトは6本あるので、ボル
ト軸力からボルト部品番号までの属性はボルト毎に6箇
所保存場所を確保してもよいし、計算部分は代表の1つ
のボルトの属性が行って最後にそれを参照することにし
てもよい。
Returning to the previous design, the storage location of the attribute required in this case is secured, and the value is input. In particular,
Fastening force, bolt axial force, bolt nominal diameter, bolt root diameter, required stress, bolt material, bolt arrangement position, bolt part number,
d, D, k, p. Of these, the last four are shape data, so they are actually the diameter of the target line (circle), the part number of the part, etc., and are stored in both the shape data 1 and the shape data 2. The last four are shape data 2
Therefore, when a storage location is secured, the value of the corresponding shape data 1 is transferred there. Since there are six bolts, the attributes from the bolt axial force to the bolt part number may secure six storage locations for each bolt, and the calculation part is performed by the attribute of one representative bolt and finally It may be referred to.

【0032】属性データの保存場所を確保し、値を入力
する時の操作の様子を図10ないし図11に示す。対話
画面には対象とするモデルが形状として表示されてい
る。
FIGS. 10 and 11 show an operation for securing a storage location for attribute data and inputting a value. The target model is displayed as a shape on the interactive screen.

【0033】ここで「モデル」に対して属性値に関する
操作を行う指示を行い、対象となるモデルを選択する。
すなわち画面には新規に記録領域を作成可能な項目が白
抜き文字で表示され、内部データとしてはモデルの区別
を示すデータが作成される。「モデル」には最も上位の
属性項目として「設計仕様」,「設計パラメータ」,
「形状特性」が定義されているので、選択可能項目とし
てこれらが表示されているのである。
Here, an instruction to perform an operation relating to the attribute value is given to the “model”, and a target model is selected.
That is, on the screen, items for which a new recording area can be created are displayed in white characters, and data indicating model distinction is created as internal data. The “model” has the top-level attribute items “design specification”, “design parameter”,
Since "shape characteristics" are defined, these are displayed as selectable items.

【0034】この状態で「設計仕様」を選択指示する。
すなわち、設計仕様の保存場所が用意され、さらに細項
目として「締結力」を選択可能な状態になる。内部デー
タとしてはそれを反映して設計仕様のデータの保存場所
が生成される。
In this state, "design specification" is selected and instructed.
In other words, a storage location for the design specifications is prepared, and "fastening force" can be selected as a more detailed item. As the internal data, a storage location of the data of the design specification is generated reflecting the internal data.

【0035】同様にこの状態で「締結力」を選択指示す
る。画面上には締結力の値の入力ガイドとして値入力領
域が枠で表示され、内部データとしては締結力のrealデ
ータの保存場所が生成される。
Similarly, in this state, "clamping force" is selected and instructed. On the screen, a value input area is displayed as a frame as an input guide for the value of the fastening force, and a storage location of real data of the fastening force is generated as internal data.

【0036】次にユーザは属性データの値を入力する。
値の入力方法はデータの形式によって異なる。例えば数
値や文字列は基本的にキーボードから入力するし、ポイ
ンタはポインタ先を画面上で指示することによって行
う。また選択肢は選択項目がガイド的に表示されるので
その中から1つを指示することによって入力することが
できる。ただし本発明は本入力方法を限定するものでは
ない。
Next, the user inputs the value of the attribute data.
The method of inputting the value differs depending on the data format. For example, a numerical value or a character string is basically input from a keyboard, and a pointer is specified by indicating a pointer destination on a screen. In addition, since options are displayed as guides, options can be input by designating one of them. However, the present invention does not limit the input method.

【0037】本例の設計の場合には、値として必要なも
のは締結力のみである。そこで締結力の値を数値として
入力する。その値は内部データとして記録される。
In the case of the design of this embodiment, only the fastening force is required as a value. Therefore, the value of the fastening force is input as a numerical value. The value is recorded as internal data.

【0038】次に属性項目「設計パラメータ」を指示す
ると設計パラメータのデータの保存場所が確保され、子
供の属性項目が袋文字で表示される。そこで例えば「ボ
ルト軸力」を指示すると画面にはボルト軸力とその値の
入力枠が表示され、内部データとしてもボルト軸力の保
存場所が用意される。
Next, when the attribute item "design parameter" is designated, the storage location of the design parameter data is secured, and the child attribute item is displayed in a bag character. Therefore, for example, when "bolt axial force" is instructed, an input frame for the bolt axial force and its value is displayed on the screen, and a storage location of the bolt axial force is prepared as internal data.

【0039】「ボルト軸力」の値は計算式で求めるもの
なので、計算式を入力することになる。この画面で計算
式の入力を行う指示を行い、計算式を付加する対象であ
る「ボルト軸力」を選択指示すると、図12に示すよう
に計算式入力用の枠が表示される。ここに計算式を入力
して計算式編集を終了すると、図13のように自動的に
計算式が計算されてその結果が値として表示される。ま
た同時に内部データとしても記録される。これが属性間
拘束データ(3c),属性形状間拘束データ(3d),
形状間拘束データ(3e)の入力方法である。本実施例
ではこれらの拘束データは計算式の形態をとっており、
その保存場所は計算結果を設定する場所としている。た
だし本発明はこれを限定するものではない。拘束データ
が論理式の形態をとり、演算順序が実行時に決まるよう
な計算の方法も有りうるし、連立方程式となるような拘
束条件となることもありうる。また保存場所も形状デー
タ2及び属性データの保存場所と関係なく1つのファイ
ル等にまとめてもよい。同様にして「ボルト呼び径」,
「ボルト谷径」,「必要応力」,「ボルト材質」,「ボル
ト部品番号」,「ボルト配置位置」の各属性の領域確保
と関係式の入力を行い、次に「形状特性」,「部品リス
ト」の領域を確保を行うと、図14のようになる。ここ
に表示されている「設計パラメータ」の子供の属性の値
は計算式によって計算された結果であり、「部品リス
ト」という形状データ2の値は、領域確保を行った時点
で対応する形状データ1の内容を複写した結果である。
「部品リスト」の値はこの時点では、仮に配置した部品
の部品番号と部品配置位置のリストとなっている。
Since the value of "bolt axial force" is obtained by a calculation formula, the calculation formula is input. When an instruction for inputting a calculation formula is given on this screen and a "bolt axial force" to which the calculation formula is added is selected and displayed, a frame for inputting the calculation formula is displayed as shown in FIG. When the calculation formula is input here and the calculation formula editing is completed, the calculation formula is automatically calculated as shown in FIG. 13 and the result is displayed as a value. At the same time, it is also recorded as internal data. This is the attribute constraint data (3c), attribute shape constraint data (3d),
This is an input method of the inter-shape constraint data (3e). In the present embodiment, these constraint data are in the form of a calculation formula,
The storage location is a location where the calculation result is set. However, the present invention is not limited to this. There may be a calculation method in which the constraint data takes the form of a logical expression and the order of operation is determined at the time of execution, or there may be a constraint condition that forms a simultaneous equation. The storage location may be collected in one file or the like regardless of the storage location of the shape data 2 and the attribute data. Similarly, “Nominal bolt diameter”
Secure the area for each attribute of "bolt valley diameter", "required stress", "bolt material", "bolt part number", "bolt arrangement position" and input the relational expression. When the area of "list" is secured, it becomes as shown in FIG. The value of the child attribute of the “design parameter” displayed here is a result calculated by a calculation formula, and the value of the shape data 2 of “parts list” corresponds to the shape data corresponding to when the area is secured. This is the result of copying the content of No. 1.
At this point, the value of the “parts list” is a list of the part numbers and the part arrangement positions of the provisionally arranged parts.

【0040】「部品リスト」はこの設計問題では計算で
求めようとしているものなので、図15のように、その
求め方の計算式(属性形状間拘束データ)を入力する。
すなわち、各部品を部品番号と配列形式の配置位置のレ
コード型のデータとして表現し、それらのリストとして
構成することによって部品リストを求める計算式であ
る。
Since the "parts list" is to be obtained by calculation in this design problem, as shown in FIG. 15, a calculation formula (constraint data between attribute shapes) for the calculation is input.
That is, this is a calculation formula for obtaining a component list by expressing each component as a record type data of a component number and an arrangement position in an array format, and configuring the list.

【0041】以上の計算式を入力すると、その計算式が
自動的に計算されて、図15のようにその結果が設定さ
れる。この例では、「部品リスト」の中で、Part01に相
当する部分は変化していないが、ボルトにあたるS45
C−4はS45C−5に変わった。この「部品リスト」
データは形状データ2なので、次に対応する形状データ
1の「部品リスト」のデータが自動的に変更され、さら
に、属性データ及び拘束データの表示画面の下に表示さ
れている形状画面において、部品「S45C−4」が消
去され、部品「S45C−5」が表示される。すなわ
ち、計算式によって求められた形状データである「部品
リスト」の結果に合わせて形状の表示が変わったのであ
る。
When the above formula is input, the formula is automatically calculated, and the result is set as shown in FIG. In this example, the part corresponding to Part01 in the “parts list” has not changed, but S45 corresponding to the bolt is not changed.
C-4 was changed to S45C-5. This "parts list"
Since the data is the shape data 2, the data of the “parts list” of the corresponding shape data 1 is automatically changed, and further, in the shape screen displayed below the attribute data and constraint data display screen, “S45C-4” is deleted, and the component “S45C-5” is displayed. That is, the display of the shape has changed according to the result of the “parts list” which is the shape data obtained by the calculation formula.

【0042】以上の操作によって「モデル」の属性,
「モデル」に対応する形状特性2,「モデル」に関係す
る拘束データの設定が終了した。次に同様の方法で面や
線に対応する形状データ2及び拘束データの設定を行
う。その例として、以下線に関する操作を説明する。
By the above operation, the attributes of the “model”,
The setting of the shape characteristic 2 corresponding to the “model” and the setting of the constraint data related to the “model” are completed. Next, the shape data 2 and the constraint data corresponding to the surface or the line are set in the same manner. As an example, an operation related to a line will be described below.

【0043】図16は、2つの面「s01」と「s0
2」に関する形状データ2と関係する拘束データがすで
に入力された状態である。これにさらに1つの線に対し
て操作を加えようとしているところである。この状態で
風に対する属性操作のコマンドを選択指示し、対象とす
る線を画面上で選択指示すると、属性操作画面が表示さ
れる。
FIG. 16 shows two planes "s01" and "s0".
In this state, the constraint data related to the shape data 2 relating to “2” has already been input. An operation is being added to this one line. In this state, when a command for an attribute operation for the wind is selected and instructed, and a target line is selected and instructed on the screen, an attribute operation screen is displayed.

【0044】本例では「線」には属性項目は定義されて
おらず、あらかじめ用意された形状データ2の項目であ
る「形状特性」が選択可能項目として白抜き文字で表示
される。同時に内部データとしては属性管理用の領域が
取られ、そこに「線」の名称「101」が記録される。
属性は存在しなくても、形状データ2は属性と同様の形
式で記録されるので、そのために属性が付加されるのと
同一の方法で管理用領域が取られるのである。
In this example, no attribute item is defined for the "line", and the "shape characteristic", which is an item of the shape data 2 prepared in advance, is displayed as a selectable item in white characters. At the same time, an area for attribute management is taken as internal data, and the name “101” of “line” is recorded therein.
Even if the attribute does not exist, the shape data 2 is recorded in the same format as the attribute, so that a management area is obtained in the same way as the attribute is added.

【0045】ここで「形状特性」を選択指示すると、文
字が黒くなりその細項目である「種類」及び「直径」が
選択可能項目として白抜きで表示される。内部データと
しては、「形状特性」の保存領域が確保される。
When the user selects and instructs "shape characteristics", the characters become black and their sub-items "type" and "diameter" are displayed as selectable items in white. As the internal data, a storage area for “shape characteristics” is secured.

【0046】ここで「種類」を選択指示すると、「種
類」の文字が黒くなると同時に、その値として「円」が
表示される。一般の属性の場合には値は入力しなくては
表示されないが、「種類」は形状データ2なので、対応
する形状データ1の値を取り出してきて自動的に表示さ
れるのである。内部データもそれに対応して項目「種類」
の記録領域,値「円」の記録領域が取られ、それらの値
が記録される。
When the user selects and instructs the "type", the character of the "type" turns black and "yen" is displayed as its value. In the case of a general attribute, a value is not displayed unless it is input, but since the "type" is the shape data 2, the value of the corresponding shape data 1 is extracted and automatically displayed. The internal data also corresponds to the item "Type"
And the recording area of the value "circle" is taken, and those values are recorded.

【0047】「直径」を選択指示すると、「種類」とま
ったく同様に項目が黒く表示され、値が表示される。
When "diameter" is selected and indicated, the item is displayed in black, and the value is displayed, just like "type".

【0048】本設計例の場合、この「直径」は計算で求
めるものなので、その計算式を入力する。入力が終わる
と図17のようにその計算式が計算され、その結果に基
づいて表示上、内部データともに値が変更される。同時
に、このデータは形状データ2なので、対応する形状デ
ータ1が自動的に変更され、下のウインドウに表示され
ている形状も変更される。
In the case of the present design example, since this "diameter" is obtained by calculation, the calculation formula is input. When the input is completed, the calculation formula is calculated as shown in FIG. 17, and the value of both the internal data and the display is changed based on the result. At the same time, since this data is the shape data 2, the corresponding shape data 1 is automatically changed, and the shape displayed in the lower window is also changed.

【0049】さてこれで関係するすべてのデータが揃っ
た。そこで設計者または利用者は各種の試みを行うこと
ができる。まず締結力に余裕を持たせるために仕様値を
大きくしてみようとする場合には締結力の属性データの
値を変更すればよい。図11の画面をもう1度開き、
「締結力」の値を変更すると、関係する計算式がすべて
計算し直され、その結果が属性値として保存されるとと
もに、形状に反映されて図5の形状が変わる。
Now, all the relevant data has been prepared. The designer or user can then make various attempts. First, when trying to increase the specification value in order to provide a margin for the fastening force, the value of the attribute data of the fastening force may be changed. Open the screen of Fig. 11 again,
When the value of the "fastening force" is changed, all the related formulas are recalculated, the result is stored as an attribute value, and the shape is reflected on the shape to change the shape in FIG.

【0050】また図17の形状表示画面を見て、ボルト
の配置部分が狭くてスパナでボルトを回しにくいと判断
したならば、形状操作コマンドを用いて図18のように
形状表示画面上で直径Dの円を大きく変更すればよい。
そうするとその円は形状データ1に基づいて表示されて
いるのであるから、その円の直径に相当するデータが変
更される。さらにその変更により、そのデータに対応す
る形状データ2が変更される。そのデータを参照してい
る計算式が存在すると、その計算式が計算され、その結
果がさらに関係する計算式に波及して再計算が行われる
といった流れで計算が進む。その結果は最終的にボルト
の配置位置とボルトの径まで影響し、表示されている形
状データも変更されるのである。そのときに図19のよ
うにある形状データ2の値が表示状態にあれば、その値
が変更される。このように、計算式の形で入力したすべ
ての拘束関係を満たすように関係するデータが変更さ
れ、それが表示状態にあれば表示が変更されるのであ
る。
Also, if it is determined from the shape display screen of FIG. 17 that the bolts are so narrow that it is difficult to turn the bolts with a wrench, the diameter is displayed on the shape display screen as shown in FIG. What is necessary is just to change the circle of D greatly.
Then, since the circle is displayed based on the shape data 1, data corresponding to the diameter of the circle is changed. Further, the shape data 2 corresponding to the data is changed by the change. If there is a calculation formula that refers to the data, the calculation formula is calculated, and the calculation proceeds in such a manner that the result is further propagated to a related calculation formula and recalculation is performed. The result ultimately affects the position of the bolt and the diameter of the bolt, and the displayed shape data is also changed. At that time, if the value of the shape data 2 is in the display state as shown in FIG. 19, the value is changed. As described above, the related data is changed so as to satisfy all the constraint relationships input in the form of the calculation formula, and if it is in the display state, the display is changed.

【0051】また、設計者が設計ルール変更として計算
式を変更するべきと判断したときには、計算式を変更す
ると、その計算式の計算、そしてその結果を使用してい
るすべての計算式の計算が再度行われて関係する形状も
自動的に変わる。
When the designer determines that the calculation formula should be changed as a design rule change, the calculation formula is changed, and the calculation of the calculation formula and the calculation of all the calculation formulas using the result are performed. Once again, the relevant shapes change automatically.

【0052】さらに、設計者が新しい設計ルールに気づ
いた場合には、その場で新しいルールを設定することが
できる。例えば図18の操作によって、ボルトを回すた
めには周囲に適切な空間が必要だというルールに気づい
た場合、図20の操作によってルールによって決めるべ
き値を表示させ、図10の操作によってその部分にルー
ルを表わす計算式を入力すればよいのである。これを行
っておくと、以後、パイプの内径(d)を変更すれば、
フランジの外径Dは自動的に計算されるようになる。
Further, when the designer notices a new design rule, a new rule can be set on the spot. For example, if the user finds a rule that an appropriate space is required to turn the bolt by the operation in FIG. 18, the value to be determined by the rule is displayed in the operation in FIG. What is necessary is just to input the calculation formula representing the rule. By doing this, if you change the inner diameter (d) of the pipe,
The outer diameter D of the flange is automatically calculated.

【0053】ここで注意しておきたいのは、結果として
変わるのは形状データのみではないということである。
設計で決める項目は形状のみではなく、例えばこの例の
ボルトの材質とか部品番号のような形状の違いとしては
現われない項目もあるのである。そしてそのような情報
が設計結果を製造,検査,資材調達などに利用する場合
に重要なのである。本発明を利用すればこれらの情報が
形状と結びついた形で検討できる。最も端的な例はコス
トの計算である。コストは単に大きさや重さといった数
値的なデータのみから決まるものではない。材質が変わ
れば大きく変化するし、標準部品を使用すれば安いのに
少しでも仕様のことなる特別注文部品を使用すれば非常
に高くなるといったことが起こる。本発明を利用すれ
ば、形状を確認しながらこれが非常に容易に検討でき
る。すなわちコスト計算の過程を計算式として表現し、
その結果を画面に表示するようにしておけば、先の例の
ように一部の形状サイズを変更したときにコストがどう
変わるかを瞬時に把握することができるのである。この
ようなときコストの値のような形状ではない情報は、形
状データ1に付属している表の項目に対応する形状デー
タ2のデータを使用すると便利である。図面上に部品表
を配置しその中のコストの欄が形状の変更と共に変化す
るように設定できるのである。また設計上のチェック項
目の判定に使用することもできる。設計ではこうしては
ならないというルールが多数存在する。これの解決方法
までルール化できる場合にはそれを組み込めばよいが、
それができない場合でも以下の方法で利用できる。禁止
条件が成立していたら文字列形式のエラーのメッセージ
となり、成立していなかったら長さ0の文字列となる計
算式を作成し、それを表項目などの表示内容に対応付け
ておくと、問題があるときにはエラーメッセージが表示
されそれが解消されるとメッセージが消える。
It should be noted that it is not only the shape data that changes as a result.
The items determined by the design are not limited to the shape. For example, there are items that do not appear as a difference in shape, such as the material of the bolt and the part number in this example. Such information is important when the design results are used for manufacturing, inspection, material procurement, and the like. Using the present invention, such information can be examined in a form associated with the shape. The simplest example is cost calculation. Cost is not determined solely by numerical data such as size and weight. If the material changes, it will change greatly, and if standard parts are used, it will be cheaper, but if special parts with slightly different specifications are used, the price will be very high. Utilizing the present invention, this can be very easily examined while confirming the shape. In other words, the cost calculation process is expressed as a calculation formula,
If the results are displayed on the screen, it is possible to instantly grasp how the cost changes when a part of the shape size is changed as in the above example. In such a case, it is convenient to use the data of the shape data 2 corresponding to the items of the table attached to the shape data 1 for the information having no shape such as the cost value. A parts list can be arranged on the drawing, and the cost column in the parts list can be set so as to change as the shape is changed. It can also be used to determine design check items. There are a number of rules that this should not be done in design. If you can formulate a solution to this, you can incorporate it,
Even if that is not possible, it can be used in the following ways. If a prohibition condition is satisfied, an error message in the form of a character string will be displayed. An error message is displayed when there is a problem, and disappears when the problem is solved.

【0054】本実施例では属性の項目を表現するデータ
と属性の値を表現するデータを分離しているが、本発明
はこれに限定されるものではない。操作方法は本実施例
とは多少異なるが、属性の保存領域を確保し値を入力す
るときに項目を同時に定義してもよい。本実施例で項目
と値のデータを分離したのは、以下の理由による。各種
の属性データは人間が画面で参照することもあるが計算
機プログラムで参照することもある。人間が参照するの
であれば例えば「材質」と「材料」は同一の項目である
と判断することができるが、計算機プログラムが参照す
る場合には容易にこれが同一であることを知ることはで
きない。そこで属性項目はあらかじめあるルールにした
がって決めておき、値には後で何でも入れられるという
利用方法を想定したのである。一般に設計部署において
CADシステムを利用する場合にはCADシステムの取
り纏めを行う人がいることが多い。そこでこのような場
合計算機プログラムで参照する可能性の高い属性につい
ては取り纏め者があらかじめ項目を設定しておき、設計
者がそれに従って属性の値を入力するのである。こうし
ておけば「材質」という属性の項目が既に存在するのに
あえて「材料」という属性の項目を新規に定義してそこ
に値を入力する人はいないであろうから、計算機プログ
ラムは「材質」という項目のみを参照すれば十分であ
る。もちろんこの場合にもあらかじめ定義されている項
目以外の項目を設計者が定義することは可能である。
In the present embodiment, the data expressing the attribute item and the data expressing the attribute value are separated, but the present invention is not limited to this. Although the operation method is slightly different from that of the present embodiment, items may be defined at the same time when an attribute storage area is secured and a value is input. The reason for separating the item and value data in this embodiment is as follows. Various types of attribute data may be referred to by a human on a screen or by a computer program. For example, if a human refers, it is possible to judge that “material” and “material” are the same item, but when a computer program refers to it, it is not easy to know that they are the same. Therefore, the attribute item was determined in advance according to a certain rule, and a usage method in which anything could be entered later in the value was assumed. Generally, when a CAD department is used in a design department, there are many people who coordinate the CAD system. Therefore, in such a case, the coordinator sets items in advance for attributes that are likely to be referred to by the computer program, and the designer inputs the attribute values accordingly. In this way, although there is already an item with the attribute "material", no one will dare define a new item with the attribute "material" and enter a value there. It is enough to refer only to the item. Of course, also in this case, it is possible for the designer to define items other than the items defined in advance.

【0055】次に本実施例における記憶装置中のデータ
の構造について説明する。
Next, the structure of data in the storage device in this embodiment will be described.

【0056】形状データ1は従来より広く使用されてい
る境界表現形式のソリッドモデルという設計支援装置の
分野ではごく一般的な構造を使用している。この内容は
例えば千代倉弘明著ソリッドモデリング(株式会社工業
調査会発行)127ページないし131ページに示され
ている。
The shape data 1 uses a very common structure in the field of a design support apparatus called a solid model in a boundary representation format that has been widely used in the past. This content is shown, for example, on pages 127 to 131 of Solid Modeling (published by the Industrial Research Institute, Inc.) by Hiroaki Chiyokura.

【0057】図21は形状データ2及び属性データの構
造の概要を示したものである。形状データ2及び属性デ
ータは属性項目(以下フレーム、またはフレームセルと
呼ぶ),属性(以下インスタンス、またはインスタンス
セルと呼ぶ),属性値(以下データまたはデータセルと
呼ぶ)によって構成している。また形状データ1と対応
を取るために形状−属性インタフェースを用いている。
本実施例では既存の形状データおよびそれを扱うシステ
ムにデータを付加したため、既存の形状データの構造を
変更することができなかった。そこでインタフェースの
ためのデータを設けたのである。ただし本発明は形状デ
ータと属性データの対応関係の表現の方法を限定するも
のではないので、本方式によってもよいし直接形状デー
タと属性データをポインタ等で接続してもよい。既存シ
ステムのデータと本発明のデータの言葉の対応は、既存
システムの形状データが形状データ1に相当し、付加デ
ータのうち名称が「形状特性」以下となっている形状デ
ータ1に対応する部分のフレーム及びインスタンス及び
それに繋がるデータが形状データ2に相当し、その他の
部分が属性データに対応する。
FIG. 21 shows an outline of the structure of the shape data 2 and the attribute data. The shape data 2 and the attribute data are composed of attribute items (hereinafter, referred to as frames or frame cells), attributes (hereinafter, referred to as instances or instance cells), and attribute values (hereinafter, referred to as data or data cells). Further, a shape-attribute interface is used to correspond to the shape data 1.
In this embodiment, since the data is added to the existing shape data and the system that handles the same, the structure of the existing shape data cannot be changed. Therefore, data for the interface was provided. However, since the present invention does not limit the method of expressing the correspondence between the shape data and the attribute data, this method may be used, or the shape data and the attribute data may be directly connected by a pointer or the like. The correspondence between the data of the existing system and the words of the data of the present invention is that the shape data of the existing system corresponds to the shape data 1 and the portion of the additional data corresponding to the shape data 1 whose name is “shape characteristic” or less. The frame and the instance and the data connected thereto correspond to the shape data 2, and the other portions correspond to the attribute data.

【0058】属性項目データ(フレーム)は、例えば図
9(b)に示すような内容を記録するものである。図2
1では属性の1つの項目を1つの円で表現している。属
性項目は階層化しておりその親子関係は太線のように表
現できる。また各項目に記録するデータの形式は黒塗り
長方形で示しているデータセルによって表現している。
データセルは本来属性データの値を表現するためのもの
であるが、データの形式も合わせて記録しているので、
データの形式としての表現能力もあり、フレームのデー
タ形式の記録にこれを用いている。データセルの構造に
ついては後述する。ただし本発明はフレームのデータ形
式の記録方法を限定するものではない。またこのデータ
セルの中にデフォルトの値、すなわち新規に属性を作成
したときに初期値として与える値を記録しておくことも
可能である。特に本実施例のようにフレームのデータ形
式の記録にデータセルを用いていると、形式と共に値も
記録できるので、データ領域の無駄がない。さらに属性
の記録領域の確保に際してこのデータを複写するのみで
実際の値の設定も行うことができる。フレームデータは
特定の形状データに対応するものではないので、直接的
な形状データとの関係はない。
The attribute item data (frame) records the contents as shown in FIG. 9B, for example. FIG.
In 1, one item of the attribute is represented by one circle. Attribute items are hierarchized, and their parent-child relationship can be expressed as a bold line. The format of data recorded in each item is represented by data cells indicated by black rectangles.
The data cell is originally for expressing the value of attribute data, but since the data format is also recorded,
It also has the expressive ability as a data format, which is used to record the frame data format. The structure of the data cell will be described later. However, the present invention does not limit the recording method of the frame data format. In this data cell, a default value, that is, a value given as an initial value when a new attribute is created can be recorded. In particular, when the data cell is used for recording the data format of the frame as in this embodiment, the value can be recorded together with the format, so that the data area is not wasted. Further, when the attribute recording area is secured, the actual value can be set only by copying this data. Since the frame data does not correspond to specific shape data, there is no direct relationship with the shape data.

【0059】属性データ(インスタンス)は、定義され
た属性項目の、特定の形状データに対応する値を管理す
るものである。例えば図11において「締結力」の属性
データの記録場所の確保を行っているが、これはあらか
じめ定義した属性項目「締結力」について、#m01と
いう番号の形状データに関する属性値を記録しようとし
ているのである。そこでインスタンスデータは、フレー
ムの該当する項目と形状データを関係付けるものと位置
付けられる。従って図21において三角形で示したイン
スタンスデータは、形状データから形状−属性インタフ
ェースを介して伸びる親子関係の線と、同じ項目のフレ
ームとインスタンスを関係付ける破線との交差する場所
に位置している。項目の名前はインスタンスには記録せ
ずすべてフレームで管理しているため、フレームの存在
しないイスンタンスは生成することができず、この結果
形状データから見たインスタンスの階層木は、フレーム
の階層木と同型またはその一部の形となっている。すべ
ての項目に値を設定すればこの木はフレームの木と同型
になるが、一部の項目にしか値を設定していない状態で
は部分木となる。
The attribute data (instance) manages a value corresponding to specific shape data of a defined attribute item. For example, in FIG. 11, the recording place of the attribute data of “fastening force” is secured, but this is to record the attribute value of the shape data of number # m01 for the predefined attribute item “fastening force”. It is. Therefore, the instance data is positioned to associate the corresponding item of the frame with the shape data. Therefore, the instance data indicated by a triangle in FIG. 21 is located at a position where a parent-child relationship line extending from the shape data via the shape-attribute interface intersects a broken line relating the frame of the same item to the instance. Since the names of items are not recorded in the instance but are all managed by frames, it is not possible to generate an instance without a frame.As a result, the hierarchical tree of the instance viewed from the shape data is the same as the hierarchical tree of the frame. It has the same shape or a part of it. If values are set for all items, this tree will be the same type as the frame tree, but if only some items have values set, they will be subtrees.

【0060】属性値データ(データセル)は、属性デー
タの形式と値を記録するものである。本実施例において
はデータセルはフレームにおけるデータ形式の表現とイ
ンスタンスにおける属性値の値そのものを表現するため
に使用している。図16において1つのデータセルは1
つの黒塗り長方形で表している。インスタンスにつなが
る場合には、設計途中で属性値が完全に決まらない場合
のことを考慮して複数の値を複数案として記録できるよ
うにしている。
The attribute value data (data cell) records the format and value of the attribute data. In this embodiment, the data cells are used to represent the data format in the frame and the attribute value itself in the instance. In FIG. 16, one data cell is 1
It is represented by two black rectangles. When connecting to an instance, a plurality of values can be recorded as a plurality of alternatives in consideration of a case where an attribute value is not completely determined during design.

【0061】フレームセルの詳細を図22に示す。フレ
ームセルはこの図の左側長方形の中に示す13項目のデ
ータから構成している。各欄の左側に書いた記号は、P
がポインタ形式,Fがフラグ(1ビットの選択デー
タ),数字がデータの長さ(バイト長)を示している。
名称はフレームの項目名を記録する領域であり、ポイン
ト先に文字列領域を用意してそこに実際の名称を記録し
ている。親ポインタ種類と親ポインタは、当該フレーム
の親を示すデータである。属性項目階層の中で当該フレ
ームが最上階層の場合親フレームは存在しないので親ポ
インタ種類に最上階層であることを記録し、親ポインタ
の欄に対応する形状データの種類(点,線,面などの区
別)を記録する。親フレームが存在する場合は親ポイン
タ種類にその旨記録し、親ポインタの欄に親フレームへ
のポインタを記録する。子ポインタには複数存在する可
能性のある子のフレームのうちの任意の1つの子フレー
ムへのポインタを記録する。兄弟ポインタには同一の親
フレームを有する兄弟のフレームへのポインタを記録す
る。兄弟ポインタは全ての兄弟を回って元に戻るポイン
タループを形成する。先の子ポインタと子フレームの兄
弟ポインタを利用することによって任意のフレームから
全ての子フレームを辿ることができる。インスタンスリ
ストは、同一の項目のインスタンスをつなぐリストであ
る。データ型はデータセルへのポインタであり、ポイン
ト先のデータセルが当該フレームのデータ形式を表す。
データセルの構造は後述する。式は計算式形式の拘束デ
ータの記録場所である。計算式は文字列として表現す
る。フレーム中の式は、インスタンスリストにつながる
すべてのインスタンスに式を記録する代わりに代表させ
て記録しているものである。データ量や変更の手間を考
えないならばフレーム中で式を記録する必要はない。プ
ライオリティはデータのアクセス制限のためのデータの
記録場所である。前に述べたように、属性項目と属性値
の操作者が異なるような運用法を選択する場合に属性項
目の設定変更の許諾管理を行うためのデータである。f
rame saveフラッグはデータの保存時に当該フ
レームのデータを保存するかしないかを記録している。
instance save フラッグはデータの保存時に当該フレー
ムと同一の項目名のインスタンスデータを保存するかし
ないかを記録している。case式フラッグおよびcase式
は、条件によって当該フレームを有効または無効にする
ための条件式を記録するためのものである。一般にはca
se式の部分に条件式を記録するが、同一の条件式を異な
るフレームで使用する場合、case式フラッグに特別の値
を設定して、case式領域にcase式の同一であるフレーム
へのポインタを記録する。
FIG. 22 shows details of the frame cell. The frame cell is composed of 13 items of data shown in the left rectangle in FIG. The symbol written on the left of each column is P
Indicates a pointer format, F indicates a flag (1 bit selection data), and a number indicates a data length (byte length).
The name is an area for recording the item name of the frame, and a character string area is prepared at the point where the actual name is recorded. The parent pointer type and the parent pointer are data indicating the parent of the frame. If the frame is the top layer in the attribute item hierarchy, there is no parent frame, so the parent pointer type is recorded as the top layer, and the type of shape data (point, line, surface, etc.) corresponding to the parent pointer column is recorded. Record). If a parent frame exists, the fact is recorded in the parent pointer type, and a pointer to the parent frame is recorded in the parent pointer column. The child pointer records a pointer to any one of the child frames that may exist. The sibling pointer records a pointer to a sibling frame having the same parent frame. The sibling pointer forms a pointer loop around all siblings and back. By using the previous child pointer and the sibling pointer of the child frame, all child frames can be traced from an arbitrary frame. The instance list is a list that connects instances of the same item. The data type is a pointer to a data cell, and the data cell at the point indicates the data format of the frame.
The structure of the data cell will be described later. The expression is the recording location of the constraint data in the form of a calculation expression. The calculation formula is expressed as a character string. The expressions in the frame are recorded on behalf of all instances connected to the instance list instead of recording the expressions. It is not necessary to record the formula in the frame unless you consider the amount of data and the hassle of changing. The priority is a data recording location for restricting data access. As described above, this is data for performing permission management of setting change of the attribute item when selecting an operation method in which the operator of the attribute item and the attribute value are different. f
The frame save flag records whether or not the data of the frame is stored when the data is stored.
The instance save flag records whether or not to save instance data having the same item name as the frame when the data is saved. The case expression flag and the case expression are for recording a conditional expression for validating or invalidating the frame depending on conditions. Generally ca
If a conditional expression is recorded in the se expression part but the same conditional expression is used in different frames, set a special value in the case expression flag, and set a pointer to the frame with the same case expression in the case expression area. Record

【0062】インスタンスセルの詳細を図23に示す。
インスタンスセルはこの図の左側長方形の中に示す15
項目のデータから構成している。ID#にはインスタン
スセルを特定するための番号を記録している。親ポイン
タ種類と親ポインタは、当該インスタンスの親を示すデ
ータである。インスタンスの階層の中で当該セルが最上
階層の場合親セルは存在しないので親ポインタ種類に最
上階層であることを記録し、親ポインタの欄に対応する
形状データへのインタフェースセルへのポインタを記録
する。親セルが存在する場合は親ポインタ種類にその旨
記録し、親ポインタの欄に親インスタンスへのポインタ
を記録する。子ポインタには複数存在する可能性のある
子のインスタンスのうちの任意の1つの子インスタンス
へのポインタを記録する。兄弟ポインタには同一の親イ
ンスタンスを有する兄弟のインスタンスへのポインタを
記録する。兄弟ポインタは全ての兄弟を回って元に戻る
ポインタループを形成する。先の子ポインタと子インス
タンスの兄弟ポインタを利用することによって任意のイ
ンスタンスから全ての子インスタンスを辿ることができ
る。フレームセルポインタは項目名の同一のフレームセ
ルへのポインタである。インスタンスリストは、フレー
ムセルからつながった同一の項目のインスタンスをつな
ぐリストの中の1つのポインタである。データセルリス
トは属性の値のリストに接続される。データセルが1つ
でなくて複数の可能性があるのは、設計途中で複数の案
が存在する場合にそれをそのまま記録するためである。
ここに記録されるデータの形式は対応するフレームで決
まっており、リスト中のすべてのデータセルのデータ形
式は同一である。データセルの構造は後述する。式は計
算式形式の拘束データの記録場所である。計算式は文字
列として表現する。式はフレームとインスタンスの両方
に記録可能である。1つのインスタンスから見ると式は
当該インスタンス中の式が優先的に適用され、それが存
在しない場合に対応するフレーム中の式が適用される。
それも存在しない場合には式は存在しないと解釈され
る。プライオリティはデータのアクセス制限のためのデ
ータの記録場所である。saveフラッグはデータの保存時
に当該フレームと同一の項目名のインスタンスデータを
保存するかしないかを記録している。case式評価値は、
対応するフレーム中のcase式を演算評価した結果を記録
している場所であり、この種が真偽値の場合、当該イン
スタンスは存在しないものと扱われる。また任意のイン
スタンス中の値が偽相当の場合、そのインスタンスの
子,孫等の子孫に相当するインスタンスはすべて存在し
ないものとして扱われる。有効フラッグは上記の子孫か
どうかも判断したうえで当該インスタンスが有効か無効
かを判定するデータが記録される。逆ポインタリスト
は、当該インスタンスが他のインスタンスのポインタ型
データ(インスタンスや形状データを指し示す型のデー
タ)によって指示されている場合に反対向きのポインタ
を記録しておくためのものである。当該インスタンスを
削除する際にポイントデータのメインテナンスするため
に利用する。被参照ポインタリストは、当該インスタン
スの属性値を参照している式を有するインスタンスへの
ポインタである。当該インスタンスの値が変更された場
合、その値を使用している式の再計算を行うために使用
する。
FIG. 23 shows details of the instance cell.
The instance cell is shown in the left rectangle of this figure.
Consists of item data. The ID # records a number for specifying the instance cell. The parent pointer type and the parent pointer are data indicating the parent of the instance. If the cell is the top layer in the instance hierarchy, there is no parent cell, so the parent pointer type is recorded as the top layer, and the pointer to the interface cell to the shape data corresponding to the parent pointer column is recorded in the parent pointer column. I do. If a parent cell exists, the fact is recorded in the parent pointer type, and a pointer to the parent instance is recorded in the parent pointer column. In the child pointer, a pointer to an arbitrary one child instance of a plurality of possible child instances is recorded. The sibling pointer records a pointer to a sibling instance having the same parent instance. The sibling pointer forms a pointer loop around all siblings and back. By using the previous child pointer and the sibling pointer of the child instance, all child instances can be traced from an arbitrary instance. The frame cell pointer is a pointer to a frame cell having the same item name. The instance list is one pointer in a list that connects instances of the same item connected from the frame cell. The data cell list is connected to a list of attribute values. The reason why there may be a plurality of data cells instead of one is that if there are a plurality of plans in the middle of design, they are recorded as they are.
The format of the data recorded here is determined by the corresponding frame, and the data format of all data cells in the list is the same. The structure of the data cell will be described later. The expression is the recording location of the constraint data in the form of a calculation expression. The calculation formula is expressed as a character string. Expressions can be recorded in both frames and instances. From the viewpoint of one instance, the expression in the instance is preferentially applied to the expression, and when it does not exist, the expression in the corresponding frame is applied.
If it does not exist, the expression is interpreted as nonexistent. The priority is a data recording location for restricting data access. The save flag records whether or not to save instance data having the same item name as the frame when the data is saved. The case expression evaluation value is
This is the place where the result of calculating and evaluating the case expression in the corresponding frame is recorded. If this type is a boolean value, the instance is treated as not existing. If the value in an arbitrary instance is false, all instances corresponding to descendants such as children and grandchildren of the instance are treated as not existing. The valid flag records data for determining whether the instance is valid or invalid after determining whether the instance is a descendant. The reverse pointer list is for recording a pointer in the opposite direction when the instance is specified by pointer type data (data of a type indicating an instance or shape data) of another instance. It is used to maintain point data when deleting the instance. The referenced pointer list is a pointer to an instance having an expression referring to the attribute value of the instance. When the value of the instance is changed, it is used to recalculate the expression using the value.

【0063】データセルの詳細を図24に示す。データ
セルは大きく3項目のデータから構成している。データ
型にはデータの形式を特定するための情報を記録してい
る。本実施例においてはデータ型として整数型,実数
型,文字列型,記号型,ポインタ型,enum型(列挙
型),レコード型,集合型,リスト型,配列型を用意し
ているその内整数型からenum型まではそれ自体で完結し
た単純型であり、レコード型から配列型はその型の要素
として他の型を使用する複合型である。nextは複数案値
をつなぐときに次のデータセルを指し示すポインタを記
録する領域である。コンテンツには表現するべき値を記
録する。その内部の形式はデータ型によって異なってい
る。以下、各データ型ごとの詳細な構造を説明する。
FIG. 24 shows details of the data cell. The data cell is mainly composed of three items of data. The data type records information for specifying the data format. In this embodiment, integer types, real types, character types, symbol types, pointer types, enum types (enumeration types), record types, set types, list types, and array types are prepared as data types. From types to enum types are simple types that are complete on their own, and record types to array types are complex types that use other types as elements of that type. Next is an area for recording a pointer pointing to the next data cell when connecting multiple alternative values. The value to be expressed is recorded in the content. Its internal format depends on the data type. Hereinafter, a detailed structure for each data type will be described.

【0064】整数型の場合、コンテンツには整数の値そ
のものが2進数として記録される。実数型の場合、コン
テンツには実数の値そのものが浮動小数点型2進数とし
て記録される。文字列型の場合、コンテンツには文字数
と文字列領域へのポインタが記録される。記号型とは計
算機言語Lispのシンボルに相当するものであり、同一の
名称を有する項目を1つにまとめて記録したものであ
る。記号型の場合、コンテンツには記号テーブルへのポ
インタが記録される。記号そのものは同一のものの検索
を容易にするために2進木形式で管理している。ポイン
タ型は形状データの要素または他の属性データを指し示
すポインタデータを表現するものである。ポインタ型の
場合、コンテンツにはポイント先の要素が形状データな
のか属性データなのかを区別する情報と、ポインタその
ものが記録される。enum型(列挙型)は列挙した項目の
なかから1つを選択するデータを表現するものである。
コンテンツには列挙項目を記録したテーブルへのポイン
タと、選択された項目の番号とが記録される。レコード
型は異なる形式のデータに名称を付けて組として表現す
るデータである。コンテンツには構成データの名称とデ
ータ型と値を記録する領域へのポインタを記録する。集
合型の場合、各要素を表現するデータセルへのポインタ
を記録する。要素には同一の値の要素を複数含むことは
できない。また接続順序には意味がない。リスト型の場
合、各要素を表現するデータセルへのポインタを記録す
る。要素には同一の値の要素を複数含むことができ、し
かも要素の接続順序が意味を持つ。配列型は同一のデー
タ型を有する複数のデータを扱う型である。次元の制限
はない。
In the case of the integer type, an integer value itself is recorded in the content as a binary number. In the case of the real number type, the real value itself is recorded as a floating point type binary number in the content. In the case of a character string type, the content records the number of characters and a pointer to a character string area. The symbol type is equivalent to a symbol of the computer language Lisp, and is a record in which items having the same name are grouped together. In the case of the symbol type, a pointer to a symbol table is recorded in the content. The symbols themselves are managed in a binary tree format to facilitate retrieval of the same. The pointer type expresses pointer data indicating an element of shape data or other attribute data. In the case of the pointer type, information for discriminating whether the element at the point point is shape data or attribute data and the pointer itself are recorded in the content. The enum type (enumeration type) expresses data for selecting one of the listed items.
In the content, a pointer to a table in which enumerated items are recorded and the number of the selected item are recorded. The record type is data that is given as a set by giving names to different types of data. In the content, a pointer to an area for recording the name, data type, and value of the configuration data is recorded. In the case of a set type, a pointer to a data cell expressing each element is recorded. An element cannot contain more than one element with the same value. Also, the order of connection is meaningless. In the case of a list type, a pointer to a data cell representing each element is recorded. An element can include a plurality of elements having the same value, and the connection order of the elements is significant. The array type handles a plurality of data having the same data type. There is no dimension limit.

【0065】次に本実施例の設計支援装置の内部処理手
順について説明する。本発明においては、どこか1つの
データが入力または変更されると、拘束条件を満たすよ
うに他のデータが自動的に変更され、常時すべての拘束
条件を満たすようにデータを管理している。何らかの理
由でそれが満たされない場合には、その満たされなくな
る理由を記録しておき、満たすことが必要となった時点
でその記録を見て対処すればすべてのデータをチェック
しなくても済むようにしている。条件を満たさない理由
は3種類ある。
Next, the internal processing procedure of the design support apparatus of this embodiment will be described. In the present invention, when any one data is input or changed, the other data is automatically changed so as to satisfy the constraint condition, and the data is constantly managed so as to satisfy all the constraint conditions. If for some reason it is not fulfilled, record the reason for not being fulfilled, so that when it becomes necessary to look at the record and take action, it is not necessary to check all data I have. There are three reasons why the conditions are not met.

【0066】第1の理由はデータの表現に誤りがあって
データの解釈ができない場合、数値演算で0で割る計算
や負の数の平方根といった演算不可能なことが起こった
場合、参照先のデータが存在しない場合等の、エラーの
場合である。このときはそのエラーを起こしたインスタ
ンスをエラーリストに蓄える。
The first reason is that if the data cannot be interpreted due to an error in the representation of the data, or if an operation that cannot be performed such as a calculation by a numerical operation divided by 0 or a square root of a negative number occurs, This is the case of an error such as when no data exists. At this time, the instance that caused the error is stored in the error list.

【0067】第2の理由は以下の内容である。対話的に
操作を行うにあたりそれぞれの変更の影響範囲が大きい
とその変更に時間がかかって応答性が悪くなる。そこで
本実施例では影響による変更を行う処理を一時止めてま
とめて変更を指示し、後でまとめて自動変更を行うとい
う処理を行うことができる。このときはその途中で一時
止めた処理を実行するために必要な情報を未処理リスト
に蓄える。このとき一時的に処理を止めている状態を遅
延モード,毎回すべての変更処理を行う状態を即時モー
ドと呼ぶ。本実施例では、処理の遅延は、形状データ2
の変更に基づいて形状データ1を変更する処理と、形状
データ2及び属性データの値が変更されたときに拘束デ
ータに従って他の形状データ2及び属性データを変更す
る処理に関して行っている。ただし本発明は遅延処理を
これらの処理に関してのみ行うように限定するものでは
なく、これ以外に形状データ1の変更に基づいて形状デ
ータ1を変更する処理に適用することもできる。また遅
延,即時の制御をこれらの各処理について一律にまとめ
て行うか、各処理ごとに遅延,即時を制御するかを限定
するものでもない。
The second reason is as follows. If the range of influence of each change is large in performing the operation interactively, the change takes time and the responsiveness deteriorates. Therefore, in this embodiment, it is possible to temporarily stop the process of performing the change due to the influence, instruct the change at once, and then perform the automatic change later. At this time, information necessary for executing the process temporarily stopped in the middle is stored in the unprocessed list. At this time, a state in which the processing is temporarily stopped is called a delay mode, and a state in which all the change processing is performed every time is called an immediate mode. In this embodiment, the processing delay is determined by the shape data 2
And the process of changing the other shape data 2 and attribute data according to the constraint data when the values of the shape data 2 and attribute data are changed when the values of the shape data 2 and attribute data are changed. However, the present invention is not limited to performing the delay process only for these processes, and may be applied to a process of changing the shape data 1 based on the change of the shape data 1. Further, there is no limitation as to whether the delay and the immediate control are uniformly performed for each of these processes or whether the delay and the immediate control are performed for each process.

【0068】第3の理由は以下の内容である。一時的に
特定の拘束データを無効にして、その拘束の影響を見た
いことがある。本実施例では拘束データはすべて計算式
の形式で表現されているので、計算結果を設定するべき
インスタンスに一時的に計算結果と異なる値を強制的に
設定するとその計算式即ち拘束データを無効にしたこと
になる。このとき無効にした計算式を後で再度有効にす
るために、この計算式を保存しているインスタンスを値
の仮設定リストに保存している。
The third reason is as follows. Sometimes you want to temporarily override certain constraint data and see the effect of that constraint. In this embodiment, the constraint data is all expressed in the form of a calculation formula. Therefore, if a value different from the calculation result is forcibly set temporarily in the instance where the calculation result is to be set, the calculation formula, that is, the constraint data is invalidated. It will be done. In order to make the calculation formula invalidated at this time valid again later, the instance storing this calculation formula is stored in a temporary setting list of values.

【0069】いずれにしても最終的にはすべての条件を
満たすように各データを自動変更することになる。この
処理は多方面に影響し、ある場合には元の変更箇所へま
で影響が戻ってくる。このとき拘束データに矛盾があれ
ば次々と異なる値を設定しようとして値伝播処理が永久
に終わらない可能性がある。そこで本実施例では次のよ
うな2つの方法で拘球データの矛盾を検出している。
In any case, each data is finally automatically changed so as to satisfy all the conditions. This process affects many aspects, and in some cases, the effect returns to the original changed part. At this time, if there is an inconsistency in the constraint data, there is a possibility that the value propagation process will not be completed forever trying to set different values one after another. Therefore, in this embodiment, inconsistency in the custody data is detected by the following two methods.

【0070】第1の方法は、拘束データである計算式の
入出力関係がループ状に構成されていることを検出する
方法である。例えばaの値を入力としbの値を出力とす
る計算式と、bの値を入力としaの値を出力とする計算
式が存在する場合、a→b→aというループが存在する
ので値伝播が無限に止らなくなる可能性がある。これに
対してaの値を入力としbの値を出力とする計算式と、
bの値を入力としcの値を出力とする計算式しか存在し
なければ値伝播のルートはa→b→aしかなく、計算は
必ず止る。
The first method is a method for detecting that the input / output relationship of the calculation formula, which is the constraint data, is formed in a loop. For example, if there is a calculation formula in which the value of a is input and the value of b is output, and a calculation formula in which the value of b is input and the value of a is output, there is a loop a → b → a Propagation may not stop indefinitely. On the other hand, a calculation formula in which the value of a is input and the value of b is output,
If there is only a calculation formula that inputs the value of b and outputs the value of c, the value propagation route is only a → b → a, and the calculation always stops.

【0071】第2の方法は、第1の計算式の出力結果が
計算以前の値と異なる場合のみ第1の出力結果を参照す
る第2の計算式の計算を行い、1箇時のデータ変更に基
づく計算回数をカウントし、あらかじめ定めた回数以上
の計算回数に達したときに最後に変更したデータの矛盾
があると判定する方法である。この方法では、第1の手
段では矛盾の可能性ありと判定される。拘束条件式が以
下のような場合にも矛盾なしと判定することができる。
In the second method, only when the output result of the first formula is different from the value before the calculation, the second formula is calculated by referring to the first output result, and the data is changed one time. Is a method of counting the number of calculations based on, and determining that there is inconsistency in the last changed data when the number of calculations reaches a predetermined number of times or more. In this method, the first means determines that there is a possibility of contradiction. It can be determined that there is no contradiction even when the constraint condition expression is as follows.

【0072】a=b+2 a=b−2 本実施例では以上2種類の方法を組み合わせて矛盾検出
を行っている。まずユーザが拘束データである計算式を
入力,変更したとき、第1の方法で判定を行う。このと
きループ無しと判定されれば矛盾はないことになる。し
かしループがあっても必ずしも矛盾があるとは限らない
ので、このときはユーザに対して矛盾の可能性ありとの
警告を発するのみとする。次に第2の方法で検出を行
い、この方法で矛盾ありと判定された場合のみ矛盾があ
ると最終判断し、矛盾を解消するように形状データ,属
性データ,拘束データのいずれかを変更するようユーザ
に指示する。
A = b + 2 a = b-2 In this embodiment, the above two methods are combined to detect inconsistency. First, when the user inputs or changes the calculation formula that is the constraint data, the determination is made by the first method. At this time, if it is determined that there is no loop, there is no contradiction. However, even if there is a loop, it does not always mean that there is a contradiction, and in this case, only a warning is issued to the user that there is a possibility of contradiction. Next, detection is performed by the second method, and only when it is determined that there is inconsistency by this method, it is finally determined that there is inconsistency, and any one of the shape data, attribute data, and constraint data is changed so as to eliminate the inconsistency. To the user.

【0073】以上述べた処理内容を詳細に説明するに
は、先の設計例では問題が複雑すぎるので、図25ない
し図27に示すようなもっと簡単な例を使用する。この
例は、図25に示すような直方体状の部品を対話操作に
よって作成し、寸法を定義し、次に体積を設計仕様値と
して与え、この直方体の体積が仕様値の体積と同一にな
るように右側の面s5を移動させ、最後にそのときの直
方体全体の表面積を求めるというものである。
In order to explain the above processing contents in detail, a simpler example as shown in FIGS. 25 to 27 will be used because the problem is too complicated in the above-mentioned design example. In this example, a rectangular parallelepiped part as shown in FIG. 25 is created by an interactive operation, dimensions are defined, and then a volume is given as a design specification value so that the volume of this rectangular parallelepiped becomes the same as the specification value volume. Then, the right surface s5 is moved, and finally the surface area of the entire rectangular solid at that time is obtained.

【0074】まず直方体の形状データは、多くの従来の
設計支援装置と同様に対話的に入力する。具体的には例
えばコマンドで直方体作成を選択し、3辺の長さを入力
する。次にやはり多くの従来の設計支援装置と同様に対
話的に寸法を定義する。このとき内部データとしては図
26左半分に示すような形状データ1が生成される。こ
のデータは1つの部品,1つの寸法,6つの面,12の
線,8つの点のデータに区分されて記録される。図26
にはこの一部を示している。ただし本形式は本発明を限
定するものではない。例えば面,線,点のデータを幾何
情報を表現する部分と位相情報を表現する部分とにさら
に区分してもよいし、これ以外に殻(シェル)データ,
面ループデータ等を用いてもよい。このデータの作成方
法は非常に一般的であって、例えば千代倉弘明著ソリッ
ドモデリング(株式会社工業調査会発行)に示されてい
る。
First, the shape data of a rectangular parallelepiped is interactively input like many conventional design support devices. Specifically, for example, a rectangular parallelepiped creation is selected by a command, and the lengths of three sides are input. Next, dimensions are interactively defined, as in many conventional design support apparatuses. At this time, shape data 1 as shown in the left half of FIG. 26 is generated as internal data. This data is recorded by being divided into data of one part, one dimension, six surfaces, twelve lines, and eight points. FIG.
Shows a part of this. However, this form does not limit the present invention. For example, surface, line, and point data may be further divided into a part that expresses geometric information and a part that expresses topological information.
Surface loop data or the like may be used. The method of creating this data is very general, and is shown, for example, in Solid Modeling by Hiroaki Chiyokura (published by the Industrial Research Institute, Inc.).

【0075】本実施例においては形状情報は部品,面,
線,点等の形状要素の単位で表現しており、それに対応
して属性データもこれらの形状要素に対応付けて記録す
るようになっている。しかし本発明は属性データの記録
管理方法をこれに限定するものではない。
In this embodiment, the shape information includes parts, surfaces,
Expressed in units of shape elements such as lines and points, attribute data is recorded in association with these shape elements. However, the present invention does not limit the recording management method of the attribute data to this.

【0076】まず考えられるのは形状要素と対応しない
属性である。設計仕様や設計対象装置の使用環境などの
情報は特に形状データと対応付ける必要はないので、形
状データとは独立に記録,保存することが考えられる。
さらには、例えばシリーズ製品で共通的に有効な情報の
ような、複数の製品に共通的な属性もありうる。この場
合には設計対象品のデータを複数の製品についてグルー
プ化し、そのグループに対して属性を付けるといったこ
とも考えられる。
First, attributes that do not correspond to shape elements are considered. Information such as design specifications and the use environment of the device to be designed does not need to be particularly associated with the shape data.
Further, there may be attributes common to a plurality of products, such as information that is commonly valid for series products. In this case, it is conceivable to group the data of the product to be designed for a plurality of products and attach an attribute to the group.

【0077】また形状情報を位相情報と幾何情報に分け
て、それぞれに別々の属性データを付加することも考え
られる。形状の位相情報とは形状要素が相対的にどのよ
うな位置関係にあるか、例えばある面がどの線,点に囲
まれているか、またある線の両側にはどの面があるかと
いった情報であり、幾何情報とは各形状要素の位置や
形、例えば点の座標値,線や面の種類,半径,方向とい
った情報である。
It is also conceivable to divide the shape information into phase information and geometric information, and to add different attribute data to each. Topological information of the shape is information such as the relative positional relationship of the shape elements, such as which lines and points surround a certain surface, and which surfaces are on both sides of a certain line. The geometric information is information such as the position and shape of each shape element, for example, coordinate values of points, types of lines and surfaces, radii, and directions.

【0078】本実施例においては、これ以外に形状デー
タ1に対応する形状データ2が生成される。図26の右
半分のうち、「形状特性」のセルから右側に繋がってい
る部分が形状データ2である。ただし一部のみを示して
いる。すなわち形状データ1としての部品データp1に
対応させて形状データ2としての部品データ「#p
1」,「形状特性」,「名称」,「“直方体”」が生成
され、形状データ1としての寸法データd1に対応させ
て形状データ2としての寸法データ「#d1」,「形状
特性」,「寸法値」,「100」が生成されるといった
具合である。ただし、本実施例においては形状データ2
の生成時期は以下の3種類から選択することができる。
形状データ1が生成されたとき、ユーザが生成するよう
指示したとき、関係する拘束データが入力されたときの
3種類である。ここではいずれかの方法が選択されてい
て必要な指示が与えられ、図26に示すようなデータが
指示にしたがって生成されていると仮定する。また計算
式は入力されていないものとする。
In this embodiment, other than this, shape data 2 corresponding to shape data 1 is generated. In the right half of FIG. 26, the part connected to the right side from the “shape characteristic” cell is the shape data 2. However, only a part is shown. That is, the component data "#p" as the shape data 2 is made to correspond to the component data p1 as the shape data 1.
1 ”,“ shape characteristic ”,“ name ”, and“ cuboid ”are generated, and the dimension data“ # d1 ”,“ shape characteristic ”, and“ shape data 2 ”corresponding to the size data d1 as shape data 1 are generated. “Dimension value” and “100” are generated. However, in this embodiment, the shape data 2
Can be selected from the following three types.
There are three types: when the shape data 1 is generated, when the user instructs to generate it, and when related constraint data is input. Here, it is assumed that one of the methods is selected, a necessary instruction is given, and data as shown in FIG. 26 is generated according to the instruction. It is also assumed that no calculation formula has been input.

【0079】図26の右半分のデータのうち、「形状特
性」以下以外のものすなわち「体積」,「表面積」は属
性データである。
Among the data on the right half of FIG. 26, those other than those below the “shape characteristic”, that is, “volume” and “surface area” are attribute data.

【0080】形状データ2の生成手順を説明する。この
とき関係するフレームのデータはあらかじめ作成されて
いるとする。図27に示す面s1のデータを例にする
と、まず形状データ1に対応する形状−属性インタフェ
ースとして「#s1」を作成する。次に本データは属性
データと同一の形式であるが形状データ2なのでそれを
表わす「形状特性」のインスタンスデータを作成する。
次に形状データ2として必要な全項目のインスタンスデ
ータ、すなわち「面上点座標」,「法線ベクトル」を作成
する。これら2つのインスタンスデータは末端のインス
タンスなので以下の処理を行う。すなわち対応する形状
データ1の値を参照しその値を当該インスタンスデータ
の値とする。図26の右半分に示すデータのうち、属性
データである「#p1」の「体積」及び「表面積」以外
はすべてこれと同様にして作成される。
The procedure for generating the shape data 2 will be described. At this time, it is assumed that the data of the relevant frame has been created in advance. Taking the data of the plane s1 shown in FIG. 27 as an example, first, “# s1” is created as a shape-attribute interface corresponding to the shape data 1. Next, this data has the same format as the attribute data, but since it is shape data 2, instance data of "shape characteristics" representing the shape data is created.
Next, instance data of all items required as the shape data 2, that is, "point coordinates on the surface" and "normal vector" are created. Since these two instance data are terminal instances, the following processing is performed. That is, the value of the corresponding shape data 1 is referred to, and the value is set as the value of the instance data. All of the data shown in the right half of FIG. 26 except for the “volume” and “surface area” of the attribute data “# p1” are created in the same manner.

【0081】次に設計者は「体積」を設計仕様値として
与える。これは属性データなのでまず図8ないし図9で
説明したのと同様の方法で属性を付加する対象である部
品p1を選択し部品p1に関する属性項目を表示させ、
次に属性項目「体積」に対応する保存場所を確保し、最
後に値100000を入力する。このとき図21の右上
のようなデータが生成される。
Next, the designer gives “volume” as a design specification value. Since this is attribute data, first, a component p1 to which an attribute is to be added is selected in the same manner as described with reference to FIGS. 8 and 9, and an attribute item relating to the component p1 is displayed.
Next, a storage location corresponding to the attribute item “volume” is secured, and finally a value 100000 is input. At this time, data as shown in the upper right of FIG. 21 is generated.

【0082】次にこの直方体の体積が仕様値の体積と同
一になるように右側の面s5を移動させるための拘束デ
ータを入力する。面s5を移動させるためには、面が面
上の1点の座標と法線方向ベクトルによって表現されて
いるので、面上点座標を変更するだけで移動ができるこ
とがわかる。また移動先は、直方体の3辺の長さの積が
体積になることから、図27の右中ほどに示した計算式
で表現できることがわかる。この計算式は面上点座標が
配列(array)で構成されており、第1要素は0、第2要
素は後で説明する計算式、第3要素は0であることを示
している。第2要素の計算式は、#p1の体積の値を#
d1の形状特性の寸法値の値で割り、さらに#v4の形
状特性の座標の値の3番目の要素と#v3の形状特性の
座標の値の3番目の要素の差で割って求めることを示し
ている。この式はやはり値と同様な方法で「面上点座
標」のインスタンスに入力,保存される。
Next, constraint data for moving the right side surface s5 so that the volume of the rectangular parallelepiped becomes equal to the volume of the specified value is input. In order to move the surface s5, since the surface is represented by the coordinates of one point on the surface and the normal direction vector, it can be seen that the movement can be performed only by changing the point coordinates on the surface. Further, since the product of the three sides of the rectangular parallelepiped is a volume, it can be seen that the destination can be represented by the calculation formula shown in the middle right of FIG. In this calculation formula, the point coordinates on the surface are constituted by an array, where the first element is 0, the second element is a calculation formula described later, and the third element is 0. The calculation formula of the second element is that the value of the volume of # p1 is #
Divide by the value of the dimension value of the shape characteristic of d1, and further divide by the difference between the third element of the coordinate value of the shape characteristic of # v4 and the third element of the coordinate value of the shape characteristic of # v3. Is shown. This expression is also entered and stored in the instance of "point on surface" in the same way as the value.

【0083】この計算式の入力の処理は以下のような手
順で行われる。まず計算式はインスタンスデータの中に
記録する。次に計算式の文法的チェックを行いながら要
素に分解する。その要素の中に他のインスタンスの値を
参照しているものが存在したら、それぞれについてその
対象としているインスタンスが存在しているかどうを判
定する。ここで存在していないものがあったらその時点
でエラーとし、先に述べたエラーリストに登録する。こ
の例の場合すべての要素が存在するのでそのまま進む。
参照対象のインスタンスが見つかったら、そのインスタ
ンスの被参照ポインタリストに計算式を記録したインス
タンスを記録する。この被参照ポインタリストは、ある
インスタンスの値が変わったときにその影響先を知るの
に使われる。この例の場合、#p1の体積,#d1の形
状特性の寸法値,#v4の形状特性の座標,#v3の形
状特性の座標の各インスタンスの被参照ポインタリスト
に#s5の形状特性の面上点座標のインスタンスが記録
される。さらに計算式の参照関係がループを作成してい
ないかを判定し、ループが存在すると拘束矛盾の可能性
ありと警告する。この例の場合各参照先はそれ以上別の
ものを参照していないのでループは存在しない。次に計
算式が計算される。この例の場合には以下のようにな
る。
The processing of inputting the calculation formula is performed in the following procedure. First, the calculation formula is recorded in the instance data. Next, the formula is decomposed into elements while performing grammatical checks. If any of the elements refer to the value of another instance, it is determined whether or not the target instance exists for each. Here, if there is one that does not exist, it is regarded as an error at that point and registered in the above-mentioned error list. In the case of this example, all the elements are present, so the process proceeds as it is.
When the instance to be referred to is found, the instance in which the calculation formula is recorded is recorded in the referenced pointer list of the instance. The referenced pointer list is used to know the influence of a change in the value of a certain instance. In the case of this example, the reference pointer list of each instance of the volume of # p1, the dimension value of the shape characteristic of # d1, the coordinates of the shape characteristic of # v4, and the coordinates of the coordinate of the shape characteristic of # v3 is added to the surface of the shape characteristic of # s5. An instance of the upper point coordinates is recorded. Further, it is determined whether or not the reference relation of the calculation formula has created a loop, and if a loop exists, it is warned that there may be constraint inconsistency. In this example, there is no loop because each reference does not refer to another anymore. Next, a calculation formula is calculated. In the case of this example, it is as follows.

【0084】array(0,#p1:体積÷#d1:形状
特性:寸法値÷(#v4:形状特性:座標(3)−#v
3:形状特性:座標(3)),0) =array(0,1000000÷100÷(50−
0),0) =array(0,200,0) そしてその値が設定される。すなわち#s5の形状特性
の面上点座標の値は0,200,0となる。
Array (0, # p1: volume {# d1: shape characteristic: dimension value} (# v4: shape characteristic: coordinate (3)-# v
3: Shape characteristic: coordinates (3)), 0) = array (0.1,000,000 {100} (50-
0), 0) = array (0,200,0) and its value is set. That is, the value of the on-plane coordinate of the shape characteristic of # s5 is 0, 200, 0.

【0085】ここで形状データ2が変更されたのでそれ
は対応する形状データ1に影響する。この影響の処理は
形状データ2から形状データ1への反映という意味で形
状反映21と呼んでいる。まず図27左側にあるs5の
面データ中の面上点座標の値が変更される。さらには図
25を見るとわかるがs5の位置が変わるとそれに伴っ
てまわりの頂点や稜線が移動することになる。本実施例
ではこのとき、変更元となった要素(ここではs5)の
変更を行うにあたり、周辺要素に対して最低限の変更を
行って形状として矛盾のない状態を維持することにして
いる。最低限の変更とは、まず位相構造を変えない,次
に周辺の面の幾何情報は可能な限り変えないという意味
である。この処理の詳細については後で述べる。そこ
で、まず頂点の座標が頂点のまわりの3つの面の交点と
して求められる。これは変更元となった面と1つの稜線
の交点として求めても同一の結果が得られる。例えば移
動後の頂点v4はs1とs2と移動後のs5の交点とし
て求めることができる。これは移動後のs5とe4を延
長した線との交点として求めても同一の結果が得られ
る。次に周辺の稜線は、隣り合う面の交線として求める
ことができる。例えばe3は移動後のs5とs1を延長
した面との交線として求めることができる。このような
方法によって、本例では結局s5の移動にともなってv
3,v4,v7,v8の4つの頂点のデータとe3,e
7,e8,e11の4つの稜線のデータが変更されるこ
とになる。そこで図22の左半分にある形状データ1の
相当部分が変更される。これが変更されると、これらに
は形状データ2が対応付けられているのでその影響は再
び形状データ2に及ぶことになる。このような、形状デ
ータ1の値を形状データ2に反映させる処理を形状反映
12と呼んでいる。この処理により図27の右半分のデ
ータのうちe3,v3,v4が変わるのである。これら
の変更の結果を図28に示す。
Here, since the shape data 2 has been changed, it affects the corresponding shape data 1. The processing of this influence is called shape reflection 21 in the sense of reflecting the shape data 2 to the shape data 1. First, the value of the on-plane coordinate in the plane data of s5 on the left side of FIG. 27 is changed. Further, as can be seen from FIG. 25, when the position of s5 changes, the surrounding vertices and ridge lines move accordingly. In this embodiment, at this time, when the element that is the source of the change (here, s5) is changed, the minimum change is performed on the peripheral elements to maintain a consistent state as the shape. The minimum change means that the topological structure is not changed first, and then the geometric information of the peripheral surface is not changed as much as possible. Details of this processing will be described later. Therefore, first, the coordinates of the vertex are obtained as the intersection of the three faces around the vertex. The same result can be obtained even if this is obtained as the intersection between the surface from which the change is made and one edge line. For example, the moved vertex v4 can be obtained as the intersection of s1 and s2 and the moved s5. The same result can be obtained even if it is determined as the intersection of the extended line of s5 and e4 after the movement. Next, a peripheral ridge line can be obtained as an intersection line between adjacent surfaces. For example, e3 can be obtained as an intersection line between s5 after the movement and a surface obtained by extending s1. According to such a method, in this example, after the movement of s5, v
Data of four vertices of 3, v4, v7, v8 and e3, e
The data of the four ridge lines 7, e8 and e11 will be changed. Therefore, the corresponding part of the shape data 1 in the left half of FIG. 22 is changed. If this is changed, the shape data 2 is associated with them, and the effect will be applied to the shape data 2 again. Such a process of reflecting the value of the shape data 1 on the shape data 2 is called shape reflection 12. By this processing, e3, v3, and v4 of the data in the right half of FIG. 27 are changed. The results of these changes are shown in FIG.

【0086】頂点v3,v4の形状特性の座標の値が変
更されると、ここには先ほど被参照ポインタリストに#
s5の形状特性の面上点座標のインスタンスを登録した
ので、さらにここへ影響が及ぶことがわかる。そこで再
び面上点座標に記録されている計算式を計算することに
なる。この結果は運良く当初変更した値と同じarray
(0,200,0)となる。従って値の変更がないので
これ以上変更処理を続ける必要はない。もしこの値が異
なっているとさらに変更処理を続けることになる。本例
ではこの拘束データである計算式に矛盾がなかったので
ここで変更処理が停止できたのである。もし矛盾がある
と変更処理は永久に止らないことになり、ユーザは何ら
かの処置が必要である。本実施例ではあらかじめ定めた
特定の回数の計算式演算を行ってもまだ変更処理が停止
しないときには永久に止らないと解釈してその原因を作
った変更操作に矛盾があったと判断している。
When the coordinates of the coordinates of the shape characteristics of the vertices v3 and v4 are changed, #
Since the instance of the point coordinate on the surface of the shape characteristic of s5 is registered, it is understood that the influence is further affected here. Then, the calculation formula recorded in the point coordinates on the surface is calculated again. This result is luckily the same as the original changed value array
(0, 200, 0). Therefore, since there is no change in the value, there is no need to continue the change processing any more. If this value is different, the change process will continue. In this example, since there was no inconsistency in the calculation formula as the constraint data, the change processing could be stopped here. If there is an inconsistency, the change process will not stop forever, and the user will need to take some action. In the present embodiment, if the change processing has not been stopped even after performing a predetermined predetermined number of calculation operations, it is interpreted that the change processing will not be stopped forever, and it is determined that there is inconsistency in the change operation that caused the cause.

【0087】次に設計者は直方体全体の表面積を求めた
いとする。この時には先ほどと同様に部品p1に属性と
して表面積の項目を定義し、値の記録領域を確保して、
図28に示すような計算式を入力する。するとその値は
計算されて結果が属性値として記録される。
Next, it is assumed that the designer wants to obtain the surface area of the entire rectangular parallelepiped. At this time, an item of the surface area is defined as an attribute in the component p1 in the same manner as described above, and a value recording area is secured.
A calculation formula as shown in FIG. 28 is input. Then the value is calculated and the result is recorded as the attribute value.

【0088】最後に異なる事例についても検討するた
め、設計仕様である体積を変更したとする。この場合、
その影響は、体積の被参照ポインタリストをたどって面
s5の面上点座標に及び、これが形状反映21によって
形状データ1のs5に及び、それが周辺の形状要素であ
るv3,v4,v7,v8の4つの頂点データとe3,
e7,e8,e11の4つの稜線データに及び、さらに
はそれが形状データ2#v3,#v4に及び、その影響
が面#s5に戻ってくるというように、当初求めたのと
同一の手順で再計算が行われる。
Finally, it is assumed that the volume, which is a design specification, has been changed in order to examine a different case. in this case,
The effect of this affects the point coordinates on the surface s5 by tracing the referenced pointer list of the volume, which extends to s5 of the shape data 1 by the shape reflection 21, and includes v3, v4, v7, v8 four vertex data and e3
The same procedure as originally determined such that the four edge data of e7, e8, and e11 are further extended to the shape data 2 # v3, # v4, and the effect returns to the surface # s5. Is recalculated.

【0089】形状処理について説明を追加する。対象と
する形状を3次元のソリッドまたは相当のものとする
と、面,稜線,頂点などを独立に変更することはできな
い。例えば直方体の1つの頂点の座標を変更すると、一
般に周りの面を平面のまま保つことはできない。また1
つの面の位置を変更すると(面に垂直な方向に移動させ
ると)、その面を平面のまま保つためにはその面を囲む
稜線及び頂点の位置も変更しなくてはならない。このよ
うな中で形状の成立する条件を保ちながら一部の形状要
素を変更するのが形状処理手段である。
A description of the shape processing will be added. If the target shape is a three-dimensional solid or equivalent, the faces, edges, vertices, etc. cannot be changed independently. For example, when the coordinates of one vertex of a rectangular parallelepiped are changed, generally, the surrounding surface cannot be kept flat. Also one
If the position of one surface is changed (moved in a direction perpendicular to the surface), the edges and vertices surrounding the surface must also be changed in order to keep the surface flat. It is the shape processing means that changes some of the shape elements while maintaining the conditions for the shape being established in such a situation.

【0090】ある立体を思った形に変更させようと考え
たときに、最も容易に考えられる変形方法は、まず各頂
点を変更後の位置に移動させ、次に各稜線を変更後の位
置及び種類(例えば直線,円等)及び特性(円の半径
等)に変更し、最後に各面を目的の形に変形させる方法
である。しかしながらこの方法では、変更の順番を頂
点,稜線,面の順番に制限されてしまう。例えば最初に
ある面を変形させようと思っても、周囲の頂点が変形後
の面の上に乗らない場合には面を変形することができな
いし、同様に周囲の稜線が変形後の面の上に乗らない場
合には面を変形することができないのである。本実施例
の方法で属性データ及び形状データの間の拘束データの
解消を行うと、形状データの各要素に対する変更手順
は、ユーザのデータ変更順序等によって変わるので、形
状処理的に都合の良い順序、すなわち頂点,稜線,面の
順序で変更することはできない。
When the user wants to change a certain solid into a desired shape, the most easily conceivable deformation method is to first move each vertex to the changed position, and then change each edge line to the changed position and position. This is a method of changing the type (for example, a straight line or a circle) and the characteristic (for example, the radius of a circle), and finally deforming each surface to a desired shape. However, in this method, the order of change is restricted to the order of vertices, edges, and faces. For example, even if you try to deform a surface first, if the surrounding vertices do not ride on the deformed surface, you can not deform the surface, and similarly, the surrounding ridges will If you do not get on the top, you can not deform the surface. When the constraint data between the attribute data and the shape data is eliminated by the method of the present embodiment, the change procedure for each element of the shape data changes depending on the data change order of the user and the like. That is, the order of vertices, edges, and faces cannot be changed.

【0091】これに対処するため、本実施例では、頂点
データ及び稜線データは、直接的に拘束データを通して
変更しないことにした。すなわち、拘束データによって
面データを変更することによって隣り合う面間の交線と
して稜線が求まり、3つの面の交点として頂点の位置が
求まるという方式によって、間接的に稜線及び頂点のデ
ータを変更することにしたのである。このため本実施例
の形状処理手段は、面の変更指示を受け付け、面データ
を変更するとともに、その変更を契機として変更しなく
てはならない周辺の稜線及び頂点のデータを自動的に変
更する手段を用意している。
To deal with this, in the present embodiment, vertex data and edge line data are not changed directly through constraint data. In other words, the data of the ridge line and the vertex are indirectly changed by a method in which the ridge line is obtained as the intersection line between the adjacent surfaces by changing the surface data by the constraint data, and the position of the vertex is obtained as the intersection point of the three surfaces. I decided. For this reason, the shape processing unit of the present embodiment receives the instruction to change the surface, changes the surface data, and automatically changes the data of the peripheral edges and vertices that need to be changed in response to the change. Are prepared.

【0092】さて、話を元に戻すと、先の例で述べたデ
ータ変更から拘束解消にいたる処理手順のうち代表的な
処理を一般化すると以下のようになる。
[0092] Returning to the original description, a typical process of the process from data change to constraint release described in the previous example is generalized as follows.

【0093】まず形状データ2の生成手順を図29に示
す。まず形状データ1に対応する形状−属性インタフェ
ースを作成する。次に形状データ2は属性データと同一
の形式であるが形状データ2なのでそれを区別するため
の「形状特性」のインスタンスデータを作成する。次に
形状表現として必要な全項目のインスタンスデータを作
成する。このとき各インスタンスデータについて、その
インスタンスデータが末端の場合のみ以下の処理を行
う。すなわちそのインスタンスデータに対応するフレー
ムデータを参照し、そこに拘束データである計算式が記
録されていたら、その演算を行いその結果を当該インス
タンスデータの値とし、その値を元に形状反映21を行
う。計算式が存在しない場合対応する形状データ1の値
を参照しその値を当該インスタンスデータの値とする。
いずれの場合にも最後に値伝播処理と未処理リスト解消
を行う。
First, a procedure for generating the shape data 2 is shown in FIG. First, a shape-attribute interface corresponding to shape data 1 is created. Next, the shape data 2 has the same format as the attribute data, but since it is the shape data 2, instance data of “shape characteristics” for distinguishing the shape data is created. Next, instance data of all items required as a shape expression is created. At this time, the following processing is performed for each instance data only when the instance data is at the end. That is, the frame data corresponding to the instance data is referred to, and if a calculation formula that is the constraint data is recorded therein, the calculation is performed and the result is set as the value of the instance data. Do. When there is no calculation formula, the value of the corresponding shape data 1 is referred to, and the value is used as the value of the instance data.
In any case, the value propagation process and the unprocessed list cancellation are performed last.

【0094】この中で使用している値伝播処理は図32
のように、処理モードが遅延の場合当該インスタンスデ
ータへのポインタを値伝播未処理として未処理リストに
登録し、即時モードの場合以下の処理を行う。すなわち
当該インスタンスの被参照ポインタを参照し、その指示
しているすべてのインスタンスデータについて、計算式
の演算,演算結果の元値との比較を行い、値が異なる場
合にはさらに演算結果の設定、当該インスタンスが形状
特性の場合そのインスタンスを形状反映21未処理とし
て未処理リストに登録,値伝播の各処理をこの順序で行
う。
The value propagation processing used in this processing is shown in FIG.
When the processing mode is delayed, the pointer to the instance data is registered in the unprocessed list as the value propagation unprocessed, and the following processing is performed in the immediate mode. That is, by referring to the referenced pointer of the instance, the calculation of the calculation formula and the comparison with the original value of the calculation result are performed for all the indicated instance data, and if the values are different, the calculation result is further set. When the instance is a shape characteristic, the instance is registered in the unprocessed list as the shape reflection 21 unprocessed, and each process of value propagation is performed in this order.

【0095】また形状反映21処理は図33のように、
処理モードが遅延の場合当該インスタンスデータへのポ
インタを形状反映21未処理として未処理リストに登録
し、即時モードの場合以下の処理を行う。すなわちまず
当該インスタンスデータの値と対応する形状要素の形状
データ1を比較し、異なる場合のみ以下の処理を行う。
まず対応する形状要素の形状データ1の値を当該インス
タンスデータの値に変更し、つぎに変更した形状要素の
周辺の要素について以下の処理を行う。各周辺要素の形
状変更が必要かどうかを判定し、必要な場合、形状デー
タ1の変更、その周辺要素に関する形状反映12を行
う。
The shape reflection 21 process is as shown in FIG.
If the processing mode is delayed, the pointer to the instance data is registered in the unprocessed list as shape reflection 21 unprocessed, and the following processing is performed in the immediate mode. That is, the value of the instance data is compared with the shape data 1 of the corresponding shape element, and the following processing is performed only when the values are different.
First, the value of the shape data 1 of the corresponding shape element is changed to the value of the instance data, and the following processing is performed on elements around the changed shape element. It is determined whether or not the shape of each peripheral element needs to be changed. If necessary, the shape data 1 is changed and the shape reflection 12 on the peripheral element is performed.

【0096】また形状反映12処理は図34のように、
対象インスタンスが形状反映21未処理として未処理リ
スト中に存在していない場合のみ、形状データ1の値を
参照し、対応するインスタンス値を参照し、それらの値
が異なっている場合のみ、形状データ1の値を対応する
インスタンスに設定し、そのインスタンスを値伝播未処
理として未処理リストに登録する。
The shape reflection 12 processing is performed as shown in FIG.
Only when the target instance does not exist in the unprocessed list as shape reflection 21 unprocessed, refers to the value of shape data 1 and refers to the corresponding instance value. Only when those values are different, the shape data The value of 1 is set to the corresponding instance, and the instance is registered in the unprocessed list as the value propagation unprocessed.

【0097】そして未処理リスト解消処理は図35のよ
うに、処理モードが即時モードの場合のみ、未処理リス
トに未処理項目が存在していてしかもあらかじめ定めた
処理回数以内の時、以下の処理を行う。すなわち先頭要
素を取り出し、その要素が値伝播未処理の場合値伝播を
行い、形状反映21未処理の場合形状反映21を行う。
そしてループ処理が時間超過で終了した場合には拘束デ
ータに誤りがあることを報告する。即時モードであって
も、未処理リストには未処理リスト解消処理の中で呼び
出す値伝播、形状反映12の中で要素が追加される可能
性があるので、未処理リストが無くなるまで処理を続け
る必要がある。拘束データの矛盾検出はこの場所で行う
のが適切である。すなわち、拘束データの矛盾が存在す
ると、ここで未処理リストが永久に無くならなくなるの
で、あらかじめ定めた時間が経過しても未処理リストが
なくならない場合拘束データに矛盾があると判定する、
またはあらかじめ定めた特定の個数の要素の処理を行っ
ても未処理リストがなくならない場合拘束データに矛盾
があると判定する事ができるのである。
As shown in FIG. 35, only when the processing mode is the immediate mode, when there is an unprocessed item in the unprocessed list and within the predetermined number of processes, as shown in FIG. I do. That is, the head element is extracted, the value is propagated when the element is not subjected to value propagation, and the shape reflection 21 is performed when the element is not processed.
Then, when the loop processing is completed due to time excess, it reports that there is an error in the constraint data. Even in the immediate mode, since the elements may be added to the unprocessed list in the value propagation and shape reflection 12 called during the unprocessed list resolution processing, the processing is continued until the unprocessed list is exhausted. There is a need. It is appropriate to perform inconsistency detection of constraint data at this location. That is, if there is an inconsistency in the constraint data, the unprocessed list does not disappear forever, so if the unprocessed list does not disappear even after a predetermined time has elapsed, it is determined that the constraint data is inconsistent.
Alternatively, if the unprocessed list does not disappear even if a predetermined number of elements are processed, it can be determined that the constraint data is inconsistent.

【0098】次に、代表的な処理である拘束データ(計
算式)の入力の処理を図30を用いて説明する。まず与
えられた計算式をインスタンスに記録する。次に入力さ
れた計算式の文法的なチェックを行う。次に計算式を演
算子,他インスタンスデータの参照部等の要素に分解す
る。分解したなかで他インスタンスデータの参照要素に
ついて、その要素が存在するかどうかの判定を行い、存
在する場合には対象要素の被参照ポインタリストに元の
インスタンスを登録する。次に式の演算を行い、この結
果が元の値と異なる場合には以下の処理を行う。すなわ
ち計算結果の設定,形状反映21,値伝播,未処理リス
トの解消処理である。
Next, a typical process of inputting constraint data (calculation formula) will be described with reference to FIG. First, record the given formula in the instance. Next, a grammatical check of the input formula is performed. Next, the expression is decomposed into elements such as operators and reference parts of other instance data. It is determined whether or not the reference element of the other instance data exists during the decomposition, and if it exists, the original instance is registered in the referenced pointer list of the target element. Next, the operation of the equation is performed, and if the result is different from the original value, the following processing is performed. That is, setting of calculation results, shape reflection 21, value propagation, and unprocessed list cancellation processing.

【0099】また属性値変更の処理は図31のようにな
っている。まず元の値と変更しようとする値の比較を行
い、値が異なる場合のみ、値の設定,形状反映21,値
伝播を行い、最後に、処理途中で発生する未処理リスト
の解消を行う。
The attribute value changing process is as shown in FIG. First, the original value is compared with the value to be changed, and only when the value is different, the value is set, the shape is reflected 21, and the value is propagated.

【0100】本実施例で用いる拘束データは、計算式の
形態をしている。この計算式の中では単純な加減乗除の
みでなく、一般的な数値関数,文字列関数,型変換関数
等を使用可能である。さらには設計に必要な形状的な計
算を行うため、交点な交線を求める関数,配置位置を並
行移動,回転などする関数が使用可能である。
The constraint data used in this embodiment is in the form of a calculation formula. In this formula, not only simple addition, subtraction, multiplication, and division but also general numerical functions, character string functions, type conversion functions, and the like can be used. Further, in order to perform geometrical calculations required for the design, a function for finding an intersection line and a function for moving or rotating the arrangement position in parallel can be used.

【0101】また本実施例においては、図38に示すよ
うに、拘束処理装置の中に、属性値として複数の値をま
とめて扱うことができる演算器を用意している。このた
め、各関数の入力に複数の案の値が入ったときにはそれ
ぞれの値に対して計算を行い結果を複数案として返すこ
とができる。例えばあるところの角度に関して2つの案
30度と−30度があったとすると、その値をまとめて
正弦関数(sin)に渡すと複数の案に対する結果とし
て0.5と−0.5という2つの結果が返ってくる(図3
8(a))。また1と2の2つの値を有する属性と3と
4の2つの値を有する属性の和は、それぞれの組み合わ
せの結果である4,5,5,6を求め、その中から冗長
なものを除いて4,5,6として求めている(図38
(b))。
In this embodiment, as shown in FIG. 38, an arithmetic unit capable of collectively handling a plurality of values as attribute values is provided in the constraint processing device. For this reason, when the values of a plurality of alternatives are included in the input of each function, it is possible to calculate each value and return the result as a plurality of alternatives. For example, if there are two options of 30 degrees and -30 degrees with respect to a certain angle, when the values are collectively passed to a sine function (sin), two results of 0.5 and -0.5 are obtained for a plurality of options. The result is returned (Fig. 3
8 (a)). In addition, the sum of the attribute having two values of 1 and 2 and the attribute having two values of 3 and 4 is obtained as 4,5,5,6 which is the result of each combination. Excluding 4, 5, and 6 (FIG. 38)
(B)).

【0102】さらには複数案の中から最適なものを選択
する関数(図38(e))、最適なものから順に並べ変
える関数(ソート関数)も用意している。最適なものを
選択する関数は、複数案の値と評価関数式を入力すると
その評価関数の値を最大にする案を選んで返すのであ
る。またソート関数は、複数案の値と評価関数式を入力
するとその評価関数の値の大きい順に与えた複数案の値
を並べ変えて返すのである。
Furthermore, a function (FIG. 38 (e)) for selecting an optimum one from a plurality of alternatives and a function (sort function) for rearranging in order from the optimum one are also prepared. For the function that selects the best one, when the values of multiple alternatives and the evaluation function expression are input, the alternative that maximizes the value of the evaluation function is selected and returned. Also, when the sort function inputs the values of the alternatives and the evaluation function expression, the sort function returns the values of the alternatives given in descending order of the value of the evaluation function.

【0103】連続的に変わる値に関する最適値を求める
場合には複数値から選択する代わりに、等式または不等
式で表わす条件を満たしつつ評価関数の値を最大にする
値を求めることもできる(図38(f))。これは非線
形最適化技術として確立されているニュートン法または
共役傾斜法によって解を求めている。
In order to find the optimum value for a continuously changing value, instead of selecting from a plurality of values, it is also possible to find a value that maximizes the value of the evaluation function while satisfying the conditions represented by equations or inequalities (FIG. 38 (f)). This solves by the Newton method or the conjugate gradient method which is established as a nonlinear optimization technique.

【0104】また設計では計算だけでは決まらず、規格
や製品リストによって制限される要素も多い。例えば本
実施例の最初の例でボルトの径を整数化によって求めた
が、もっとサイズの大きいボルトについては整数化で求
めるとJISなどの規格になっておらず標準的なボルト
として販売されていない寸法となってしまう。このよう
な場合のために、JIS規格または製品カタログといっ
た表形式のデータのある項目の値と表の名称と選択条件
式を入力とし、別の項目の値を出力するという関数を用
意している(図38(c)(d))。選択条件式として
はいくら以上いくら以下といった不等式,等式,論理的
な積和等を組み合わせた式を指定することができる。
In design, there are many factors that are not determined by calculation alone but are limited by standards and product lists. For example, in the first example of the present embodiment, the diameter of the bolt is obtained by converting to an integer. However, when the size of the larger bolt is obtained by converting to an integer, the bolt does not conform to JIS standards and is not sold as a standard bolt. It becomes dimensions. For such a case, a function is provided in which the value of an item having tabular data such as JIS standard or product catalog, the name of the table, and the selection condition expression are input, and the value of another item is output. (FIGS. 38 (c) and (d)). As the selection condition expression, an expression combining inequalities, equalities, logical sum of products, and the like can be specified.

【0105】本発明の第2の実施例は、図1に示す構成
をそのまま実現し、形状データを1組としたものであ
る。また拘束データとしては計算式,表,手続きを組み
合わせて表現することができるものである。
In the second embodiment of the present invention, the configuration shown in FIG. 1 is realized as it is, and one set of shape data is obtained. In addition, the constraint data can be expressed by combining calculation formulas, tables, and procedures.

【0106】形状データ及び属性データはすべて図26
の右半分に示す形式で保管している。そして本実施例の
形状操作手段は、形状データは1組であるが実施例1の
形状操作1の手段と同様に図形的に表示された画面を用
いて直接的に操作する手段と、実施例1の形状操作2の
手段と同様にデータ項目ごとに操作する手段を用意して
いる。形状データに付属している形状処理手段は、形状
データが変更されたときに形状が維持できるように周辺
の形状要素を変更するものであり、実施例1のものと同
様の処理を行う。また属性データ操作手段は実施例1の
ものと同一である。
All of the shape data and attribute data are shown in FIG.
It is stored in the format shown in the right half. The shape operation means of the present embodiment has a set of shape data, but is a means for directly operating using a graphically displayed screen as in the case of the shape operation 1 of the first embodiment. A means for operating each data item is prepared in the same manner as the means for the shape operation 2 of 1. The shape processing means attached to the shape data changes peripheral shape elements so that the shape can be maintained when the shape data is changed, and performs the same processing as that of the first embodiment. The attribute data operation means is the same as that of the first embodiment.

【0107】拘束データはすべて文字列として表現して
いる。その例を以下に示す。
The constraint data is all represented as character strings. An example is shown below.

【0108】 計算式 #p1:表面積 =#d1:形状特性:寸法値 +(#v4:形状特性:座標(2)−#v1:形状特性:座標(2)) +2 +#d1:形状特性:寸法値 +(#v4:形状特性:座標(3)−#v3:形状特性:座標(3)) +2 +(#v4:形状特性:座標(2)−#v1:形状特性:座標(2)) +(#v4:形状特性:座標(3)−#v3:形状特性:座標(3)) +2 表 入力項目 1 出力項目 2 データ 2 #p2:材質 #p2:許容応力 #p2:価格 S45C 50 450 S55C 60 550 手続き if(#p3:ボルト本数 mod 2=1)then #p3:ボルト本数=#p3:ボルト本数+1 endif 計算式は実施例1と同様に右辺の計算の結果を左辺の項
目の値として保存するものである。表は入力項目の値が
決まると出力項目の値が決まるものである。この例では
#p2の材質が決まれば#p2の許容応力と価格が決ま
る。表形式拘束データには先頭に表の項目の数と、各項
目の名称が記録されている。手続きはいわゆるプログラ
ム的に上から順に実行するものである。この例では条件
判断をしその結果によって代入を行う。
Calculation formula # p1: surface area = # d1: shape characteristic: dimension value + (# v4: shape characteristic: coordinate (2) − # v1: shape characteristic: coordinate (2)) + 2 + # d1: shape characteristic: Dimension value + (# v4: shape characteristic: coordinate (3)-# v3: shape characteristic: coordinate (3)) +2 + (# v4: shape characteristic: coordinate (2)-# v1: shape characteristic: coordinate (2) ) + (# V4: shape characteristic: coordinate (3)-# v3: shape characteristic: coordinate (3)) +2 table input item 1 output item 2 data 2 # p2: material # p2: allowable stress # p2: price S45C50 450 S55C 60 550 Procedure if (# p3: number of volts mod 2 = 1) then # p3: number of volts = # p3: number of volts + 1 endif The calculation formula is the same as in the first embodiment, and the result of the calculation on the right side is the It is stored as a value. In the table, when the value of the input item is determined, the value of the output item is determined. In this example, if the material of # p2 is determined, the allowable stress and price of # p2 are determined. The number of table items and the name of each item are recorded at the top of the table format constraint data. The procedure is performed in order from the top in a so-called program. In this example, the condition is determined and the result is substituted.

【0109】本実施例においても形状データ,属性デー
タ,拘束データのいずれかが変更されると、拘束解消手
段によってすべての拘束を満たすように他のデータが変
更される。拘束解消手段は、拘束条件を上から順々にた
どり、順番に拘束条件を適用していく。この例の場合に
は、まず計算式を参照し、右辺が揃っているとその計算
をし、左辺に代入する。次に表の入力項目の値が揃って
いると、その項目の一致するデータを選択し、その結果
に基づいて出力項目の値を取り出し、その値を出力項目
の値として設定する。次に手続きを実行する。1回実行
しただけでは後で前の拘束を壊してしまうことがあるの
で、1回の実行の間にデータの変更がなくなるまで繰り
返し実行する。すべての拘束が解消すればもはや変更は
なくなる。
In this embodiment, when any one of the shape data, the attribute data, and the constraint data is changed, the other data is changed by the constraint resolving means so as to satisfy all the constraints. The constraint resolving means sequentially follows the constraint conditions from the top and applies the constraint conditions in order. In the case of this example, first, the calculation formula is referred to, and if the right side is complete, the calculation is performed and the calculation is substituted for the left side. Next, when the values of the input items in the table are complete, the matching data of the items is selected, the value of the output item is extracted based on the result, and the value is set as the value of the output item. Next, execute the procedure. If the execution is performed only once, the previous constraint may be broken later. Therefore, the execution is repeated until there is no change in the data during the execution. If all constraints are lifted, there will be no change.

【0110】拘束矛盾の検出は実施例1と同様に拘束解
消処理の停止性によって行う。すなわち拘束解消処理を
あらかじめ定めた回数だけ行い、それでも解消しない場
合は矛盾ありと見なすのである。この方法では、理論的
には解が存在するのにも係わらず矛盾ありと判定してし
まうことがありうるが、逆に矛盾があるのに停止してし
まうことはないので設計上は安全側に働く。従って実用
上は問題ない。本発明は拘束解消手段をこの方法に限定
するものではない。現在、あらゆる拘束を完全に解く方
法は発見されていないが、設計対象を限定すれば拘束の
特性が限定されて解ける場合がある。また本実施例のよ
うに安全側に働くならば実用上は問題とはならない。
The detection of the constraint inconsistency is performed by stopping the constraint resolving process as in the first embodiment. That is, the constraint resolving process is performed a predetermined number of times, and if the resolving is still not performed, it is regarded that there is a contradiction. In this method, it may theoretically be determined that there is a contradiction despite the existence of a solution, but conversely, there is no stop because there is a contradiction. Work on. Therefore, there is no problem in practical use. The present invention does not limit the constraint releasing means to this method. At present, a method for completely solving all constraints has not been discovered, but if the design target is limited, there are cases where the characteristics of the constraints are limited and can be solved. Further, if it works on the safe side as in this embodiment, there is no problem in practical use.

【0111】[0111]

【発明の効果】本発明を利用すれば、まず、異なる複数
の設計案の中から適切な解を選ぶための作業が短縮され
る。また類似設計を行う場合に、形状データのみでな
く、以前のデータが拘束条件や計算式を含めて再利用で
きるので、設計時間が短縮できる。さらに、これまで整
理されていなかった設計拘束や計算式が体系的に記録さ
れるので、設計知識の整理記録の手段として利用でき
る。またそれを利用すれば新人の設計者が設計知識を得
やすくなるし、すべてを知らなくても設計できるように
なる。
According to the present invention, first, the work for selecting an appropriate solution from a plurality of different design plans is shortened. In the case of performing similar design, not only shape data but also previous data can be reused including constraint conditions and calculation formulas, so that design time can be reduced. Further, since the design constraints and calculation formulas that have not been organized are recorded systematically, the system can be used as a means for organizing and recording design knowledge. It also makes it easier for new designers to gain design knowledge and to design without knowing everything.

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

【図1】本発明を用いた設計支援装置の構成である。FIG. 1 is a configuration of a design support apparatus using the present invention.

【図2】従来の設計支援装置の構成の例である。FIG. 2 is an example of a configuration of a conventional design support apparatus.

【図3】属性データ,形状データ,拘束データの関係で
ある。
FIG. 3 shows a relationship among attribute data, shape data, and constraint data.

【図4】形状変更保存装置及び形状データの詳細構成で
ある。
FIG. 4 is a detailed configuration of a shape change storage device and shape data.

【図5】パイプ接続部のねじ選択に関する設計問題の例
である。
FIG. 5 is an example of a design problem relating to selection of a screw of a pipe connection part.

【図6】図5に示した設計例における設計手順及び設計
計算の説明図である。
FIG. 6 is an explanatory diagram of a design procedure and a design calculation in the design example shown in FIG.

【図7】図5に示した設計例における実計算例である。FIG. 7 is an actual calculation example in the design example shown in FIG. 5;

【図8】属性の項目の定義操作の説明図である。FIG. 8 is an explanatory diagram of a definition operation of an attribute item.

【図9】属性の項目の定義操作の説明図である。FIG. 9 is an explanatory diagram of a definition operation of an attribute item.

【図10】属性データの値設定の操作の説明図である。FIG. 10 is an explanatory diagram of an operation of setting a value of attribute data.

【図11】属性データの値設定の操作の説明図である。FIG. 11 is an explanatory diagram of an operation of setting a value of attribute data.

【図12】属性データの値設定の操作の説明図である。FIG. 12 is an explanatory diagram of an operation of setting a value of attribute data.

【図13】属性データの値設定の操作の説明図である。FIG. 13 is an explanatory diagram of an operation of setting a value of attribute data.

【図14】属性データの値設定の操作の説明図である。FIG. 14 is an explanatory diagram of an operation of setting a value of attribute data.

【図15】属性データの値設定の操作の説明図である。FIG. 15 is an explanatory diagram of an operation of setting a value of attribute data.

【図16】属性データの値設定の操作の説明図である。FIG. 16 is an explanatory diagram of an operation of setting a value of attribute data.

【図17】属性データの値設定の操作の説明図である。FIG. 17 is an explanatory diagram of an operation of setting a value of attribute data.

【図18】属性データの値設定の操作の説明図である。FIG. 18 is an explanatory diagram of an operation of setting a value of attribute data.

【図19】属性データの値設定の操作の説明図である。FIG. 19 is an explanatory diagram of an operation of setting a value of attribute data.

【図20】属性データの値設定の操作の説明図である。FIG. 20 is an explanatory diagram of an operation of setting a value of attribute data.

【図21】属性データの値設定の操作の説明図である。FIG. 21 is an explanatory diagram of an operation of setting a value of attribute data.

【図22】属性構造全体像の説明図である。FIG. 22 is an explanatory diagram of an overall image of an attribute structure.

【図23】属性項目データと関連データの説明図であ
る。
FIG. 23 is an explanatory diagram of attribute item data and related data.

【図24】属性データと関連データの説明図である。FIG. 24 is an explanatory diagram of attribute data and related data.

【図25】属性値データの説明図である。FIG. 25 is an explanatory diagram of attribute value data.

【図26】対象形状の例である。FIG. 26 is an example of a target shape.

【図27】形状データ1,形状データ2,属性データの
評価説明図である。
FIG. 27 is an explanatory diagram of evaluation of shape data 1, shape data 2, and attribute data.

【図28】表面積,面上点座標計算式の入力及び拘束解
消処理の説明図である。
FIG. 28 is an explanatory diagram of input of a surface area, an on-plane point coordinate calculation formula, and constraint release processing.

【図29】拘束解消処理の説明図である。FIG. 29 is an explanatory diagram of a constraint elimination process.

【図30】形状データ2生成処理の図である。FIG. 30 is a diagram of a shape data 2 generation process.

【図31】拘束データ(計算式)入力処理の図である。FIG. 31 is a diagram illustrating input processing of constraint data (calculation formula).

【図32】属性値変更寧理の図である。FIG. 32 is a diagram of an attribute value change process.

【図33】値伝播処理の図である。FIG. 33 is a diagram of a value propagation process.

【図34】形状反映21の処理の図である。FIG. 34 is a diagram of a process of shape reflection 21;

【図35】形状反映12の処理の図である。FIG. 35 is a diagram of processing of the shape reflection 12;

【図36】属性データの値設定の操作の説明図である。FIG. 36 is an explanatory diagram of an operation of setting a value of attribute data.

【図37】第1,2の実施例に適した形状処理装置の例
である。
FIG. 37 is an example of a shape processing apparatus suitable for the first and second embodiments.

【図38】データの入力変更時の動作である。FIG. 38 shows an operation when data input is changed.

【図39】拘束処理装置中の演算器の入出力を示したも
のである。
FIG. 39 shows input / output of an arithmetic unit in the constraint processing device.

【図40】本発明の設計支援装置の詳細な構成例であ
る。
FIG. 40 is a detailed configuration example of a design support apparatus of the present invention.

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

1…入力装置、2…処理装置、2a…形状変更保存装
置、2a1…形状変更保存装置1、2a2…形状変更保
存装置2、2a12…形状反映装置12、2a21…形状反
映装置21、2b…属性変更保存装置、2c…属性間拘
束変更保存装置、2d…属性形状間拘束変更保存装置、
2e…形状間拘束変更保存装置、2f…属性間拘束処理
装置、2g…属性形状間拘束処理装置、2h…形状間拘
束処理装置、2i…拘束処理伝播装置、2j…拘束矛盾
検出装置、2k…形状再生装置、21…属性再生装置、
2m…属性間拘束再生装置、2n…属性形状間拘束再生
装置、2o…形状間拘束再生装置、2p…処理装置制御
装置、2q…形状保存装置、2r…形状変更生成装置、
3…記憶装置、3a…形状データ、3a1…形状データ
1、3a2…形状データ2、3ab…属性データ、3c
…属性間拘束データ、3d…属性形状間拘束データ、3
e…形状間拘束データ、4…出力装置、301…パイプ、
302…ガスケット、303…ボルト。
DESCRIPTION OF SYMBOLS 1 ... Input device, 2 ... Processing device, 2a ... Shape change storage device, 2a1 ... Shape change storage device 1, 2a2 ... Shape change storage device 2, 2a12 ... Shape reflection device 12, 2a21 ... Shape reflection device 21, 2b ... Attribute Change storage device, 2c: Attribute constraint change storage device, 2d: Attribute shape constraint change storage device,
2e: between shape constraint change storage device, 2f: between attribute constraint processing device, 2g ... between attribute shape constraint processing device, 2h ... between shape constraint processing device, 2i ... constraint processing propagation device, 2j ... constraint inconsistency detection device, 2k ... Shape reproducing device, 21... Attribute reproducing device,
2m: Attribute constraint playback device, 2n: Attribute shape constraint playback device, 2o: Shape constraint playback device, 2p: Processing device control device, 2q: Shape storage device, 2r: Shape change generation device,
3 storage device, 3a shape data, 3a1 shape data 1, 3a2 shape data 2, 3ab attribute data, 3c
... constraint data between attributes, 3d ... constraint data between attributes, 3
e: Inter-shape constraint data, 4: Output device, 301: Pipe,
302 ... gasket, 303 ... bolt.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 井上 敦 茨城県日立市久慈町4026番地 株式会社 日立製作所 日立研究所内 (72)発明者 篠塚 義昭 茨城県日立市久慈町4026番地 株式会社 日立製作所 日立研究所内 (72)発明者 内山 裕敏 神奈川県横浜市戸塚区戸塚町5030番地 株式会社 日立製作所 ソフトウエア工 場内 (56)参考文献 特開 昭62−1071(JP,A) 特開 昭62−174878(JP,A) 特開 昭64−33680(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 17/50 G05B 19/4097 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Atsushi Inoue 4026 Kuji-cho, Hitachi City, Ibaraki Prefecture Within Hitachi Research Laboratory, Hitachi, Ltd. (72) Yoshiaki Shinozuka 4026 Kuji-cho, Hitachi City, Ibaraki Prefecture Hitachi Research, Ltd. In-house (72) Inventor Hirotoshi Uchiyama 5030 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Pref. Hitachi, Ltd. Software Factory (56) References JP-A-62-1071 (JP, A) JP-A-62-174878 (JP) , A) JP-A-64-33680 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 17/50 G05B 19/4097

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】設計対象物の形状のデータを操作する手段
と、設計対象物の特徴に関する属性データを操作する手
段と、複数の形状データ及び属性データの間の関係を示
す拘束データを操作する手段と、上記拘束データの変更
に基づいて変更された拘束データによって表現される上
記形状デ−タ又は上記属性デ−タとの関係を満たすよう
に上記形状データ及び上記属性データを変更する第1の
変更手段と、上記属性データの変更に基づいて変更され
る拘束データによって表現される上記形状デ−タ又は上
記属性デ−タとの関係を満たすように上記形状データ及
び他の属性データを変更する第2の変更手段と、上記形
状データの変更に基づいて変更される拘束データによっ
て表現される上記形状デ−タ又は上記属性デ−タとの関
係を満たすように他の形状データ及び上記属性データを
変更する第3の変更手段と、上記第1,第2,第3の変
更手段によって変更されたデ−タが他の形状デ−タ又は
属性デ−タ又は拘束デ−タと矛盾が生じないかを検出す
る検出手段とを有することを特徴とする設計支援装置。
A means for operating shape data of a design object; a means for operating attribute data relating to characteristics of the design object; and a constraint data indicating a relationship between a plurality of shape data and attribute data. Means for changing the shape data and the attribute data so as to satisfy a relationship between the means and the shape data or the attribute data represented by the constraint data changed based on the change of the constraint data. Changing the shape data and other attribute data so as to satisfy the relationship between the shape data or the attribute data represented by the constraint data changed based on the change of the attribute data. And a second change unit that satisfies the relationship between the shape data or the attribute data represented by the constraint data changed based on the change of the shape data. Third changing means for changing the shape data and the attribute data, and the data changed by the first, second, and third changing means is used for changing the shape data, the attribute data, or the constraint data. A design support device having detection means for detecting whether data and inconsistency occur.
【請求項2】設計対象物の形状のデータを操作する手段
と、設計対象物の特徴に関する属性データを操作する手
段と、複数の形状データ及び属性データの間の関係を示
す拘束データを操作する手段と、上記形状デ−タ又は属
性デ−タ又は拘束データの変更に基づいて拘束データを
変更する拘束デ−タ変更手段と上記拘束デ−タ変更手段
によって変更される上記拘束デ−タを満たすように上記
形状データ及び上記属性データを変更する変更手段と、
上記変更手段によって変更されたデ−タが他の形状デ−
タ又は属性デ−タ又は拘束デ−タと矛盾が生じないかを
検出する検出手段とを有することを特徴とする設計支援
装置。
2. A means for manipulating shape data of a design object, a means for manipulating attribute data relating to characteristics of a design object, and a constraint data indicating a relationship between a plurality of shape data and attribute data. Means, constraint data changing means for changing constraint data based on the change of the shape data or attribute data or constraint data, and the constraint data changed by the constraint data changing means. Changing means for changing the shape data and the attribute data so as to satisfy;
The data changed by the above-mentioned changing means is replaced with other shape data.
A design means for detecting whether there is any inconsistency with data, attribute data, or constraint data.
【請求項3】設計対象物の形状のデータを操作する手段
と、設計対象物の特徴に関する属性データを操作する手
段と、複数の形状データ及び属性データの間の関係を示
す拘束データを操作する手段と、上記形状デ−タ又は属
性デ−タ又は拘束データの変更に基づいて拘束データを
変更する拘束デ−タ変更手段と上記拘束デ−タ変更手段
によって変更される上記拘束デ−タを満たすように上記
形状データ及び上記属性データを変更する変更手段と、
上記変更手段によって変更されたデ−タが他の形状デ−
タ又は属性デ−タ又は拘束デ−タの変更を繰り返す拘束
処理伝播拘束処理伝播手段と、上記変更手段又は上記拘
束処理伝播手段によって変更されたデ−タが他の形状デ
−タ又は属性デ−タ又は拘束デ−タと矛盾が生じないか
を検出する検出手段と、上記検出手段が矛盾を検出した
なら上記拘束処理伝播手段を停止する判定制御手段とを
有することを特徴とする設計支援装置。
3. A means for operating data of a shape of a design object, a means for operating attribute data relating to characteristics of the design object, and a constraint data indicating a relationship between a plurality of shape data and attribute data. Means, constraint data changing means for changing constraint data based on the change of the shape data or attribute data or constraint data, and the constraint data changed by the constraint data changing means. Changing means for changing the shape data and the attribute data so as to satisfy;
The data changed by the above-mentioned changing means is replaced with other shape data.
Constraint processing propagation means for repeatedly changing data or attribute data or constraint data; and the data changed by the change means or the constraint processing propagation means are used to convert other shape data or attribute data. Design support means for detecting whether there is any inconsistency with the data or constraint data, and determination control means for stopping the constraint processing propagation means if the detection means detects inconsistency. apparatus.
【請求項4】上記属性データは、少なくとも形状の頂
点,稜線,面,部品,部分組立品、全体組立品に関する
デ−タであることを特徴とする請求項1,2又は3記載
の設計支援装置。
4. The design support according to claim 1, wherein said attribute data is at least data relating to vertices, ridges, faces, parts, sub-assemblies, and whole assemblies of the shape. apparatus.
【請求項5】設計対象物を表わす上記形状データは、
点,稜線,面に関して位相情報と幾何情報とに分離する
手段と、それぞれの情報には独立に属性データを付属さ
せる手段を有することを特徴とする請求項1,2又は3
記載の設計支援装置。
5. The shape data representing a design object is:
4. The apparatus according to claim 1, further comprising means for separating topological information and geometric information with respect to points, ridges, and surfaces, and means for independently attaching attribute data to each piece of information.
The design support device described in the above.
【請求項6】上記属性データに他の属性データを付属さ
せる手段を有することを特徴とする請求項1,2又は3
記載の設計支援装置。
6. The apparatus according to claim 1, further comprising means for attaching other attribute data to said attribute data.
The design support device described in the above.
【請求項7】上記属性データの属性項目を設定する手段
と、設定された上記属性項目に対応する値を設定する手
段を有することを特徴とする請求項1,2または3の設
計支援装置。
7. The design support apparatus according to claim 1, further comprising means for setting an attribute item of said attribute data, and means for setting a value corresponding to said set attribute item.
【請求項8】上記拘束矛盾検出手段は、上記拘束デ−タ
である計算式の入出力関係がループ状に構成されている
ことを検出することを特徴とする請求項1,2又は3記
載の設計支援装置。
8. The constraint inconsistency detecting means detects that the input / output relation of a calculation formula as the constraint data is formed in a loop. Design support equipment.
JP04254747A 1992-09-24 1992-09-24 Design support equipment Expired - Fee Related JP3144085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04254747A JP3144085B2 (en) 1992-09-24 1992-09-24 Design support equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04254747A JP3144085B2 (en) 1992-09-24 1992-09-24 Design support equipment

Publications (2)

Publication Number Publication Date
JPH06103340A JPH06103340A (en) 1994-04-15
JP3144085B2 true JP3144085B2 (en) 2001-03-07

Family

ID=17269316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04254747A Expired - Fee Related JP3144085B2 (en) 1992-09-24 1992-09-24 Design support equipment

Country Status (1)

Country Link
JP (1) JP3144085B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7321804B2 (en) * 2004-12-15 2008-01-22 The Boeing Company Method for process-driven bill of material
JP4855103B2 (en) * 2006-03-03 2012-01-18 三菱スペース・ソフトウエア株式会社 Orbit generation apparatus, orbit generation method, and orbit generation program
JP5998572B2 (en) * 2012-03-28 2016-09-28 日本電気株式会社 Design verification support apparatus, design verification support method, and design verification support program
US10346556B2 (en) * 2016-05-25 2019-07-09 Hexagon Technolgy Center GmbH Validation of multi-component design constraints for capital project design system
KR102686951B1 (en) * 2024-01-26 2024-07-22 주식회사 에스이엔씨 Fire fighting equipment design drawing system and operation method thereof

Also Published As

Publication number Publication date
JPH06103340A (en) 1994-04-15

Similar Documents

Publication Publication Date Title
Hoffmann et al. EREP An editable high-level representation for geometric design and analysis
CN115017569B (en) A two- and three-dimensional bridge parametric modeling and drawing method, device, equipment, and medium
Requicha et al. Representation of geometric features, tolerances, and attributes in solid modelers based on constructive geometry
US7492364B2 (en) System and method for creating and updating a three-dimensional model and creating a related neutral file format
JPH0475170A (en) Data base operation system
Kim et al. Toward standardized exchange of plant 3D CAD models using ISO 15926
US20010043209A1 (en) Three-dimensional model generation system, three-dimensional model generation method, and recording medium storing a three-dimensional model generation program
CN113901231A (en) Method, device and medium for evolution analysis of knowledge graph
Feng et al. A hybrid and automated approach to adapt geometry model for CAD/CAE integration
Krijnen et al. Validation and inference of geometrical relationships in IFC
JP3144085B2 (en) Design support equipment
CN112434376B (en) A fast conversion method for heterogeneous CAD hull models for SPD system
CN111581815B (en) XML-based process model ontology construction method
JP4410595B2 (en) CAD data conversion apparatus and method, and program
JPH04222075A (en) Operating method of graphic display system and data storing method
Fudos Editable representations for 2D geometric design
US6608623B1 (en) Feature-based macro language for definition of customized analytic and customized geometric functionality
JPH10222506A (en) Device for supporting document preparation
JP2000057184A (en) How to create a 3D shape model
JP4921103B2 (en) Apparatus, method and program for visualizing Boolean expressions
CN109753715B (en) Visual Tolerancing System
Zamanian Modeling and communicating spatial and functional information about constructed facilities
Kutty et al. Visual tools for temporal reasoning
Agbodan et al. A data model architecture for parametrics
Summers et al. Towards establishing the design exemplar as a CAD query language

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080105

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080105

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090105

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees