JPS6160173A - Calculation system for 3-dimensional graphic data - Google Patents

Calculation system for 3-dimensional graphic data

Info

Publication number
JPS6160173A
JPS6160173A JP59181945A JP18194584A JPS6160173A JP S6160173 A JPS6160173 A JP S6160173A JP 59181945 A JP59181945 A JP 59181945A JP 18194584 A JP18194584 A JP 18194584A JP S6160173 A JPS6160173 A JP S6160173A
Authority
JP
Japan
Prior art keywords
dimensional
data
line segment
segment
dimensional 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.)
Granted
Application number
JP59181945A
Other languages
Japanese (ja)
Other versions
JPH0687252B2 (en
Inventor
Hiroshi Mizukami
洋 水上
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59181945A priority Critical patent/JPH0687252B2/en
Publication of JPS6160173A publication Critical patent/JPS6160173A/en
Publication of JPH0687252B2 publication Critical patent/JPH0687252B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate an input of a 3-dimensional graphic form by extracting data on horizontal, vertical and oblique segments out of the 2-dimensional data on plural projection surfaces of a 3-dimensional graphic form to a projection surface through the segment coordinates and converting those segment data into the 3-dimensional data via a both-relation table. CONSTITUTION:The plan, the front view and the side view of a 3-dimensional graphic form are stored in a 2-dimensional data storage area 4 respectively through a 2-dimensional data input part 1. A segment data extracting pat extracts a segment for each drawing and detects the both-end coordinates of a segment to decide whether this extracted segment is horizontal, vertical or oblique to the corresponding drawing. Then this segment is stored in a segment data store area 5. The relations of segments among three drawings are registered to a projection graphic relation table 6. A 3-dimensional data calculating part 8 checks whether the segment data of each drawing is coincident or not with the data on the table 6 and specifies a 3-dimensional segment. Then the coordinates of the specific segment are outputted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はCADシステムなど情報処理装置を用いて図形
を処理するシステムに関し、特に二次元図形から三次元
図形を自動時に出力する方式に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a system for processing figures using an information processing device such as a CAD system, and particularly relates to a method for automatically outputting a three-dimensional figure from a two-dimensional figure. be.

〔従来の技術〕[Conventional technology]

対話形式で計算機を用いて設計作業などを行うCADシ
ステムでは出力装置としてグラフィックディスプレイ、
入力装置としてライトペンやデータタブレット、キーボ
ードなどを用いた第2図に示す如き装置が使用されてい
る。このような装置によって三次元図形を処理しようと
スルとき、三次元図形のデータ全システムに入力するた
めの方法は、従来はオペレータがキーボード等によって
三次元座標ヲ厘接入力するか、図形によっては二次元図
形として入力して一つの平面図形を作成した後、これを
三次元方図に移動させて三次元図形を得るなどの方法が
とられているが、いずれも容易な方法ではない。
A CAD system that uses a computer to perform design work in an interactive manner uses a graphic display as an output device.
A device as shown in FIG. 2 is used, which uses a light pen, data tablet, keyboard, etc. as an input device. When attempting to process a three-dimensional figure using such a device, the conventional method for inputting the data of the three-dimensional figure into the entire system is for the operator to directly input the three-dimensional coordinates using a keyboard, or depending on the figure. Some methods have been used, such as creating a plane figure by inputting it as a two-dimensional figure, and then moving it to a three-dimensional figure to obtain a three-dimensional figure, but none of these methods is easy.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このように従来三次元図形のシステムへの入力は時間と
オペレータの労力を必要とする非能率的な作業であり、
三次元図形処理システムの実用化への障害の一つと彦っ
ていた。本発明にこのような問題点を解決するため、オ
ペレータが対象となる立体図形の投像図形、例えば機械
製図等で用いる三角法による三面図などの二次元図形を
・スカすわば、自動的に三次元図形のデ1−タが出力さ
れる三次元図形データ算出方式を得るものである。
In this way, conventionally inputting three-dimensional figures into a system is an inefficient task that requires time and labor from the operator.
This was seen as one of the obstacles to the practical application of 3D graphics processing systems. In order to solve these problems in the present invention, an operator can automatically scan a projected figure of a target three-dimensional figure, for example, a two-dimensional figure such as a trigonometric view used in mechanical drawing, etc. A three-dimensional figure data calculation method is obtained in which three-dimensional figure data is output.

〔問題点を解決する手段〕[Means to solve problems]

このような問題点を解決する手段は、荷許趙求の範囲に
記載のとおり、立体図形を構成する線分が複数の投数面
に投数されたときに投原図上の該線分が特定の投数面又
は座標軸に対し水平垂直斜めのいずれの線分として表れ
るかの関係ケチ−プルとして登録する手段と、Ivf冗
の立体図形の複数の投数面に対する投像図形を二次元デ
ータとして記憶する手段と、該二次元データから線分デ
ータを抽出する手段と、三次元上の線分を算出する手段
を有し、前記二次元データから線分データを抽出する手
段は該二次元データの各線分の両端の座標に基き該線分
が%足の投数面又は座標軸に対し水平か垂直か斜めかを
演算して線分データと々し、前記三次元上の線分を算出
する手段は該線分データを前記投数図形間の関係テーブ
ルと比較して三次元上の線分’に%定し該線分の三次元
上のデータ管出力すること’Ik%徴とする三次元図形
データの算出方式である。
The means to solve such problems is as described in the scope of Kagaku Zhaogu. Means for registering the relationship between whether a line segment appears as a horizontal, vertical, diagonal, or diagonal line segment with respect to a projection surface or a coordinate axis, and storing projection figures for a plurality of projection surfaces of an Ivf redundant three-dimensional figure as two-dimensional data. means for extracting line segment data from the two-dimensional data, and means for calculating three-dimensional line segments, and the means for extracting line segment data from the two-dimensional data Means for calculating the three-dimensional line segment by calculating whether the line segment is horizontal, perpendicular, or oblique to the pitch plane or coordinate axis of the % foot based on the coordinates of both ends of each line segment, and obtaining line segment data. compares the line segment data with the relation table between projection figures, determines it as a three-dimensional line segment, and outputs the line segment as a three-dimensional data tube. This is a calculation method for graphic data.

〔実施例〕〔Example〕

以下本発明を実施例に清って詳細にa明する。 The present invention will be explained in detail below with reference to Examples.

第1図は本発明の実施例ケ示す機能ブロック図でありs
iは二次元データ入力部、2は線分データ抽出部、3は
記憶部、4は記憶部の二次元データ格納領域、5は記憶
部の線分データ格納領域、6は記憶部の投原図形関係テ
ーブル格納領域、7は交点計算部、8は三次元データ算
出3 ・ 部、9は出力部である。この実施例は製図法の三角法に
基〈三面図をオペレータが入力すると三次元図形を自動
的に出力するものであり、基本的には次のような原理に
基いてこれ全処理するものである。
FIG. 1 is a functional block diagram showing an embodiment of the present invention.
i is a two-dimensional data input section, 2 is a line segment data extraction section, 3 is a storage section, 4 is a two-dimensional data storage area of the storage section, 5 is a line segment data storage area of the storage section, 6 is a projection source of the storage section 7 is an intersection calculation section, 8 is a three-dimensional data calculation section, and 9 is an output section. This example is based on the trigonometry of drafting.When the operator inputs a three-dimensional diagram, a three-dimensional figure is automatically output.Basically, all of this processing is based on the following principle. be.

即ち、成る立体図形を三角法による三面図によって表現
すると、三面図各図に表わされる線分には表1の如き関
係がある。
That is, when a three-dimensional figure is expressed by a three-view diagram using trigonometry, the line segments represented in each three-view diagram have relationships as shown in Table 1.

・ 4 ・ 例えば第3図に示す立体図形を第4図(a)の平面図、
同(b)の正面図、同(c)の側面図の如く表すとき、
第3図■のX軸に平行な線分は表1■に記載したように
平面図、正面図では水平線として、側面図では表示され
ず(点になってしまう)第3図■で示す線分は表1■に
示すように平面図では垂直線、正面図では表示されず側
面図では水平線となる、などの一般的性質がある。
・ 4 ・ For example, if the three-dimensional figure shown in Figure 3 is the plan view of Figure 4 (a),
When expressed as the front view in (b) and the side view in (c),
The line segment parallel to the X-axis in Figure 3 ■ is shown in Table 1 ■ as a horizontal line in the plan view and front view, but is not displayed (it becomes a point) in the side view, but is the line shown in Figure 3 ■. As shown in Table 1 (■), there are general characteristics such as vertical lines in the plan view, not displayed in the front view, but horizontal lines in the side view.

そこで、引算機に二次元図形である第4図(a)(b)
 、(c)の如き三面図が入力されたとき、該二次元図
形の各線分の性質を抽出して前記衣と対比することによ
り三次元図形上の線分として特定することができる。
Therefore, the two-dimensional figures shown in Figures 4 (a) and (b) are displayed on the subtraction machine.
, (c) are input, the line segments on the three-dimensional figure can be identified by extracting the properties of each line segment of the two-dimensional figure and comparing it with the clothing.

以下本実施例の処理手順に従って説明する。The processing procedure of this embodiment will be explained below.

いまオペレータがタブレット等によって第4図(a)、
(b)、(c)の如き三面図を本発明方式のシステムに
入力すると、二次元データ入力部1はこれを記憶部の二
次元データ格納領域4にそれぞれの図面毎に格納する。
Now, the operator uses a tablet etc. to
When three-view drawings such as those shown in (b) and (c) are input into the system of the present invention, the two-dimensional data input section 1 stores them in the two-dimensional data storage area 4 of the storage section for each drawing.

次いで線分データ抽出部は該入力データから各図面毎に
線分を一つ一つ抽出し、該線分の両端点の座標を検出し
て該線分が該図面において水平2))垂直か斜線である
力)を判定し、該判定結果を該線分の両端の座標と共に
記憶部分の線分データ格納領域に格納する。
Next, the line segment data extraction unit extracts line segments one by one for each drawing from the input data, detects the coordinates of both end points of the line segment, and determines whether the line segment is horizontal (2)) vertical in the drawing. The force indicated by the diagonal line is determined, and the determination result is stored in the line segment data storage area of the storage section along with the coordinates of both ends of the line segment.

