JPH0488561A - Method and device for connection processing of body constitutional graphic - Google Patents

Method and device for connection processing of body constitutional graphic

Info

Publication number
JPH0488561A
JPH0488561A JP2204375A JP20437590A JPH0488561A JP H0488561 A JPH0488561 A JP H0488561A JP 2204375 A JP2204375 A JP 2204375A JP 20437590 A JP20437590 A JP 20437590A JP H0488561 A JPH0488561 A JP H0488561A
Authority
JP
Japan
Prior art keywords
graphic
figures
vector data
connection
processing
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
Application number
JP2204375A
Other languages
Japanese (ja)
Inventor
Yuji Kobayashi
裕司 小林
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 JP2204375A priority Critical patent/JPH0488561A/en
Publication of JPH0488561A publication Critical patent/JPH0488561A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten arithmetic processing time by attaching vector data on the connecting point of graphics and moving and connecting the graphics when the graphics with directivity are connected. CONSTITUTION:When the connection processing of the connecting point PB1 of the graphic B to the connecting point PA2 of the graphic A is performed in the connection of the graphic A and the graphic B with directivity, the vector data VA2, VB1 are attached on those connecting points, respectively. A connection processing operation is performed by reading in the vector data VA2, VB1 and finding an angle to rotate the graphic A and travel distance by instructing the graphic to be connected i.e. the graphic to be moved and the position of the connecting point, and the connecting position of the graphic to be connected. A rotational angle goes to the angle formed by a minus component between the vector data VA2 and the vector data VB1. The travel processing of the graphic A is performed based on a calculated value, and the connection of the graphic A to the graphic B is performed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、CADシステムなどの計算機を使用した図形
処理技術において、建築設備施工図など躯体構成図形の
接続処理を行う方法とその装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method and an apparatus for performing connection processing of building frame configuration figures such as building equipment construction drawings in graphic processing technology using a computer such as a CAD system.

[従来の技術] 計算機を使用して図形処理を行うCADシステムにおい
て、設備設計などの図面上に躯体構成図形を作成すると
き、複数の図形が配置方向に関連性を持ち、これらの図
形を連続的に接続していく場合がある。この場合、2番
目以降の図形の方向を、指示した形状の方向に合わせる
ことは困難であった。
[Prior Art] In a CAD system that uses a computer to process figures, when creating frame structure figures on drawings such as equipment design, multiple figures have a relationship in their arrangement direction, and these figures are arranged consecutively. In some cases, there may be a connection. In this case, it was difficult to align the direction of the second and subsequent figures with the direction of the designated shape.

以下に、複数の図形が配置方向に関連性を持って接続さ
れる場合の作図要領を第5図により説明する。
Below, the drawing procedure when a plurality of figures are connected with relation to each other in the arrangement direction will be explained with reference to FIG.

第5図のようなダクトなどの図形の形状Aの接続点PA
2を形状Bの接続点PBIに接続する場合、形状Aの代
表となる点PALと点PA2により、その配置角度を求
め、形状Bの配置角度(接続点PBIと接続点PB2に
より求める)との差分から形状Aの回転角度を算出し、
配置位置および方向を決定する。このように、形状Aお
よび形状Bの配置角度を知るなめに、それぞれの形状デ
ータを読み込み、接続点の座標値から配置角度を求める
必要がある。
Connection point PA of shape A of a figure such as a duct as shown in Figure 5
2 to connection point PBI of shape B, find its arrangement angle using points PAL and point PA2, which are representative of shape A, and calculate its arrangement angle with the arrangement angle of shape B (calculated from connection point PBI and connection point PB2). Calculate the rotation angle of shape A from the difference,
Determine the placement position and direction. In this way, in order to know the arrangement angle of shape A and shape B, it is necessary to read the respective shape data and find the arrangement angle from the coordinate values of the connection points.

