JPH05165927A - Method and device for processing graphic - Google Patents

Method and device for processing graphic

Info

Publication number
JPH05165927A
JPH05165927A JP3351884A JP35188491A JPH05165927A JP H05165927 A JPH05165927 A JP H05165927A JP 3351884 A JP3351884 A JP 3351884A JP 35188491 A JP35188491 A JP 35188491A JP H05165927 A JPH05165927 A JP H05165927A
Authority
JP
Japan
Prior art keywords
information
attribute information
adjacent
copy
created
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3351884A
Other languages
Japanese (ja)
Other versions
JP2616328B2 (en
Inventor
Shuichi Yoshida
秀一 吉田
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries 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 Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP3351884A priority Critical patent/JP2616328B2/en
Publication of JPH05165927A publication Critical patent/JPH05165927A/en
Application granted granted Critical
Publication of JP2616328B2 publication Critical patent/JP2616328B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To prepare the copy of a body drawing containing a body graphic having information concerning an adjacent graphic as attribute information and a body graphic not having the information concerning the adjacent graphic as the attribute information only by executing a little operations. CONSTITUTION:A CPU 7 reads an attribute information storage area 9c of a RAM 9 and when the attribute information of the body graphic contained in the body drawing instructed through a mouse 3 has the information concerning the adjacent graphic, it is judged whether the information concerning the adjacent graphic is contained in the attribute information of the body graphic prepared by copy or not. Then, the body drawing instructed by the mouse 3 is prepared at a position instructed by the mouse 3 by copy.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、CADシステム等を使
用した建築図等の作成に係わり、特に、躯体図をコピー
するための図形処理方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to creation of architectural drawings and the like using a CAD system and the like, and more particularly to a graphic processing method and apparatus for copying a skeleton drawing.

【0002】[0002]

【従来の技術】従来のCADシステムにおいて、例えば
図8の破線80によって囲まれた、柱81、82、83
および84、壁85、86、87および88、ならびに
開口部89を含む躯体図と全く同一の躯体図を別の位置
に作成するには、すなわち躯体図をコピーするには、ま
ず、図9に示すように、作成したい位置に、通り芯9
1、92、93および94を作成し、次に、図10に示
すように、柱81、82、83および84に対応する柱
101、102、103および104を作成し、次に、
図11に示すように、壁85、86、87および88に
対応する壁105、106、107および108を作成
し、最後に、図12に示すように、開口部89に対応し
た開口部109を作成している。
2. Description of the Related Art In a conventional CAD system, for example, columns 81, 82, 83 surrounded by a broken line 80 in FIG.
And 84, walls 85, 86, 87 and 88, and a body diagram that is exactly the same as the body diagram containing the opening 89 in another position, that is, to copy the body diagram, first, in FIG. At the position you want to create,
1, 92, 93 and 94, and then columns 101, 102, 103 and 104 corresponding to columns 81, 82, 83 and 84, as shown in FIG.
As shown in FIG. 11, walls 105, 106, 107 and 108 corresponding to the walls 85, 86, 87 and 88 are created, and finally, as shown in FIG. 12, an opening 109 corresponding to the opening 89 is formed. Creating.

【0003】また、従来、躯体図に含まれる躯体図形に
は、属性情報中に隣接図形ID等の隣接図形に関する情
報を有する基本躯体図形と、属性情報中に隣接図形ID
等の隣接図形に関する情報を有しない一般躯体図形とが
ある。基本躯体図形は、隣接図形情報を容易に取り出す
ことができるので、自動干渉処理および自動包絡処理を
行うことができる。しかし、基本躯体図形は、配置位置
に関して次のような制約がある。
Further, conventionally, a skeleton figure included in a skeleton diagram includes a basic skeleton figure having information on an adjacent figure such as an adjacent figure ID in attribute information, and an adjacent figure ID in attribute information.
There is a general skeleton figure that does not have information about adjacent figures. Since it is possible to easily extract the adjacent figure information from the basic frame figure, automatic interference processing and automatic envelope processing can be performed. However, the basic skeleton figure has the following restrictions on the arrangement position.

【0004】すなわち、柱は、1つの通り芯交点に対し
て1つしか配置できない。また、図5に示されているよ
うに、柱50の上下方向および左右方向に関して基準芯
53、54、55および56しか存在しない場合(通り
芯51および52は、柱50のための基準芯である)、
柱50の配置範囲は、隣接する基準芯53、54、55
および56と干渉しない範囲(矢印A、B、CおよびD
で示された範囲)である。また、図6に示されているよ
うに、柱50に隣接して柱61および62ならびに壁6
3および64等の基本躯体図形が存在するときには、柱
50とこれに隣接する基本躯体図形が互いに干渉しない
範囲(矢印E、F、GおよびH)が、柱50の配置範囲
となる。
That is, only one pillar can be arranged for each passage intersection. Further, as shown in FIG. 5, when only the reference cores 53, 54, 55 and 56 exist in the vertical direction and the horizontal direction of the column 50 (the cores 51 and 52 are the reference cores for the column 50). is there),
The arrangement range of the pillars 50 is the reference cores 53, 54, 55 adjacent to each other.
And ranges that do not interfere with 56 (arrows A, B, C and D
It is the range indicated by. Also, as shown in FIG. 6, columns 61 and 62 and wall 6 are adjacent to column 50.
When there are basic skeleton figures such as 3 and 64, the range (arrows E, F, G and H) in which the pillar 50 and the basic skeleton figures adjacent to the pillar 50 do not interfere with each other is the arrangement range of the pillar 50.

【0005】梁および壁は、水平および垂直方向に関し
て隣接する柱(または通り芯交点)間に1つしか配置で
きない。また、図7(a)に示されているように、梁7
0の上下方向および左右方向に関して基準芯71、7
2、73および74しか存在しない場合、梁70の配置
範囲は、隣接する基準芯71、72、73および74と
干渉しない範囲(矢印PおよびQで示された範囲)であ
る。また、図7(b)に示されているように、梁70に
左側に隣接して柱71が存在するときには、梁70と柱
71とが互いに干渉しない範囲(矢印RおよびSで示さ
れる範囲)が、梁70の配置範囲となる。また、梁70
の上下方向に柱75ならびに壁76および77が存在す
るときには、梁70と、柱75ならびに壁76および7
7とが干渉しない範囲(矢印TおよびUで示された範
囲)となる。
Only one beam and wall can be placed between adjacent columns (or passage intersections) in the horizontal and vertical directions. In addition, as shown in FIG.
Reference cores 71 and 7 in the vertical and horizontal directions of 0
When only 2, 73 and 74 exist, the arrangement range of the beam 70 is a range (a range indicated by arrows P and Q) that does not interfere with the adjacent reference cores 71, 72, 73 and 74. Further, as shown in FIG. 7B, when a column 71 is present adjacent to the beam 70 on the left side, a range in which the beam 70 and the column 71 do not interfere with each other (range indicated by arrows R and S) ) Is the arrangement range of the beam 70. Also, the beam 70
When the pillars 75 and the walls 76 and 77 exist in the vertical direction of the
7 is a range where interference does not occur (range indicated by arrows T and U).

