JPH09153152A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH09153152A
JPH09153152A JP7314165A JP31416595A JPH09153152A JP H09153152 A JPH09153152 A JP H09153152A JP 7314165 A JP7314165 A JP 7314165A JP 31416595 A JP31416595 A JP 31416595A JP H09153152 A JPH09153152 A JP H09153152A
Authority
JP
Japan
Prior art keywords
moving
reference point
point
parallel
unit
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
JP7314165A
Other languages
Japanese (ja)
Inventor
Kazuo Fukahori
和生 深堀
Tomomichi Tamura
朋通 田村
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP7314165A priority Critical patent/JPH09153152A/en
Publication of JPH09153152A publication Critical patent/JPH09153152A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily move an object in parallel on an operating surface by preparing a point to be a reference at the time of parallelly moving an element from a position obtained by an object specifying position obtaining part. SOLUTION: The object specifying position obtaining part 61 selects elements constituting the object so as to specify the object that an operator desires to move in parallel. Then the part 61 selects an element at a minimum distance to a selected position to obtain the position on the selected element. A reference point preparing part 62 calls the part 61 to obtain the selected position and draws a perpendicular from the obtained position to the operating flat surface to prepare a reference point by setting the reference point to be the position crossing the perpendicular and the operating flat surface with each other. An object moving part 63 calls the part 62 to prepare the reference point, locates a position showing a moving destination on the operating flat surface to specify the moving point next and adds a calculated moving distance to the vertexes of the elements constituting the object to move the object in parallel with the operating flat surface.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、CAD(Comp
uter Aided Design)等の図形処理装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CAD (Comp
The present invention relates to a graphic processing device such as a Uter Aided Design).

【0002】[0002]

【従来の技術】作業者が、3次元CADを使用して設計
作業を行う際に、作成した3次元物体を作業平面に平行
移動する作業が、頻繁に要求される。従来、こうした作
業を行う場合、次のような流れで平行移動を実現してい
た。
2. Description of the Related Art When a worker uses a three-dimensional CAD to perform a designing work, a work of translating a created three-dimensional object in parallel to a work plane is frequently required. Conventionally, when performing such work, parallel movement has been realized by the following flow.

【0003】まず、作業平面に対して平行移動したい物
体の基準となる位置を決定する。通常この場合、作業者
が物体の要素をピックした位置や物体の頂点等を基準点
とする。次に、この基準点をどの位置に移動するか、移
動先の点を数値入力する。この時、作業平面に対して平
行移動されるように、基準点と作業平面との距離、移動
点と作業平面の距離が一致するように移動点を入力する
必要がある。移動点が入力されると、物体を構成する要
素を基準点と移動点が一致するように移動することで、
平行移動を実現している。
First, a reference position of an object to be translated in relation to the work plane is determined. Usually, in this case, the position where the operator picks up the element of the object, the vertex of the object, or the like is used as the reference point. Next, the position to which the reference point is moved is numerically input. At this time, it is necessary to input the movement point such that the distance between the reference point and the work plane and the distance between the movement point and the work plane match so as to be translated in parallel with the work plane. When the moving point is input, by moving the elements that make up the object so that the reference point and the moving point match,
A parallel movement is realized.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、物体を
作業平面に平行移動させる移動点は、厳密に決定する必
要がないことが多く、平行移動する毎に移動点を入力す
る作業が煩わしいという問題点を有していた。
However, it is often not necessary to strictly determine the moving point for moving the object in parallel with the work plane, and it is troublesome to input the moving point each time the object moves in parallel. Had.

【0005】そこで本発明は、作業平面上で簡単に物体
を平行移動できる図形処理装置を提供することを目的と
する。
Therefore, it is an object of the present invention to provide a graphic processing device capable of easily translating an object on a work plane.

【0006】[0006]

【課題を解決するための手段】本発明の図形処理装置
は、二次記憶装置に、3次元空間上に配置された物体の
要素について選択された位置を取得する物体指定位置取
得部と、物体指定位置取得部が取得した位置から要素を
平行移動する時の基準となる点を作成する基準点作成部
と、物体を構成する要素を作業平面上でロケートした位
置に移動する物体移動部とを有する物体平行移動手段を
備える。
A graphic processing apparatus according to the present invention includes, in a secondary storage device, an object designated position acquisition unit for acquiring a position selected for an element of an object arranged in a three-dimensional space, and an object. A reference point creation unit that creates a reference point when translating an element from the position acquired by the specified position acquisition unit, and an object moving unit that moves to a position where the elements that make up the object are located on the work plane. It has an object parallel moving means.