このとき、交点計算部7は各図面内で線分同士が交差す
るか否かを調べ交差していれば交点で一つの線分全分割
し、分割された組合わせに従った複数の小線分全算出し
、線分データ抽出部の処理に追加する。この処理に二次
元の図面では三次元上で複数本の線分も1本の線分で表
示されることがあるので、各図上で交点の有無を検出し
、両端を含む3ケ所以上の交点で該線分が分割されてい
れば複数の線分が存在するものとして処理を行うための
ものである。
At this time, the intersection calculation unit 7 checks whether or not line segments intersect with each other in each drawing, and if they intersect, it completely divides one line segment at the intersection, and creates multiple small lines according to the divided combination. All segments are calculated and added to the processing of the line segment data extraction unit. In this process, in two-dimensional drawings, multiple line segments may be displayed as one line segment in three dimensions, so the presence or absence of intersections is detected on each drawing, and three or more points including both ends are detected. If the line segment is divided at an intersection, processing is performed assuming that a plurality of line segments exist.

三次元データ算市部8はこのようにして得られた三面図
各図の線分データと記憶Ttlf 3の投数図形関係テ
ーブル6を参照して三次元上の線分を%足しその座標を
出力する。投数図形関係テーブル6には前述した表1の
三面図における線分の関係が登録されており、三次元デ
ータ算出・  l  ・ 部8によシ前記各図の線分データが同関係テーブル6上
のデータと合致するかどうかが調べられる。
The three-dimensional data calculation section 8 refers to the line segment data of each three-dimensional view obtained in this way and the projection figure relationship table 6 in the memory Ttlf 3, adds the percentage of the three-dimensional line segments, and calculates the coordinates. Output. The line segment relationships in the three-view diagrams in Table 1 mentioned above are registered in the projection figure relationship table 6, and the three-dimensional data calculation unit 8 stores the line segment data in each of the figures in the same relationship table 6. Check whether it matches the data above.