【0006】一般躯体図形は、隣接図形情報を取り出す
ことができないが、配置位置の制限がなく、任意の位置
に配置できる。一般躯体図形は、属性情報中に隣接図形
情報は有していないが、属性種類(柱、壁等の種類)を
有しているので、配置系、変更系、削除等の各コマンド
で、柱、壁等の単位で図形を扱うことができる。
[0006] In the general frame figure, the adjacent figure information cannot be taken out, but there is no limitation on the arrangement position, and the figure can be arranged at any position. A general frame figure does not have adjacent figure information in the attribute information, but has an attribute type (type of column, wall, etc.). You can handle figures in units such as walls.

【0007】[0007]

【発明が解決しようとする課題】上述のように、従来の
CADシステムにおいては、躯体図をコピーするのに、
多くの操作と時間を必要としていた。
As described above, in the conventional CAD system, in order to copy the body diagram,
It required a lot of operations and time.

【0008】また、躯体図には、基本躯体図形と、一般
躯体図形とが含まれるので、これらの属性情報の処理を
別途行わなければならなかった。
Further, since the skeleton diagram includes the basic skeleton figure and the general skeleton figure, it is necessary to separately process these attribute information.

【0009】本発明は、従来のこのような問題点を解決
すべくなされたものであり、隣接図形に関する情報を属
性情報として有する躯体図形(すなわち基本躯体図形)
と、隣接図形に関する情報を属性情報として有しない躯
体図形(すなわち一般躯体図形)とを含む躯体図のコピ
ーを、僅かな操作を行うだけで作成できる図形処理方法
および装置を提供することを目的とする。
The present invention has been made in order to solve such a conventional problem, and is a skeleton figure (that is, a basic skeleton figure) having information about an adjacent figure as attribute information.
An object of the present invention is to provide a graphic processing method and apparatus capable of creating a copy of a body diagram including a body figure (that is, a general body figure) that does not have information about adjacent figures as attribute information with a few operations. To do.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の図形処理方法は、隣接図形に関す
る情報を属性情報として有する躯体図形と、隣接図形に
関する情報を属性情報として有しない躯体図形とを含む
躯体図を、計算機を使用してコピーする図形処理方法で
あって、コピー対象躯体図に含まれる躯体図形の属性情
報が隣接図形に関する情報を有していれば、隣接図形に
関する情報を、コピー位置に作成すべき躯体図形の属性
情報に含ませるか否かを判断し、コピー対象躯体図をコ
ピー位置に作成することを特徴とする。
In order to achieve the above object, a graphic processing method according to a first aspect of the present invention has a skeleton graphic having information about an adjacent graphic as attribute information and information about an adjacent graphic as attribute information. A figure processing method for copying a body diagram including a body figure that does not include an adjacent figure if the attribute information of the body figure included in the target body figure to be copied has information about the adjacent figure. It is characterized in that it is determined whether or not to include the information on the attribute information of the skeleton figure to be created at the copy position, and the skeleton object to be copied is created at the copy position.

【0011】請求項2に記載の図形処理方法は、コピー
位置において、既に作成されている基準芯と、作成すべ
き躯体図形の基準芯とが交錯するか否かをチェックし、
交錯する場合には、コピー位置に作成すべき躯体図形の
属性情報中に隣接図形に関する情報を含ませないで躯体
図を作成するか問い合わせることを特徴とする。
A graphic processing method according to a second aspect of the present invention checks whether or not a reference core that has already been created and a reference core of a frame graphic to be created intersect at a copy position.
In the case of crossing, it is inquired whether or not to create a skeleton diagram without including the information about the adjacent figure in the attribute information of the skeleton figure to be created at the copy position.