上記の動作の処理手順は、第6図に示すように、移動す
る図形を指示しくステ・ツブ#1)1次いで接続する位
置を指示しく#2>、接続する図形のデータを読み込み
(#3)、接続する図形の配置角度を算出する(#4)
。そして、接続される位置を指示しく#5)、接続され
る図形のデータを読み込み(#6)、接続される図形の
配置角度を算出しく#7)、移動する図形の配置角度と
移動距離を算出しく#8) 、移動処理を行う(#9)
As shown in Fig. 6, the processing procedure for the above operation is as shown in Figure 6. ), calculate the placement angle of the connected shapes (#4)
. Then, specify the position to be connected (#5), read the data of the connected figures (#6), calculate the arrangement angle of the connected figures (#7), and calculate the arrangement angle and movement distance of the moving figures. Calculate #8) and perform movement processing (#9)
.

上記処理により図形が変化する状況を第7図に示してい
る。
FIG. 7 shows how the figure changes as a result of the above processing.

[発明が解決しようとする課題] 上述したように配置方向に関連性を持つ2つ以上の図形
を相互に接続して作図するには、複雑な操作を必要とし
、座標データから移動角度を求めるため、多くの演算を
必要とし、その処理に時間がかかり、能率的な作業を行
うことが困難であつ化。
[Problems to be Solved by the Invention] As described above, in order to draw two or more figures that are related to each other in their arrangement directions, a complicated operation is required, and a movement angle must be determined from coordinate data. Therefore, many calculations are required, and the processing takes time, making it difficult to perform tasks efficiently.

本発明は、上記の問題を解決するもので、方向性を持っ
た図形を連続的に接続して作図する場合に、図形に接続
点情報を持たせたことにより移動角度を少ない演算で求
めることができ、演算処理か速くなると共に、簡単な操
作で能率良く作図することができる躯体構成図形の接続
処理方法およびその装置を提供することを目的とする。
The present invention solves the above-mentioned problem, and when drawing directional figures by continuously connecting them, it is possible to calculate the movement angle with fewer calculations by providing connection point information to the figures. It is an object of the present invention to provide a method and apparatus for processing connections of building frame configuration figures, which can speed up arithmetic processing and efficiently draw diagrams with simple operations.

[課題を解決するための手段] 上記目的を達成するために請求項1記載の発明は、躯体
構成図形の作成に際して複数の図形が配置方向に関連性
を持って接続されるとき、該接続部分について計算機を
用いて接続処理する方法であって、各躯体構成図形の接
続点情報として座標値と図形の配置方向を示すベクトル
データを持ち、かつ、移動する図形の接続する位置の指
示および前記ベクトルデータの読み込みを行うステップ
と、接続される位置の指示および前記ベクトルデータの
読み込みを行うステップと、上記により読み込まれたデ
ータに基いて移動する図形の配置角度と移動距離を算出
するステップと、上記の算出により得られたデータに基
いて図形の移動処理を行うステップとを有したものであ
る。
[Means for Solving the Problems] In order to achieve the above object, the invention according to claim 1 provides that when a plurality of figures are connected in relation to each other in the arrangement direction when creating a frame structure figure, the connected part A method of connecting using a computer, which has vector data indicating the coordinate values and the arrangement direction of the figure as connection point information of each building frame configuration figure, and an instruction of the connecting position of the moving figure and the said vector. a step of reading the data; a step of instructing the connection position and reading the vector data; a step of calculating the arrangement angle and movement distance of the figure to be moved based on the data read above; The method includes a step of performing a figure movement process based on data obtained by calculating the figure.

請求項2記載の発明は、躯体構成図形の作成に際して複
数の図形か配置方向に関連性を持って接続されるとき、
該接続部分について計算機を用いて接続処理する装置で
あって、各躯体構成図形の接続点情報として座標値と図
形の配置方向を示すベクトルデータを持たせ、かつ、接
続する位置の指示およびベクトルデータの読み込みを行
う手段と、接続される位置の指示およびベクトルデータ
の読み込みを行う手段と、上記により読み込まれたデー
タに基いて移動する図形の配置角度と移動距離を算出す
る手段と、上記の算出により得られたデータに基いて図
形の移動処理を行う手段とを有したものである。
The invention as set forth in claim 2 provides the following method: when a plurality of figures are connected in relation to each other in the arrangement direction when creating a frame structure figure,
A device that processes the connections using a computer, which has vector data indicating the coordinate values and arrangement direction of the figures as connection point information for each building block figure, and also provides instructions for the connection position and vector data. means for reading the instruction of the connected position and reading the vector data; means for calculating the arrangement angle and movement distance of the figure to be moved based on the data read by the above; and the calculation for the above. and means for performing graphic movement processing based on the data obtained.

[作用] 上記の方法ないし装置によれば、移動する図形と、その
接続する位置と、接続される位置を指示し、各接続点の
ベクトルデータを読み込ませることにより、移動する図
形の配置角度と移動距離が算出され、それに基いて図形
の移動処理かなされ、両図形か接続されることになる。
[Operation] According to the above method or device, by specifying the moving figures, their connecting positions, and the connected positions, and reading the vector data of each connection point, the arrangement angle of the moving figures can be determined. The moving distance is calculated, and based on it, the figure is moved and the two figures are connected.

[実施例1 以下、CADシステムにより実行される本発明の躯体構
成図形の接続処理方法について図面を参照して説明する
[Embodiment 1] Hereinafter, a method for processing connection of building frame configuration figures of the present invention executed by a CAD system will be described with reference to the drawings.

第1図は躯体構成図形の接続処理方法の概念を説明する
ための図である。いま、方向性を有する図形Aと図形B
との接続で、図形Bの接続点PB1に図形Aの接続点P
A2を接続処理を行う場合、両接続点にベクトルデータ
VA2、VBIをそれぞれ付与している。接続処理操作
は、接続する図形すなわち移動する図形とその接続点位
置の指示と、接続される図形の接続位置を指示すること
により、ベクトルデータVA2.VBIを読み込み、図
形Aを回転させる角度および移動距離を求める。
FIG. 1 is a diagram for explaining the concept of a connection processing method for building frame configuration figures. Now, figure A and figure B have directionality.
By connecting, the connection point P of figure A is connected to the connection point PB1 of figure B.
When connecting A2, vector data VA2 and VBI are assigned to both connection points, respectively. The connection processing operation is performed by instructing vector data VA2. Read the VBI and find the rotation angle and movement distance of figure A.

回転角度は、ベクトルデータVA2とベクトルデータV
BIのマイナス分とのなす角度になる。これらの算出値
に基づいて、図形Aの移動処理を行い図形A、Bの接続
を行う。この処理を行う手順については後述する。
The rotation angle is calculated using vector data VA2 and vector data V.
This is the angle formed by the negative part of BI. Based on these calculated values, movement processing of figure A is performed and figures A and B are connected. The procedure for performing this process will be described later.

第2図は本CADシステムの装置のブロック構成を示す
。本システムは、主記憶装置と演算および制鄭装置から
なるCPUI、CADプログラム等を格納するROM2
および図形処理の作業領域となるRAM3からなるシス
テム本体と、インタフェース4を介して接続された各種
入出力機器とからなる。入出力機器としては、建築図面
など各種データを記憶したハードディスク5、図面処理
の各種コマンドなどを入力するキーボード6およびマウ
ス7、処理された図形を表示するデイスプレィ8(表示
装置)および図形を用紙上にプロットアウトするプロッ
タ9などが設けられている。
FIG. 2 shows the block configuration of the device of this CAD system. This system consists of a main storage device, a CPU consisting of arithmetic and control devices, and a ROM2 that stores CAD programs, etc.
The system main body includes a RAM 3 serving as a work area for graphic processing, and various input/output devices connected via an interface 4. The input/output devices include a hard disk 5 that stores various data such as architectural drawings, a keyboard 6 and a mouse 7 that input various commands for processing the drawings, a display 8 (display device) that displays processed figures, and a computer that displays figures on paper. A plotter 9 for plotting is provided.

システム本体とキーボード6およびマウス7により、移
動する図形を指示し、接続点の座標位置おびベクトルデ
ータの読み込みを行う手段と、接続される位置を指示し
、ベクトルデータの読み込みを行う手段の各機能を達成
し、また、システム本体か算出手段と移動処理手段の性
能を持つ。
The functions of the system body, keyboard 6 and mouse 7 are used to specify the figure to be moved, read the coordinate position and vector data of the connection point, and specify the position to be connected and read the vector data. The system itself also has the performance of calculation means and movement processing means.

第3図は本処理方法を示すフローチャートである。これ
を説明すると、まず、移動する図形を指示しく#11)
、次いで接続する図形の位置を指示し、ベクトルデータ
を読み込む(#12)。次に、接続される図形の位置を
指示し、ベクトルデータを読み込み(#13)、移動す
る図形の配置角度と移動距離を算出しく#14)、移動
処理を行う (#15)。
FIG. 3 is a flowchart showing this processing method. To explain this, first, specify the shape to move #11)
, then specify the positions of the figures to be connected and read the vector data (#12). Next, specify the positions of the figures to be connected, read the vector data (#13), calculate the arrangement angle and movement distance of the figures to be moved (#14), and perform the movement process (#15).

この手順により図形が変化する状況を第4図に示してい
る。
FIG. 4 shows how the figure changes as a result of this procedure.

なお、本発明は上記実施例の方法、構成に限られるもの
てはなく種々の態様か可能であり、例えば、接続点情報
の与え方等は任意に変更することができる。
Note that the present invention is not limited to the methods and configurations of the above-described embodiments, and various embodiments are possible. For example, the method of providing connection point information, etc. can be changed arbitrarily.

[発明の効果] 以上のように本発明によれば、方向性を持った図形を接
続する場合に、図形の接続点にベクトルデータを付与し
て、このベクトルデータを用いて図形を移動し接続する
ようにしているので、演算処理時間を短くでき、接続さ
れる図形の配置方向が容易かつ、速く求まり、オペレー
タの操作が炉わしくなく、能率良く作図することかでき
る。
[Effects of the Invention] As described above, according to the present invention, when connecting figures with directionality, vector data is assigned to the connecting points of the figures, and this vector data is used to move and connect the figures. As a result, calculation processing time can be shortened, the arrangement direction of connected figures can be determined easily and quickly, and the operator can draw the figures efficiently without having to perform cumbersome operations.

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

第1図は本発明の躯体構成図形の接続処理方法の概念を
示す図、第2図は本接続処理方法を実施するCADシス
テムのブロック構成図、第3図は本処理方法の手順の一
例を示すフローチャート、第4図は本接続処理方法によ
る図形の変化状況を示す図、第5図は従来の接続処理方
法による図形の変化状況を示す図、第6図は従来の処理
方法の手順を示すフローチャート、第7図はその手順に
よる図形の変化状況を示す図である。 1・・・CPU、2・・・ROM、3・・・RAM、5
・・・ハードディスク、6・・・キーボード、7・・・
マウス、8・・・デイスプレィ、A、B・・・図形、P
A2.PBI・・接続点、VA2.VBI・・・ベクト
ルデータ。 出願人      ダイキン工業株式会社第 図 、第 図 第6 図 第 図
Fig. 1 is a diagram showing the concept of the connection processing method for building frame configuration figures of the present invention, Fig. 2 is a block diagram of a CAD system that implements this connection processing method, and Fig. 3 is an example of the procedure of this processing method. FIG. 4 is a diagram showing how figures change according to the present connection processing method, FIG. 5 shows how figures change according to the conventional connection processing method, and FIG. 6 shows the procedure of the conventional processing method. The flowchart, FIG. 7, is a diagram showing how the figures change according to the procedure. 1...CPU, 2...ROM, 3...RAM, 5
...Hard disk, 6...Keyboard, 7...
Mouse, 8...Display, A, B...Graphic, P
A2. PBI... connection point, VA2. VBI...vector data. Applicant: Daikin Industries, Ltd. Figure 6 Figure 6

Claims (2)

【特許請求の範囲】[Claims] (1)躯体構成図形の作成に際して複数の図形が配置方
向に関連性を持って接続されるとき、該接続部分につい
て計算機を用いて接続処理する方法であって、 各躯体構成図形の接続点情報として座標値と図形の配置
方向を示すベクトルデータを持ち、かつ、移動する図形
の接続する位置の指示および前記ベクトルデータの読み
込みを行うステップと、接続される位置の指示および前
記ベクトルデータの読み込みを行うステップと、 上記により読み込まれたデータに基いて移動する図形の
配置角度と移動距離を算出するステップと、 上記の算出により得られたデータに基いて図形の移動処
理を行うステップとを有したことを特徴とする躯体構成
図形の接続処理方法。
(1) When a plurality of figures are connected in relation to each other in the arrangement direction when creating a frame structure figure, a method is provided in which connection processing is performed using a computer for the connected parts, and the connection point information of each frame structure figure is has vector data indicating the coordinate values and the arrangement direction of the figure, and the step of specifying the position where the moving figure is connected and reading the vector data; and the step of specifying the position to be connected and reading the vector data. a step of calculating the arrangement angle and movement distance of the figure to be moved based on the data read in the above, and a step of performing a process of moving the figure based on the data obtained by the above calculation. A method for processing connection of building frame configuration figures, characterized by the following.
(2)躯体構成図形の作成に際して複数の図形が配置方
向に関連性を持って接続されるとき、該接続部分につい
て計算機を用いて接続処理する装置であつて、 各躯体構成図形の接続点情報として座標値と図形の配置
方向を示すベクトルデータを持たせ、かつ、 接続する位置の指示およびベクトルデータの読み込みを
行う手段と、 接続される位置の指示およびベクトルデータの読み込み
を行う手段と、 上記により読み込まれたデータに基いて移動する図形の
配置角度と移動距離を算出する手段と、上記の算出によ
り得られたデータに基いて図形の移動処理を行う手段と
を有したことを特徴とする躯体構成図形の接続処理装置
(2) When a plurality of figures are connected in relation to each other in the arrangement direction when creating a frame structure figure, a device that processes the connection using a computer, comprising connection point information for each frame structure figure. means for specifying the position to be connected and reading the vector data; means for specifying the position to be connected and reading the vector data; The present invention is characterized by having means for calculating the arrangement angle and movement distance of the figure to be moved based on the data read by the above method, and means for performing the movement process of the figure based on the data obtained by the above calculation. Connection processing device for building frame configuration figures.
JP2204375A 1990-07-31 1990-07-31 Method and device for connection processing of body constitutional graphic Pending JPH0488561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2204375A JPH0488561A (en) 1990-07-31 1990-07-31 Method and device for connection processing of body constitutional graphic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2204375A JPH0488561A (en) 1990-07-31 1990-07-31 Method and device for connection processing of body constitutional graphic

Publications (1)

Publication Number Publication Date
JPH0488561A true JPH0488561A (en) 1992-03-23

Family

ID=16489481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2204375A Pending JPH0488561A (en) 1990-07-31 1990-07-31 Method and device for connection processing of body constitutional graphic

Country Status (1)

Country Link
JP (1) JPH0488561A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6225379A (en) * 1985-07-25 1987-02-03 Fujitsu Ltd Graphic information control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6225379A (en) * 1985-07-25 1987-02-03 Fujitsu Ltd Graphic information control system

Similar Documents

Publication Publication Date Title
US20200338730A1 (en) Trajectory planning device, trajectory planning method and program
KR102042115B1 (en) Method for generating robot operation program, and device for generating robot operation program
US20070242073A1 (en) Robot simulation apparatus
JPH02262982A (en) Setting method for tool center point
JPS59229619A (en) Work instructing system of robot and its using
EP0402475A1 (en) Method of determining expanded shape of a product in a cad system
JPS62272366A (en) Graphic information processor
JPH0488561A (en) Method and device for connection processing of body constitutional graphic
JPH1058363A (en) Off-line teaching device for robot
JPS6097409A (en) Operation teaching method of robot
JPH09201784A (en) Teaching device for robot
JP3983707B2 (en) 3D space graphic processing apparatus and 3D space graphic processing method
JP3128415B2 (en) Cursor control method
JPH1177568A (en) Teaching assisting method and device
JPH04137108A (en) Offline teaching method for robot
JPS6180363A (en) Teaching method of working apparatus to be automatically controlled
EP1353297A2 (en) CAD system for 3D objects
JPH04119405A (en) Position and rotation angle detector, its indicating tool, and robot operation teaching device using the tool
JPH0973476A (en) Three-dimensional shape information input device
JPH05224732A (en) Locus display system
JP2004030135A (en) Method and program for drawing part of circle in cad system
JPH08309680A (en) Manipulator control system
JPH01111208A (en) Robot teaching device
JPH07134781A (en) Method for directing the rotation of three-dimensional object
JPH02300902A (en) Interference check device for robot