例えば第4図(a)の平面図における線分(2X1・y
b)−(π。・ya)は同図において斜線であり、同図
(b)の正面図において線分(x、・’ * ) + 
(zs・ga)は同図において斜線であシ、同図(c)
の線分(y、・z@ ) e (Yb・”e)は同図に
おいて斜線であシ、表1の■の条件を光しかつ”z W
’s  *の座標も合致するので、主体図形における同
一の線分として特定でき、三次元上の両端の座標データ
(z、・V、・’a)e(Z、・y、・z、)も直ちに
得られる。このようにして三次元データ算出部は三次元
図形としてのデータを逐次算出して記憶部に蓄積し完全
な三次元図形としてのデータを得る。
For example, the line segment (2X1・y
b) - (π.・ya) is a diagonal line in the same figure, and in the front view of the same figure (b), the line segment (x,・'*) +
(zs・ga) is indicated by diagonal lines in the figure, (c)
The line segment (y,・z@) e (Yb・”e) is shaded in the figure, and if the conditions of ■ in Table 1 are met and “z W
Since the coordinates of 's* also match, it can be identified as the same line segment in the main figure, and the coordinate data of both ends in three dimensions (z, ・V, ・'a) e (Z, ・y, ・z,) is also available immediately. In this manner, the three-dimensional data calculation unit sequentially calculates data as a three-dimensional figure and stores it in the storage unit to obtain data as a complete three-dimensional figure.

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