【0012】請求項3に記載の図形処理装置は、隣接図
形に関する情報を属性情報として有する躯体図形と、隣
接図形に関する情報を属性情報として有しない躯体図形
とを含む躯体図をコピーする図形処理装置であって、躯
体図形の属性情報を記憶する属性情報記憶手段(例え
ば、実施例のRAM9の属性情報記憶領域9c)と、属
性情報記憶手段を読み出して、コピー対象躯体図に含ま
れる躯体図形の属性情報中に隣接図形に関する情報が含
まれていれば、隣接図形に関する情報を、コピー位置に
作成すべき躯体図形の属性情報に含ませるか否かを判断
する属性情報処理手段(例えば、実施例のCPU7およ
び図3のステップS25乃至S27の処理に対応するプ
ログラムを記憶するROM8)と、コピー対象躯体図を
コピー位置に作成する躯体図コピー手段(例えば、実施
例のCPU7および図2のステップS4乃至S7の処理
に対応するプログラムを記憶するROM8)とを備える
ことを特徴とする。
A graphic processing apparatus according to a third aspect of the present invention is a graphic processing apparatus for copying a body drawing including a body figure having information about an adjacent figure as attribute information and a body figure not having information about an adjacent figure as attribute information. That is, the attribute information storage means (for example, the attribute information storage area 9c of the RAM 9 of the embodiment) for storing the attribute information of the body figure and the attribute information storage means are read out, and the body figure included in the body diagram to be copied is read. If the attribute information includes information about the adjacent figure, an attribute information processing unit that determines whether the information about the adjacent figure is included in the attribute information of the frame figure to be created at the copy position (for example, the embodiment CPU 7 and ROM 8) storing a program corresponding to the processing of steps S25 to S27 of FIG. 3, and a copy target body diagram are created at the copy position. Skeleton diagram copying means (e.g., CPU 7 and ROM8 for storing a program corresponding to the processing of steps S4 to S7 in FIG. 2 in the embodiment), characterized in that it comprises a.

【0013】[0013]

【作用】請求項1の構成の図形処理方法においては、コ
ピー対象躯体図に含まれる躯体図形の属性情報が隣接図
形に関する情報を有していれば、隣接図形に関する情報
を、コピー位置に作成すべき躯体図形の属性情報に含ま
せるか否かを判断され、コピー対象躯体図がコピー位置
に作成される。従って、オペレータが、コピー対象躯体
図およびコピー位置を指示するだけで、属性情報が自動
的に処理され、躯体図のコピーが自動的に作成される。
In the graphic processing method according to the first aspect of the present invention, if the attribute information of the skeleton graphic included in the skeleton to be copied has the information about the adjacent graphic, the information about the adjacent graphic is created at the copy position. It is determined whether or not to include it in the attribute information of the power frame figure, and the copy target frame diagram is created at the copy position. Therefore, the operator only needs to specify the body diagram to be copied and the copy position, the attribute information is automatically processed, and a copy of the body diagram is automatically created.

【0014】請求項2の構成の図形処理方法において
は、コピー位置において、既に作成されている基準芯
と、作成すべき躯体図形の基準芯とが交錯するか否かを
チェックされ、交錯する場合には、コピー位置に作成す
べき躯体図形の属性情報中に隣接図形に関する情報を含
ませないで躯体図を作成するか、オペレータに問い合わ
せる。従って、オペレータが、隣接図形に関する情報を
含ませないように指示することにより、コピーにより作
成される躯体図形の配置が自由となり、自由に躯体図を
作成できる。
In the graphic processing method according to the second aspect of the present invention, it is checked whether or not the reference core already created and the reference core of the body graphic to be created intersect at the copy position. In (1), the body diagram is created without including the information about the adjacent figure in the attribute information of the body figure to be created at the copy position, or the operator is inquired. Therefore, by instructing the operator not to include the information about the adjacent figure, the body figure created by copying can be freely arranged, and the body figure can be freely created.

【0015】請求項3の構成の図形処理装置において
は、属性情報処理手段が、属性情報記憶手段の読み出し
を行い、コピー対象躯体図に含まれる躯体図形の属性情
報が隣接図形に関する情報を有していれば、隣接図形に
関する情報を、コピー位置に作成すべき躯体図形の属性
情報に含ませか否かを判断し、コピー作成手段が、コピ
ー対象躯体図をコピー位置に作成する。従って、オペレ
ータが、コピー対象躯体図およびコピー位置を指示する
だけで、属性情報が自動的に処理され、躯体図のコピー
が自動的に作成される。
According to another aspect of the graphic processing apparatus of the present invention, the attribute information processing means reads out the attribute information storage means, and the attribute information of the body figure included in the body diagram to be copied has information about the adjacent figure. If so, it is determined whether or not the information on the adjacent figure is included in the attribute information of the body figure to be created at the copy position, and the copy creating means creates the copy target body figure at the copy position. Therefore, the operator only needs to specify the body diagram to be copied and the copy position, the attribute information is automatically processed, and a copy of the body diagram is automatically created.

【0016】[0016]

【実施例】図1は、本発明の図形処理装置の一実施例の
構成を示す。この実施例は、本発明をCADシステムに
適用した例である。図1に示された実施例すなわちCA
Dシステムは、建築図等の通り芯データおよび躯体図形
データ等を予め記憶したハ−ドディスク1と、建築図作
成のための種々のコマンド例えば躯体図コピーコマンド
等を入力でき、通り芯および躯体図形を指示でき、また
躯体図形のパラメータ等を入力できるキ−ボ−ド2およ
びマウス3と、これらのキーボード2およびマウス3か
ら入力されたコマンドおよびパラメータ等を取り込むと
ともにハードディスク1から通り芯データおよび躯体図
形データを取り込んで、マウス3によって指示された躯
体図に含まれる躯体図形の属性情報中に隣接図形に関す
る情報が含まれていれば、隣接図形に関する情報を、コ
ピーにより作成する躯体図形の属性情報に含ませるか否
かを判断し、マウス3によって指示された躯体図をマウ
ス3によって指示された位置に作成するCAD本体4
と、このCAD本体4で作成された図形デ−タを表示す
るディスプレイ5と、同図形デ−タを記録紙上に建築図
として出力するプロッタ6とから構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 shows the configuration of an embodiment of the graphic processing apparatus of the present invention. This embodiment is an example in which the present invention is applied to a CAD system. The embodiment shown in FIG. 1, namely CA
The D system can input the hard disk 1 in which the core data and the skeleton graphic data are stored in advance, and various commands for creating the architectural drawing, such as a skeleton copy command, to input the skeleton and the skeleton. A keyboard 2 and a mouse 3 capable of instructing a figure and inputting parameters of a skeleton figure, and commands and parameters etc. inputted from these keyboard 2 and mouse 3 are taken in and data of a core line from the hard disk 1 and If the information about the adjacent figure is included in the attribute information of the figure of the body included in the figure of the body designated by the mouse 3 by including the figure of the figure, the attribute of the figure of the figure to be created by copying It is determined whether or not to include in the information, and the body diagram indicated by mouse 3 is indicated by mouse 3. CAD body 4 to be created in the position
And a display 5 for displaying graphic data created by the CAD main body 4, and a plotter 6 for outputting the graphic data as a construction drawing on a recording paper.

