JPH02158879A - Method for arranging graphic in graphic processing system - Google Patents

Method for arranging graphic in graphic processing system

Info

Publication number
JPH02158879A
JPH02158879A JP31202788A JP31202788A JPH02158879A JP H02158879 A JPH02158879 A JP H02158879A JP 31202788 A JP31202788 A JP 31202788A JP 31202788 A JP31202788 A JP 31202788A JP H02158879 A JPH02158879 A JP H02158879A
Authority
JP
Japan
Prior art keywords
graphic
graphics
name
data
moving
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
JP31202788A
Other languages
Japanese (ja)
Inventor
Yasuhiro Azuma
東 保弘
Yasuo Ito
伊藤 泰生
Tomio Suga
須賀 富夫
Kengo Takahashi
健吾 高橋
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP31202788A priority Critical patent/JPH02158879A/en
Publication of JPH02158879A publication Critical patent/JPH02158879A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To reduce manhour in the moving processing of a graphic by specifying the graphic name of a graphic to be a reference for the arrangement of a certain graphic and a relative coordinate value from the origin of the reference graphic. CONSTITUTION:When a coordinate value to be the arrangement data of a certain graphic is changed in a graphic image divided into several graphics, other graphic adopting the optional graphic as a reference graphic are arranged as relative coordinate values from the origin of the graphic, so that these graphics are moved by the same variable as the moving variable of the graphic. In the case of inputting or moving arrangement data of graphics, only a graphic group to be moved can be arranged on an optional position by optionally specifying or changing a reference graphic name. Consequently, the manhour in the moving processing of a graphic can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、図形処理システムに係り、特にいくつかの細
分化された図形を生成し、これを配置データにより組合
せ、構造物全体の形状を作成する方法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a graphic processing system, and in particular, generates several segmented graphics, combines them using placement data, and creates the shape of the entire structure. Regarding how to create.

〔従来の技術〕[Conventional technology]

例えば、従来の対話型CADシステムの場合、全体形状
をいくつかの小さな図形に細分化し、それぞれの図形に
名称を付ける方法は採用されていたが、個々の図形間の
接続関係が定義されておらず、図形形状データは全体座
標系での座標値により管理されているため、図象を移動
する場合、任意の2点間を対角線とする四辺形の領域内
に属する座標値を変更するという方法が取られている。
For example, in the case of conventional interactive CAD systems, a method was adopted in which the overall shape was subdivided into several small shapes and each shape was given a name, but the connection relationships between the individual shapes were not defined. First, figure shape data is managed by coordinate values in the global coordinate system, so when moving a figure, the method is to change the coordinate values that belong to a quadrilateral area with diagonals between two arbitrary points. is taken.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来の方法においては、次のような問題点がある。 The above conventional method has the following problems.

1)特定の図形を削除、移動、複写する場合対象外とな
る図形が指定された領域内に存在すれば、この図形を除
くという配慮がされておらず、対象となる図形と同じ処
理を行ってしまう。
1) When deleting, moving, or copying a specific shape, if an ineligible shape exists within the specified area, no consideration is taken to remove this shape, and the same processing as the target shape is performed. It ends up.

2)1)と同様の処理を行う場合、特定の図形の線要素
をすべて指示することにより、その処理範囲を限定する
方法もあるが、この方法では、すべての線要素を指示す
る工数が大となる。
2) When performing the same processing as in 1), there is a method to limit the processing range by specifying all the line elements of a specific figure, but this method requires a large amount of man-hours to specify all the line elements. becomes.

