JPH05242175A - Shape arrangement system - Google Patents

Shape arrangement system

Info

Publication number
JPH05242175A
JPH05242175A JP4045144A JP4514492A JPH05242175A JP H05242175 A JPH05242175 A JP H05242175A JP 4045144 A JP4045144 A JP 4045144A JP 4514492 A JP4514492 A JP 4514492A JP H05242175 A JPH05242175 A JP H05242175A
Authority
JP
Japan
Prior art keywords
shape data
shape
unit
placement
data
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.)
Withdrawn
Application number
JP4045144A
Other languages
Japanese (ja)
Inventor
Shinichi Ohashi
慎一 大橋
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Chubu 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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP4045144A priority Critical patent/JPH05242175A/en
Publication of JPH05242175A publication Critical patent/JPH05242175A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To allow a user to arrange a shape at an optional position and an optional angle by the shape arrangement system. CONSTITUTION:The shape arrangement system 1 consists of an input data discrimination part 11 which recognizes input data, a shape data read part 12 which reads shape data 21 out of a shape data file 2, a working shape data display part 13 which displays the shape data in a work area, an arrangement source position indication part 14 which indicates a shape element at an arrangement source, an arrangement destination indication part 15 which indicates a shape element at an arrangement destination, a shape data copying part 16 copies the shape data displayed in the work area to the arrangement destination position, and a working shape data deletion part 17 which deletes the shape data displayed in the work area.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、形状配置システムにお
ける形状配置方式に関し、特に既に描かれている図面上
の形状に沿うように形状を配置する形状配置システムに
おいて、利用者が任意の位置で任意の角度に形状を配置
できる形状配置方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shape arranging method in a shape arranging system, and more particularly, in a shape arranging system for arranging a shape so as to follow a shape already drawn on a drawing, a user can place the shape at any position. The present invention relates to a shape arrangement method capable of arranging shapes at an arbitrary angle.

【0002】[0002]

【従来の技術】一般に、従来の形状配置方式は、例え
ば、図5に示すように、形状配置システム6において、
入力装置3により入力されたデータを入力データ識別部
61で形状データ名として認識し、この入力データ識別
部61で認識された形状データ名を基に形状データファ
イル2に格納されている形状データ21を形状データ読
み込み部62が読み込み、配置先位置指示部63で入力
装置3より形状データ配置先位置を認識し、形状データ
読み込み部62によって読み込まれた形状データを形状
データ表示部64がオペレーティングシステムに用意さ
れている図形作図機能4に渡して作図を行い、表示装置
5に図形表示していた。
2. Description of the Related Art Generally, a conventional shape placement system is, for example, as shown in FIG.
The data input by the input device 3 is recognized as a shape data name by the input data identification unit 61, and the shape data 21 stored in the shape data file 2 is based on the shape data name recognized by the input data identification unit 61. The shape data reading unit 62 reads the shape data, the arrangement destination position designating unit 63 recognizes the shape data arrangement destination position from the input device 3, and the shape data display unit 64 displays the shape data read by the shape data reading unit 62 in the operating system. It was passed to the prepared graphic drawing function 4 to perform drawing, and the graphic was displayed on the display device 5.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の形状配
置方式は、配置しようとする形状の配置基準点が、指示
した位置にくるように配置する方式となっているので、
利用者の配置させたい位置へ配置するには、そのための
準備が必要であり、利用者はあらかじめ形状を配置する
位置へ印をつけておくか、配置位置を座標系の値として
入力装置から入力する必要があった。
The above-described conventional shape arrangement method is a method in which the arrangement reference point of the shape to be arranged is located at the designated position.
In order to place it in the position where the user wants to place it, preparation is required for that, and the user must mark the position where the shape is to be placed in advance or enter the placement position as a coordinate system value from the input device. Had to do.

【0004】また、形状を回転させて配置する際は、角
度として入力する方法しかないため、すでに描かれてい
る線や円の形状に沿うように回転させて配置するには、
複雑な角度計算及び座標計算が必要になるという欠点が
ある。
In addition, when arranging a shape by rotating it, there is only a method of inputting it as an angle. Therefore, when arranging it by rotating it along the shape of a line or circle already drawn,
It has the drawback of requiring complicated angle and coordinate calculations.

【0005】[0005]

