JP2616328B2 - Graphic processing method and apparatus - Google Patents

Graphic processing method and apparatus

Info

Publication number
JP2616328B2
JP2616328B2 JP3351884A JP35188491A JP2616328B2 JP 2616328 B2 JP2616328 B2 JP 2616328B2 JP 3351884 A JP3351884 A JP 3351884A JP 35188491 A JP35188491 A JP 35188491A JP 2616328 B2 JP2616328 B2 JP 2616328B2
Authority
JP
Japan
Prior art keywords
skeleton
attribute information
copy
information
adjacent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP3351884A
Other languages
Japanese (ja)
Other versions
JPH05165927A (en
Inventor
秀一 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CADシステム等を使
用した建築図等の作成に係わり、特に、躯体図をコピー
するための図形処理方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the creation of architectural drawings and the like using a CAD system or 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.
In order to create a frame diagram exactly the same as the frame diagram including the walls 84, 85, 86, 87 and 88, and the opening 89 in another position, that is, to copy the frame diagram, first, FIG. As shown, place the grid 9
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, the walls 105, 106, 107 and 108 corresponding to the walls 85, 86, 87 and 88 are created, and finally, as shown in FIG. Creating.

【0003】また、従来、躯体図に含まれる躯体図形に
は、属性情報中に隣接図形ID等の隣接図形に関する情
報を有する基本躯体図形と、属性情報中に隣接図形ID
等の隣接図形に関する情報を有しない一般躯体図形とが
ある。基本躯体図形は、隣接図形情報を容易に取り出す
ことができるので、自動干渉処理および自動包絡処理を
行うことができる。しかし、基本躯体図形は、配置位置
に関して次のような制約がある。
[0003] Conventionally, a skeleton figure included in a skeleton figure includes a basic skeleton figure having information about 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 which does not have information on the adjacent figure such as the skeleton figure. Since the neighboring figure information can be easily extracted from the basic skeleton 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の配置範囲
となる。
[0004] In other words, only one pillar can be arranged for one street intersection. Also, as shown in FIG. 5, when there are only reference cores 53, 54, 55, and 56 in the vertical and horizontal directions of the pillar 50 (the street cores 51 and 52 are reference cores for the pillar 50). is there),
The arrangement range of the column 50 is determined by the adjacent reference cores 53, 54, 55.
And the range not interfering with 56 (arrows A, B, C and D
(Range indicated by). Also, as shown in FIG.
When the basic skeleton figures such as 3 and 64 exist, the range in which the column 50 and the basic skeleton figure adjacent thereto do not interfere with each other (arrows E, F, G and H) is the arrangement range of the column 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で示された範
囲)となる。
[0005] Only one beam and wall can be placed between adjacent columns (or grid intersections) in horizontal and vertical directions. Also, as shown in FIG.
0 and reference cores 71 and 7 in the vertical and horizontal directions.
When there are only 2, 73 and 74, the arrangement range of the beam 70 is a range that does not interfere with the adjacent reference cores 71, 72, 73 and 74 (the range indicated by arrows P and Q). Further, as shown in FIG. 7B, when the column 71 exists adjacent to the left side of the beam 70, the range in which the beam 70 and the column 71 do not interfere with each other (the range indicated by arrows R and S). ) Is the arrangement range of the beam 70. Also, the beam 70
When the column 75 and the walls 76 and 77 exist in the vertical direction of the beam 70, the beam 70 and the column 75 and the walls 76 and 7
7 (the range indicated by arrows T and U).

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

【0007】[0007]

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

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

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

【0010】[0010]

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

【0011】請求項2に記載の図形処理方法は、コピー
位置において、既に作成されている基準芯と、作成すべ
き躯体図形の基準芯とが交錯するか否かをチェックし、
交錯する場合には、コピー位置に作成すべき躯体図形の
属性情報中に隣接図形に関する情報を含ませないで躯体
図を作成するかを問い合わせ、その問い合わせに対する
入力に基づき、請求項1における属性情報に含ませるか
否かの判断を行うことを特徴とする。
In the graphic processing method according to the present invention, it is checked whether or not the reference center already created and the reference center of the frame figure to be created intersect at the copy position.
In the case of intersecting , inquire whether to create a skeleton figure without including information on adjacent figures in the attribute information of the skeleton figure to be created at the copy position,
Whether to be included in attribute information in claim 1 based on input
It is characterized in that it is determined whether or not it is .