本発明の目的は、上記従来方法の問題点を解決し、かつ
いくつかの図形すべての図形間接続関係を定義し、任意
の図形を移動した場合、他のすべての図形も移動した図
形の動きに追従させることができ、図形の移動処理工数
を低減することにある。
An object of the present invention is to solve the problems of the conventional method described above, and to define connection relationships between all of several shapes, so that when any shape is moved, all other shapes also move. The object is to reduce the number of man-hours required for processing the movement of figures.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、図形生成データにより図形を生成するとき
、当該図形に図形処理システムにより自動的に、あるい
は入力装置からの入力により図形名の指定を行う。更に
この当該図形の図形間接続データとして、当該図形を配
置するときの基準となる図形の図形名とその基準図形原
点からの相対座標値を指定することにより達成できる。
The above purpose is to designate a graphic name for the graphic automatically by a graphic processing system or by inputting from an input device when a graphic is generated using graphic generation data. Furthermore, this can be achieved by specifying the figure name of the figure to be used as a reference when arranging the figure and its relative coordinate value from the origin of the reference figure as the figure-to-figure connection data of the figure.

〔作用〕[Effect]

本発明によれば、いくつかの図形に細分化された図象に
於て、任意の図形の配置データである座標値を変更した
とき、当該図形を基準図形としている他の図形は、当該
図形の原点からの相対座標値で配置されているため、当
該図形が移動したのと同じ量だけ移動することになる。
According to the present invention, when a coordinate value, which is the arrangement data of an arbitrary figure, is changed in a symbol that is subdivided into several figures, other figures that use the figure as a reference figure change the figure. Since the coordinates are relative to the origin of the figure, it will move by the same amount as the figure has moved.

従って、図形の配置データを入力するとき、あるいは移
動を行う際に、基準図形名を任意に指定または変更する
ことにより、移動を必要とする図形群のみを任意の位置
に配置することが可能となる。
Therefore, by arbitrarily specifying or changing the reference figure name when inputting figure placement data or moving a figure, it is possible to place only the group of figures that need to be moved at an arbitrary position. Become.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1.2,3.4図を用いて
説明する。
An embodiment of the present invention will be described below with reference to FIGS. 1.2 and 3.4.

第1図は、本発明の全体構成を示す。先ず、対話型図形
処理システムの前処理として、簡易コマンド方式により
いくつかのパターン形状の定義。
FIG. 1 shows the overall configuration of the present invention. First, as preprocessing for the interactive graphic processing system, several pattern shapes are defined using a simple command method.