【0007】[0007]

【発明の実施の形態】上記構成により、移動点を決定す
るのに常に数値入力を行う必要がなく、作業平面上の点
をロケートするだけで、簡単に物体を平行移動ができ
る。
With the above structure, it is not necessary to always input a numerical value in order to determine a moving point, and an object can be easily translated in parallel by locating a point on a work plane.

【0008】次に図面を参照しながら本発明の実施の形
態を説明する。図1は、本発明の一実施の形態における
図形処理装置の装置ブロック図である。図1において、
1は要求された情報を処理する中央処理装置、2はウィ
ンドウ、図形要素、文字などを表示する表示装置、3は
文字、数値、位置などデータを入力するキーボード、タ
ブレット、マウス等の入力装置、4はオペレーティング
システム、ウィンドウシステムなど中央処理装置1上で
動作するプログラムを記憶する主記憶装置、および5は
本実施の形態における物体平行移動手段6などを記憶す
るための二次記憶装置である。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a device block diagram of a graphic processing device according to an embodiment of the present invention. In FIG.
1 is a central processing unit that processes requested information, 2 is a display device that displays windows, graphic elements, characters, etc., 3 is an input device such as a keyboard, tablet, mouse, etc. for inputting data such as characters, numerical values, and positions, Reference numeral 4 is a main storage device that stores a program that operates on the central processing unit 1 such as an operating system and a window system, and 5 is a secondary storage device that stores the object parallel moving means 6 and the like in the present embodiment.

【0009】次に本実施の形態における物体平行移動手
段6について、図2、図3、図4のフローチャートで説
明し、合わせて本実施の形態を適用した例を図5、図
6、図7を参照しながら説明する。物体平行移動手段6
を構成する物体指定位置取得部61、基準点作成部6
2、物体移動部63に関して順に説明する。
Next, the object parallel moving means 6 in the present embodiment will be described with reference to the flow charts of FIGS. 2, 3 and 4, and an example in which the present embodiment is also applied is shown in FIGS. 5, 6 and 7. Will be described with reference to. Object parallel moving means 6
Object designation position acquisition unit 61 and reference point creation unit 6 that configure the
2. The object moving unit 63 will be described in order.

【0010】物体指定位置取得部61を、図2のフロー
チャート及び図5により説明する。物体指定位置取得部
61では、まず、作業者が、図5の黒丸で示すように、
平行移動したい物体を指定するために物体を構成する要
素を1つ選択する(ステップ1)。そして、選択された
位置に対して最短距離となる要素が選択され、物体指定
位置取得部61は、選択された要素上の位置を取得する
(ステップ2)。
The object designated position acquisition unit 61 will be described with reference to the flowchart of FIG. 2 and FIG. In the object designated position acquisition unit 61, first, as shown by a black circle in FIG.
In order to specify an object to be translated, one element that constitutes the object is selected (step 1). Then, the element having the shortest distance to the selected position is selected, and the object designated position acquisition unit 61 acquires the position on the selected element (step 2).

【0011】基準点作成部62を、図3のフローチャー
ト及び図6により説明する。基準点作成部62では、ま
ず物体指定位置取得部61を呼び出し、選択位置を取得
する(ステップ10)。取得した位置から作業平面に対
して垂線を引く(ステップ11)。垂線と作業平面が交
差する位置を基準点として作成する(ステップ12)。
The reference point creating unit 62 will be described with reference to the flowchart of FIG. 3 and FIG. The reference point creation unit 62 first calls the object designated position acquisition unit 61 to acquire the selected position (step 10). A perpendicular line is drawn from the acquired position to the work plane (step 11). A position where the perpendicular and the work plane intersect is created as a reference point (step 12).

【0012】例えば、図6において、選択位置が(X,
Y,Z)=(a,b,c)であり、作業平面7がXY平
面であり、作業平面7上ではZ=0であるから、基準点
は(a,b,0)となる。
For example, in FIG. 6, the selected position is (X,
Since Y, Z) = (a, b, c), the work plane 7 is the XY plane, and Z = 0 on the work plane 7, the reference point is (a, b, 0).