【0012】請求項3に記載の図形処理装置は、隣接図
形に関する情報を属性情報として有する躯体図形と、隣
接図形に関する情報を属性情報として有しない躯体図形
とを含む躯体図をコピーする図形処理装置であって、躯
体図形の属性情報を記憶する属性情報記憶手段(例え
ば、実施例のRAM9の属性情報記憶領域9c)と、属
性情報記憶手段を読み出して、コピー対象躯体図に含ま
れる躯体図形の属性情報中に隣接図形に関する情報が含
まれていれば、隣接図形に関する情報を、コピー位置に
作成すべき躯体図形の属性情報に含ませるか否かを入力
に基づき判断する属性情報処理手段(例えば、実施例の
CPU7および図3のステップS25乃至S27の処理
に対応するプログラムを記憶するROM8)と、コピー
対象躯体図をコピー位置に作成する躯体図コピー手段
(例えば、実施例のCPU7および図2のステップS4
乃至S7の処理に対応するプログラムを記憶するROM
8)とを備えることを特徴とする。
According to a third aspect of the present invention, there is provided a graphic processing apparatus for copying a skeleton figure including a skeleton figure having information on an adjacent figure as attribute information and a skeleton figure having no information on an adjacent figure as attribute information. The attribute information storage means (for example, the attribute information storage area 9c of the RAM 9 in the embodiment) for storing the attribute information of the skeleton figure, and the attribute information storage means are read out to store the skeleton figure included in the copy target skeleton figure. If the attribute information contains information about the neighboring figure, enter whether to include the information about the neighboring figure in the attribute information of the skeleton figure to be created at the copy position.
Determining attribute information processing unit based on the (e.g., ROM 8 for storing programs corresponding to the processing in step S25 through S27 in CPU7 and Figure 3 embodiments) and, precursor diagram copy means for producing a copy target skeleton view in the copy position (For example, the CPU 7 of the embodiment and the step S4 of FIG. 2)
To store a program corresponding to the processing of steps S7 to S7
8).

【0013】[0013]

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

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

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

【0016】[0016]

