JPH08255183A - Method for writing combined figure on CAD drawing - Google Patents
Method for writing combined figure on CAD drawingInfo
- Publication number
- JPH08255183A JPH08255183A JP7057803A JP5780395A JPH08255183A JP H08255183 A JPH08255183 A JP H08255183A JP 7057803 A JP7057803 A JP 7057803A JP 5780395 A JP5780395 A JP 5780395A JP H08255183 A JPH08255183 A JP H08255183A
- Authority
- JP
- Japan
- Prior art keywords
- code
- combination
- graphic
- unit
- size
- 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
Abstract
(57)【要約】
【目的】CAD図面に所定の組合せ図形を簡単に書込む
方法を提供する。
【構成】単位図形を形状コード18と大きさコード19と割
付位置24に基づいて作成する図形作成手段15を有するコ
ンピュータ1に、それぞれ所定形状で且つ所定相互関係
にある所定数の単位図形からなる組合せ図形中の各単位
図形の大きさコード19をコード入力手段6から入力し、
組合せ図形の書込位置20を図形入力手段2から組合せ基
準位置として入力する。組合せ基準位置に対する各単位
図形の相対位置を各単位図形の大きさから算出する関係
式25と各単位図形の形状コード18とを記憶する割付手段
16を設け、割付手段16により関係式25と大きさコード19
とから各単位図形の相対位置を算出し、その相対位置と
書込位置20とから各単位図形の割付位置24を算出し、各
単位図形の形状コード18と大きさコード19と割付位置24
を図形作成手段15へ入力することにより組合せ図形を書
込位置20に書込む。
(57) [Abstract] [Purpose] To provide a method for easily writing a predetermined combination figure on a CAD drawing. [Structure] A computer 1 having a graphic creating means 15 for creating a unit graphic based on a shape code 18, a size code 19 and an allocation position 24 is composed of a predetermined number of unit graphics each having a predetermined shape and a predetermined mutual relationship. Input the size code 19 of each unit figure in the combination figure from the code input means 6,
The writing position 20 of the combination graphic is input from the graphic input means 2 as the combination reference position. Allocation means for storing the relational expression 25 for calculating the relative position of each unit figure with respect to the combination reference position from the size of each unit figure and the shape code 18 of each unit figure
16 is provided, and the relational expression 25 and the size code 19 are assigned by the allocation means 16.
The relative position of each unit figure is calculated from and the allocation position 24 of each unit figure is calculated from the relative position and the writing position 20, and the shape code 18, size code 19 and allocation position 24 of each unit figure are calculated.
By inputting to the figure creating means 15, the combined figure is written in the writing position 20.
Description
【0001】[0001]
【産業上の利用分野】本発明はCAD図面上の組合せ図
形書込方法に関し、とくに複数の単位図形からなる所定
の組合せ図形をCAD図面上に書込む方法に関する。こ
こに単位図形とは、組合せ図形の構成単位となる線分、
円弧、真円等の図形をいう。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for writing a combined figure on a CAD drawing, and more particularly to a method for writing a predetermined combined figure consisting of a plurality of unit figures on the CAD drawing. Here, a unit figure is a line segment that is a constituent unit of a combination figure,
A figure such as a circular arc or a perfect circle.
【0002】[0002]
【従来の技術】種々の業務においてコンピュータを利用
した設計(以下、CADという)が行なわれており、C
ADにより作成した図面(以下、CAD図面ということ
がある)も普及している。図4は建築設計業務における
CAD図面の一例である設備機器配置図(以下、機器プ
ロット図ということがある)を示す。図6は従来のCA
D図面の作成方法の一例を示し、図6を参照して図4の
CAD図面の作成方法を簡単に説明する。図6のコンピ
ュータ1はマウス等の図形入力手段2と、作業メモリ5
と、作業メモリ5の内容を出力するディスプレイやプロ
ッター等の図面出力手段3を有する。例えばディスプレ
イ等の図面出力手段3の出力を適宜確認しながら図形入
力手段2から書込むべき図形の形状と大きさと位置とを
入力し、入力された図形の形状コードと大きさコードと
位置コードとに基づき図形作成手段15が図形イメージを
作成して作業メモリ5に記憶し、作業メモリ5に記憶さ
れた図形イメージを纏めて図面出力手段3へ出力するこ
とにより例えば図4のCAD図面4を作成する。コンピ
ュータ1にコード入力手段6を接続し、書込むべき図形
の形状と大きさと位置のコード信号をコード入力手段6
から入力することも可能である。2. Description of the Related Art A design using a computer (hereinafter referred to as CAD) is carried out in various businesses.
Drawings created by AD (hereinafter sometimes referred to as CAD drawings) are also popular. FIG. 4 shows a facility equipment layout diagram (hereinafter sometimes referred to as equipment plot diagram) which is an example of a CAD drawing in a building design work. FIG. 6 shows a conventional CA
An example of a method of creating the D drawing will be shown, and the method of creating the CAD drawing of FIG. 4 will be briefly described with reference to FIG. The computer 1 shown in FIG. 6 includes a graphic input means 2 such as a mouse and a working memory 5.
And a drawing output means 3 such as a display or plotter for outputting the contents of the working memory 5. For example, the shape, size and position of the figure to be written are input from the figure input means 2 while appropriately confirming the output of the drawing output means 3 such as a display, and the shape code, size code and position code of the input figure are input. Based on the above, the graphic creating means 15 creates a graphic image and stores it in the working memory 5, and collectively outputs the graphic images stored in the working memory 5 to the drawing output means 3 to create the CAD drawing 4 of FIG. 4, for example. To do. The code input means 6 is connected to the computer 1, and the code input means 6 receives the code signal of the shape, size and position of the figure to be written.
It is also possible to input from.
【0003】図4のCAD図面4には、複数の線分等の
単位図形を長方形に組合せた組合せ図形22a〜22dが書込
まれている。各組合せ図形22a〜22dは配置する各機器の
位置と形状と大きさとを表すものである。この様な組合
せ図形22は、例えば図形入力手段2から入力した単位図
形の組合せとして書込むことができる。図6に示すよう
にコンピュータ1には外部記憶装置10を接続し、CAD
図面上に書込んだ組合せ図形22内の一組の単位図形を纏
めて図形ファイル11として外部記憶装置10に記憶してお
けば、再び同一の組合せ図形22を書込む必要がある時に
記憶した図形ファイル11を読み出すことにより、CAD
図面4上に組合せ図形22を簡単に書込むことができる。
この組合せ図形22の図形ファイル11を読み出す方法によ
れば、図形ファイル11の一回の読み出しにより複数の単
位図形からなる組合せ図形22を書込むことができるの
で、図形入力手段2による複数回の入力が省略でき、図
形入力作業の効率化を図ることができる。なお図中のコ
ード入力手段6からの矢印は図形ファイル11をファイル
名13の入力により読み出すことを示す。In the CAD drawing 4 of FIG. 4, combination figures 22a to 22d in which unit figures such as a plurality of line segments are combined in a rectangle are written. The respective combination figures 22a to 22d represent the position, shape and size of each device to be arranged. Such a combination graphic 22 can be written as a combination of unit graphics input from the graphic input means 2, for example. An external storage device 10 is connected to the computer 1 as shown in FIG.
If a set of unit figures in the combined figure 22 written on the drawing are collected and stored in the external storage device 10 as the figure file 11, the figure stored when the same combined figure 22 needs to be written again By reading the file 11, CAD
The combined figure 22 can be easily written on the drawing 4.
According to the method of reading the graphic file 11 of the combination graphic 22, the combination graphic 22 composed of a plurality of unit graphics can be written by reading the graphic file 11 once. Can be omitted, and the efficiency of the figure input work can be improved. The arrow from the code input means 6 in the figure indicates that the graphic file 11 is read out by inputting the file name 13.
【0004】[0004]
【発明が解決しようとする課題】しかし上述した組合せ
図形22の図形ファイル11を読み出す方法は、一度作図し
た後の組合せ図形22を図形ファイル11として記憶し、次
回書込む時に再利用するものであるから、初めて作図す
る組合せ図形22に対しては利用することができない。例
えば図4の機器プロット図のように機器の仕様に合わせ
て組合せ図形22を作図する場合、既に記憶した当該組合
せ図形22の図形ファイル11があれば所定の組合せ図形22
を簡単に書込むことができるが、そのような図形ファイ
ル11がない場合は図形入力手段2から機器の仕様に合わ
せて複数の単位図形の大きさと形と位置を入力する必要
があり、非常に手間がかかる。外部記憶装置10の容量が
十分にあれば、様々な機器に対応する組合せ図形22の図
形ファイル11を予め作成して外部記憶装置10に記憶して
おくことも不可能ではないが、機器プロット図に書込む
べき機器の種類は膨大であり、全ての機器に対応する図
形ファイル11を整備するには多くの時間と労力が必要と
なる。However, in the method of reading the graphic file 11 of the combination graphic 22 described above, the combination graphic 22 after drawing once is stored as the graphic file 11 and reused at the next writing. Therefore, it cannot be used for the combination graphic 22 which is drawn for the first time. For example, when a combination graphic 22 is drawn according to the equipment specifications as shown in the device plot diagram of FIG. 4, if there is a graphic file 11 of the combination graphic 22 already stored, the predetermined combination graphic 22
Can be written easily, but if there is no such figure file 11, it is necessary to input the size, shape and position of a plurality of unit figures in accordance with the specifications of the equipment from the figure input means 2, which is extremely difficult. It takes time and effort. If the capacity of the external storage device 10 is sufficient, it is not impossible to create the graphic file 11 of the combination graphic 22 corresponding to various devices in advance and store it in the external storage device 10, but the device plot diagram The types of devices to be written in are enormous, and it takes a lot of time and labor to prepare the graphic file 11 corresponding to all the devices.
【0005】そこで本発明の目的は、CAD図面に所定
の組合せ図形を簡単に書込むことができる組合せ図形書
込方法を提供するにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a combination graphic writing method capable of easily writing a predetermined combination graphic on a CAD drawing.
【0006】[0006]
【課題を解決するための手段】図1及び図3を参照する
に、本発明のCAD図面上の組合せ図形書込方法は、図
形の形状と大きさと位置を入力する図形入力手段2、コ
ード信号を入力するコード入力手段6、CAD図面を書
込むべき作業メモリ5、作業メモリ5の内容を出力する
図面出力手段3、及び単位図形21を当該単位図形21の形
状コード18と大きさコード19と割付位置24とに基づいて
作成する図形作成手段15を有するコンピュータ1で作図
するCAD図面4上に、それぞれ所定形状で且つ所定相
互関係にある所定数の単位図形21からなる組合せ図形22
を書込む方法において、書込むべき組合せ図形22内の各
単位図形21の大きさコード19をコード入力手段6から入
力し、組合せ図形22の書込位置20を図形入力手段2から
組合せ基準位置23として入力し、組合せ基準位置23に対
する各単位図形21の相対位置を各単位図形21の大きさか
ら算出する関係式25と各単位図形21の形状コード18とを
コンピュータ1に設けた割付手段16に記憶し、割付手段
16により関係式25と大きさコード19とから各単位図形21
の相対位置を算出し且つ前記相対位置と書込位置20とか
ら各単位図形21の割付位置24を算出し、記憶した形状コ
ード18と入力された大きさコード19と算出した割付位置
24とを単位図形21毎に図形作成手段15へ入力することに
より組合せ図形22をCAD図面4上の前記書込位置に書
込んでなるものである。1 and 3, a combined figure writing method on a CAD drawing according to the present invention includes a figure input means 2 for inputting the shape, size and position of a figure, and a code signal. A code input means 6 for inputting a CAD drawing, a work memory 5 for writing a CAD drawing, a drawing output means 3 for outputting the contents of the work memory 5, and a unit figure 21 as a shape code 18 and a size code 19 of the unit figure 21. A combination graphic 22 consisting of a predetermined number of unit graphics 21 each having a predetermined shape and a predetermined mutual relationship on a CAD drawing 4 drawn by a computer 1 having a graphic creating means 15 created based on the allocation position 24.
In the method of writing, the size code 19 of each unit graphic 21 in the combination graphic 22 to be written is input from the code input means 6, and the writing position 20 of the combination graphic 22 is changed from the graphic input means 2 to the combination reference position 23. The relational expression 25 for calculating the relative position of each unit figure 21 with respect to the combination reference position 23 from the size of each unit figure 21 and the shape code 18 of each unit figure 21 are assigned to the allocating means 16 provided in the computer 1. Memorize and allocate
From the relational expression 25 and the size code 19 according to 16, each unit figure 21
The relative position of the unit figure 21 is calculated from the relative position and the writing position 20, and the stored shape code 18, the input size code 19 and the calculated allocation position are calculated.
By inputting 24 and 24 for each unit figure 21 to the figure creating means 15, the combined figure 22 is written in the writing position on the CAD drawing 4.
【0007】[0007]
【作用】4つの単位図形211、212、213、214からなる長
方形の組合せ図形22をCAD図面4に書込む図3の実施
例を参照して本発明の作用を説明する。図3では各単位
図形21の形状を線分としているが、単位図形21の形状は
線分に限定されず、例えば真円、円弧等とすることがで
きる。The operation of the present invention will be described with reference to the embodiment of FIG. 3 in which a rectangular combinational figure 22 consisting of four unit figures 21 1 , 21 2 , 21 3 , and 21 4 is written in the CAD drawing 4. In FIG. 3, the shape of each unit graphic 21 is a line segment, but the shape of the unit graphic 21 is not limited to a line segment, and may be, for example, a perfect circle, an arc, or the like.
【0008】形状コード18は組合せ図形22に含まれる各
単位図形21の形状を指定するものであり、図3の形状コ
ード18はそれぞれ単位図形211、212、213、214の形状を
線分と指定する形状コードLからなる。単位図形21の形
状が線分以外であるときは線分の形状コードLと識別可
能な他の形状コードにより指定することができる。図中
の形状コードLは説明のため添字が付してあるが、添字
は形状コードに必須ものではない。大きさコード19は各
単位図形21の大きさを指定するものであり、図3の大き
さコード19は単位図形211、212、213、214の線分の長さ
を指定する大きさコードp、q、p、qからなる。単位図形
21が線分の場合は大きさコード19によりその長さを指定
すれば足りるが、単位図形21が真円の場合は大きさコー
ド19で半径の長さを指定し、円弧の場合は大きさコード
19で半径の長さと2つの角度を指定することができる。The shape code 18 designates the shape of each unit figure 21 included in the combination figure 22, and the shape code 18 of FIG. 3 indicates the shape of the unit figures 21 1 , 21 2 , 21 3 and 21 4 , respectively. It is composed of a line segment and a shape code L designated. When the shape of the unit graphic 21 is other than a line segment, it can be designated by another shape code that can be distinguished from the shape code L of the line segment. The shape code L in the figure is added with a subscript for explanation, but the subscript is not essential to the shape code. The size code 19 is for specifying the size of each unit figure 21, and the size code 19 in FIG. 3 is a size for specifying the length of the line segment of the unit figures 21 1 , 21 2 , 21 3 , 21 4. The code consists of p, q, p, and q. Unit figure
If 21 is a line segment, it is sufficient to specify its length with size code 19, but if unit figure 21 is a perfect circle, specify the length of radius with size code 19, and if it is an arc, size code
At 19 you can specify the length of the radius and two angles.
【0009】図3の割付手段16は、上述した形状コード
18と関係式25を記憶する。本発明者は、組合せ図形22内
の単位図形21の数が一定であり、各単位図形21の形状が
それぞれ所定であり、且つ各単位図形21の向きや交差位
置等の相互関係が所定であれば、組合せ基準位置23に対
する各単位図形21の相対位置を各単位図形21の大きさか
ら計算できることに注目した。関係式25はこの計算方法
を示すものである。組合せ基準位置23とは例えば特定の
単位図形21上の端点であり、各単位図形21の相対位置と
は例えば組合せ基準位置23に対する線分の両端位置、真
円又は円弧の中心位置等である。図3の関係式25は、各
単位図形211、212、213、214を長方形の4辺とし、組合
せ基準位置23を単位図形211の一端(0、0)とした場合
に、各単位図形211、212、213、214の長さx、y、x、yか
ら各単位図形211、212、213、214の両端位置が(0、0)-
(x、0)、(x、0)-(x、y)、(x、y)-(0、y)、(0、y)-(0、
0)として算出できることを示す。The allocating means 16 in FIG. 3 is the shape code described above.
Remember 18 and relation 25. The present inventor has determined that the number of unit figures 21 in the combination figure 22 is constant, the shape of each unit figure 21 is predetermined, and the mutual relationship such as the orientation and the crossing position of each unit figure 21 is predetermined. For example, it was noted that the relative position of each unit graphic 21 with respect to the combination reference position 23 can be calculated from the size of each unit graphic 21. Relational expression 25 shows this calculation method. The combination reference position 23 is, for example, an end point on a specific unit graphic 21, and the relative position of each unit graphic 21 is, for example, both end positions of a line segment with respect to the combination reference position 23, a center position of a perfect circle, or an arc. In the relational expression 25 of FIG. 3, when each unit figure 21 1 , 21 2 , 21 3 , and 21 4 is four sides of a rectangle, and the combination reference position 23 is one end (0, 0) of the unit figure 21 1 , each unit figures 21 1, 21 2, 21 3, 21 4 of length x, y, x, the unit figures 21 1 from y, 21 2, 21 3, 21 4 at both ends positions (0,0) -
(x, 0), (x, 0)-(x, y), (x, y)-(0, y), (0, y)-(0,
It shows that it can be calculated as 0).
【0010】コード入力手段6から各単位図形21の大き
さコード19を入力し、図形入力手段2から組合せ図形22
の書込位置20を入力する。割付手段16は、各単位図形21
の大きさコードp、q、p、qを関係式25へ代入することに
より、組合せ基準位置(0、0)に対する各単位図形21の相
対位置を算出する。また組合せ基準位置(0、0)が書込位
置(α、β)と一致するように各単位図形21を平行移動さ
せ、各単位図形21の割付位置を算出する。図3の割付手
段16は、各単位図形211、212、213、214の割付位置24が
(α、β)-(α+p、β)、(α+p、β)-(α+p、β+q)、
(α+p、β+q)-(α、β+q)、(α、β+q)-(α、β)と
して算出できることを示す。The size code 19 of each unit graphic 21 is input from the code input means 6, and the combination graphic 22 is input from the graphic input means 2.
Enter the writing position 20 of. The allocating means 16 includes unit graphics 21
By substituting the size codes p, q, p, and q into the relational expression 25, the relative position of each unit graphic 21 with respect to the combination reference position (0, 0) is calculated. Further, each unit graphic 21 is translated so that the combination reference position (0, 0) matches the writing position (α, β), and the allocation position of each unit graphic 21 is calculated. The allocating means 16 of FIG. 3 has the allocation positions 24 of the unit figures 21 1 , 21 2 , 21 3 and 21 4 respectively.
(α, β)-(α + p, β), (α + p, β)-(α + p, β + q),
It is shown that it can be calculated as (α + p, β + q)-(α, β + q), (α, β + q)-(α, β).
【0011】各単位図形21の割付位置24が求まれば、各
単位図形21の形状コード18は割付手段16に記憶され、大
きさコード19はコード入力手段6から入力されるので、
単位図形21毎の形状コード18と大きさコード19と割付位
置24を図形作成手段15へ入力することにより、組合せ図
形22中の各単位図形21が作成できる。この単位図形21を
組合せれば、CAD図面4上の任意の位置に組合せ図形
22を書込むことができる。なお本発明で用いる割付手段
16の一例はコンピュータ1上のプログラムであるが、例
えば従来のCAD用ソフトウェアにおける図形の形状指
示、大きさ指示、書込位置指示等の各操作コマンドを一
括して起動するプログラムとすることが可能である。When the allocation position 24 of each unit graphic 21 is obtained, the shape code 18 of each unit graphic 21 is stored in the allocation means 16 and the size code 19 is input from the code input means 6,
By inputting the shape code 18, size code 19 and allocation position 24 for each unit graphic 21 to the graphic creating means 15, each unit graphic 21 in the combination graphic 22 can be created. By combining this unit figure 21, the combined figure can be placed at any position on the CAD drawing 4.
You can write 22. Allocation means used in the present invention
An example of the 16 is a program on the computer 1, but it can be a program that collectively activates each operation command such as shape instruction, size instruction, writing position instruction, etc. in the conventional CAD software. Is.
【0012】こうして本発明の目的である「CAD図面
に所定の組合せ図形を簡単に書込むことができる組合せ
図形書込方法」の提供が達成できる。Thus, the object of the present invention is to provide a "combination graphic writing method capable of easily writing a predetermined combination graphic on a CAD drawing".
【0013】[0013]
【実施例】図1の実施例では、コンピュータ1に外部記
憶装置10を設け、組合せ図形22毎に大きさコード19を記
憶する図形管理ファイル12を設けている。この場合、C
AD図面4上に組合せ図形22を書込む前に、その組合せ
図形22の大きさコード19をコード入力手段6から入力し
て図形管理ファイル12に記憶する。コンピュータ1以外
のワードプロセッサ等で作成した図形管理ファイル12を
外部記憶装置10へ移入することも可能である。CAD図
面4に組合せ図形22を書込む際に図形管理ファイル12か
らその組合せ図形22の大きさコード19を読み出し、読み
出した大きさコード19を割付手段16へ入力し、大きさコ
ード19で指定した大きさの組合せ図形22をCAD図面4
上に書込む。図1の実施例の場合、従来の組合せ図形22
の図形ファイル11を記憶する方法に比し、各種の大きさ
コード19を記憶した図形管理ファイル12が比較的簡単に
作成できるので、CAD図面4の作図の効率化への寄与
が期待できる。In the embodiment shown in FIG. 1, a computer 1 is provided with an external storage device 10 and a graphic management file 12 for storing a size code 19 for each combination graphic 22. In this case, C
Before writing the combination figure 22 on the AD drawing 4, the size code 19 of the combination figure 22 is inputted from the code input means 6 and stored in the figure management file 12. It is also possible to transfer the graphic management file 12 created by a word processor other than the computer 1 to the external storage device 10. When writing the combination figure 22 in the CAD drawing 4, the size code 19 of the combination figure 22 is read from the figure management file 12, the read size code 19 is input to the allocating means 16, and designated by the size code 19. CAD drawing 4 showing the size combination figure 22
Write on In the case of the embodiment shown in FIG.
Since the figure management file 12 storing various size codes 19 can be created relatively easily as compared with the method of storing the figure file 11 of FIG. 3, it can be expected to contribute to the efficiency of drawing the CAD drawing 4.
【0014】図1の実施例において、今回書込むべき今
回組合せ図形22内の各単位図形21の形状か相互関係か又
は数が、前回書込んだ前回組合せ図形22内の各単位図形
21の形状か相互関係か又は数と異なる場合は、今回組合
せ図形21の各単位図形22の形状コード18と関係式25を割
付手段16に入力し、既存の形状コード18及び関係式25と
置換して記憶することができる。置換後の形状コード18
及び関係式25を用いることにより、CAD図面4上の今
回書込位置に今回組合せ図形22を書込むことができる。In the embodiment shown in FIG. 1, the shape, the interrelationship, or the number of each unit graphic 21 in the current combination graphic 22 to be written this time depends on the shape of the unit graphic 21 in the previous combination graphic 22 written last time.
If it is different from the shape of 21 or the mutual relation or the number, the shape code 18 and the relational expression 25 of each unit figure 22 of the combination figure 21 are input to the allocating means 16 and replaced with the existing shape code 18 and the relational expression 25. And can be memorized. Shape code after replacement 18
By using the relational expression 25 and the relational expression 25, the present combined figure 22 can be written in the present writing position on the CAD drawing 4.
【0015】図2の実施例では、図形管理ファイル12に
組合せ図形22毎に大きさコード19と形状コード18と関係
式25を記憶している。この大きさコード19と形状コード
18と関係式25は、組合せ図形22を書込む前にコード入力
手段6から入力して記憶する。組合せ図形22を書込む時
に、図形管理ファイル12からその組合せ図形22の大きさ
コード19と形状コード18と関係式25を読み出し、読み出
した形状コード18と関係式25を割付手段16へ入力して既
存の形状コード18及び関係式25と置換えて記憶し、読み
出した大きさコード18を置換後の割付手段16へ入力する
ことにより組合せ図形22の書込を行なう。In the embodiment of FIG. 2, the size code 19, the shape code 18 and the relational expression 25 are stored in the graphic management file 12 for each combination graphic 22. This size code 19 and shape code
18 and the relational expression 25 are input from the code input means 6 and stored before the combination graphic 22 is written. When writing the combination figure 22, the size code 19, the shape code 18 and the relational expression 25 of the combination figure 22 are read from the figure management file 12, and the read shape code 18 and the relational expression 25 are input to the allocating means 16. The combination shape 22 is written by replacing the existing shape code 18 and the relational expression 25 and storing them, and inputting the read size code 18 into the allocating means 16 after replacement.
【0016】図4に示す機器プロット図上の機器投影図
を作図する場合に、図1に示す図形管理ファイル12とし
て機器毎にその機器の大きさを記憶する機器管理ファイ
ル14を用いることにより、機器投影図の大きさを機器管
理ファイルで管理する機器の大きさと容易に一致させる
ことができる。機器管理ファイル14の一例を図5に示
す。図5の機器管理ファイル14は複数の機器について様
々な機器属性をコード信号で管理しており、各機器属性
は決められた行数に文字型又は数値型で表される。この
機器属性のうち、例えば行数13、14、15で示す機器属性
を大きさデータ19とし、この大きさデータ19を割付手段
16へ入力することにより、機器プロット図上の機器投影
図の大きさを機器属性の大きさと一致させることができ
る。When a device projection diagram on the device plot diagram shown in FIG. 4 is drawn, by using the device management file 14 for storing the size of each device as the figure management file 12 shown in FIG. The size of the device projection view can be easily matched with the size of the device managed by the device management file. An example of the device management file 14 is shown in FIG. The device management file 14 of FIG. 5 manages various device attributes of a plurality of devices by code signals, and each device attribute is represented by a character type or a numerical type in a predetermined number of lines. Of these device attributes, for example, the device attributes indicated by the number of lines 13, 14, and 15 are used as size data 19, and this size data 19 is assigned to
By inputting to 16, it is possible to make the size of the device projection diagram on the device plot diagram match the size of the device attribute.
【0017】従来、機器プロット図に作図された各機器
の属性は、機器表と呼ばれる一覧表として別途作表され
ている。しかし機器プロット図に表示された機器の形状
及び大きさが、機器表に記載された機器の属性と必ずし
も一致しない問題点があった。上述したように機器プロ
ット図上の機器投影図の大きさを機器管理ファイル14の
機器属性と一致させ、且つ機器管理ファイル14の機器属
性を機器表に表示することとすれば、機器プロット図上
の機器投影図の形状及び大きさを機器表に記載された機
器属性と容易に一致させることができる。Conventionally, the attributes of each device plotted on the device plot diagram are separately tabulated as a list called a device table. However, there is a problem that the shape and size of the device displayed in the device plot diagram do not always match the device attributes described in the device table. As described above, if the size of the device projection view on the device plot diagram is made to match the device attribute of the device management file 14 and the device attribute of the device management file 14 is displayed in the device table, The shape and size of the device projection view of can be easily matched with the device attributes described in the device table.
【0018】[0018]
【発明の効果】以上詳細に説明したように、本発明のC
AD図面上の組合せ図形書込方法は、組合せ図形内の各
単位図形の大きさコードをコード入力手段から入力し、
組合せ図形の書込位置を図形入力手段から組合せ基準位
置として入力し、組合せ基準位置に対する各単位図形の
相対位置を各単位図形の大きさから算出する関係式と各
単位図形の形状コードとを記憶する割付手段を設け、割
付手段により関係式と大きさコードとから各単位図形の
相対位置を算出し且つ相対位置と書込位置とから各単位
図形の割付位置を算出し、各単位図形の形状コードと大
きさコードと割付位置とから各単位図形を作成すること
によりCAD図面上に組合せ図形を書込むので、以下の
顕著な効果を奏する。As described in detail above, the C of the present invention
The combination figure writing method on the AD drawing is performed by inputting the size code of each unit figure in the combination figure from the code input means,
The write position of the combination figure is input as the combination reference position from the figure input means, and the relational expression for calculating the relative position of each unit figure to the combination reference position from the size of each unit figure and the shape code of each unit figure are stored. The allocating means is provided, the allocating means calculates the relative position of each unit figure from the relational expression and the size code, and the allocating position of each unit figure from the relative position and the writing position to determine the shape of each unit figure. Since the combined figure is written on the CAD drawing by creating each unit figure from the code, the size code, and the allocation position, the following remarkable effects are obtained.
【0019】(イ)CAD図面に書込む組合せ図形の大き
さをコード入力手段から大きさコードの入力のみにより
選択的に変えることができる。 (ロ)組合せ図形の大きさコードは比較的簡単に作成でき
るので、多くの組合せ図形の大きさコードを整備し、図
形入力作業の効率化を図ることができる。 (ハ)機器管理ファイルの機器属性を大きさコードとして
利用することにより、組合せ図形の大きさを機器属性と
容易に一致させることができる。(A) The size of the combination figure to be written in the CAD drawing can be selectively changed only by inputting the size code from the code input means. (B) Since the size codes of combination figures can be created relatively easily, it is possible to improve the efficiency of figure inputting work by preparing many size codes of combination figures. (C) By using the device attribute of the device management file as the size code, the size of the combination figure can be easily matched with the device attribute.
【図1】は、本発明の一実施例の説明図であるFIG. 1 is an explanatory diagram of an embodiment of the present invention.
【図2】は、本発明の他の実施例の説明図である。FIG. 2 is an explanatory diagram of another embodiment of the present invention.
【図3】は、本発明の作用を示す説明図であるFIG. 3 is an explanatory view showing the operation of the present invention.
【図4】は、CAD図面上の組合せ図形の説明図であ
る。FIG. 4 is an explanatory diagram of a combination graphic on a CAD drawing.
【図5】は、機器管理ファイルの一例の説明図である。FIG. 5 is an explanatory diagram of an example of a device management file.
【図6】は、従来技術の説明図である。FIG. 6 is an explanatory diagram of a conventional technique.
1 コンピュータ 2 図形入力手段 3 図面出力手段 4 CAD図面 5 作業メモリ 6 コード入力手段 10 外部記憶装置 11 図形ファイル 12 図形管理ファイル 13 ファイル名 14 機器管理ファイル 15 図形作成手段 16 割付手段 18 形状コード 19 大きさコード 20 書込位置 21 単位図形 22 組合せ図形 23 組合せ基準位置 24 割付位置 25 関係式。 1 computer 2 graphic input means 3 drawing output means 4 CAD drawing 5 working memory 6 code input means 10 external storage device 11 graphic file 12 graphic management file 13 file name 14 device management file 15 graphic creating means 16 allocation means 18 shape code 19 large Code 20 Writing position 21 Unit graphic 22 Combination graphic 23 Combination reference position 24 Allocation position 25 Relational expression.
Claims (5)
入力手段、コード信号を入力するコード入力手段、CA
D図面を書込むべき作業メモリ、前記作業メモリの内容
を出力する図面出力手段、及び単位図形を当該単位図形
の形状コードと大きさコードと割付位置とに基づいて作
成する図形作成手段を有するコンピュータで作図するC
AD図面上に、それぞれ所定形状で且つ所定相互関係に
ある所定数の単位図形からなる組合せ図形を書込む方法
において、書込むべき組合せ図形内の各単位図形の大き
さコードを前記コード入力手段から入力し、前記組合せ
図形の書込位置を前記図形入力手段から組合せ基準位置
として入力し、前記組合せ基準位置に対する前記各単位
図形の相対位置を前記各単位図形の大きさから算出する
関係式と各単位図形の形状コードとを前記コンピュータ
に設けた割付手段に記憶し、前記割付手段により前記関
係式と前記大きさコードとから前記各単位図形の相対位
置を算出し且つ前記相対位置と前記書込位置とから前記
各単位図形の割付位置を算出し、前記記憶した形状コー
ドと前記入力された大きさコードと前記算出した割付位
置とを前記単位図形毎に前記図形作成手段へ入力するこ
とにより前記組合せ図形を前記CAD図面上の前記書込
位置に書込んでなるCAD図面上の組合せ図形書込方
法。1. A graphic input means for inputting the shape, size and position of a graphic, a code input means for inputting a code signal, CA.
D: A computer having a working memory in which a drawing is to be written, a drawing output means for outputting the contents of the working memory, and a figure creating means for creating a unit figure based on a shape code, a size code and an allocation position of the unit figure. Drawing with C
In a method of writing a combination figure composed of a predetermined number of unit figures each having a predetermined shape and a predetermined mutual relationship on an AD drawing, a size code of each unit figure in the combination figure to be written is inputted from the code input means. A relational expression for calculating the relative position of each unit graphic from the size of each unit graphic by inputting the writing position of the combination graphic from the graphic input means as a combination reference position The shape code of the unit figure is stored in the allocating means provided in the computer, the allocating means calculates the relative position of each unit figure from the relational expression and the size code, and the relative position and the writing. The allocation position of each unit figure is calculated from the position, and the stored shape code, the input size code, and the calculated allocation position are used as the unit diagram. The combined graphic writing method in the CAD drawing made by writing the said combined graphics to the writing position on the CAD drawing by inputting the figure creating means for each.
ュータに外部記憶装置を設け、前記外部記憶装置に前記
組合せ図形毎に前記各単位図形の大きさコードを記憶す
る図形管理ファイルを設け、前記組合せ図形を書込む前
にその組合せ図形の前記大きさコードを前記コード入力
手段から入力して前記図形管理ファイルに記憶し、前記
組合せ図形を書込む時に前記図形管理ファイルからその
組合せ図形の前記大きさコードを読み出して前記割付手
段に入力してなるCAD図面上の組合せ図形書込方法。2. The writing method according to claim 1, wherein the computer is provided with an external storage device, and the external storage device is provided with a graphic management file for storing a size code of each unit graphic for each combination graphic, Before writing the combination figure, the size code of the combination figure is input from the code input means and stored in the figure management file, and when the combination figure is written, the size of the combination figure is written from the figure management file. A method for writing a combination graphic on a CAD drawing, which comprises reading a size code and inputting it to the allocating means.
図面を機器プロット図とし、前記組合せ図形を前記CA
D図面に書込むべき機器投影図とし、前記図形管理ファ
イルを前記機器の大きさコードを機器毎に記憶する機器
管理ファイルとしてなるCAD図面上の組合せ図形書込
方法。3. The writing method according to claim 2, wherein the CAD
The drawing is used as a device plot diagram, and the combination figure is the CA.
A method for writing a combined figure on a CAD drawing, wherein the figure is a device projection drawing to be written in the D drawing, and the figure management file is a device management file for storing the size code of the device for each device.
べき今回組合せ図形内の各単位図形の形状か相互関係か
又は数が前回書込んだ前回組合せ図形内の各単位図形の
形状か相互関係か又は数と異なる場合に、前記今回組合
せ図形内の各単位図形の形状コード及び前記関係式を前
記割付手段に入力して既存の形状コード及び関係式と置
換して記憶し、前記置換後の形状コード及び関係式に基
づいて前記今回組合せ図形を前記CAD図面上に書込ん
でなるCAD図面上の組合せ図形書込方法。4. The writing method according to claim 1, wherein the shape of each unit figure in the current combination figure to be written this time is a mutual relation, or the number is the shape of each unit figure in the previous combination figure written last time. If there is a mutual relationship or a difference from the number, the shape code and the relational expression of each unit figure in the present combination figure are input to the allocating means, replaced with the existing shape code and relational expression, stored, and replaced. A combination graphic writing method on a CAD drawing, wherein the present combination graphic is written on the CAD drawing based on a shape code and a relational expression given later.
ュータに外部記憶装置を設け、前記外部記憶装置に前記
組合せ図形毎に前記大きさコードと前記形状コードと前
記関係式を記憶する図形管理ファイルを設け、前記組合
せ図形を書込む前にその組合せ図形の前記大きさコード
と前記形状コードと前記関係式を前記コード入力手段か
ら入力して前記図形管理ファイルに記憶し、前記組合せ
図形を書込む時に前記図形管理ファイルからその組合せ
図形の前記大きさコードと前記形状コードと前記関係式
を読み出し、読み出した前記形状コードと前記関係式を
前記割付手段に入力して既存の形状コード及び関係式と
置換して記憶し、読み出した前記大きさコードを前記置
換後の割付手段に入力してなるCAD図面上の組合せ図
形書込方法。5. The writing method according to claim 4, wherein the computer is provided with an external storage device, and the external storage device stores the size code, the shape code, and the relational expression for each combination graphic. A file is provided, and before writing the combination figure, the size code, the shape code and the relational expression of the combination figure are input from the code input means and stored in the figure management file, and the combination figure is written. At the time of loading, the size code, the shape code and the relational expression of the combination graphic are read from the graphic management file, and the read shape code and the relational expression are input to the allocating means and the existing shape code and relational expression are entered. A method for writing a combination graphic on a CAD drawing, wherein the size code that is stored after being replaced with the read size code is input to the allocating means after the replacement.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7057803A JPH08255183A (en) | 1995-03-16 | 1995-03-16 | Method for writing combined figure on CAD drawing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7057803A JPH08255183A (en) | 1995-03-16 | 1995-03-16 | Method for writing combined figure on CAD drawing |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08255183A true JPH08255183A (en) | 1996-10-01 |
Family
ID=13066082
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7057803A Pending JPH08255183A (en) | 1995-03-16 | 1995-03-16 | Method for writing combined figure on CAD drawing |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08255183A (en) |
-
1995
- 1995-03-16 JP JP7057803A patent/JPH08255183A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5070534A (en) | Simplified cad parametric macroinstruction capability including variational geometrics feature | |
| JP2835791B2 (en) | Graphic processing unit | |
| JP3450346B2 (en) | Different-scale map management device | |
| JP2643617B2 (en) | Method and apparatus for drawing walls or beams in architectural drawings, etc. | |
| JP3591892B2 (en) | Character string display method and character string display device | |
| JPH0421229B2 (en) | ||
| JPH0434193B2 (en) | ||
| JP3162130B2 (en) | Graphic data input method and graphic data output method | |
| JP2753250B2 (en) | Drawing management method and apparatus | |
| JP2598153B2 (en) | Drawing management method and apparatus | |
| JPH04288593A (en) | Image display device | |
| JPH08137926A (en) | CAD drawing creation method | |
| JP3841986B2 (en) | Drawing data management method, drawing data management apparatus therefor, and computer-readable recording medium | |
| JPH1031752A (en) | Recognition result correction device for drawing input device | |
| JPH039475A (en) | Circuit diagram input system in cad system | |
| JPH07175834A (en) | Drawing managing device for cad system | |
| JPS62229289A (en) | document processing device | |
| JPS62108285A (en) | Layout display system for document generator | |
| JPH06342277A (en) | Character display device | |
| JPS63284682A (en) | Drawing management method and device | |
| JPS631588B2 (en) | ||
| JP2005025155A (en) | Structured map producing apparatus, structured map producing method and structured map producing program | |
| JPH01320577A (en) | Graphic processor | |
| JPH05334027A (en) | CAD device | |
| JPH0660137A (en) | Circuit diagram editer |