【0013】物体移動部63を、図4のフローチャート
及び図7により説明する。物体移動部63では、まず基
準点作成部62を呼び出し、基準点を作成する(ステッ
プ20)。次に移動先を示す位置を作業平面7上でロケ
ートし、移動点を指定する(ステップ21)。
The object moving unit 63 will be described with reference to the flowchart of FIG. 4 and FIG. The object moving unit 63 first calls the reference point creation unit 62 to create a reference point (step 20). Next, the position indicating the movement destination is located on the work plane 7 and the movement point is designated (step 21).

【0014】基準点と移動点を一致させるため、X方
向、Y方向、Z方向別々に移動距離を算出する(ステッ
プ22)。物体を構成する要素の頂点に算出した移動距
離を加算して、物体を作業平面7に対して平行移動する
(ステップ23)。
In order to make the reference point and the moving point coincide with each other, the moving distance is calculated for each of the X direction, the Y direction and the Z direction (step 22). The calculated moving distances are added to the vertices of the elements forming the object, and the object is translated in parallel with the work plane 7 (step 23).

【0015】例えば、図7(a)に示すように、基準点
(a,b,0)、移動点(d,e,0)とすると、X方
向の移動距離d−a、Y方向の移動距離e−b、Z方向
0となり、物体を構成する各頂点(X,Y,Z)は、点
(X+(d−a)、Y+(e−b),0)に移動される
(図7(b))。
For example, as shown in FIG. 7A, when the reference point (a, b, 0) and the moving point (d, e, 0) are set, the moving distance da in the X direction and the moving distance in the Y direction are set. The distance e−b is 0 in the Z direction, and each vertex (X, Y, Z) forming the object is moved to a point (X + (d−a), Y + (e−b), 0) (FIG. 7). (B)).

【0016】[0016]

【発明の効果】本発明の電話装置は、二次記憶装置に、
3次元空間上に配置された物体の要素について選択され
た位置を取得する物体指定位置取得部と、物体指定位置
取得部が取得した位置から要素を平行移動する時の基準
となる点を作成する基準点作成部と、物体を構成する要
素を作業平面上でロケートした位置に移動する物体移動
部とを有する物体平行移動手段を備えるので、作業者が
3次元物体を数値入力なしにマウス操作で簡単に平行移
動できるようになり、作業効率が向上する。
According to the telephone device of the present invention, the secondary storage device is
An object designated position acquisition unit that acquires a selected position of an element of an object arranged in a three-dimensional space and a point that serves as a reference when translating the element from the position acquired by the object designated position acquisition unit are created. Since the object parallel moving means having the reference point creating section and the object moving section for moving the elements forming the object to the located position on the work plane is provided, the operator can operate the three-dimensional object with a mouse without inputting a numerical value. The parallel movement can be done easily, improving work efficiency.

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

【図1】本発明の一実施の形態における図形処理装置の
装置ブロック図
FIG. 1 is a device block diagram of a graphic processing device according to an embodiment of the present invention.

【図2】本発明の一実施の形態における物体指定位置取
得部のフローチャート
FIG. 2 is a flowchart of an object designated position acquisition unit according to the embodiment of the present invention.

【図3】本発明の一実施の形態における基準点作成部の
フローチャート
FIG. 3 is a flowchart of a reference point creation unit according to the embodiment of the present invention.

【図4】本発明の一実施の形態における物体移動部のフ
ローチャート
FIG. 4 is a flowchart of an object moving unit according to an embodiment of the present invention.

【図5】本発明の一実施の形態における図形処理装置の
操作説明図
FIG. 5 is an operation explanatory diagram of the graphic processing device according to the embodiment of the present invention.

【図6】本発明の一実施の形態における図形処理装置の
操作説明図
FIG. 6 is an operation explanatory diagram of the graphic processing device according to the embodiment of the present invention.

【図7】(a)本発明の一実施の形態における図形処理
装置の操作説明図 (b)本発明の一実施の形態における図形処理装置の操
作説明図
FIG. 7A is an operation explanatory diagram of the graphic processing apparatus according to the embodiment of the present invention. FIG. 7B is an operation explanatory diagram of the graphic processing apparatus according to the embodiment of the present invention.

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