【課題を解決するための手段】本発明の形状配置方式
は、電子計算機上の形状データファイルの形状データを
任意の位置に配置する形状配置システムにおいて、入力
装置から形状データ名を読み込む入力データ識別部と、
入力データ識別部より読み込まれた形状データ名を基
に、形状データファイルから形状データを読み込む形状
データ読み込み部と、形状データ読み込み部より読み込
まれた形状データをオペレーティングシステムに用意さ
れている図形作図機能に渡すことにより表示装置の作業
用領域に図形表示する作業用形状データ表示部と、作業
用形状データ表示部により表示された形状データの配置
元となる位置を指示する配置元位置指示部と、形状デー
タ読み込み部より読み込まれた形状データの配置先とな
る位置を指示する配置先位置指示部と、作業用形状デー
タ表示部により表示された形状データを配置元位置指示
部により指示された位置と配置先位置指示部により指示
された位置により配置先,配置角度を決定し複写する形
状データ複写部と、作業用形状データ表示部により表示
された形状データを削除する作業用形状データ削除部と
を備えている。
The shape arranging method of the present invention is an input data identification for reading a shape data name from an input device in a shape arranging system for arranging the shape data of a shape data file on a computer at an arbitrary position. Department,
The shape data reading unit that reads the shape data from the shape data file based on the shape data name read from the input data identification unit, and the figure drawing function that the shape data read from the shape data reading unit is prepared in the operating system. A work shape data display unit for graphically displaying in the work area of the display device by passing to the work device, and a placement source position designating unit for designating a position as a placement source of the shape data displayed by the work shape data display unit, The placement destination position designating unit that designates the position where the shape data read by the shape data reading unit is located, and the shape data displayed by the working shape data display unit are designated by the placement source position designating unit. A shape data copying unit that determines a placement destination and a placement angle based on the position designated by the placement destination position designating unit and makes a copy; And a working shape data deleting unit that deletes the shape data displayed by the business for the shape data display unit.

【0006】[0006]

【実施例】次に、本発明の形状配置方式について図面を
参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the shape arranging system of the present invention will be described with reference to the drawings.

【0007】図1は本発明の形状配置方式が適用された
形状配置システムの構成図であって、形状配置システム
1と形状データファイル2と入力装置3と図形作図機能
4と表示装置5とから構成されている。
FIG. 1 is a block diagram of a shape placement system to which the shape placement method of the present invention is applied. The shape placement system 1, the shape data file 2, the input device 3, the graphic drawing function 4, and the display device 5 are used. It is configured.

【0008】形状配置システム1は、入力装置3によっ
て入力されたデータを形状データ名として認識する入力
データ識別部11と、それを基に形状データファイル2
に格納されている形状データ21を読み込む形状データ
読み込む部12と、読み込んだ形状データ21を図形作
図機能4を介して表示装置5の作業用領域に表示する作
業用形状データ表示部13と、入力装置3により配置元
となる形状構成要素を指示する配置元位置指示部14
と、入力装置3より配置先となる形状構成要素を指示す
る配置先位置指示部15と、指示された要素を基に配置
角度・配置座標の計算を行い、図形作図機能4を介して
表示装置5の図形表示領域に形状データの複写を行う形
状データ複写部16と、最後に作業用領域に表示されて
いる形状データの削除を行う作業用形状データ削除部1
7とから構成されている。
The shape placement system 1 includes an input data identification section 11 for recognizing the data input by the input device 3 as a shape data name, and a shape data file 2 based on the input data identification section 11.
A shape data reading unit 12 for reading the shape data 21 stored in the work data; a work shape data display unit 13 for displaying the read shape data 21 in the work area of the display device 5 via the graphic drawing function 4; Placement source position instructing unit 14 for instructing the shape component as the placement source by the device 3
And a placement destination position designating unit 15 which designates a shape constituent element to be a placement destination from the input device 3, and a placement angle and a placement coordinate are calculated based on the designated element, and the display device is operated via the graphic drawing function 4. A shape data copying unit 16 for copying the shape data in the figure display area 5 and a work shape data deleting unit 1 for finally deleting the shape data displayed in the work area.
7 and 7.

【0009】形状データファイル2には、外部記憶上に
設けられており、形状データ21が格納されている。
The shape data file 2 is provided on an external storage and stores shape data 21.