【0017】CAD本体4は、マウス3によって指示さ
れた躯体図に含まれる躯体図形の属性情報中に隣接図形
に関する情報が含まれていれば、隣接図形に関する情報
を、コピーにより作成する躯体図形の属性情報に含ませ
るか否かを判断し、マウス3によって指示された躯体図
をマウス3によって指示された位置に作成するための演
算等の処理を行うCPU7と、CPU7がこのような処
理を行うためのCADプログラムを格納するROM8
と、上記隣接図形に関する情報を含ませるか否かの判断
および躯体図を作成するための処理の作業領域となるR
AM9と、CAD本体4と上記入出力装置(ハードディ
スク1、キーボード2、マウス3、ディスプレイ5およ
びプロッタ6)との間でデ−タ等を受け渡すインタフェ
−ス10からなっている。
If the attribute information of the body figure included in the body diagram designated by the mouse 3 includes the information about the adjacent figure, the CAD body 4 copies the information about the adjacent figure by copying the body figure. The CPU 7 determines whether or not to include the attribute information, and performs processing such as calculation for creating the body diagram designated by the mouse 3 at the position designated by the mouse 3, and the CPU 7 performs such processing. ROM 8 for storing CAD programs for
And R that becomes a work area for processing for determining whether or not to include information on the adjacent figure and creating a body diagram.
It comprises an AM 9, an interface 10 for transferring data between the CAD main body 4 and the input / output device (hard disk 1, keyboard 2, mouse 3, display 5 and plotter 6).

【0018】RAM9には、ビデオRAM9aの領域が
設けられており、このビデオRAM9aに図形デ−タを
書き込むことによりディスプレイ5に建築図等の図形が
表示される。また、キ−ボ−ド2またはマウス3を介し
てオペレ−タから躯体図コピーコマンドが入力される
と、RAM9の領域9bに躯体図コピーフラグがセット
される。また、RAM9には、躯体図ならびに各躯体図
形および各通り芯毎に、属性情報を記憶する属性情報記
憶領域9cが設けられる。躯体図形が、基本躯体図形の
場合には、属性情報には、隣接図形ID等の隣接図形に
関する情報が含まれ、躯体図形が、一般躯体図形の場合
には、属性情報には、隣接図形ID等の隣接図形に関す
る情報が含まれない。また、RAM9には、コピーによ
り作成した躯体図形、すなわち柱、梁、壁および開口部
のIDを記憶するためのIDバッファ領域9dが設けら
れる。
The RAM 9 is provided with an area of a video RAM 9a, and by writing graphic data in the video RAM 9a, a graphic such as an architectural drawing is displayed on the display 5. When a body diagram copy command is input from the operator via the keyboard 2 or the mouse 3, the body diagram copy flag is set in the area 9b of the RAM 9. Further, the RAM 9 is provided with an attribute information storage area 9c for storing attribute information for each frame drawing, each frame figure and each core. When the skeleton figure is a basic skeleton figure, the attribute information includes information about the adjacent figure such as the adjacent figure ID. When the skeleton figure is a general skeleton figure, the attribute information includes the adjacent figure ID. It does not include information about adjacent figures such as. Further, the RAM 9 is provided with an ID buffer area 9d for storing the IDs of the frame figures created by copying, that is, columns, beams, walls, and openings.

【0019】ハ−ドディスク1に記憶された建築図のフ
ァイルは、躯体図形を要素単位とする階層構造となって
おり、CADプログラム実行時に、躯体図形がRAM9
に読み出され、キーボード2またはマウス3から入力さ
れた躯体図コピーコマンド等に従って、CPU7によっ
て処理が施される。
The architectural drawing file stored in the hard disk 1 has a hierarchical structure in which the skeleton figure is an element unit, and the skeleton figure is stored in the RAM 9 when the CAD program is executed.
Is read out and processed by the CPU 7 in accordance with a body diagram copy command or the like input from the keyboard 2 or the mouse 3.

【0020】なお、マウス3には、4つのボタンが設け
られている。ボタン1は、図形の指示を行うものであ
り、ボタン2は、YES/NOのYESの命令かまたは
指示の区切りを入力するものであり、ボタン3は、キャ
ンセルを入力するものであり、ボタン4は、YES/N
OのNOの命令を入力するものである。
The mouse 3 is provided with four buttons. Button 1 is for instructing a figure, button 2 is for inputting a YES / NO YES command or an instruction delimiter, button 3 is for inputting cancel, and button 4 is YES / N
The operator inputs the NO command of O.

【0021】図2は、図1の実施例の一動作例を示すフ
ロ−チャ−トである。以下、図2を参照して図1の実施
例の動作を説明する。まず、オペレータは、キーボード
2またはマウス3を操作して躯体図コピーコマンドを入
力する。これにより、RAM9の記憶領域9bには、躯
体図コピーフラグがセットされる。
FIG. 2 is a flow chart showing an operation example of the embodiment shown in FIG. The operation of the embodiment shown in FIG. 1 will be described below with reference to FIG. First, the operator operates the keyboard 2 or the mouse 3 to input a body diagram copy command. As a result, the body diagram copy flag is set in the storage area 9b of the RAM 9.