【実施例】図1は、本発明の図形処理装置の一実施例の
構成を示す。この実施例は、本発明をCADシステムに
適用した例である。図1に示された実施例すなわちCA
Dシステムは、建築図等の通り芯データおよび躯体図形
データ等を予め記憶したハ−ドディスク1と、建築図作
成のための種々のコマンド例えば躯体図コピーコマンド
等を入力でき、通り芯および躯体図形を指示でき、また
躯体図形のパラメータ等を入力できるキ−ボ−ド2およ
びマウス3と、これらのキーボード2およびマウス3か
ら入力されたコマンドおよびパラメータ等を取り込むと
ともにハードディスク1から通り芯データおよび躯体図
形データを取り込んで、マウス3によって指示された躯
体図に含まれる躯体図形の属性情報中に隣接図形に関す
る情報が含まれていれば、隣接図形に関する情報を、コ
ピーにより作成する躯体図形の属性情報に含ませるか否
かを判断し、マウス3によって指示された躯体図をマウ
ス3によって指示された位置に作成するCAD本体4
と、このCAD本体4で作成された図形デ−タを表示す
るディスプレイ5と、同図形デ−タを記録紙上に建築図
として出力するプロッタ6とから構成されている。
FIG. 1 shows the configuration of an embodiment of a graphic processing apparatus according to the present invention. This embodiment is an example in which the present invention is applied to a CAD system. The embodiment shown in FIG.
The D system can input a hard disk 1 in which street data and skeleton graphic data and the like are stored in advance and various commands for creating an architectural drawing such as a skeleton drawing copy command. A keyboard 2 and a mouse 3 capable of designating a figure and inputting parameters and the like of a skeleton figure, taking in commands and parameters input from these keyboards 2 and a mouse 3 and passing data and data from the hard disk 1 By taking in the skeleton figure data, if the information on the adjacent figure is included in the attribute information of the skeleton figure included in the skeleton figure specified by the mouse 3, the information on the adjacent figure is created by copying the attribute of the skeleton figure. Judge whether or not to include in the information, and indicate the skeleton diagram specified by mouse 3 with mouse 3 CAD body 4 to be created in the position
And a display 5 for displaying graphic data created by the CAD body 4, and a plotter 6 for outputting the graphic data as architectural drawings on 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 skeleton figure included in the skeleton figure specified by the mouse 3 includes information on the adjacent figure, the CAD body 4 converts the information on the adjacent figure into the skeleton figure to be created by copying. The CPU 7 determines whether or not to be included in the attribute information, and performs processing such as calculation for creating a skeleton diagram designated by the mouse 3 at the position designated by the mouse 3, and the CPU 7 performs such processing. ROM for storing CAD program for
And R, which is a work area for a process for determining whether or not to include information on the adjacent figure and for creating a skeleton diagram,
An AM 9 and an interface 10 for transferring data and the like between the CAD body 4 and the input / output devices (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. By writing graphic data into the video RAM 9a, a graphic such as an architectural drawing is displayed on the display 5. When a skeleton drawing copy command is input from the operator via the keyboard 2 or the mouse 3, a skeleton drawing 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 skeleton diagram, each skeleton figure, and each core. When the skeleton figure is the 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. , Etc., is not included. Further, the RAM 9 is provided with an ID buffer area 9d for storing IDs of a frame figure created by copying, that is, columns, beams, walls, and openings.

【0019】ハ−ドディスク1に記憶された建築図のフ
ァイルは、躯体図形を要素単位とする階層構造となって
おり、CADプログラム実行時に、躯体図形がRAM9
に読み出され、キーボード2またはマウス3から入力さ
れた躯体図コピーコマンド等に従って、CPU7によっ
て処理が施される。
The architectural drawing file stored on the hard disk 1 has a hierarchical structure in which the skeleton figure is an element unit. When the CAD program is executed, the skeleton figure is stored in the RAM 9.
And is processed by the CPU 7 in accordance with a skeleton drawing 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 instruction of YES / NO or a break of instruction, button 3 is for inputting cancel, and button 4 is for inputting cancel. Is YES / N
This is for inputting a NO instruction of O.

【0021】図2は、図1の実施例の一動作例を示すフ
ロ−チャ−トである。以下、図2を参照して図1の実施
例の動作を説明する。まず、オペレータは、キーボード
2またはマウス3を操作して躯体図コピーコマンドを入
力する。これにより、RAM9の記憶領域9bには、躯
体図コピーフラグがセットされる。
FIG. 2 is a flowchart showing an operation example of the embodiment of FIG. Hereinafter, the operation of the embodiment of FIG. 1 will be described with reference to FIG. First, the operator operates the keyboard 2 or the mouse 3 to input a skeleton drawing copy command. As a result, the frame drawing 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 in FIG.
In S2 and S3, the operator operates the keyboard 2
Alternatively, the user operates the mouse 3 to designate a copy method, designate a copy target skeleton diagram, and designate a base point and a target point.
In response to this, the CPU 7 determines the designated copy method, the designated position of the copy target skeleton diagram, the coordinates of the skeleton diagram and the center line included in the copy target skeleton diagram, and the designated base point and target point positions. Is 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 in FIG. Hereinafter, referring to FIG.
The process 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 center line. This is because the CPU 7
<br/> position of copied skeleton diagram indicated stored in AM9 and reads the position of the indicated base and target point is obtained by calculation.

【0025】次に、CPU7は、対象通り芯毎に、RA
M9から、コピー元通り芯の座標値を得(ステップS2
3)、作成する通り芯の座標値をRAM9にセットする
(ステップS24)。そして、CPU7は、コピー先で
基準芯同士が交錯するか否かチェックする(ステップS
25)。交錯する場合(ステップS26のYES)、一
般躯体図形として作成するか、すなわち隣接図形に関す
る情報をコピーにより作成される躯体図形の属性情報に
含ませるか否かをディスプレイ5を介してオペレータに
問い合わせる(ステップS27)。オペレータが、キー
ボード2またはマウス3を介して一般躯体図形として扱
うように指示すれば(指示しなければ、例えばエラー処
理となる)、CPU7は、コピーにより作成される躯体
図形の属性情報に隣接図形に関する情報が含まれないよ
うにRAM9の属性情報記憶領域9cに書き込みを行
う。
Next, the CPU 7 sets the RA
From M9, the coordinate value of the core as the copy source is obtained (step S2).
3) The coordinates of the core to be created are 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), an inquiry is made to the operator via the display 5 as to whether to create a general skeleton figure, that is, whether or not to include information about adjacent figures in attribute information of the skeleton figure created by copying (step S26). Step S27). If the operator gives an instruction via the keyboard 2 or the mouse 3 to handle the figure as a general skeleton figure ( if no instruction is given , for example, error processing is performed).
The CPU 7 writes data in the attribute information storage area 9c of the RAM 9 so that the attribute information of the body graphic created by copying does not include information on the adjacent graphic.

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