1 中央処理装置 2 表示装置 3 入力装置 4 主記憶装置 5 二次記憶装置 6 物体平行移動手段 61 物体指定位置取得部 62 基準点作成部 63 物体移動部 1 Central Processing Unit 2 Display Device 3 Input Device 4 Main Storage Device 5 Secondary Storage Device 6 Object Parallel Moving Means 61 Object Designated Position Acquisition Unit 62 Reference Point Creation Unit 63 Object Moving Unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】要求された情報を処理する中央処理装置
と、ウィンドウ、図形要素、文字などを表示する表示装
置と、文字、数値、位置などデータを入力するキーボー
ド、タブレット、マウス等の入力装置と、オペレーティ
ングシステム、ウィンドウシステムなど前記中央処理装
置上で動作するプログラムを記憶する主記憶装置と、デ
ータなどを記憶するための二次記憶装置とを有する図形
処理装置であって、 前記二次記憶装置に、3次元空間上に配置された物体の
要素について選択された位置を取得する物体指定位置取
得部と、前記物体指定位置取得部が取得した位置から要
素を平行移動する時の基準となる点を作成する基準点作
成部と、物体を構成する要素を作業平面上でロケートし
た位置に移動する物体移動部とを有する物体平行移動手
段を備えたことを特徴とする図形処理装置。
1. A central processing unit for processing requested information, a display device for displaying windows, graphic elements, characters, etc., and an input device such as a keyboard, tablet, mouse, etc. for inputting data such as characters, numerical values and positions. And a main storage device that stores a program that operates on the central processing unit such as an operating system and a window system, and a secondary storage device that stores data and the like. The device serves as a reference for an object designated position acquisition unit that obtains a selected position for an element of an object arranged in a three-dimensional space, and for translating the element from the position obtained by the object designated position acquisition unit. An object translating hand that has a reference point creating unit that creates points and an object moving unit that moves an element that makes up an object to a position that is located on a work plane. A graphic processing device having a step.
JP7314165A 1995-12-01 1995-12-01 Graphic processor Pending JPH09153152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7314165A JPH09153152A (en) 1995-12-01 1995-12-01 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7314165A JPH09153152A (en) 1995-12-01 1995-12-01 Graphic processor

Publications (1)

Publication Number Publication Date
JPH09153152A true JPH09153152A (en) 1997-06-10

Family

ID=18050034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7314165A Pending JPH09153152A (en) 1995-12-01 1995-12-01 Graphic processor

Country Status (1)

Country Link
JP (1) JPH09153152A (en)

Similar Documents

Publication Publication Date Title
JPS62159286A (en) Three-dimensional cursor control system
JPH10283158A (en) Stereoscopic display device for window and method therefor
JPH05108786A (en) Method and apparatus for transforming graphic form
JPH09153152A (en) Graphic processor
JP3060810B2 (en) Specialization method of general-purpose CAD system
JP2001202396A (en) Method and device for three-dimensionally displaying printed circuit board cad
JP7187956B2 (en) INPUT WORK EVALUATION SUPPORT DEVICE, INPUT WORK EVALUATION SUPPORT METHOD AND PROGRAM
JP2727819B2 (en) CAD / CAM equipment
JPH02250178A (en) Graphic generator
JP3267030B2 (en) CAD / CAM system
JPH1031760A (en) Graphic processor
JPS6180363A (en) Teaching method of working apparatus to be automatically controlled
JP4089806B2 (en) Curve generating device and method, and storage medium
JPH08339455A (en) Device and method for graphic processing
JP2854859B2 (en) Shape mounting method
JPH035890A (en) Architectural drawing data processing system
JPH0896159A (en) Graphic editing device
JPH05289726A (en) Sectional shape production system for generation of free curved surface
JPH11242470A (en) Display method for shape data of cad system and computer-readable record medium where program for allowing computer to implement the method is recorded
JPH0520404A (en) Three-dimensional graphic processing system
JPH0721223A (en) Data generation device
JPH1116005A (en) Graphic processor and method therefor
JPH0792694B2 (en) NC data creation method by CAD / CAM device
JPH07114584A (en) Drawing dimension display method
JPH07200862A (en) Graphic input device