【0022】この状態において、図2のステップS1、
S2およびS3において、オペレ−タが、キーボード2
またはマウス3を操作して、コピー方法を指定し、コピ
ー対象躯体図を指示し、基点および目標点を指示する。
これに応じて、CPU7は、指定されたコピー方法、指
示されたコピー対象躯体図の位置、このコピー対象躯体
図に含まれる躯体図および通り芯の座標、ならびに指示
された基点および目標点の位置をRAM9に記憶する。
In this state, step S1 of FIG.
In S2 and S3, the operator operates the keyboard 2
Alternatively, the mouse 3 is operated to specify the copy method, specify the body diagram of the copy object, and specify the base point and the target point.
In response to this, the CPU 7 causes the designated copy method, the designated position of the copy target body diagram, the coordinates of the body diagram and the line center included in this copy target body diagram, and the designated base point and target point positions. Are stored in the RAM 9.

【0023】次に、CPU7は、ステップS4におい
て、コピー先通り芯を作成する。図3は、図2のステッ
プS4の処理の具体例を示す。以下、図3を参照して、
コピー先通り芯作成のための処理を説明する。
Next, in step S4, the CPU 7 creates a core as the copy destination. FIG. 3 shows a specific example of the process of step S4 of FIG. Hereinafter, referring to FIG.
The processing for creating the core as the copy destination will be described.

【0024】まず、ステップS21において、CPU7
は、通り芯の移動量を求める。これは、CPU7が、R
AM9に記憶されている指示されたコピー対象躯体図に
位置ならびに指示された基点および目標点の位置を読み
出して、演算により求める。
First, in step S21, the CPU 7
Calculates the amount of movement of the core. This is because the CPU7
The position and the positions of the designated base point and the designated target point are read out from the instructed copy object body diagram stored in the AM 9 and calculated.

【0025】次に、CPU7は、対象通り芯毎に、RA
M9から、コピー元通り芯の座標値を得(ステップS2
3)、作成する通り芯の座標値をRAM9にセットする
(ステップS24)。そして、CPU7は、コピー先で
基準芯同士が交錯するか否かチェックする(ステップS
25)。交錯する場合(ステップS26のYES)、一
般躯体図形として作成するか、すなわち隣接図形に関す
る情報をコピーにより作成される躯体図形の属性情報に
含ませるか否かをディスプレイ5を介してオペレータに
問い合わせる(ステップS27)。オペレータが、キー
ボード2またはマウス3を介して一般躯体図形として扱
うように指示すれば、CPU7は、コピーにより作成さ
れる躯体図形の属性情報に隣接図形に関する情報が含ま
れないようにRAM9の属性情報記憶領域9cに書き込
みを行う。
Next, the CPU 7 determines the RA for each target core.
From M9, the coordinate values of the original core are obtained (step S2
3) The coordinate value of the grid to be created is set in the RAM 9 (step S24). Then, the CPU 7 checks whether or not the reference cores intersect at the copy destination (step S).
25). If they intersect (YES in step S26), the operator is inquired via the display 5 whether or not to create as a general skeleton graphic, that is, whether to include information about the adjacent graphic in the attribute information of the skeleton graphic created by copying ( Step S27). When the operator instructs via the keyboard 2 or the mouse 3 to handle as a general body figure, the CPU 7 causes the attribute information of the RAM 9 so that the attribute information of the body figure created by copying does not include information about the adjacent figure. Writing is performed in the storage area 9c.

【0026】CPU7は、処理の対象を次の通り芯に移
し(ステップS28)、ステップS23乃至S28の処
理を行い、すべての通り芯について処理が終了したら
(ステップS22のYES)、各対象通り芯の実際の描
画のための処理に移る。
The CPU 7 transfers the processing target to the following cores (step S28), performs the processing of steps S23 to S28, and when the processing is completed for all cores (YES in step S22), the target cores Move on to the process for the actual drawing of.

【0027】CPU7は、各対象通り芯の実際の描画の
ために、まず、ステップS30において、コピー先通り
芯を作成する。これは、CPU7が、コピー先通り芯の
座標を求めて、RAM9に記憶させることにより行う。
次に、CPU7は、ステップS31において、RAM9
の属性情報記憶領域9cから属性情報を読み出し、コピ
ー元通り芯の属性を得、これをコピー先通り芯の属性と
して属性情報記憶領域9cに記憶する(ステップS3
2)。
The CPU 7 first creates a copy destination core in step S30 for the actual drawing of each core. This is done by the CPU 7 obtaining the coordinates of the core as the copy destination and storing it in the RAM 9.
Next, the CPU 7 in step S31, the RAM 9
The attribute information is read from the attribute information storage area 9c of FIG. 1 to obtain the attribute of the core as the copy source, and this is stored in the attribute information storage area 9c as the attribute of the core as the copy destination (step S3).
2).

【0028】CPU7は、処理の対象を次の通り芯に移
し(ステップS33)、ステップS30乃至S33の処
理を行い、すべての通り芯について処理が終了したら
(ステップS29のYES)、図2のステップS5に進
む。ステップS5では、CPU7は、オペレータによっ
てどのコピー処理が選択されているか判断し、平行コピ
ー処理が選択されていれば、ステップS6の処理を行
い、ミラーコピー処理が選択されていれば、ステップS
7の処理を行う。
The CPU 7 moves the processing target to the core as follows (step S33), performs the processes of steps S30 to S33, and when all the cores are processed (YES in step S29), the step of FIG. Proceed to S5. In step S5, the CPU 7 determines which copy process is selected by the operator. If parallel copy process is selected, the process of step S6 is performed. If mirror copy process is selected, step S5 is performed.
7 is performed.