【0010】次に、本実施例の形状配置システムの動作
について、図2に示すフローチャートを用いて説明す
る。
Next, the operation of the shape placement system of this embodiment will be described with reference to the flow chart shown in FIG.

【0011】まず、入力装置3から配置を行う形状デー
タの形状データ名が入力される。このデータは入力デー
タ識別部11により識別され、形状データ読み込み部1
2に渡される。
First, the shape data name of the shape data to be arranged is input from the input device 3. This data is identified by the input data identifying unit 11, and the shape data reading unit 1
Passed to 2.

【0012】S1では、形状データ名のチェックが行わ
れる。形状データ読み込み部12では、このデータを基
にS2で形状データファイル2に登録されている形状デ
ータファイルをオープンし形状データ21を読み込む。
この形状データ21は、作業用形状データ表示部13に
渡される。
In S1, the shape data name is checked. The shape data reading unit 12 reads the shape data 21 by opening the shape data file registered in the shape data file 2 in S2 based on this data.
The shape data 21 is passed to the work shape data display unit 13.

【0013】S3では、S2より渡された形状データ2
1を図形データとして認識し、それをオペレーティング
システムの持つ図形作図機能4へ渡す。作業用形状デー
タ表示部13では、形状データ21をオペレーディング
システムに用意されている図形作図機能4を用いて表示
装置5の作業用領域に表示を行う。
In S3, the shape data 2 passed from S2
1 is recognized as graphic data and is passed to the graphic drawing function 4 of the operating system. The work shape data display unit 13 displays the shape data 21 in the work area of the display device 5 by using the graphic drawing function 4 prepared in the operating system.

【0014】次に、配置元位置指示部14で、入力装置
3から作業用領域に表示された形状の配置元となる形状
構成要素の指示を受ける。同様に、配置先位置指示部1
5で、表示装置5の図形表示領域に既に描かれている形
状要素の指示を受ける。そして、形状要素の情報が形状
データ複写部16に渡される。
Next, the placement source position designating section 14 receives an instruction from the input device 3 about the shape constituent element which is the placement source of the shape displayed in the work area. Similarly, the placement position indicator 1
At 5, an instruction of the shape element already drawn in the graphic display area of the display device 5 is received. Then, the information of the shape element is passed to the shape data copying unit 16.

【0015】ここで、形状要素指示について制限を与え
る。配置元位置指示部15で指示される形状要素のタイ
プと配置先位置指示部16で指示される形状要素のタイ
プは等しい物に限られる。要するに、線分と線分、円弧
と円弧等のようになる。
Here, a limitation is given to the shape element designation. The shape element type designated by the placement source position designating section 15 and the shape element type designated by the placement destination position designating section 16 are limited to the same thing. In short, line segments and line segments, arcs and arcs, and so on.

【0016】S4では、指示された形状構成要素の情報
をオペレーティングシステムの持つ格納領域に格納す
る。同様にS5では、指示された形状構成要素がS4で
格納した形状要素のタイプと等しいかチェックした後、
形状構成要素の情報をオペレーティングシステムの持つ
格納領域に格納する。
In step S4, information about the designated shape component is stored in the storage area of the operating system. Similarly, in S5, after checking whether the instructed shape element is equal to the type of the shape element stored in S4,
The information of the shape component is stored in the storage area of the operating system.

【0017】形状データ複写部16では、指示された作
業用形状要素の情報と形状構成要の情報を基に、配置角
度,配置座標を計算し、作業領域に表示されている形状
データの複写を行う。
The shape data copying unit 16 calculates the arrangement angle and the arrangement coordinates based on the information on the instructed work shape element and the information on the shape configuration, and copies the shape data displayed in the work area. To do.

【0018】S6では、配置角度・配置座標の計算を行
う。配置位置の計算は、S4,S5で格納した形状構成
要素の情報を基に、配置元位置指示部14で指示された
形状要素の指示位置からより近い端点と、配置先位置指
示部15で指示された形状要素の指示位置からより近い
端点とが同一点となり、かつ2つの指示された要素が重
なり合うような角度になるように計算する。線分と線分
の場合は上記の通りであるが、円弧と円弧の場合など
は、2つの円弧の中心点が等しく、かつ指示された端点
が揃うような角度になるように計算する。
In S6, the arrangement angle and the arrangement coordinates are calculated. The calculation of the placement position is performed by the placement destination position designating unit 15 and the end point closer to the designating position of the shape element designated by the placement source position designating unit 14 based on the information of the shape component stored in S4 and S5. The calculation is performed so that the end point closer to the designated position of the designated shape element becomes the same point, and the angle is such that the two designated elements overlap. Line segments and line segments are as described above, but in the case of arcs and arcs, calculation is performed so that the center points of the two arcs are equal and the designated end points are aligned.