【0027】CPU7は、各対象通り芯の実際の描画の
ために、まず、ステップS30において、コピー先通り
芯を作成する。これは、CPU7が、コピー先通り芯の
座標を求めて、RAM9に記憶させることにより行う。
次に、CPU7は、ステップS31において、RAM9
の属性情報記憶領域9cから属性情報を読み出し、コピ
ー元通り芯の属性を得、これをコピー先通り芯の属性と
して属性情報記憶領域9cに記憶する(ステップS3
2)。
First, in step S30, the CPU 7 creates the core as the copy destination for the actual drawing of the core as the target. This is performed by the CPU 7 obtaining the coordinates of the core as in the copy destination and storing the coordinates in the RAM 9.
Next, the CPU 7 determines in step S31 that the RAM 9
The attribute information is read out from the attribute information storage area 9c, the attribute of the core is obtained 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 shifts the processing target to the next core (step S33), performs the processing of steps S30 to S33, and completes the processing for all the cores (YES in step S29). Proceed to S5. In step S5, the CPU 7 determines which copy process has been selected by the operator. If the parallel copy process has been selected, the CPU 7 performs the process of step S6. If the mirror copy process has been selected, the CPU 7 proceeds to step S5.
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. Hereinafter, the mirror copy processing will be described with reference to FIG. First, the CPU 7 creates a new pillar by mirror copy for each pillar to be targeted (step S42), and stores the created pillar ID in the ID buffer 9d of the RAM 9 (step S44). And CPU
7 shifts the processing target to the next pillar (step S44),
When the processing of steps S42 to S44 is performed and the processing is completed for all 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 the beam and wall copy process, the CP
U7 first creates new beams and columns by mirror copy for each of the target beams and walls (step S4).
6) The ID of the created beam and wall is 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 processing of steps S46 to S48, and when the processing is completed for all the beams and walls (YES in step S45), the opening copy processing Move on to

【0031】開口部のコピー処理においては、CPU7
は、まず、対象となる各開口部についてミラーコピーに
より新たな開口部を作成し(ステップS50)、作成し
た開口部のIDをRAM9のIDバッファ9dに記憶す
る(ステップS51)。そして、CPU7は、処理の対
象を次の開口部に移し(ステップS52)、ステップS
50乃至S52の処理を行い、すべての開口部について
処理が終了したら(ステップS49のYES)、作成し
た躯体図の属性をRAM9の属性情報記憶領域9cに記
憶する(ステップS53)。
In the opening copy process, the CPU 7
First, a new opening is created by mirror copy 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 proceeds to step S52.
When the processing of steps S50 to S52 is completed and the processing is completed for all the openings (YES in step S49), the attribute of the created skeleton diagram is 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 graphic data after the processing of FIG. 2 in the video RAM 9a. Thereby, the figure after the skeleton drawing is displayed on the display 5. When a print command is input from the operator via the keyboard 2, the figure stored in the video RAM 9a is displayed.
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 information on the adjacent figure is included in the attribute information of the skeleton figure included in the skeleton figure designated by the input means. If this is the case, it is determined whether or not the information on the adjacent figure is to be included in the attribute information of the skeleton figure created by copying, and the skeleton figure designated by the input means is created at the designated position. Dedicated hardware may be provided in place of the ROM and the ROM. Also, the attribute information storage means is read out, and if the attribute information of the skeleton figure included in the skeleton figure specified by the input means includes information on the adjacent figure, the information on the adjacent figure is created by copying. Attribute information processing means for judging whether or not to be included in the attribute information of the figure and skeleton drawing copying means for creating the skeleton drawing specified by the input means at the specified position may be separately provided.

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

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

【0036】[0036]

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

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

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

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

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

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

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

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

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

【図6】基本躯体図形である柱の上下方向および左右方
向に基本躯体図形である柱や壁が存在する場合における
柱の配置範囲示す説明図である。
FIG. 6 is an explanatory diagram showing an arrangement range of columns when columns and walls as basic skeleton figures exist in the vertical and horizontal directions of the columns as basic skeleton 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 a region where the same skeleton diagram is newly created in the conventional CAD system.

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

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