【0029】図4は、ステップS7のミラーコピー処理
の一例を示す。以下、図4を参照してミラーコピー処理
について説明する。CPU7は、まず、対象となる各柱
についてミラーコピーにより新たな柱を作成し(ステッ
プS42)、作成した柱のIDをRAM9のIDバッフ
ァ9dに記憶する(ステップS44)。そして、CPU
7は、処理の対象を次の柱に移し(ステップS44)、
ステップS42乃至S44の処理を行い、すべての柱に
ついて処理が終了したら(ステップS41のYES)、
梁および壁のコピー処理に移る。
FIG. 4 shows an example of the mirror copy process in step S7. The mirror copy process will be described below with reference to FIG. The CPU 7 first creates a new pillar by mirror copying for each target pillar (step S42), and stores the ID of the created pillar in the ID buffer 9d of the RAM 9 (step S44). And CPU
7 moves the processing target to the next pillar (step S44),
When the processes of steps S42 to S44 are performed and the processes are completed for all the pillars (YES in step S41),
Move on to beam and wall copying.

【0030】梁および壁のコピー処理においては、CP
U7は、まず、対象となる各梁および壁についてミラー
コピーにより新たな梁および柱を作成し(ステップS4
6)、作成した梁および壁のIDをRAM9のIDバッ
ファ9dに記憶する(ステップS47)。そして、CP
U7は、処理の対象を次の梁および壁に移し(ステップ
S48)、ステップS46乃至S48の処理を行い、す
べての梁および壁について処理が終了したら(ステップ
S45のYES)、開口部のコピー処理に移る。
In beam and wall copy processing, CP
U7 first creates new beams and columns by mirror-copying each of the target beams and walls (step S4).
6) The IDs of the created beams and walls are stored in the ID buffer 9d of the RAM 9 (step S47). And CP
U7 moves the processing target to the next beam and wall (step S48), performs the processes of steps S46 to S48, and when the process is completed for all the beams and walls (YES in step S45), copies the opening. Move on to.

【0031】開口部のコピー処理においては、CPU7
は、まず、対象となる各開口部についてミラーコピーに
より新たな開口部を作成し(ステップS50)、作成し
た開口部のIDをRAM9のIDバッファ9dに記憶す
る(ステップS51)。そして、CPU7は、処理の対
象を次の開口部に移し(ステップS52)、ステップS
50乃至S52の処理を行い、すべての開口部について
処理が終了したら(ステップS49のYES)、作成し
た躯体図の属性をRAM9の属性情報記憶領域9cに記
憶する(ステップS53)。
In the copy processing of the opening, the CPU 7
First, a new opening is created by mirror copying for each target opening (step S50), and the ID of the created opening is stored in the ID buffer 9d of the RAM 9 (step S51). Then, the CPU 7 moves the processing target to the next opening (step S52), and step S52.
When the processes of 50 to S52 are performed and the process is completed for all the openings (YES in step S49), the attributes of the created body diagram are stored in the attribute information storage area 9c of the RAM 9 (step S53).

【0032】CPU7は、図2の処理後の図形データを
ビデオRAM9aに記憶させる。これにより、ディスプ
レイ5に躯体図コピー後の図形が表示される。また、オ
ペレータからキーボード2を介してプリントコマンドが
入力されると、ビデオRAM9aに記憶された図形が、
プロッタ6からハードコピーとして出力される。
The CPU 7 stores the processed graphic data of FIG. 2 in the video RAM 9a. As a result, the figure after the body diagram copy is displayed on the display 5. When the operator inputs a print command via the keyboard 2, the graphics stored in the video RAM 9a are
Output from the plotter 6 as a hard copy.

【0033】なお、上記実施例においては、CPU7お
よびROM8が、属性情報記憶手段を読み出して、入力
手段によって指示された躯体図に含まれる躯体図形の属
性情報中に隣接図形に関する情報が含まれていれば、隣
接図形に関する情報を、コピーにより作成する躯体図形
の属性情報に含ませるか否かを判断し、入力手段によっ
て指示された躯体図を前記指示された位置に作成してい
るが、CPUおよびROMの代わりに、専用のハードウ
ェアを設けても良い。また、属性情報記憶手段を読み出
して、入力手段によって指示された躯体図に含まれる躯
体図形の属性情報中に隣接図形に関する情報が含まれて
いれば、隣接図形に関する情報を、コピーにより作成す
る躯体図形の属性情報に含ませか否かを判断する属性情
報処理手段と、入力手段によって指示された躯体図を指
示された位置に作成する躯体図コピー手段とを別個に設
けるようにしてもよい。
In the above embodiment, the CPU 7 and the ROM 8 read the attribute information storage means, and the attribute information of the body figure included in the body diagram indicated by the input means includes the information about the adjacent figure. If so, it is determined whether or not the information about the adjacent figure is included in the attribute information of the body figure to be created by copying, and the body diagram instructed by the input means is produced at the instructed position. Alternatively, dedicated hardware may be provided instead of the ROM. Further, when the attribute information storage means is read and the attribute information of the body figure included in the body diagram indicated by the input means includes information about the adjacent figure, the information about the adjacent figure is created by copying. Attribute information processing means for determining whether or not to include in the attribute information of the figure, and body diagram copy means for creating the body diagram instructed by the input means may be separately provided.

【0034】また、本発明は、建築図のほか機械設計図
等各種の図面に適用することができる。
Further, the present invention can be applied to various drawings such as mechanical design drawings in addition to architectural drawings.

【0035】さらに、上記実施例では、入力手段として
マウスを使用したが、これに代えてタブレット等を使用
してもよい。
Further, although the mouse is used as the input means in the above-mentioned embodiment, a tablet or the like may be used instead.