【0019】図3(a)〜(c)に線分指示による形状
配置方式の作業一連のイメージ図を、図4(a)〜
(c)に円弧指示による形状配置方式の作業一連をイメ
ージ図をそれぞれ示す。
FIGS. 3A to 3C are image diagrams of a series of work of the shape arranging method by instructing line segments, and FIGS.
(C) is an image diagram showing a series of work of the shape arrangement method by the circular arc instruction.

【0020】図4,図5の例では、既に描かれている形
状要素と重なるような配置方式であるが、オフセット量
を与えることにより、既に描かれている形状要素と離し
て配置することも可能である。
In the examples of FIGS. 4 and 5, the arrangement method is such that it overlaps with the already drawn shape element, but by providing an offset amount, it may be arranged apart from the already drawn shape element. It is possible.

【0021】S7では、S3で作業領域に表示した形状
データを用いて、S6で計算された配置角度,配置位置
への表示を行う。そして、同じ形状データを複数の箇所
に配置する場合は、S4に戻り処理を繰り返す。
In S7, the shape data displayed in the work area in S3 is used to display the layout angle and the layout position calculated in S6. Then, when the same shape data is arranged at a plurality of locations, the process returns to S4 and is repeated.

【0022】作業用形状データ削除部17では、全ての
配置を終えた後で最初に表示した作業領域の形状データ
を削除する。
The work shape data deleting unit 17 deletes the shape data of the work area first displayed after all the arrangements are completed.

【0023】S8では、S3で作業領域に表示した形状
データを削除し、S9では、S2でオープンした形状デ
ータファイルをクローズする。そして、形状データ削除
後、形状配置システム1は、全ての処理を終了する。
In S8, the shape data displayed in the work area in S3 is deleted, and in S9, the shape data file opened in S2 is closed. Then, after deleting the shape data, the shape placement system 1 ends all the processes.

【0024】[0024]

【発明の効果】以上説明したように本発明は、形状デー
タを作業用領域に一時的に表示し、作業用領域に表示さ
れている形状構成要素と、配置しようとする位置に存在
する形状構成要素を指示することにより、利用者が任意
の位置・任意の角度で形状データを配置することができ
る。
As described above, according to the present invention, the shape data is temporarily displayed in the work area, and the shape component displayed in the work area and the shape configuration existing at the position to be arranged. By designating the element, the user can arrange the shape data at any position and at any angle.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】本実施例における処理手順を示すフローチャー
トである。
FIG. 2 is a flowchart showing a processing procedure in this embodiment.

【図3】本発明の形状配置方式による具体的な表示を示
すイメージ図である。
FIG. 3 is an image diagram showing a specific display according to the shape arrangement method of the present invention.

【図4】本発明の形状配置方式による具体的な表示を示
すイメージ図である。
FIG. 4 is an image diagram showing a specific display according to the shape arrangement method of the present invention.

【図5】従来例を示す構成図である。FIG. 5 is a configuration diagram showing a conventional example.

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