【図11】従来のCADシステムにおいて、図8の壁に
対応する壁を作成したところを示す図である。
FIG. 11 is a diagram showing that a wall corresponding to the wall in FIG. 8 is 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 figure copy flag storage area 9c Attribute information storage area 9d ID buffer

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 隣接図形に関する情報を属性情報として
有する躯体図形と、隣接図形に関する情報を属性情報と
して有しない躯体図形とを含む躯体図を、計算機を使用
してコピーする図形処理方法であって、 コピー対象躯体図に含まれる躯体図形の属性情報が前記
隣接図形に関する情報を有しているときに、前記隣接図
形に関する情報を、コピー位置に作成すべき躯体図形の
属性情報に含ませるか否かを入力に基づき判断し、 前記コピー対象躯体図を前記コピー位置に作成すること
を特徴とする図形処理方法。
1. A graphic processing method for copying, using a computer, a skeleton figure including a skeleton figure having information on an adjacent figure as attribute information and a skeleton figure having no information on an adjacent figure as attribute information. When the attribute information of the skeleton figure included in the skeleton drawing to be copied includes information on the adjacent figure, whether the information on the adjacent figure is included in the attribute information of the skeleton figure to be created at the copy position is determined. Wherein the determination is made on the basis of the input, and the frame diagram to be copied is created at the copy position.
【請求項2】 前記コピー位置において、既に作成され
ている基準芯と、前記作成すべき躯体図形の基準芯とが
交錯するか否かをチェックし、交錯する場合には、前記
コピー位置に作成すべき躯体図形の属性情報中に前記隣
接図形に関する情報を含ませないで躯体図を作成するか
を問い合わせ、その問い合わせに対する入力に基づき、
前記判断を行うことを特徴とする請求項1記載の図形処
理方法。
2. In the copy position, it is checked whether or not the reference core already created and the reference core of the skeleton figure to be created intersect, and if they intersect, it is created at the copy position. Whether to create a skeleton figure without including information on the adjacent figure in the attribute information of the skeleton figure to be
, And based on the input to that query,
2. The graphic processing method according to claim 1, wherein said determination is made .
【請求項3】 隣接図形に関する情報を属性情報として
有する躯体図形と、隣接図形に関する情報を属性情報と
して有しない躯体図形とを含む躯体図をコピーする図形
処理装置であって、 前記躯体図形の属性情報を記憶する属性情報記憶手段
と、 前記属性情報記憶手段を読み出して、コピー対象躯体図
に含まれる躯体図形の属性情報中に前記隣接図形に関す
る情報が含まれていれば、前記隣接図形に関する情報
を、コピー位置に作成すべき躯体図形の属性情報に含ま
せるか否かを入力に基づき判断する属性情報処理手段と
前記コピー対象躯体図を前記コピー位置に作成する躯体
図コピー手段と、 を備えることを特徴とする図形処理装置。
3. A figure processing apparatus for copying a skeleton figure including a skeleton figure having information about an adjacent figure as attribute information and a skeleton figure having no information about an adjacent figure as attribute information, comprising: Attribute information storage means for storing information; read out the attribute information storage means, and if the attribute information of the skeleton graphic included in the copy target skeleton diagram includes information on the adjacent graphic, information on the adjacent graphic Is included in the attribute information of the skeleton figure to be created at the copy position, based on the input, and attribute information processing means and skeleton figure copy means for creating the copy target skeleton figure at the copy position are provided. A graphic processing device characterized by the above-mentioned.
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 JPH05165927A (en) 1993-07-02
JP2616328B2 true 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
JPH05165927A (en) 1993-07-02

Similar Documents

Publication Publication Date Title
JP2616328B2 (en) Graphic processing method and apparatus
JP2887603B2 (en) Figure registration control method
JP3470974B2 (en) Figure creation method and apparatus
JP3425771B2 (en) Figure creation method and apparatus
JPH0259814A (en) Dividing/integrating process system for window information
JPH05165926A (en) Method and device for processing graphic
JP2643617B2 (en) Method and apparatus for drawing walls or beams in architectural drawings, etc.
JP4136188B2 (en) Graphic editing apparatus and method
JP2720960B2 (en) Waveform correction method
JPS6314194A (en) Editor/register for character pattern
JPH05314232A (en) Graphic preparing device
JPH09128126A (en) Controller for field specification
JPH10240446A (en) Editing graphic selection system
JP2575636B2 (en) Graphic display device
JP2622658B2 (en) Graphic data creation device
JPH03116285A (en) Graphic producing device
JP2001076163A (en) Method and device for arranging graphic
JPH096978A (en) Scenario information processor
JPH07114646A (en) Word processor and object specifying method
JPH1185815A (en) Pillar input and display method by computer screen
JPH0642245B2 (en) Spreadsheet
JPH0620024A (en) Method and device for graphic processing
JP2001022491A (en) Screen input device
JPH04326476A (en) Graphic preparing device
JPH06282538A (en) Document preparing device

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