【0036】[0036]

【発明の効果】以上の説明から明かなように、請求項1
の図形処理方法によれば、コピー対象躯体図に含まれる
躯体図形の属性情報が隣接図形に関する情報を有してい
れば、隣接図形に関する情報を、コピー位置に作成すべ
き躯体図形の属性情報に含ませるか否かを判断し、コピ
ー対象躯体図をコピー位置に作成するようにしたので、
オペレータが、コピー対象躯体図およびコピー位置を指
示するだけで、属性情報が自動的に処理され、躯体図の
コピーが自動的に作成される。従って、オペレータの労
力を軽減でき、時間の節約にもなる。
As is apparent from the above description, claim 1
According to the figure processing method of No. 2, if the attribute information of the body figure included in the target body figure to be copied has information about the adjacent figure, the information about the adjacent figure becomes the attribute information of the body figure to be created at the copy position. Since it is decided whether to include it and the body diagram for copying is created at the copy position,
The attribute information is automatically processed and the copy of the body diagram is automatically created only by the operator instructing the body diagram to be copied and the copy position. Therefore, the labor of the operator can be reduced and the time can be saved.

【0037】請求項2の図形処理方法によれば、コピー
位置において、既に作成されている基準芯と、作成すべ
き躯体図形の基準芯とが交錯するか否かをチェックし、
交錯する場合には、コピー位置に作成すべき躯体図形の
属性情報中に隣接図形に関する情報を含ませないで躯体
図を作成するか問い合わせるようにしたので、オペレー
タは、隣接図形に関する情報を含ませないように指示す
ることにより、コピーにより作成される躯体図形の配置
が自由となり、オペレータは、自由に躯体図を作成でき
る。
According to the graphic processing method of the second aspect, it is checked whether or not the reference core that has already been created and the reference core of the skeleton graphic to be created intersect at the copy position.
In the case of crossing, the operator is asked to include the information on the adjacent figure because the attribute information of the figure to be created at the copy position does not include the information on the adjacent figure to inquire whether to create the figure. By instructing not to do so, the layout of the body figure created by copying becomes free, and the operator can freely create the body diagram.

【0038】請求項3の図形処理装置によれば、属性情
報処理手段が、属性情報記憶手段の読み出しを行い、コ
ピー対象躯体図に含まれる躯体図形の属性情報が隣接図
形に関する情報を有していれば、隣接図形に関する情報
を、コピー位置に作成すべき躯体図形の属性情報に含ま
せるか否かを判断し、コピー作成手段が、コピー対象躯
体図をコピー位置に作成するようにしたので、オペレー
タが、コピー対象躯体図およびコピー位置を指示するだ
けで、属性情報が自動的に処理され、躯体図のコピーが
自動的に作成される。従って、オペレータの労力を軽減
でき、時間の節約にもなる。
According to the figure processing apparatus of claim 3, the attribute information processing means reads the attribute information storage means, and the attribute information of the body figure included in the body diagram to be copied has information about the adjacent figure. Then, it is determined whether or not the information about the adjacent figure is included in the attribute information of the body figure to be created at the copy position, and the copy creating means creates the copy target body figure at the copy position. The attribute information is automatically processed and the copy of the body diagram is automatically created only by the operator instructing the body diagram to be copied and the copy position. Therefore, the labor of the operator can be reduced and the time can be saved.

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

【図1】本発明の図形処理装置の一実施例の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a graphic processing device of the present invention.

【図2】図1の実施例の動作例を示すフローチャートで
ある。
FIG. 2 is a flowchart showing an operation example of the embodiment of FIG.

【図3】図2のステップS4におけるコピー先通り芯の
作成処理動作の一例を示すフローチャートである。
FIG. 3 is a flowchart showing an example of a copy destination core creation processing operation in step S4 of FIG.

【図4】図2のステップS7におけるミラーコピー処理
動作の一例を示すフローチャートである。
4 is a flowchart showing an example of a mirror copy processing operation in step S7 of FIG.

【図5】基本躯体図形である柱の上下方向および左右方
向に基準芯しか存在しない場合における柱の配置範囲を
示す説明図である。
FIG. 5 is an explanatory diagram showing an arrangement range of columns, which is a basic skeleton figure, when there are only reference cores in vertical and horizontal directions.

【図6】基本躯体図形である柱の上下方向および左右方
向に基本躯体図形である柱や壁が存在する場合における
柱の配置範囲示す説明図である。
FIG. 6 is an explanatory diagram showing an arrangement range of columns in the case where columns and walls which are basic frame shapes exist in vertical and horizontal directions of columns which are basic frame figures.

【図7】基本躯体図形である梁および壁の配置範囲を示
す説明図である。
FIG. 7 is an explanatory diagram showing an arrangement range of beams and walls which are basic skeleton figures.

【図8】従来のCADシステムにおいて、同じ躯体図を
新たに作成したい範囲を特定したところを示す図であ
る。
FIG. 8 is a diagram showing that a range in which the same body diagram is to be newly created is specified in the conventional CAD system.

【図9】従来のCADシステムにおいて、新たに躯体図
を作成したい位置に基準芯を作成したところを示す図で
ある。
FIG. 9 is a diagram showing a conventional CAD system in which a reference core is created at a position where a new body drawing is desired to be created.

【図10】従来のCADシステムにおいて、図8の柱に
対応する柱を作成したところを示す図である。
FIG. 10 is a diagram showing a pillar corresponding to the pillar in FIG. 8 created in a conventional CAD system.

【図11】従来のCADシステムにおいて、図8の壁に
対応する壁を作成したところを示す図である。
FIG. 11 is a diagram showing a wall corresponding to the wall in FIG. 8 created in a conventional CAD system.