1,6 形状配置システム 2 形状データファイル 3 入力装置 4 図形作図機能 5 表示装置 11,61 入力データ識別部 12,62 形状データ読み込み部 13 作業用形状データ表示部 14 配置元位置指示部 15,63 配置先位置指示部 16 形状データ複写部 17 作業用形状データ削除部 21 形状データ 64 形状データ表示部 1,6 Geometry layout system 2 Geometry data file 3 Input device 4 Graphic drawing function 5 Display device 11,61 Input data identification unit 12,62 Geometry data reading unit 13 Work geometry data display unit 14 Arrangement source position instruction unit 15,63 Placement destination position indicator 16 Shape data copy unit 17 Work shape data delete unit 21 Shape data 64 Shape data display unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 電子計算機上の形状データファイルの形
状データを任意の位置に配置する形状配置システムにお
いて、入力装置から形状データ名を読み込む入力データ
識別部と、前記入力データ識別部より読み込まれた形状
データ名を基に、形状データファイルから形状データを
読み込む形状データ読み込み部と、この形状データ読み
込み部より読み込まれた形状データをオペレーディング
システムに用意されている図形作図機能に渡すことによ
り表示装置の作業用領域に図形表示する作業用形状デー
タ表示部と、この作業用形状データ表示部により表示さ
れた形状データの配置元となる位置を指示する配置元位
置指示部と、前記形状データ読み込み部より読み込まれ
た前記形状データの配置先となる位置を指示する配置先
位置指示部と、前記作業用形状データ表示部により表示
された前記形状データを前記配置元位置指示部により指
示された位置と前記配置先位置指示部により指示された
位置とにより配置先位置,配置角度を決定し複写する形
状データ複写部と、前記作業用形状データ表示部により
表示された前記形状データを削除する作業用形状データ
削除部とを備えることを特徴とする形状配置方式。
1. A shape arranging system for arranging shape data of a shape data file on an electronic computer at an arbitrary position, and an input data identifying section for reading a shape data name from an input device, and an input data identifying section read by the input data identifying section. Display device by passing the shape data reading unit that reads the shape data from the shape data file based on the shape data name, and the shape data read from this shape data reading unit to the graphic drawing function prepared in the operating system. Work shape data display section for displaying a graphic in the work area of, a placement source position designating section for designating a position as a placement source of the shape data displayed by the work shape data display section, and the shape data reading section A placement destination position designating unit that designates a position as a placement destination of the shape data that is read further, The shape data displayed by the work shape data display unit is copied by determining the placement position and placement angle according to the position designated by the placement source position designating unit and the position designated by the placement destination position designating unit. A shape arrangement method comprising: a shape data copying unit; and a work shape data deleting unit for deleting the shape data displayed by the work shape data display unit.
JP4045144A 1992-03-03 1992-03-03 Shape arrangement system Withdrawn JPH05242175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4045144A JPH05242175A (en) 1992-03-03 1992-03-03 Shape arrangement system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4045144A JPH05242175A (en) 1992-03-03 1992-03-03 Shape arrangement system

Publications (1)

Publication Number Publication Date
JPH05242175A true JPH05242175A (en) 1993-09-21

Family

ID=12711087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4045144A Withdrawn JPH05242175A (en) 1992-03-03 1992-03-03 Shape arrangement system

Country Status (1)

Country Link
JP (1) JPH05242175A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006048147A (en) * 2004-07-30 2006-02-16 Ricoh Co Ltd Three-dimensional shape model arrangement device, arrangement method, arrangement program, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006048147A (en) * 2004-07-30 2006-02-16 Ricoh Co Ltd Three-dimensional shape model arrangement device, arrangement method, arrangement program, and recording medium
JP4685382B2 (en) * 2004-07-30 2011-05-18 株式会社リコー Arrangement apparatus, arrangement method, arrangement program, and recording medium for three-dimensional shape model

Similar Documents

Publication Publication Date Title
JP2000035969A (en) Device for adding linking information to computerized document file
JP2954227B2 (en) Information processing method
JPH05242175A (en) Shape arrangement system
JPH0778015A (en) Numerical controller with data displaying and alterating function
JP2625782B2 (en) Document data display device
JP3248556B2 (en) Information processing apparatus and method
JP3887877B2 (en) Object management method and apparatus
JP3591892B2 (en) Character string display method and character string display device
JP2722544B2 (en) Data processing device
JP3144786B2 (en) Information processing device
JP2956414B2 (en) CAD system
JP3209555B2 (en) Angle dimension creation device
JPS6162177A (en) System for searching vicinal map in map search device
JPH0962676A (en) Document preparation device and display control method
JPH03105560A (en) Document preparing/editing device
JPH04148370A (en) Document processor
JPH0969116A (en) Cad device
JPH0520372A (en) Library change management device
JPH0428312B2 (en)
JPH05298003A (en) Data processor
JPH06290214A (en) Filing system device
JPH04114269A (en) Document processor
JPH07302322A (en) Picture display device
JPH08278983A (en) File retrieval device
JPH0736765A (en) Device and method for document processing

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518