以上説明したところから明らかなとおり、本方式はCA
Dシステムなどにおける三次元図形の入力を極めて容易
ならしめ、図形処理能力上・ 8 ・ 飛躍的に同上でゼる。しがも前記三面図などの投原図形
について、図形璧累の一つ一つを細かくチェックするの
で製図の正確性も容易にflJ5tできる。
As is clear from the above explanation, this method uses CA
It makes it extremely easy to input three-dimensional figures in the D system, etc., and dramatically improves the figure processing ability. However, since each drawing is checked in detail for original figures such as the three-view drawing, the accuracy of the drafting can be easily improved.

また、本号式によって三次元モデルが得られれば該三次
元データをもとにアイソメトリック図やパースペクティ
ブ図を容易に求められるので、オペレータは二次元製図
を行うだけでこれらの図を自動的に得ることができるよ
うになる。
Additionally, if a three-dimensional model is obtained using this formula, isometric and perspective drawings can be easily obtained based on the three-dimensional data, so operators can automatically obtain these drawings simply by performing two-dimensional drawings. You will be able to do this.

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

第1図は本発明の実施例を示すブロック図、第2図は図
形処理システムの例奮示す図、第3図は本発明で処理す
る立体図形の例を示す図、第4図は第3図の立体の三面
図で(a)は平面図、(b)に正面図、(C)はI11
面図である。 1・・・二次元データ入力部、  2・・・線分データ
抽出部、  3・・・記憶部、  4・・・二次元デー
タ格納領域、 5・・・線分データ格納領域、  6・
・・投原図形関係テーブル格納領域、  7・・・又点
計算部、  8・・・三次元データ算出部、  9・・
・コンソ−ル、  lO・・・出力部、  11・・・
グラフィックディスプレイ、 12・・・リフレッシュ
メモリ、13・・・制御部、  14・・・パターン発
生部、15・・・コンソール制御部、  16・・・キ
ーボード、17・・・タブレット、  18・・・イン
ターフェース都、  19・・・中央処理装置 ・ 11・ AIl:C 第、、3 図 第4 図 (’a) 2!c) (ycZa) 457一
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing an example of a graphic processing system, FIG. 3 is a diagram showing an example of a three-dimensional figure processed by the present invention, and FIG. In the three-dimensional view of the solid shown in the figure, (a) is a plan view, (b) is a front view, and (C) is I11.
It is a front view. 1... Two-dimensional data input section, 2... Line segment data extraction section, 3... Storage section, 4... Two-dimensional data storage area, 5... Line segment data storage area, 6.
・・Source figure relation table storage area, 7.. Also point calculation section, 8.. Three-dimensional data calculation section, 9..
・Console, lO...output section, 11...
Graphic display, 12... Refresh memory, 13... Control section, 14... Pattern generation section, 15... Console control section, 16... Keyboard, 17... Tablet, 18... Interface Capital, 19...Central processing unit・11・AIl:C No.,,3 Figure 4 Figure ('a) 2! c) (ycZa) 457-

Claims (1)

【特許請求の範囲】[Claims] 立体図形を構成する線分が複数の投象面に投象されたと
きに投象図上の該線分が特定の投象面又は座標軸に対し
水平垂直斜めのいずれの線分として表れるかの関係をテ
ーブルとして登録する手段と、特定の立体図形の複数の
投象面に対する投象図形を二次元データとして記憶する
手段と、該二次元データから線分データを抽出する手段
と、三次元上の線分を算出する手段を有し、前記二次元
データから線分データを抽出する手段は該二次元データ
の各線分の両端の座標に基き該線分が特定の投象面又は
座標軸に対し水平か垂直か斜めかを演算して線分データ
となし、前記三次元上の線分を算出する手段は該線分デ
ータを前記投象図形間の関係テーブルと比較して三次元
上の線分を特定し該線分の三次元上のデータを出力する
ことを特徴とする三次元図形データの算出方式。
When line segments constituting a three-dimensional figure are projected onto multiple projection planes, whether the line segment on the projection figure appears horizontally, vertically, or diagonally with respect to a specific projection plane or coordinate axis. means for registering relationships as a table; means for storing projected figures on a plurality of projection planes of a specific three-dimensional figure as two-dimensional data; means for extracting line segment data from the two-dimensional data; The means for extracting line segment data from the two-dimensional data is based on the coordinates of both ends of each line segment of the two-dimensional data, and the means for extracting line segment data from the two-dimensional data determines whether the line segment is relative to a specific projection plane or coordinate axis. The means for calculating the three-dimensional line segment calculates whether it is horizontal, vertical, or diagonal, and calculates the three-dimensional line segment by comparing the line segment data with the relationship table between projected figures. A three-dimensional figure data calculation method characterized by specifying a line segment and outputting three-dimensional data on the line segment.
JP59181945A 1984-08-31 1984-08-31 Three-dimensional figure data calculation method Expired - Lifetime JPH0687252B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59181945A JPH0687252B2 (en) 1984-08-31 1984-08-31 Three-dimensional figure data calculation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59181945A JPH0687252B2 (en) 1984-08-31 1984-08-31 Three-dimensional figure data calculation method

Publications (2)

Publication Number Publication Date
JPS6160173A true JPS6160173A (en) 1986-03-27
JPH0687252B2 JPH0687252B2 (en) 1994-11-02

Family

ID=16109626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59181945A Expired - Lifetime JPH0687252B2 (en) 1984-08-31 1984-08-31 Three-dimensional figure data calculation method

Country Status (1)

Country Link
JP (1) JPH0687252B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0281271A (en) * 1988-09-19 1990-03-22 Oki Electric Ind Co Ltd Design system based on computer aid

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5442939A (en) * 1977-09-12 1979-04-05 Oki Electric Ind Co Ltd Cubic pattern drawing system
JPS55116160A (en) * 1979-02-28 1980-09-06 Fujitsu Ltd Pattern stereographic processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5442939A (en) * 1977-09-12 1979-04-05 Oki Electric Ind Co Ltd Cubic pattern drawing system
JPS55116160A (en) * 1979-02-28 1980-09-06 Fujitsu Ltd Pattern stereographic processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0281271A (en) * 1988-09-19 1990-03-22 Oki Electric Ind Co Ltd Design system based on computer aid

Also Published As

Publication number Publication date
JPH0687252B2 (en) 1994-11-02

Similar Documents

Publication Publication Date Title
JPH0528873B2 (en)
JPS6160173A (en) Calculation system for 3-dimensional graphic data
JPH0713835B2 (en) Similar data detection method and apparatus
JPH024028B2 (en)
JP3350672B2 (en) Contact part drawing method, contact part drawing apparatus and storage medium therefor
JPH01102684A (en) Three-dimensional modem generation system
JP3626793B2 (en) Conversion method from 2D CAD diagram to 3D CAD diagram
JP2575803B2 (en) Three-dimensional object interference check method and apparatus
JPS635795B2 (en)
JPH07109626B2 (en) Method and apparatus for recognizing solid shape of object
JPS6228884A (en) Method for detecting image to be detected
JPH01320583A (en) Plotting editor
JPH07105409A (en) Collision detector device for three-dimensional moving object
JPH0330002A (en) Editing method for path data
JP2614356B2 (en) Closed figure extraction method
JPS63261468A (en) Graphic processing system
JPS61139890A (en) Generation processing system for light beam tracking image
JPH064624A (en) Graphic processor and method therefor
JPS5998286A (en) Detection for corner position
CN102782688A (en) Three dimensional coordinate location device, method for same, and program
JPH08161370A (en) Graphic processor
JPH0532787B2 (en)
JPS63213091A (en) Depth map preparing device
JPH03154972A (en) Three-dimensional model constructing method
JPH0355676A (en) Control system for display of hidden line in cubic picture

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term