パターン形状の定義に使用したパラメータとその標準パ
ラメータ値のテーブル定義を基礎データ記憶装[4に行
う。この前処理の後、入力装置1より第2図処理手順に
示すように、図形定義に必要な形状パターン名、パラメ
ータテーブル名、必要により図形名(図形名を入力しな
い場合はシステム内で図形名を付ける)を図形定義デー
タとじて入力する。入力されたデータは、入力データ処
理部2に於いて入力データの解析14を行い、形状パタ
ーン名により形状パターンを簡易コマンド方式により定
義されたデータ及び、パラメータテーブル名によりパラ
メータ表を基礎データ記憶装置より読み込む、更に必要
に応じてパラメータテーブルのパラメータに対応するパ
ラメータ値の追加。
A table of parameters used to define the pattern shape and their standard parameter values is defined in the basic data storage device [4]. After this preprocessing, the input device 1 inputs the shape pattern name necessary for the shape definition, the parameter table name, the shape name if necessary (if the shape name is not input, the shape name is ) as the shape definition data. The input data is analyzed 14 in the input data processing unit 2, and the data defined by the simple command system is converted into a shape pattern using the shape pattern name, and the parameter table is stored into the basic data storage device using the parameter table name. Add parameter values corresponding to the parameters in the parameter table, if necessary.

変更16を行う。Make change 16.

以上により1つの図形定義は終り1次の処理としてこの
図形の配置データ人力17を行う、先ず、作成した図形
を全体座標系18あるいは既作の任意の図形を基準図形
として相対座標19で配置するかを指示し、全体座標系
18で配置する場合は全体座標系18の座標値を、相対
座標系19で配置する場合は基準図形名と相対座標系1
9の座標値を入力する。図形の定義及び配置が終了した
時点で、これらの図象データは解析データ記憶装置へ格
納される。またこれらのデータは表示処理部3にも送ら
れ表示用図形データに変換後、図形表示装置6へ送り出
される。図形表示装置6では送られできたデータの順に
図形を表示し、一連の処理が終了となるがこの処理を図
形の数12だけ繰返すことになる。
With the above, one figure definition is completed, and the first step is to perform the placement data of this figure manually 17. First, the created figure is placed in relative coordinates 19 using the global coordinate system 18 or any previously created figure as a reference figure. When placing in the global coordinate system 18, specify the coordinate values of the global coordinate system 18, and when placing in the relative coordinate system 19, specify the reference figure name and relative coordinate system 1.
Enter the coordinate values of 9. When the definition and arrangement of the graphics is completed, these graphical data are stored in the analysis data storage device. These data are also sent to the display processing section 3, converted into display graphic data, and then sent to the graphic display device 6. The graphics display device 6 displays the graphics in the order of the data that has been sent, and the series of processing is completed, but this processing is repeated for the number of graphics (12).

次に図形の移動処理手順について述べる。第3図は、図
形の移動処理手順を示すもので、先ず図形表示装置6に
既に作成したいくつかの図形から成る図象を表示後、移
動しようとする図形群の中から1つの図形を図形表示装
置6上に表示された図象より指示32を行う。図形の指
示32を行うことによりその図形のパラメータテーブル
と配置情報を図形表示装置6上に出力し、現状の座標値
に移動量を加えた座標値を入力33すれば、移動指示を
した図形を基準図形としている図形も同様に移動する。
Next, the procedure for moving figures will be described. FIG. 3 shows the procedure for moving a figure. First, an icon consisting of several already created figures is displayed on the figure display device 6, and then one figure from the group of figures to be moved is displayed. Instructions 32 are given from the symbols displayed on the display device 6. By specifying a figure 32, the parameter table and placement information of that figure are output on the figure display device 6, and by inputting coordinate values 33, which are the current coordinates plus the amount of movement, the figure for which the move was instructed is The figure used as the reference figure is also moved in the same way.

例えば第4図のように、図形A、B。For example, as shown in Figure 4, figures A and B.

C,Dの図形間接続関係が、図形Aは全体座標系、図形
Bは図形Aを、図形Cは図形Bを、図形りは図形Cをそ
れぞれ基準図形としており相対座標系で配置している場
合、図形Aを移動、すなわち図形AのX、Y座標値を変
更すれば図形B、C,Dも図形Aと同じ動きをする。
The connection relationship between figures C and D is arranged in a relative coordinate system, with figure A as the global coordinate system, figure B as the reference figure, figure C as the reference figure, and figure C as the reference figure. In this case, if figure A is moved, that is, the X and Y coordinate values of figure A are changed, figures B, C, and D will also move in the same way as figure A.

従って、本発明によれば図形の移動が容易となり、しか
も必要な図形のみを移動、削除、複写することが可能と
なり図形処理システムによる既作図の利用率が高くなり
、作図工数を低減することができ、構造の計画、検討に
も使い易くなるという効果がある。
Therefore, according to the present invention, it becomes easy to move figures, and it is also possible to move, delete, or copy only necessary figures, which increases the utilization rate of existing drawings by the figure processing system, and reduces the number of drawing man-hours. This has the effect of making it easier to use when planning and examining structures.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、1つ以上の線要素から成る図形をいく
つか組み合せて図象を作成し、それぞれの図形間の接続
関係、すなわち当該図形の基準図形からの配置を指示す
ることにより、図形の移動が容易となり不要図形の削除
、あるいは別図象からの複写処理が早くなり図象作成工
数が約30%低減できる。更に、基準図形からの相対座
標値による図形の配置は、全体座標値に比べて狭い領域
内で指示するため、座標値の計算が容易となり、誤りも
少なくなる。
According to the present invention, a graphic image is created by combining several figures consisting of one or more line elements, and by instructing the connection relationship between each figure, that is, the arrangement of the figure from a reference figure. This makes it easier to move unnecessary figures, speeds up the process of deleting unnecessary figures, or copying them from another figure, and reduces the number of steps required to create the figure by about 30%. Furthermore, since the placement of a figure based on relative coordinate values from a reference figure is specified within a narrower area than the overall coordinate value, calculation of coordinate values becomes easier and errors are reduced.

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

第1図は本発明の一実施例の全体構成図、第2図は作業
の処理手順を示す説明図、第3図は図形の移動処理手順
を示す説明図、第4図は本発明による図形間の接続方式
を示す説明図である。
FIG. 1 is an overall configuration diagram of an embodiment of the present invention, FIG. 2 is an explanatory diagram showing a work processing procedure, FIG. 3 is an explanatory diagram showing a figure movement processing procedure, and FIG. 4 is a diagram showing a figure movement process according to the present invention. FIG. 2 is an explanatory diagram showing a connection method between the

Claims (1)

【特許請求の範囲】[Claims] 1、図形および図形の配置データ入力装置、その入力装
置より入力されたデータを処理する入力データ処理部、
この処理されたデータを格納しておく記憶装置、任意ま
たはすべての図形を出力させるための表示処理部とその
図形を表示する表示制御装置より成る図形処理システム
に於いて、図形処理システムにより生成した図形に図形
名を付け、その図形の配置データとして、当該図形の配
置基準となる図形の図形名とその基準図形からの相対座
標を指示することを特徴とする図形処理システムの図形
配置方法。
1. A figure and figure arrangement data input device; an input data processing unit that processes data input from the input device;
In a graphics processing system consisting of a storage device for storing this processed data, a display processing unit for outputting any or all graphics, and a display control device for displaying the graphics, A figure arrangement method for a figure processing system, characterized in that a figure name is given to a figure, and the figure name of a figure serving as an arrangement reference for the figure and its relative coordinates from the reference figure are specified as placement data of the figure.
JP31202788A 1988-12-12 1988-12-12 Method for arranging graphic in graphic processing system Pending JPH02158879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31202788A JPH02158879A (en) 1988-12-12 1988-12-12 Method for arranging graphic in graphic processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31202788A JPH02158879A (en) 1988-12-12 1988-12-12 Method for arranging graphic in graphic processing system

Publications (1)

Publication Number Publication Date
JPH02158879A true JPH02158879A (en) 1990-06-19

Family

ID=18024339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31202788A Pending JPH02158879A (en) 1988-12-12 1988-12-12 Method for arranging graphic in graphic processing system

Country Status (1)

Country Link
JP (1) JPH02158879A (en)

Similar Documents

Publication Publication Date Title
JP3143278B2 (en) Assembly drawing creation method and device
JPH0443465A (en) Graphic editing device
JP3369734B2 (en) Three-dimensional computer-aided design apparatus and method
JPH02158879A (en) Method for arranging graphic in graphic processing system
JP3658027B2 (en) Graphic editing apparatus and graphic editing method
JPH07220115A (en) Three-dimensional cad system
JP2854174B2 (en) Enlargement drawing method in numerical controller
JP2766512B2 (en) Parametric figure processing apparatus and its data input method and data management method
JP2667454B2 (en) Plotting device
JP2937374B2 (en) Interactive graphics processor
JPH03136173A (en) Graphic editing device
JP2851857B2 (en) Information processing apparatus and method
JPH10228492A (en) Cad system
JPH07104876B2 (en) Design support method and design support apparatus
JPH0676039A (en) Layout device
JPH0973468A (en) Crt screen designing support method
JPH064623A (en) Graphic data processor
JPH07182402A (en) Cad device
JPS61286976A (en) Design data input system
JPH02270072A (en) Surface recognizing system for 3-dimensional cad system
JPH01134673A (en) Method and device for displaying data of block chart
JPH06149944A (en) Three-dimensional cad device
JPH04312178A (en) Method for generating boundary data
JPH04172566A (en) Shape changing method for wiring pattern
JPH02309452A (en) Graphic data control system for display device