JPH04199367A - Parametric design cad system - Google Patents
Parametric design cad systemInfo
- Publication number
- JPH04199367A JPH04199367A JP2333015A JP33301590A JPH04199367A JP H04199367 A JPH04199367 A JP H04199367A JP 2333015 A JP2333015 A JP 2333015A JP 33301590 A JP33301590 A JP 33301590A JP H04199367 A JPH04199367 A JP H04199367A
- Authority
- JP
- Japan
- Prior art keywords
- cad
- similar
- size
- change
- dimension
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Image Processing (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
この発明は、既に作成されているCAD図面を利用して
類似の図面を作成するのに好適なノ(ラメトリック設計
CADシステムに関する。Detailed Description of the Invention [Objective of the Invention] (Industrial Application Field) The present invention is a method suitable for creating similar drawings using already created CAD drawings (lametric design CAD). Regarding the system.
(従来の技術)
従来から、CADシステムを用い、パラメトリック設計
によって類似図面の作成を行う方式か知られている。こ
のような類似図面を作成するだめの従来の方式は、CA
Dシステムの持つ(図形要素に対する)移動、修正機能
、或いは図形定義機能を利用して行うものであった。(Prior Art) Conventionally, a method of creating similar drawings by parametric design using a CAD system has been known. The conventional method for creating such similar drawings is CA
This was done by using the D system's movement and modification functions (for graphic elements) or graphic definition functions.
(発明か解決しようとする課題)
しかし、CADシステムの持つ移動、修正機能を利用し
た類似図面の作成方式では、操作が極めて煩雑となり、
図面作成効率が悪いという問題があった。また、図形定
義機能を利用した方式では、パラメトリック化可能な形
状(類似図面として作成可能な形状が限定され、自由度
に乏しいという問題があった。(Problem to be solved by the invention) However, the method of creating similar drawings using the movement and modification functions of the CAD system requires extremely complicated operations.
There was a problem that the drawing creation efficiency was low. In addition, the method using the figure definition function has a problem in that the shapes that can be made parametric (shapes that can be created as similar drawings are limited and the degree of freedom is poor).
この発明は上記事情に鑑みてなされたものでその目的は
、所望の既存CAD図面を構成する図形要素の幾つかを
指定するだけで、図形定義言語を用いることなく、類似
図面が簡単に作成できるパラメトリック設計CADシス
テムを提供することにある。This invention was made in view of the above circumstances, and its purpose is to easily create similar drawings without using a drawing definition language by simply specifying some of the graphical elements that constitute a desired existing CAD drawing. Our objective is to provide a parametric design CAD system.
[発明の構成]
(課題を解決するための手段)
この発明は、所望のCAD図面内でパラメトリック化の
対象とする寸法要素、その寸法変更条件、および上記寸
法要素の寸法変更に関連する図形要素を関連要素として
指定入力するための入力手段と、上記CAD図面を構成
する図面要素のうち、入力手段により指定入力された関
連要素の座標値を上記寸法要素および寸法変更条件をも
とに変更して類似図面を作成する類似図面作成手段とを
設けたことを特徴とするものである。[Structure of the Invention] (Means for Solving the Problems) This invention provides a dimensional element to be parametrized in a desired CAD drawing, a condition for changing the dimension thereof, and a graphical element related to changing the dimension of the dimensional element. an input means for specifying and inputting the related element as a related element, and changing the coordinate values of the related element specified and input by the input means among the drawing elements constituting the CAD drawing, based on the above-mentioned dimension element and dimension change conditions. The present invention is characterized in that it is provided with a similar drawing creation means for creating similar drawings using the same method.
(作用)
上記の構成によれば、所望の既存CAD図面内でパラメ
トリック化したい寸法要素(パラメトリック化対象寸法
要素)と、このパラメトリック化に伴って影響を受ける
図形要素(関連要素)を指定すると共に、パラメトリッ
ク化対象寸法要素の寸法変更条件(例えば変更後の寸法
値、寸法変化方向)を指定するたけて、上記関連要素の
座標データか寸法要素および寸法変更条件に従って類似
図面作成手段により変更されて類似図面か作成される。(Operation) According to the above configuration, the dimensional element to be parametrized (dimensional element to be parametrized) and the graphical element (related element) affected by this parametricization are specified in a desired existing CAD drawing. In order to specify the dimension change conditions (for example, the dimension value after change, the direction of dimension change) of the dimension element to be parametrized, the coordinate data of the above-mentioned related elements must be changed by a similar drawing creation means according to the dimension element and the dimension change conditions. Similar drawings will be created.
このため、CADシステムか持つ移動、修正機能や、図
形定義言語の適用ができなかった図面に対しても類似図
面の作成か可能となり、図形定義言語によるプログラミ
ングに多くの時間を費やす必要もな(なる。Therefore, it is possible to create similar drawings even for drawings to which the movement and modification functions of the CAD system or the figure definition language cannot be applied, and there is no need to spend a lot of time programming with the figure definition language ( Become.
(実施例) 以下、この発明の一実施例を図面を参照して説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.
第1図はパラメトリック設計CADシステムのブロック
構成を示すもので、lOはCAD図面(CA、 Dシス
テムで作成された図面)のデータが各種保存されている
図面データベース、11は各種プログラム、データの格
納等に用いられる主メモリである。主メモリ11には、
処理対象となるCAD図面(CAD図面データ)か図面
データヘース10から読出されて格納される。12は処
理対象CAD図面の表示等に用いられる表示モニタ、1
3は表示モニタ12に対するCAD図面表示や利用者と
の対話のためのメツセージ表示等を行う表示制御部であ
る。14は各種文字キー、ファンクションキー等を持つ
キーボード、15はポインティングデバイスとしてのマ
ウス、16はキーボード14およびマウス15を持つキ
ーボードユニット、17はマンマシンインタフェースで
ある。マンマシンインタフェース17は、キーボードユ
ニット16からの入力の受付けを行うと共に、表示モニ
タ12上の表示画面を介した利用者との対話を可能とす
るために、入力内容に従う表示制御部13の制御を行う
ようになっている。Figure 1 shows the block configuration of the parametric design CAD system, where IO is a drawing database that stores various data on CAD drawings (drawings created with CA and D systems), and 11 is a storage for various programs and data. This is the main memory used for etc. In the main memory 11,
A CAD drawing (CAD drawing data) to be processed is read from the drawing data database 10 and stored. 12 is a display monitor used for displaying CAD drawings to be processed;
Reference numeral 3 denotes a display control unit that displays CAD drawings on the display monitor 12, messages for interaction with the user, and the like. 14 is a keyboard having various character keys, function keys, etc.; 15 is a mouse as a pointing device; 16 is a keyboard unit having the keyboard 14 and mouse 15; and 17 is a man-machine interface. The man-machine interface 17 accepts input from the keyboard unit 16 and also controls the display control unit 13 according to the input contents in order to enable interaction with the user via the display screen on the display monitor 12. It is supposed to be done.
18はCAD図面を元図として類似図面を作成するため
にキーボードユニット1Bから入力された後述する各種
指定情報を保持するのに用いられる入力情報メモリ、】
9はCAD図面(元図)から類似図面を作成するのに用
いられる図面データ変換用のテーブルメモリである。テ
ーブルメモリ19には、第2図に示すように、座標テー
ブルT1と同座標テーブルT1を管理するための管理テ
ーブルT2とか生成される。座標テーブルT1は、元図
を構成する各図形要素の端点のx、y座標と、類似図面
を構成する各図形要素の端点のx、y座標とを、対応す
る端点毎に対を成して設定するためのエントリEi
(i=1.2・)を持つ。一方、管理テーブルT2は、
元図を構成する各図形要素毎に、その端点の座標データ
が設定されている座標テーブルT1内エントリEiを指
定するポインタ(ポインタ情報)と、その端点の座標か
類似図面の作成に影響するか否かをx、y座標別に示す
変更指示フラグFx、、Fyとを、対を成して設定する
ためのエントリを持つ。20は類似図面を作成するため
のキーボードユニット16からの指定入力情報に従って
テーブルメモリ19に第2図に示すような座標テーブル
T1および管理テーブルT2を作成する(但し、座標テ
ーブルTl内の類似図面座標データは次に述べる類似図
面作成部21によって設定される。)変換テーブル作成
部、21はテーブルメモリ19の内容と入力情報メモリ
18の内容をもとに、類似図面を構成する各図形要素の
端点の座標データを生成し、類似図面を作成する類似図
面作成部である。Reference numeral 18 denotes an input information memory used to hold various kinds of designation information, which will be described later, input from the keyboard unit 1B in order to create a similar drawing based on the CAD drawing;
Reference numeral 9 denotes a table memory for converting drawing data used to create similar drawings from CAD drawings (original drawings). In the table memory 19, as shown in FIG. 2, a coordinate table T1 and a management table T2 for managing the coordinate table T1 are generated. The coordinate table T1 stores the x, y coordinates of the end points of each graphical element constituting the original drawing and the x, y coordinates of the endpoint of each graphical element constituting the similar drawing, forming pairs for each corresponding endpoint. Entry Ei for setting
(i=1.2・). On the other hand, the management table T2 is
A pointer (pointer information) that specifies the entry Ei in the coordinate table T1 in which the coordinate data of the end point is set for each graphical element constituting the original drawing, and whether the coordinate of the end point affects the creation of a similar drawing. It has an entry for setting a pair of change instruction flags Fx, . 20 creates a coordinate table T1 and a management table T2 as shown in FIG. The data is set by the similar drawing creation unit 21 described below.) The conversion table creation unit 21 is a conversion table creation unit 21 that uses the end points of each graphical element constituting the similar drawing based on the contents of the table memory 19 and the input information memory 18. This is a similar drawing creation unit that generates coordinate data and creates similar drawings.
第3図は第1図のシステムにおける類似図面作成処理手
順を示すフローチャート、である。FIG. 3 is a flowchart showing a similar drawing creation processing procedure in the system of FIG. 1.
第4図は既存のCAD図面から類似図面を作成する過程
の概略を説明するための図である。FIG. 4 is a diagram for explaining the outline of the process of creating a similar drawing from an existing CAD drawing.
次に、第1図のシステムにおける類似図面作成処理の動
作を、上記第1図乃至第4図を適宜参照して説明する。Next, the operation of similar drawing creation processing in the system shown in FIG. 1 will be explained with reference to FIGS. 1 to 4 as appropriate.
今、図面データベース10から主メモリ11に読出され
た処理対象CAD図面か(表示制御部13の制御のもと
て)表示モニタ12に表示されており、且つ類似図面作
成モードにあるものとする。このモードは、操作者がキ
ーボードユニット16を操作して例えば類似図面作成コ
マンドを入力することにより設定される。上記処理対象
CAD図面は、第4図(イ)に示すように6個の図形要
素(線分)a −fを持つものとする。図形要素aは端
点(始点7終点)Pl、、P2を、図形要素すは端点P
2゜P3を、図形要素Cは端点P3.P4を、図形要素
dは端点P4.P5を、図形要素eは端点P5゜P6を
、そして図形要素fは端点P6.PIをそれぞれ持つ。It is now assumed that a CAD drawing to be processed that has been read out from the drawing database 10 into the main memory 11 is being displayed on the display monitor 12 (under the control of the display control section 13) and is in a similar drawing creation mode. This mode is set by the operator operating the keyboard unit 16 and inputting, for example, a similar drawing creation command. It is assumed that the CAD drawing to be processed has six graphical elements (line segments) a to f, as shown in FIG. 4(a). Graphic element a has end points (starting point 7 end point) Pl, , P2, and graphic element a has end point P
2°P3, and the graphic element C is at the end point P3. P4, and the graphic element d is the end point P4. P5, graphic element e has end points P5, P6, and graphic element f has end points P6. Each has a PI.
ここで操作者か、表示モニタ12の表示画面を見ながら
キーボードユニット16のマウス15等を操作して、C
AD図面内でパラメトリック化したい寸法要素(パラメ
トリック化対象寸法要素)Aと、変更後の寸法値および
寸法変化方向(ここではXの正方向)から成る寸法変更
条件を指定入力すると、その指定内容がマンマシンイン
タフェース17によって受付けられる(ステップSl)
。マンマシンインタフェース17によって受付けられた
指定内容は変換テーブル作成部20を介して入力情報メ
モリ18に書込まれる。Here, the operator operates the mouse 15 of the keyboard unit 16 while looking at the display screen of the display monitor 12 to
When you specify and input the dimension change condition consisting of the dimension element A that you want to parametrize in the AD drawing (the dimension element to be parametrized), the dimension value after the change, and the direction of dimension change (in this case, the positive direction of X), the specified contents will be changed. Received by the man-machine interface 17 (step Sl)
. The specified contents accepted by the man-machine interface 17 are written into the input information memory 18 via the conversion table creation section 20.
次に操作者は再びマウス15等を用いて、パラメトリッ
ク化対象寸法要素人の寸法値変更に関連する図形要素(
関連要素)の指定入力操作を行う。Next, the operator uses the mouse 15 again to use the graphical element (
related elements).
この関連要素は3種ある。第1の関連要素は/(ラメト
リック化対象寸法要素Aに対応する図形要素と共通の端
点を持ち、且つ同図形要素が寸法値変更により形状変化
しても全く影響されない基準の図形要素(以下、タイプ
1関連要素と称する)であり、第4図の例では、同図(
ロ)において口印か付された図形要素fである。第2の
関連要素は、寸法値の変化方向に移動する図形要素(以
下、タイプ2関連要素と称する)であり、第4図の例で
は、同図(ロ)においてO印が付された図形要素すであ
る。そして第3の関連要素は、寸法値か変化する(形状
が変化する)図形要素(以下、タイプ3関連要素と称す
る)であり、第4図の例では、同図(ロ)においてΔ印
が付された図形要素a。There are three types of related elements. The first related element is / (a reference graphical element that has a common end point with the graphical element corresponding to the dimensional element A to be converted into ramometrics, and is not affected at all even if the same graphical element changes its shape due to a change in dimension value (hereinafter referred to as , referred to as type 1 related elements), and in the example of Fig. 4, the same figure (
This is the graphic element f with a mouth seal attached in (b). The second related element is a graphical element that moves in the direction of change in dimension value (hereinafter referred to as type 2 related element), and in the example in Figure 4, it is a graphical element marked with an O in the same figure (b). It is an element. The third related element is a graphic element whose dimension value changes (shape changes) (hereinafter referred to as type 3 related element), and in the example of Fig. 4, the Δ mark in the figure (b) is Attached graphical element a.
Cである。操作者の操作によってキーボードユニット1
6から入力された関連要素の指定内容はマンマシンイン
タフェース17によって受付けられ(ステップS2)、
変換テーブル作成部20を介して入力情報メモリ18に
書込まれる。なお、テーブルメモリ19(内の座標テー
ブルTl、T2)は類似図形作成モードの開始時には“
0“クリアされている。It is C. Keyboard unit 1 is activated by the operator's operation.
The specified contents of the related elements input from 6 are accepted by the man-machine interface 17 (step S2),
It is written into the input information memory 18 via the conversion table creation section 20. Note that the table memory 19 (coordinate tables Tl, T2 therein) is "
0 “Cleared.
変換テーブル作成部20は以上の受付けが完了すると、
主メモリ11に置かれている類似図形作成の元になる処
理対象CAD図面、即ち元図のデータから、1つ図形要
素(のデータ)を取出し、テーブルメモリ19に書込む
(ステップS3)。ここでは、まず端点Pi、P2を持
つ図形要素aのデータ(座標データP1x、P1yおよ
びP 2x、 P 2y)が取出されて、テーブルメ
モリ19に第2図に示すように書込まれる。即ち、図形
要素aの始点座標データP LX、 P Iyかテー
ブルメモリ19内座標テーブルT1のE1エントリの元
図座標データフィールドに書込まれ、図形要素aの終点
座標データP 2X、 P 2yが座標テーブルT1
のE2エントリに書込まれる。またテーブルメモリ19
内管理テーブルの先頭エントリの始点1終点データ用ポ
インタフィールドには、El、E2が書込まれる。When the conversion table creation unit 20 completes the above reception,
One graphic element (data) is extracted from the data of the CAD drawing to be processed, that is, the original drawing, which is the basis for creating a similar figure stored in the main memory 11, and written into the table memory 19 (step S3). Here, data (coordinate data P1x, P1y and P2x, P2y) of graphic element a having endpoints Pi and P2 are first taken out and written into the table memory 19 as shown in FIG. 2. That is, the starting point coordinate data PLX, PIy of graphic element a is written to the original figure coordinate data field of the E1 entry of the coordinate table T1 in the table memory 19, and the end point coordinate data P2X, P2y of graphic element a are written as the coordinates. Table T1
is written to the E2 entry of Also table memory 19
El and E2 are written in the start point 1 end point data pointer field of the first entry of the internal management table.
変換テーブル作成部20はステップS3の図形要素書込
み(ここでは図形要素aの書込み)を実行すると、同要
素(a)が関連要素であるか否かを入力情報メモリ18
の内容(関連要素の指定情報)をもとにチエツクする(
ステップS4)。この例の図形要素aのように関連要素
である場合には、変換テーブル作成部20は同要素かタ
イプ1〜タイプ3のいずれであるかをチエツクする(ス
テップS5,6)。図形要素aのようにタイプ3関連要
素(第4図(ロ)でΔ印か付された図形要素)の場合、
変換テーブル作成部20はその要素(a)がパラメトリ
ック化対象寸法要素Aに対応するものか否かをチエ’7
りする(ステップ37)。図形要素aのように対象寸法
要素Aに対応している場合、変換テーブル作成部20は
、管理テーブルT2内で図形要素aに割当てられた始点
側と終点側の各1対の変更指示フラグFX、Fyのうち
、基準となるタイプ1関連要素(第4図(ロ)で口印が
付された図形要素f)と共通でない端点(P2)側の変
化方向(X方向)に対応する変更指示フラグ(ここでは
、終点側変更指示フラグFx)をオンする(ステップS
8)。When the conversion table creation unit 20 executes the graphic element writing in step S3 (here, the writing of the graphic element a), the conversion table creation unit 20 determines whether the element (a) is a related element or not in the input information memory 18.
Check based on the contents (specified information of related elements) (
Step S4). If it is a related element like graphic element a in this example, the conversion table creation unit 20 checks whether it is the same element or one of types 1 to 3 (steps S5 and 6). In the case of a type 3 related element like graphic element a (graphic element marked with Δ in Figure 4 (b)),
The conversion table creation unit 20 checks whether the element (a) corresponds to the dimension element A to be parametrized.
(step 37). When the graphic element a corresponds to the target dimension element A, the conversion table creation unit 20 converts each pair of change instruction flags FX on the start point side and the end point side assigned to the graphic element a in the management table T2. , Fy, a change instruction corresponding to the direction of change (X direction) on the end point (P2) side that is not common with the standard type 1 related element (graphic element f marked with a seal in Figure 4 (b)) Turn on the flag (here, the end point side change instruction flag Fx) (step S
8).
変換テーブル作成部20はステップS8を実行すると、
元図の最後の要素であったか否かを調べ(ステップS9
)、最後の要素でなかったならば、次の要素である図形
要素すを主メモリ11上の元図から取出し、前記した図
形要素aの場合と同様にしてテーブルメモリ19へ書込
む(ステップS3)。When the conversion table creation unit 20 executes step S8,
Check whether it is the last element of the original diagram (step S9
), if it is not the last element, the next element, graphic element a, is taken out from the original diagram on the main memory 11 and written to the table memory 19 in the same manner as in the case of the graphic element a described above (step S3 ).
この図形要素すは第4図(ロ)でO印が付されたタイプ
2関連要素である。この場合、変換テーブル作成部20
はステップ84〜S6を紅でステップS10へ進み、管
理テーブルT2内で図形要素すに割当てられた始点側と
終点側の各1対の変更指示フラグFx、Fyのうち、変
化方向(X方向)に対応する変更指示フラグ、即ち始点
側と終点側の両変更指示フラグFXをオンする(ステッ
プ510)。This graphic element is a type 2 related element marked with an O mark in FIG. 4(b). In this case, the conversion table creation unit 20
Steps 84 to S6 are red and the process proceeds to step S10, where the direction of change (X direction) is selected among each pair of change instruction flags Fx and Fy on the start point side and end point side assigned to the graphic element in the management table T2. The change instruction flag corresponding to , that is, both the change instruction flags FX on the starting point side and the ending point side are turned on (step 510).
変tliテーブル作成部20はステップS10を実行す
るとステップS9に戻り、図形要素すが最後の要素でな
いことから更にステップS3に戻る。After the variable tli table creation unit 20 executes step S10, the process returns to step S9, and since the graphic element is not the last element, the process returns to step S3.
変換テーブル作成部20は、ステップS3において主メ
モリ11上の元図から次の図形要素Cを取出し、テーブ
ルメモリ19へ書込む。この図形要素Cは前記した図形
要素aのようにタイプ3関連要素であるか、パラメトリ
ック化対象寸法要素Aに対応しないものである。この場
合、変換テーブル作成部20はステップ84〜S7を経
てステップSllへ進み、管理テーブルT2内で図形要
素Cに割当てられた始点側と終点側の各1対の変更指示
フラグFx、Fyのうち、タイプ2関連要素すと共通の
端点側の変化方向くX方向)に対応する変更指示フラグ
、即ち始点(P3)側変更指示フラグFXをオンする(
ステップ511)。The conversion table creation unit 20 extracts the next graphical element C from the original diagram on the main memory 11 and writes it into the table memory 19 in step S3. This graphical element C is either a type 3 related element like the above-described graphical element a, or it does not correspond to the dimension element A to be parametrized. In this case, the conversion table creation unit 20 proceeds to step Sll through steps 84 to S7, and selects one of each pair of change instruction flags Fx, Fy on the start point side and end point side assigned to the graphic element C in the management table T2. , turn on the change instruction flag corresponding to the end point side change direction (X direction) common to type 2 related elements, that is, the start point (P3) side change instruction flag FX (
Step 511).
変換テーブル作成部20はステップSllを実行すると
ステップS9に戻り、図形要素Cが最後の要素でないこ
とから更にステップS3に戻る。When the conversion table creation unit 20 executes step Sll, the process returns to step S9, and since the graphical element C is not the last element, the process further returns to step S3.
変換テーブル作成部20は、ステップS3において主メ
モリ11上の元図から次の図形要素dを取出し、テーブ
ルメモリ19へ書込む。この図形要素dは関連要素でな
い。この場合、変換テーブル作成部2゜はステップS4
から(管理テーブルT2内で図形要素dに割当てられた
変更指示フラグに対する操作を何もせずに)そのまま最
終要素判定ステップS9へ進み、しかる後にステップS
3に戻って次の図形要素eの取出しとテーブルメモリ1
9への書込みを行う。この図形要素eも関連要素でない
ことから、ステップS4.S9を経て更に次の図形要素
fの取出しとテーブルメモリ19への書込みが行われる
(ステップS3)。この図形要素fはタイプ]関連要素
である。この場合、変換テーブル作成部20はステップ
S4.S5から(管理テーブルT2内で図形要素fに割
当てられた変更指示フラグに対する操作を何もせずに)
そのまま最終要素判定ステップS9へ進む。このとき、
テーブルメモリ19内の管理テーブルT2は第2図のよ
うな状態となっている。The conversion table creation unit 20 extracts the next graphical element d from the original diagram on the main memory 11 in step S3, and writes it into the table memory 19. This graphical element d is not a related element. In this case, the conversion table creation unit 2° performs step S4.
(without performing any operation on the change instruction flag assigned to the graphic element d in the management table T2), proceed directly to the final element determination step S9, and then proceed to step S9.
Return to step 3 and take out the next graphical element e and table memory 1
Write to 9. Since this graphical element e is also not a related element, step S4. After S9, the next graphic element f is taken out and written into the table memory 19 (step S3). This graphical element f is a type] related element. In this case, the conversion table creation unit 20 performs step S4. From S5 (without performing any operation on the change instruction flag assigned to graphic element f in management table T2)
The process directly advances to final element determination step S9. At this time,
The management table T2 in the table memory 19 is in a state as shown in FIG.
図形要素fは元図の最後の要素である。したがってステ
ップS9の判定はYESとなる。この場合、変換テーブ
ル作成部20は類似図面作成部21に制御を渡す。類似
図面作成部21は、まず入力情報メモリ18に書込まれ
ている寸法変更条件から寸法の移動量(変化量)ΔXま
たはΔyを算出する(ステップ512)。ここでは、第
4図(イ)に示す寸法値Aを、対応する図形要素aの端
点P2をXの正方向に第4図(ハ)に示すP’ 2のよ
うに移動して、寸法値Bのように変更するものとすると
、ステップ512では値が正のΔXか求められる(P2
がXの負方向に移動される場合には、ΔXの値は負とな
る)。Graphic element f is the last element of the original diagram. Therefore, the determination in step S9 is YES. In this case, the conversion table creation unit 20 passes control to the similar drawing creation unit 21. The similar drawing creation unit 21 first calculates the amount of movement (amount of change) ΔX or Δy of the dimensions from the dimension change conditions written in the input information memory 18 (step 512). Here, the dimension value A shown in FIG. 4 (A) is changed by moving the end point P2 of the corresponding graphic element a in the positive direction of X as shown in P' 2 shown in FIG. 4 (C). If the change is made as shown in B, in step 512 it is determined whether the value is positive ΔX (P2
If is moved in the negative direction of X, the value of ΔX will be negative).
類似図面作成部21はステップS12で移動量を算出す
ると、テーブルメモリ19(内の座標テーブルTI)に
書込まれている元図の各図形要素の端点座標値のうち、
管理テーブルメモリの対応する変更指示フラグがオンし
ている端点座標値に移動量を加算し、その結果を、座標
テーブルT]の対応するエントリの類似図面座標データ
フィールドに書込む(ステップ813)。ここでは、第
2図に示すテーブルメモリ19内の管理テーブルT2の
内容から明らかなように、点P2.P3の各X座標値P
2x、 P 3Xに算出した移動量ΔXが加算され
、移動(寸法変更)後の点P’2.P’3のX座標値P
’ 2X、 P’ 3Xが求められる。点P′2゜P
’3のX座標値と他の点PL 、P4−PhiのX。When the similar drawing creation unit 21 calculates the movement amount in step S12, it calculates the end point coordinate values of each figure element of the original drawing written in the table memory 19 (internal coordinate table TI).
The amount of movement is added to the coordinate value of the end point whose corresponding change instruction flag is turned on in the management table memory, and the result is written in the similar drawing coordinate data field of the corresponding entry in the coordinate table T (step 813). Here, as is clear from the contents of the management table T2 in the table memory 19 shown in FIG. Each X coordinate value P of P3
The calculated movement amount ΔX is added to 2x, P3X, and the point P'2. after movement (dimensional change) is obtained. X coordinate value P of P'3
' 2X, P' 3X are calculated. Point P′2゜P
'3's X coordinate value and other points PL, P4-Phi's X.
X座標値は元図と同じである。The X coordinate value is the same as the original figure.
類似図面作成部21はステップ813を実行してテーブ
ルメモリ19内の座標テーブルT1を第2図に示すよつ
に完成すると、同テーブルT〕の類似図面座標データフ
ィールドで示される端点座標を持つ第4図(ハ)に示ず
よつな類似図面の図形要素列を図面データヘース10に
登録する(ステップ514)。これにより、一連の類似
図面作成処理は終了となる。When the similar drawing creation unit 21 executes step 813 and completes the coordinate table T1 in the table memory 19 as shown in FIG. 4. A graphic element sequence of a different similar drawing shown in FIG. 4(c) is registered in the drawing data database 10 (step 514). This ends the series of similar drawing creation processes.
なお、前記実施例では、寸法変化方向かX方向(水平)
である場合について説明したか、y方向(垂直方向)で
も同様に行えることは勿論である。また、斜め方向への
・1法変化にも、変更後の寸法値と1.てそのX成分、
X成分をそれぞれ与えることにより応用可能である。こ
の場合、タイプ2関連要素については、その両端点の各
変更指示フラグFx、Fyがオンされ、タイプ3関連要
素については、その一方の端点の変更指示フラグFx、
Fyがオンされる。In addition, in the above embodiment, the dimension change direction or the X direction (horizontal)
Although the case has been described above, it is of course possible to perform the same operation in the y direction (vertical direction). Also, for changes in the diagonal direction by 1 method, the dimension values after the change and 1. The X component,
It can be applied by providing each X component. In this case, for type 2 related elements, the change instruction flags Fx and Fy at both end points are turned on, and for type 3 related elements, the change instruction flags Fx and Fy at one end point are turned on.
Fy is turned on.
また、前記実施例では、入力情報メモリ18およびテー
ブルメモリ19か主メモリ11とは別に設けられている
場合について説明(7たが、主メモリ11上の特定領域
に置かれるものであってもよい。In addition, in the above embodiment, the input information memory 18 and the table memory 19 are provided separately from the main memory 11 (7), but they may be provided in a specific area on the main memory 11. .
[発明の効果]
以上詳述したようにこの発明によれば、既存のCAD図
面(元図)内でパラメトリック化したい寸法要素並びに
その寸法変更条件、およびこれと関連する図形要素を指
定人力すると、元図をもとにして関連する図形要素の座
標値を変更し、元図に類似した図面(類似図面)を作成
することができる。即ち、この発明によれば、類似図面
を作成するのに従来のように図形定義言語を用いて最初
から作成する必要がなく、既存CAD図面から類似図面
が簡単に作成でき、またCADシステムが持つ移動、修
正機能、或いは図形定義機能を利用する従来方式では作
成できなかった図面に対しても類似図面の作成が可能と
なり、更に図形定義言語を用いたプログラミングを不要
にするという優れた効果を得ることができる。。[Effects of the Invention] As described in detail above, according to the present invention, if a dimensional element to be parametrized, its dimensional change conditions, and graphical elements related thereto are specified in an existing CAD drawing (original drawing), It is possible to create a drawing similar to the original drawing (similar drawing) by changing the coordinate values of related graphic elements based on the original drawing. That is, according to the present invention, it is not necessary to create similar drawings from the beginning using a figure definition language as in the past, similar drawings can be easily created from existing CAD drawings, and the CAD system has It is now possible to create similar drawings for drawings that could not be created with conventional methods that use the move, modify, or figure definition functions, and has the excellent effect of eliminating the need for programming using a figure definition language. be able to. .
第1図はこの発明の一実施例に係るパラメトリック設計
CADシステムのブロック構成図、第2図は第1図に示
すテーブルメモリ19の構造の一例を示す図、第3図は
第1図のシステムにおける類似図面作成処理手順を示す
フローチャート、第4図は既存のCAD図面から類似図
面を作成する過程の概略を説明するための図である。
lO図面データヘース、11・・主メモリ、12・・表
示モニタ、16・・キーボードユニット、15・・・マ
ウス、17・・マンマシンインタフェース、18・・−
人力情報メモリ、19・・テーブルメモリ、20・・変
換テーブル作成部、21・類似図面作成部、T1・座標
テーブル、T2・管理テーブル。
出願人代理人 弁理士 鈴江武彦
第 3 図(その1)
第 3 図(その2)FIG. 1 is a block diagram of a parametric design CAD system according to an embodiment of the present invention, FIG. 2 is a diagram showing an example of the structure of the table memory 19 shown in FIG. 1, and FIG. 3 is a diagram showing the system of FIG. 1. FIG. 4 is a flowchart showing the similar drawing creation processing procedure in , and is a diagram for explaining the outline of the process of creating a similar drawing from an existing CAD drawing. IO drawing data storage, 11...Main memory, 12...Display monitor, 16...Keyboard unit, 15...Mouse, 17...Man-machine interface, 18...-
Human power information memory, 19. Table memory, 20. Conversion table creation section, 21. Similar drawing creation section, T1. Coordinate table, T2. Management table. Applicant's agent Patent attorney Takehiko Suzue Figure 3 (Part 1) Figure 3 (Part 2)
Claims (1)
法要素、その寸法変更条件、および上記寸法要素の寸法
変更に関連する図形要素を関連要素として指定入力する
ための入力手段と、上記CAD図面を構成する図面要素
のうち、上記入力手段により指定入力された上記関連要
素の座標値を上記寸法要素および寸法変更条件をもとに
変更して、上記CAD図面の類似図面を作成する類似図
面作成手段と、 を具備することを特徴とするパラメトリック設計CAD
システム。[Scope of Claims] An input means for specifying and inputting a dimensional element to be parametrized in a desired CAD drawing, its dimensional change conditions, and a graphical element related to the dimensional change of the dimensional element as a related element. , among the drawing elements constituting the CAD drawing, the coordinate values of the related elements designated and input by the input means are changed based on the dimension elements and dimension change conditions to create a drawing similar to the CAD drawing. A parametric design CAD comprising: a similar drawing creation means; and a parametric design CAD.
system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2333015A JPH04199367A (en) | 1990-11-29 | 1990-11-29 | Parametric design cad system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2333015A JPH04199367A (en) | 1990-11-29 | 1990-11-29 | Parametric design cad system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04199367A true JPH04199367A (en) | 1992-07-20 |
Family
ID=18261337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2333015A Pending JPH04199367A (en) | 1990-11-29 | 1990-11-29 | Parametric design cad system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04199367A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07230482A (en) * | 1994-02-21 | 1995-08-29 | Sekisui Chem Co Ltd | Plotting method for cad drawing |
US5548706A (en) * | 1992-09-29 | 1996-08-20 | Fujitsu Limited | CAD system with parallel dimension-line editing function |
-
1990
- 1990-11-29 JP JP2333015A patent/JPH04199367A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5548706A (en) * | 1992-09-29 | 1996-08-20 | Fujitsu Limited | CAD system with parallel dimension-line editing function |
JPH07230482A (en) * | 1994-02-21 | 1995-08-29 | Sekisui Chem Co Ltd | Plotting method for cad drawing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2804224B2 (en) | Network diagram drawing method and system | |
JPS62159286A (en) | Cursor control method and three-dimensional graphic display device | |
JP2707175B2 (en) | Graphic processing system | |
JPH07111742B2 (en) | Method and apparatus for transforming figure | |
JP3599198B2 (en) | Figure editing device | |
JPH04199367A (en) | Parametric design cad system | |
JP2625600B2 (en) | Figure moving deformation method and apparatus | |
JPS6228829A (en) | Tablet input information processor | |
JP2663967B2 (en) | Information storage control method | |
JPH06250777A (en) | Three-dimensional position indicating device | |
JP2570858B2 (en) | How to enter discrete quantities | |
JP4355078B2 (en) | Modified circle drawing device and image extracting device | |
JPS63163676A (en) | Linear coordinate input device | |
JPH05314269A (en) | Graph preparing device | |
JP2669366B2 (en) | Line-symmetric figure input device | |
JP2571178B2 (en) | 3D graphics processor | |
JPH01209518A (en) | Command cancellation method | |
JPH0546707A (en) | Information processor | |
JPS63118882A (en) | Image editing device | |
JPS61128378A (en) | Picture signal forming device | |
JPS62279475A (en) | Graphic processor | |
JPH07105263A (en) | Graphic processor | |
JPH02270072A (en) | Surface recognition method in 3D CAD system | |
JPS63211466A (en) | Graphic input device | |
JPH05258039A (en) | Graphic display device |