【図12】従来のCADシステムにおいて、図8の開口
部に対応する開口部を作成したところを示す図である。
FIG. 12 is a diagram showing a state in which an opening corresponding to the opening in FIG. 8 is created in a conventional CAD system.

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

3 マウス 5 ディスプレイ 6 プロッタ 7 CPU 8 ROM 9 RAM 9a ビデオRAM 9b 躯体図コピーフラグ記憶領域 9c 属性情報記憶領域 9d IDバッファ 3 mouse 5 display 6 plotter 7 CPU 8 ROM 9 RAM 9a video RAM 9b body diagram copy flag storage area 9c attribute information storage area 9d ID buffer

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 隣接図形に関する情報を属性情報として
有する躯体図形と、隣接図形に関する情報を属性情報と
して有しない躯体図形とを含む躯体図を、計算機を使用
してコピーする図形処理方法であって、 コピー対象躯体図に含まれる躯体図形の属性情報が前記
隣接図形に関する情報を有しているときに、前記隣接図
形に関する情報を、コピー位置に作成すべき躯体図形の
属性情報に含ませるか否かを判断し、 前記コピー対象躯体図を前記コピー位置に作成すること
を特徴とする図形処理方法。
1. A graphic processing method for copying, using a computer, a body diagram including a body figure having information about an adjacent figure as attribute information and a body figure not having information about an adjacent figure as attribute information. If the attribute information of the body figure included in the body diagram to be copied has the information on the adjacent figure, whether the information on the adjacent figure is included in the attribute information of the body figure to be created at the copy position. It is determined whether or not the copy target body diagram is created at the copy position.
【請求項2】 前記コピー位置において、既に作成され
ている基準芯と、前記作成すべき躯体図形の基準芯とが
交錯するか否かをチェックし、交錯する場合には、前記
コピー位置に作成すべき躯体図形の属性情報中に前記隣
接図形に関する情報を含ませないで躯体図を作成するか
問い合わせることを特徴とする請求項1記載の図形処理
方法。
2. It is checked whether or not the reference core that has already been created intersects with the reference core of the skeleton figure to be created at the copy position, and if it intersects, it is created at the copy position. 2. The graphic processing method according to claim 1, wherein an inquiry is made as to whether or not to create a skeleton diagram without including information about the adjacent graphic in the attribute information of the skeleton graphic to be created.
【請求項3】 隣接図形に関する情報を属性情報として
有する躯体図形と、隣接図形に関する情報を属性情報と
して有しない躯体図形とを含む躯体図をコピーする図形
処理装置であって、 前記躯体図形の属性情報を記憶する属性情報記憶手段
と、 前記属性情報記憶手段を読み出して、コピー対象躯体図
に含まれる躯体図形の属性情報中に前記隣接図形に関す
る情報が含まれていれば、前記隣接図形に関する情報
を、コピー位置に作成すべき躯体図形の属性情報に含ま
せるか否かを判断する属性情報処理手段と前記コピー対
象躯体図を前記コピー位置に作成する躯体図コピー手段
と、 を備えることを特徴とする図形処理装置。
3. A figure processing device for copying a body figure including a body figure having information about an adjacent figure as attribute information and a body figure not having information about an adjacent figure as attribute information, the attribute of the body figure being an attribute. If the attribute information storage means for storing information and the attribute information storage means are read and the attribute information of the body figure included in the copy target body figure includes information about the adjacent figure, information about the adjacent figure Is included in the attribute information of the body figure to be created at the copy position, and attribute drawing information processing means for creating the body diagram to be copied at the copy position. Figure processing device.
JP3351884A 1991-12-13 1991-12-13 Graphic processing method and apparatus Expired - Lifetime JP2616328B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3351884A JP2616328B2 (en) 1991-12-13 1991-12-13 Graphic processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3351884A JP2616328B2 (en) 1991-12-13 1991-12-13 Graphic processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH05165927A true JPH05165927A (en) 1993-07-02
JP2616328B2 JP2616328B2 (en) 1997-06-04

Family

ID=18420273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3351884A Expired - Lifetime JP2616328B2 (en) 1991-12-13 1991-12-13 Graphic processing method and apparatus

Country Status (1)

Country Link
JP (1) JP2616328B2 (en)

Also Published As

Publication number Publication date
JP2616328B2 (en) 1997-06-04

Similar Documents

Publication Publication Date Title
JP2666538B2 (en) Panning control system
JPH0589187A (en) Graphics processing device
JP2616328B2 (en) Graphic processing method and apparatus
JPH08202856A (en) Picture processing method
JP3470974B2 (en) Figure creation method and apparatus
JP4136188B2 (en) Graphic editing apparatus and method
JP2643617B2 (en) Method and apparatus for drawing walls or beams in architectural drawings, etc.
JPH05165926A (en) Method and device for processing graphic
JP3425771B2 (en) Figure creation method and apparatus
JP2721348B2 (en) Image processing device
JP2622658B2 (en) Graphic data creation device
JPS6314194A (en) Editor/register for character pattern
JP2001076163A (en) Method and device for arranging graphic
JP2575636B2 (en) Graphic display device
JPH0676039A (en) Layout device
JPS6349883A (en) Graphic processor
JPH0113581B2 (en)
JPH05324636A (en) Document preparting device and display control method
JPH10240446A (en) Editing graphic selection system
JPH05165928A (en) Method and device for processing graphic
JPH06149944A (en) Three-dimensional cad device
JPH09198225A (en) Display device and displaying method
JPH0642245B2 (en) Spreadsheet
JPS63276662A (en) Document editing system
JPH07225857A (en) Cad/cam system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970114

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

Free format text: PAYMENT UNTIL: 20080311

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090311

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090311

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100311

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100311

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110311

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20110311

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20120311

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120311

Year of fee payment: 15