JPH07182400A - Method for plotting solid figure - Google Patents

Method for plotting solid figure

Info

Publication number
JPH07182400A
JPH07182400A JP5324658A JP32465893A JPH07182400A JP H07182400 A JPH07182400 A JP H07182400A JP 5324658 A JP5324658 A JP 5324658A JP 32465893 A JP32465893 A JP 32465893A JP H07182400 A JPH07182400 A JP H07182400A
Authority
JP
Japan
Prior art keywords
data
dimensional
input
display
ellipse
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
JP5324658A
Other languages
Japanese (ja)
Other versions
JP3099620B2 (en
Inventor
Osamu Hirai
修 平井
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.)
Mitsubishi Motors Corp
Mitsubishi Automotive Engineering Co Ltd
Original Assignee
Mitsubishi Motors Corp
Mitsubishi Automotive Engineering 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 Mitsubishi Motors Corp, Mitsubishi Automotive Engineering Co Ltd filed Critical Mitsubishi Motors Corp
Priority to JP05324658A priority Critical patent/JP3099620B2/en
Publication of JPH07182400A publication Critical patent/JPH07182400A/en
Application granted granted Critical
Publication of JP3099620B2 publication Critical patent/JP3099620B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To decrease input manhours for data and reduce storage capacity, and to improve the efficiency of plotting. CONSTITUTION:When the solid figure is displayed on the screen of a display 13, projection angle data regarding a tilt angle and ellipticity are specified on a keyboard and stored in the memory of a system device 10, and data regarding segments displayed on the screen of the display are inputted as three- dimensional data on the keyboard 11, and, the three-dimensional data regarding the inputted segments are transformed to a two-dimensional coordinate system on the basis of the projection angle data to generate point and line data, which are stored in the memory. Then, data of ellipses and corner R ellipses of the two-dimensional coordinate system are generated on the basis of the three- dimensional data regarding the inputted segments and stored in the memory, and those data stored in the memory are displayed on the screen of the display.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、二次元データと三次元
データを共存させて立体図を作成する立体図の作図方法
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a stereoscopic drawing method for coexisting two-dimensional data and three-dimensional data to create a stereoscopic drawing.

【0002】[0002]

【従来の技術】従来、この種の作図方法には、立体図を
手作業によって描く煩雑さを解消するために、コンピュ
ータ・グラフィックス技術を利用した計算機援用設計
(CAD)システム等によって立体図を作成するものが
あった。上記CADシステムでは、等測投影法を用いて
平面図及び両側面図の三面図を描かせるとともに記憶さ
せ、さらに上記三面図の二次元データに基づいて立体図
を作成していた。
2. Description of the Related Art Conventionally, in this type of drawing method, in order to eliminate the complexity of drawing a three-dimensional drawing by hand, a three-dimensional drawing is created by a computer aided design (CAD) system using computer graphics technology. There was something to create. In the CAD system, the isometric projection method is used to draw and store the three views of the plan view and the side views, and the three-dimensional view is created based on the two-dimensional data of the three views.

【0003】[0003]

【発明が解決しようとする課題】ところが、上記作図方
法では、データ入力が複雑になって、作業内容が煩雑に
なって作図に時間がかかるとともに、描いた三面図の二
次元データを記憶するので、記憶容量が大きくなるとい
う問題点があった。本発明は、上記問題点に鑑みなされ
たもので、データの入力工数を減らして記憶容量を低減
させるとともに、作図の能率を向上させることができる
立体図の作図方法を提供することを目的とする。
However, in the above-mentioned drawing method, the data input becomes complicated, the work content becomes complicated and the drawing takes time, and the two-dimensional data of the drawn three-view drawing is stored. However, there is a problem that the storage capacity becomes large. The present invention has been made in view of the above problems, and an object of the present invention is to provide a three-dimensional drawing method capable of reducing the number of data input steps to reduce the storage capacity and improving the drawing efficiency. .

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、立体図を表示手段であるディスプレイの
画面上に表示する際に、表示基準となる各基本軸方向の
例えば傾き角及び楕円度に係る基準データ(投影角デー
タ)を、入力手段であるキーボードから指定して記憶手
段であるシステム装置のメモリに記憶し、前記ディスプ
レイの画面上に表示される線分に関するデータを、三次
元データとして前記キーボードから入力し、該入力され
た線分に関する三次元データを、投影角データに基づき
二次元座標系に変換して線分表示用データであるポイン
ト及びラインデータを作成して前記メモリに記憶し、前
記入力された線分に関する三次元データに基づいて二次
元座標系の楕円曲線表示用データである楕円及びコーナ
R楕円のデータを作成して前記メモリに記憶し、該メモ
リに記憶された線分表示用データと楕円曲線表示用デー
タとを前記ディスプレイの画面上に表示する立体図の作
図方法が提供される。
In order to achieve the above object, the present invention, when displaying a stereoscopic view on the screen of a display which is a display means, for example, an inclination angle and a tilt angle in each basic axis direction which is a display reference. Ellipticity reference data (projection angle data) is specified by a keyboard as an input unit and stored in a memory of a system unit as a storage unit, and data regarding a line segment displayed on the screen of the display is tertiary Original data is input from the keyboard, three-dimensional data regarding the input line segment is converted into a two-dimensional coordinate system based on projection angle data to create point and line data that are line segment display data, and Data of the ellipse and the corner R ellipse, which are data for displaying an elliptic curve in a two-dimensional coordinate system, are created based on the three-dimensional data relating to the input line segment stored in the memory. The memory stores, drawing method of the three-dimensional view of a segment display data and the elliptic curve display data stored in said memory to display on the screen of the display is provided with.

【0005】[0005]

【作用】二次元データと三次元データを共存させ、二次
元の入力データに関しては、ハンド作成手法による処理
で、二次元座標として画面表示し、三次元の入力データ
に関しては、全て基本軸で座標変換を行い、二次元座標
として画面表示する。従って、データ入力の省力化、楕
円度の判定、縮率の計算を容易に行うことができる。
[Function] Coexistence of two-dimensional data and three-dimensional data, two-dimensional input data is displayed on the screen as two-dimensional coordinates by the processing by the hand creation method, and all three-dimensional input data are coordinated by the basic axis. Convert and display on the screen as two-dimensional coordinates. Therefore, labor saving of data input, determination of ellipticity, and reduction ratio calculation can be easily performed.

【0006】[0006]

【実施例】本発明の実施例を図1乃至図17の図面に基
づき説明する。図1は、本発明に係る立体図の作図方法
を用いる作図システムの基本構成を示す構成図である。
図において、上記システムは、システム装置10と、キ
ーボード11と、マウス12と、ディスプレイ13と、
プロッタ14とから構成されている。システム装置10
は、本発明に係る作図方法を実行するためのプログラム
データ、二次元又は三次元で入力するデータや演算デー
タ等を記憶するメモリ(図示しない)及び上記データに
基づいて上記各機器を制御して立体図の作図を実行させ
るCPU(図示しない)からなる。キーボード11は、
システムの操作に用いられ、データの入力等を行ってい
る。マウス12は、作図の際の位置指定やコピー・拡大
等の各種機能の指定を行っている。また、ディスプレイ
13は、作図の際に指定された点や線等を表示してお
り、プロッタ14は、作成された立体図等をプリントア
ウトしている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings of FIGS. FIG. 1 is a configuration diagram showing a basic configuration of a drawing system using a method for drawing a three-dimensional drawing according to the present invention.
In the figure, the system includes a system unit 10, a keyboard 11, a mouse 12, a display 13,
The plotter 14 is included. System unit 10
Is a program data for executing the drawing method according to the present invention, a memory (not shown) for storing two-dimensionally or three-dimensionally input data, operation data, and the like, and controls each of the above devices based on the data. It is composed of a CPU (not shown) that executes drawing of a three-dimensional drawing. Keyboard 11
It is used to operate the system and inputs data. The mouse 12 designates various functions such as position designation and copying / enlarging upon drawing. Further, the display 13 displays the points, lines, etc. designated at the time of drawing, and the plotter 14 prints out the created three-dimensional drawing.

【0007】次に、本発明に係る作図方法の原理につい
て図2のフローチャートに基づいて説明する。なお、投
影図法には、等測投影図法、二等測投影図法及び不等測
投影図法等があり、本発明に係る作図方法は、いずれの
図法にも適用が可能であるが、最近ではもっとも作業が
しやすい等測投影図法を使用するケースが多いので、本
発明に係る作図法を等測投影図法に適用した場合の例に
ついて説明する。
Next, the principle of the drawing method according to the present invention will be described with reference to the flowchart of FIG. It should be noted that the projection method includes an isometric projection method, an isometric projection method, and an unequal projection method, and the drawing method according to the present invention can be applied to any of the projection methods. Since the isometric projection method is often used because it is easy to work, an example in which the drawing method according to the present invention is applied to the isometric projection method will be described.

【0008】まず、立体図を作成する場合には、事前に
三次元の基本軸方向(投影角)を決定する必要がある
(ステップ101)。キーボード11から入力される設
定用データによって上記投影角が設定されると、次に作
図用のデータの入力を行う(ステップ102)。入力さ
れたデータは、各要素(ポイント、ライン)に選択され
(ステップ103)、さらに次元の判断、すなわち入力
データが二次元データか、三次元データかの判断がなさ
れる(ステップ104)。
First, when a three-dimensional drawing is created, it is necessary to determine the three-dimensional basic axis direction (projection angle) in advance (step 101). When the projection angle is set by the setting data input from the keyboard 11, the drawing data is next input (step 102). The input data is selected for each element (point, line) (step 103), and the dimension is determined, that is, whether the input data is two-dimensional data or three-dimensional data is determined (step 104).

【0009】ここで、入力したデータが三次元データの
場合には、三次元用の処理がなされる。ここでは、シス
テム装置10が、設定された投影角のデータに基づき、
上記三次元データの座標変換を行って(ステップ10
5)、メモリに保管するとともに、二次元座標系として
ディスプレイ13の画面に表示する(ステップ10
7)。なお、入力した三次元データがポイント又はライ
ンの場合には、座標変換された二次元データとともに、
三次元データもシステムのデータベースとしてメモリに
保管され、他の要素、例えば円弧や自由曲線のデータ
は、二次元データのみが、システムのデータベースとし
てメモリに保管される。つまり、本実施例では、メモリ
に保管するデータ量を削減するために、二次元データで
の保管を基本としている。また、ポイントとラインに三
次元データを持たせた理由は、後述する楕円を作成する
場合に、ポイントとラインの三次元データを必要とする
ためである。
If the input data is three-dimensional data, the three-dimensional processing is performed. Here, the system device 10 is based on the set projection angle data,
The coordinates of the three-dimensional data are converted (step 10
5) It is stored in the memory and displayed on the screen of the display 13 as a two-dimensional coordinate system (step 10).
7). If the input three-dimensional data is a point or line, along with the coordinate-converted two-dimensional data,
The three-dimensional data is also stored in the memory as a system database, and only the two-dimensional data of other elements such as arc and free curve data is stored in the memory as the system database. That is, in this embodiment, in order to reduce the amount of data stored in the memory, the storage is basically two-dimensional data. The reason why the points and lines have three-dimensional data is that three-dimensional data of points and lines is required when creating an ellipse described later.

【0010】また、入力したデータが二次元データの場
合には、二次元用の処理がなされる。ここでは、システ
ム装置10が、入力した二次元データをメモリに保管す
るとともに(ステップ106)、二次元座標としてディ
スプレイ13の画面に表示する(ステップ107)。と
ころで、上記ステップ101で設定される基本軸とは、
図3に示すX,Y,Z軸であり、基本軸方向の設定可能
な値は、図3に示すように、Z面の楕円度αと、水平線
とX軸のなす角度θであり、他のX,Y面の楕円度及び
Y軸と水平線のなす角度は、等測投影図法の原理から自
ずと決定される。また、Z軸の傾きは、垂直であり、変
更することはできない。
If the input data is two-dimensional data, a two-dimensional process is performed. Here, the system device 10 stores the input two-dimensional data in the memory (step 106) and displays it as two-dimensional coordinates on the screen of the display 13 (step 107). By the way, the basic axis set in step 101 is
The X, Y, and Z axes shown in FIG. 3 are settable values in the basic axis direction, as shown in FIG. 3, are the ellipticity α of the Z plane and the angle θ formed by the horizontal line and the X axis. The ellipticity of the X and Y planes and the angle between the Y axis and the horizon are naturally determined by the principle of the isometric projection method. Further, the inclination of the Z axis is vertical and cannot be changed.

【0011】上記設定方法により設定された投影角のデ
ータは、次の表1に示す内容の投影角データテーブルに
構成されてシステム装置10のメモリに保管される。
The projection angle data set by the above setting method is stored in the memory of the system unit 10 as a projection angle data table having the contents shown in Table 1 below.

【0012】[0012]

【表1】 なお、Z軸の傾き角度は、垂直で不変であるため上記デ
ータテーブルには登録していない。
[Table 1] Since the tilt angle of the Z axis is vertical and invariant, it is not registered in the data table.

【0013】本実施例での作図システムにおいて、三次
元データは、システム装置10のCPUによって上記投
影角データテーブルの値に基づき座標変換され、二次元
座標としてディスプレイ13の画面に表示される。この
座標変換の式は、以下のようになる。すなわち、
In the drawing system of the present embodiment, the three-dimensional data is coordinate-converted by the CPU of the system unit 10 based on the values in the projection angle data table and displayed on the screen of the display 13 as two-dimensional coordinates. The formula for this coordinate conversion is as follows. That is,

【0014】[0014]

【数1】 二次元X座標={三次元X座標値× cos(X面楕円度)× cos(X軸傾き角度)} −{三次元Y座標値× cos(Y面楕円度)× cos(Y軸傾き角度)} 二次元Y座標={三次元Z座標値× cos(Z面楕円度)}+ {三次元X座標値× cos(X面楕円度)× sin(X軸傾き角度)} +{三次元Y座標値× cos(Y面楕円度)× sin(Y軸傾き角度)} …(1)## EQU00001 ## Two-dimensional X coordinate = {three-dimensional X coordinate value × cos (X-plane ellipticity) × cos (X-axis tilt angle)}-{three-dimensional Y coordinate value × cos (Y-plane ellipticity) × cos ( Y-axis tilt angle)} Two-dimensional Y coordinate = {three-dimensional Z coordinate value x cos (Z-plane ellipticity)} + {three-dimensional X coordinate value x cos (X-plane ellipticity) x sin (X-axis tilt angle)} + {Three-dimensional Y coordinate value x cos (Y plane ellipticity) x sin (Y axis tilt angle)} (1)

【0015】となる。ステップ105において、パーソ
ナルコンピュータ等の演算機能では、座標変換の計算に
時間がかかるため、スムーズに表示画面を拡大又は縮小
することができない。このため、本実施例では、一度座
標変換したデータ(二次元座標データ)を各要素のデー
タベースとしてメモリに保管しており、画面表示の場合
には、この保管された二次元データを利用して行う。こ
れにより、データ表示の応答性を向上させている。な
お、上記保管された二次元データを利用して座標値の移
動、回転等の場合には、CPUは、再度座標変換の計算
を行い、二次元座標データをデータベースに再登録させ
る。
[0015] In step 105, the calculation function of the personal computer or the like takes time to calculate the coordinate conversion, so that the display screen cannot be enlarged or reduced smoothly. For this reason, in this embodiment, the data (two-dimensional coordinate data) once subjected to coordinate conversion is stored in the memory as a database of each element, and in the case of screen display, the stored two-dimensional data is used. To do. This improves the responsiveness of data display. When the coordinate value is moved or rotated using the stored two-dimensional data, the CPU performs the coordinate conversion calculation again and re-registers the two-dimensional coordinate data in the database.

【0016】本実施例において、三次元データを保管し
ているのは、上述したごとくポイントとラインのデータ
のみであり、他の要素は、三次元データを持っていな
い。また、上記ポイントとラインのデータも二次元デー
タのみ保管している場合がある。このため、メモリに
は、次元区分が設けられており、CPUは、上記次元区
分に基づき処理時の判断を行っている。上記ポイントと
ラインのデータ構成は、以下の表2に示すようになって
いる。
In the present embodiment, the three-dimensional data is stored only in the point and line data as described above, and the other elements do not have the three-dimensional data. In addition, the point and line data may be stored only in two-dimensional data. For this reason, the memory is provided with a dimension division, and the CPU makes a determination at the time of processing based on the dimension division. The data structure of the points and lines is shown in Table 2 below.

【0017】[0017]

【表2】 なお、上記表2において、二次元・三次元区分は、デー
タが二次元のデータのみであるか、三次元のデータも含
まれているのかを示し、グループ番号は、各要素毎の番
号を示し、色番号は、画面上に表示される色指定を示
し、ラインデータの座標値(1),(2)は、ラインの両端の
座標値を示す。
[Table 2] In Table 2 above, the two-dimensional / three-dimensional division indicates whether the data is only two-dimensional data or three-dimensional data, and the group number indicates the number of each element. , The color number indicates the color designation displayed on the screen, and the coordinate values (1) and (2) of the line data indicate the coordinate values at both ends of the line.

【0018】次に、ポイントの作画方法を図4乃至図6
の図面に基づいて説明する。まず、ポイントの作画する
場合には、図4の模式図に示すように、X軸に対しては
原点Oからの前後方向、Y軸に対しては原点Oからの左
右方向、Z軸に対しては上下方向を決める必要がある。
従って、図5のフローチャートにおいて、数値データを
キーボード11から入力する時には、X、Y、Zの各軸
方向のベクトルを明確にするため、前、左、下の各方向
にベクトルがある場合には、データにマイナスをつけて
入力する(ステップ201)。例えば、入力するデータ
が三次元データの場合には、図6に示す一例のように、
X、Y、Zの各軸方向の実寸長“10”、“15”、
“20”を順番にコンマで区切って、“−10,15,
−20”のごとく入力して改行する。
Next, the point drawing method will be described with reference to FIGS.
Will be described with reference to the drawings. First, in the case of drawing points, as shown in the schematic diagram of FIG. 4, the front-back direction from the origin O with respect to the X-axis, the left-right direction from the origin O with respect to the Y-axis, and the Z-axis with respect to the Z-axis. It is necessary to determine the vertical direction.
Therefore, in the flowchart of FIG. 5, when inputting numerical data from the keyboard 11, in order to clarify the vector in each of the X, Y, and Z axis directions, when there are vectors in the front, left, and bottom directions, , Input the data with a minus (step 201). For example, when the input data is three-dimensional data, as in the example shown in FIG.
Actual lengths in the X, Y, and Z axis directions "10", "15",
Separate “20” in order with commas and enter “-10,15,
Enter as "-20" and start a new line.

【0019】システム装置10は、上記入力したデータ
のデータ数を判定する(ステップ202)。ここでは、
例えばコンマの数でデータ数を判断しており、コンマの
数が“0”、すなわちデータ数が“1”の場合には、デ
ータ入力と判断せずに終了し、コンマの数が“1”、す
なわちデータ数が“2”の場合には、二次元データの入
力と判断し、またコンマの数が“2”、すなわちデータ
数が“3”の場合には、三次元データの入力と判断す
る。
The system unit 10 determines the number of data of the input data (step 202). here,
For example, the number of data is determined by the number of commas. If the number of commas is “0”, that is, the number of data is “1”, the process ends without determining the data input, and the number of commas is “1”. That is, if the number of data is “2”, it is determined that the two-dimensional data is input. If the number of commas is “2”, that is, the number of the data is “3”, it is determined that the three-dimensional data is input. To do.

【0020】上記判断において、入力データが二次元デ
ータの場合には、座標変換を行わずに、二次元のポイン
トデータをデータベースとしてシステム装置10内のメ
モリに登録する(ステップ204)。また、入力データ
が三次元データの場合には、(1)式に基づいて二次元デ
ータに座標変換し(ステップ203)、この二次元及び
三次元のポイントデータ(表2参照)をデータベースと
してシステム装置10内のメモリに登録する(ステップ
204)。
In the above judgment, if the input data is two-dimensional data, the two-dimensional point data is registered as a database in the memory in the system unit 10 without performing coordinate conversion (step 204). If the input data is three-dimensional data, the coordinates are converted into two-dimensional data based on the equation (1) (step 203), and the two-dimensional and three-dimensional point data (see Table 2) is used as a database. It is registered in the memory of the device 10 (step 204).

【0021】そして、上記登録されたデータは、オペレ
ータが認識可能なように、ディスプレイ13に出力され
て、画面上にポイントが表示され(ステップ205)、
ステップ201に戻って、次のデータ入力を待つ。次
に、ラインの作画方法を図7のフローチャートに基づい
て説明する。ラインの作画は、ラインの両端のデータを
入力することによって行われるが、基本的には、ポイン
トの作画と同様である。ただしラインの両端のデータの
うち、いずれかが二次元データで入力された場合には、
本実施例では、このラインの特性は二次元となる。
Then, the registered data is output to the display 13 so that the operator can recognize it, and points are displayed on the screen (step 205).
Returning to step 201, the next data input is awaited. Next, a line drawing method will be described based on the flowchart of FIG. The line drawing is performed by inputting data at both ends of the line, but basically it is the same as the point drawing. However, if either of the data at both ends of the line is input as two-dimensional data,
In this embodiment, the characteristic of this line is two-dimensional.

【0022】まず、キーボード11からラインとしての
データ入力があると(ステップ301)、ポイントの作
画と同様に、データ数を判断し(ステップ302)、三
次元データの場合には、(1)式に基づいて二次元データ
への座標変換が行われて(ステップ303)、この二次
元及び三次元データをシステム装置10内のメモリに仮
保管する(ステップ304)。また、入力データが二次
元データの場合には、座標変換を行わずに、メモリに仮
保管する(ステップ304)。
First, when data is input as a line from the keyboard 11 (step 301), the number of data is judged as in the case of drawing points (step 302). In the case of three-dimensional data, equation (1) is used. The coordinate conversion into two-dimensional data is performed based on the above (step 303), and the two-dimensional and three-dimensional data are temporarily stored in the memory in the system device 10 (step 304). If the input data is two-dimensional data, it is temporarily stored in the memory without performing the coordinate conversion (step 304).

【0023】システム装置は、仮保管されたデータ数
(以下、「仮保管数」という。)を判断する(ステップ
305)。ここで、仮保管数が、“1”の場合には、ス
テップ301に戻って、他端のデータ入力を待つ。ま
た、仮保管数が、“2”の場合には、上記入力データを
登録するとともに(ステップ306)、仮保管された2
点のデータによりラインデータ(表2参照)を作成して
(ステップ307)、上記ラインデータをデータベース
として登録する(ステップ306)。
The system unit determines the number of temporarily stored data (hereinafter referred to as "temporary storage number") (step 305). Here, when the temporary storage number is "1", the process returns to step 301 and waits for data input at the other end. If the number of temporary storage is "2", the input data is registered (step 306), and the temporary storage is 2
Line data (see Table 2) is created from the point data (step 307), and the line data is registered as a database (step 306).

【0024】そして、上記仮保管された旧データを削除
してデータ数を“1”とし(ステップ308)、上記登
録されたラインデータは、ディスプレイ13に出力され
て、画面上にラインが表示され(ステップ309)、ス
テップ301に戻って、次のデータ入力を待つ。次に、
楕円作画におけるデータの計算方法について図8の模式
図に基づいて説明する。立体図において、円弧の楕円度
は、楕円の面が向いている三次元方向余弦(ベクトル)
の縮率値に対するアークコサイン値で求められる。すな
わち、
Then, the temporarily stored old data is deleted to set the number of data to "1" (step 308), and the registered line data is output to the display 13 to display a line on the screen. (Step 309) Then, the process returns to step 301 and waits for the next data input. next,
A method of calculating data in ellipse drawing will be described with reference to the schematic diagram of FIG. The ellipticity of a circular arc in a three-dimensional view is the three-dimensional cosine (vector) in which the ellipse faces
It is calculated by the arc cosine value for the reduction value of. That is,

【0025】[0025]

【数2】 縮率値=(座標変換された平面上の距離)/(三次元方向余弦の距離) 楕円度=cos-1(縮率値) …(2)## EQU00002 ## Reduction rate = (distance on coordinate-converted plane) / (distance of three-dimensional direction cosine) Ellipticity = cos -1 (reduction rate) (2)

【0026】となる。この(2)式において、三次元方向
余弦の距離は、実際の長さであり、これはラインの三次
元データから得られる。
[0026] In this equation (2), the distance of the three-dimensional direction cosine is the actual length, which is obtained from the three-dimensional data of the line.

【0027】また、楕円の傾き角は、三次元方向余弦を
座標変換した平面上のベクトルの角度、すなわち図8に
示す楕円の短軸と水平線のなす角度そのものである。本
実施例では、上記楕円のデータ構成は、以下の表3に示
すものとなり、メモリに登録されて管理される。
The tilt angle of the ellipse is the angle of the vector on the plane obtained by coordinate-converting the three-dimensional direction cosine, that is, the angle between the short axis of the ellipse and the horizontal line shown in FIG. In the present embodiment, the data structure of the ellipse is as shown in Table 3 below, which is registered and managed in the memory.

【0028】[0028]

【表3】 なお、本実施例では、上記データ構成におけるデータの
区分は、二次元のみであるが、本発明はこれに限らず、
将来のシステム構築に備えて三次元データを含ませるこ
とも可能である。また、楕円弧開始角と楕円弧終了角
は、図9に示す角度である。
[Table 3] In the present embodiment, the data division in the above data structure is only two-dimensional, but the present invention is not limited to this,
It is also possible to include 3D data for future system construction. Further, the elliptic arc start angle and the elliptic arc end angle are the angles shown in FIG. 9.

【0029】次に、楕円の作画方法を図10のフローチ
ャートに基づいて説明する。まず、キーボード11から
楕円としてのデータ、例えば楕円の径の数値入力がある
と(ステップ401)、作画する楕円の中心軸と同じベ
クトルを持つラインデータ(二次元、三次元要素)、又
は同じ楕円度・傾き角を持つ楕円を選択する(ステップ
402)。そして、中心となる位置のポイントを選択す
る(ステップ403)。
Next, an ellipse drawing method will be described with reference to the flowchart of FIG. First, when data as an ellipse, for example, a numerical value for the diameter of the ellipse is input from the keyboard 11 (step 401), line data (two-dimensional or three-dimensional element) having the same vector as the central axis of the ellipse to be drawn, or the same ellipse. An ellipse having a degree / tilt angle is selected (step 402). Then, the point at the center position is selected (step 403).

【0030】次に、上記ステップ402で選択された要
素のチェックを行う(ステップ404)。すなわち、こ
こでは、要素としてラインが選択されたか、楕円が選択
されたかの判断を行っている。ここで、ラインが選択さ
れ、その要素が二次元の場合には、ラインの両端位置デ
ータ、つまり表2の二次元X、Yの各座標値 (1)及び二
次元X、Yの各座標値(2)と水平線とから、ラインの平
面上角度(図9参照)を計算して、楕円の傾き角を算出
する(ステップ405)。上記ラインが選択され、その
要素が三次元の場合には、ラインの両端位置データ、つ
まり表2の三次元X、Y、Zの各座標値(1)及び三次元
X、Y、Zの各座標値 (2)と(2)式とより、ベクトルの
縮率を計算して楕円度を算出する(ステップ406)。
また、ステップ404において、楕円が選択された場合
には、表3の楕円データから楕円傾き角と楕円度を抽出
する(ステップ407,408)。そして、上記入力さ
れた楕円径及びステップ405〜408によって算出又
は抽出された傾き角・楕円度に基づき、楕円データを作
成する(ステップ409)。
Next, the element selected in step 402 is checked (step 404). That is, here, it is determined whether a line or an ellipse is selected as an element. If a line is selected and its element is two-dimensional, the end position data of the line, that is, the two-dimensional X and Y coordinate values (1) and the two-dimensional X and Y coordinate values in Table 2 are used. From (2) and the horizontal line, the plane angle of the line (see FIG. 9) is calculated to calculate the inclination angle of the ellipse (step 405). When the above line is selected and its element is three-dimensional, both end position data of the line, that is, the coordinate values (1) of the three-dimensional X, Y and Z in Table 2 and the three-dimensional X, Y and Z The ellipticity is calculated by calculating the reduction ratio of the vector from the coordinate values (2) and (2) (step 406).
If an ellipse is selected in step 404, the ellipse tilt angle and ellipticity are extracted from the ellipse data in Table 3 (steps 407 and 408). Then, ellipse data is created based on the input elliptic diameter and the tilt angle / ellipticity calculated or extracted in steps 405 to 408 (step 409).

【0031】次に、ステップ401のデータ入力の際
に、楕円の径の次に楕円度の入力が有ったか、無かった
かチェックする(ステップ409)。すなわち、楕円を
作画する際には、例えば所定の楕円度を指定して描きた
い場合がある。このような場合、本実施例では、第2パ
ラメータとして楕円度の入力を可能としている。なお、
この場合の入力方法としては、キーボード11から例え
ば上記楕円の径の次にカンマを入力し、その後に楕円度
を入力することによって、システム装置10での楕円度
の認識を可能にしている。
Next, it is checked whether or not the ellipticity is input next to the diameter of the ellipse when the data is input in step 401 (step 409). That is, when drawing an ellipse, for example, it may be desired to draw by designating a predetermined ellipticity. In such a case, in this embodiment, the ellipticity can be input as the second parameter. In addition,
As an input method in this case, the system device 10 can recognize the ellipticity by, for example, entering a comma next to the diameter of the ellipse and then an ellipticity from the keyboard 11.

【0032】ここで、楕円度の入力が有った場合には、
楕円データ内の楕円度を、上記キーボード11から入力
・指定された楕円度に、強制的に置き換えて(ステップ
410)、上記楕円データをシステム装置10のメモリ
にデータベースとして登録する(ステップ411)。ま
た、楕円度の入力が無かった場合には、ステップ409
で作成した楕円データをシステム装置10のメモリにデ
ータベースとして登録する(ステップ411)。
Here, when the ellipticity is input,
The ellipticity in the elliptic data is forcibly replaced with the ellipticity input / designated from the keyboard 11 (step 410), and the elliptic data is registered in the memory of the system device 10 as a database (step 411). If there is no ellipticity input, step 409.
The ellipse data created in step 3 is registered in the memory of the system device 10 as a database (step 411).

【0033】上記登録された楕円データは、ディスプレ
イ13に出力されて、指定されたポイントを中心とし
て、画面上に楕円が表示され(ステップ413)、ステ
ップ401に戻って、次のデータ入力を待つ。次に、コ
ーナR作画におけるデータの計算方法について図11の
模式図に基づいて説明する。
The registered ellipse data is output to the display 13 so that an ellipse is displayed on the screen centering on the designated point (step 413) and the process returns to step 401 to wait for the next data input. . Next, a method of calculating data in corner R drawing will be described based on the schematic diagram of FIG.

【0034】例えば交差する2本のラインにコーナRを
描く場合に、図形が平面図形であれば、Rとなる円弧は
真円であるため、単純に2つのラインに接する円弧の計
算によりコーナRを作成できるが、図形が立体図形の場
合には、作成された円弧は楕円となるため、コーナRの
作成が困難になる。そこで、本実施例では、以下の方法
によってコーナRの円弧の楕円度及び傾き角を求めて、
上記コーナRを作成する。
For example, when a corner R is drawn on two intersecting lines, if the figure is a plane figure, the arc of R is a perfect circle. Therefore, the corner R is simply calculated by calculating the arc of the two lines. However, when the figure is a three-dimensional figure, the created arc becomes an ellipse, which makes it difficult to create the corner R. Therefore, in this embodiment, the ellipticity and the inclination angle of the arc of the corner R are obtained by the following method,
The above corner R is created.

【0035】図11において、コーナRの楕円度を求め
るには、交差する2本のライン20,21のデータが、
表2に示す三次元のラインデータとして保管されている
ことが必要である。つまり、どちらか一方、もしくは両
方のラインデータが二次元データの場合は、計算による
楕円度の計算は不可能であるため、楕円度・楕円の傾き
角をキーボード11から別に入力する必要がある。
In FIG. 11, in order to obtain the ellipticity of the corner R, the data of the two intersecting lines 20 and 21 are
It must be stored as the three-dimensional line data shown in Table 2. That is, when either one or both of the line data are two-dimensional data, ellipticity cannot be calculated by calculation, and therefore the ellipticity and the inclination angle of the ellipse must be input separately from the keyboard 11.

【0036】上記交差する2本のライン20,21が三
次元の場合には、両ラインより設けられる面、つまり両
ラインの端点(3点)で決まる平面22に対するその交
点での垂直なベクトル23を算出する。そして、求めら
れたベクトルの縮率を求め、楕円作画における計算と同
じ方法で楕円度及び傾き角を算出する((2)式及び図8
参照)。
When the above-mentioned two intersecting lines 20 and 21 are three-dimensional, a plane provided by both lines, that is, a vertical vector 23 at the intersection with respect to a plane 22 determined by the end points (3 points) of both lines. To calculate. Then, the reduction ratio of the obtained vector is calculated, and the ellipticity and the tilt angle are calculated by the same method as the calculation in the ellipse drawing (equation (2) and FIG. 8).
reference).

【0037】次に、求められた楕円度及び傾き角より円
弧が真円となった場合の2本のラインの平面座標位置を
計算する。すなわち、上記求められた楕円を真円に戻す
には、図12に示すように、楕円の短軸方向に座標を、
係数{1/sin(楕円度)}倍で移動することにより可
能となる。この方法に基づきラインの座標を楕円に合わ
せて座標変換を行い、図13に示す座標変換後のライン
24,25を得る。そして、座標変換されたライン2
4,25に接する円弧の計算を行い、図14(a)に示す
円弧26の中心座標及び各ライン24,25との接点を
求める。さらに、上記ライン座標を楕円に合わせた座標
変換の処理とは逆の処理を行って、楕円弧の中心座標及
び接点を求め、座標変換処理を行いR楕円弧27を、図
14(b)に示すように作成する。
Next, the plane coordinate positions of the two lines when the arc is a perfect circle are calculated from the calculated ellipticity and tilt angle. That is, in order to return the above-obtained ellipse to a perfect circle, the coordinates in the minor axis direction of the ellipse are set as shown in FIG.
This is possible by moving by a factor of {1 / sin (ellipticity)}. Based on this method, the coordinate of the line is adjusted to the ellipse to perform the coordinate conversion, and the lines 24 and 25 after the coordinate conversion shown in FIG. 13 are obtained. And the coordinate-converted line 2
Arcs in contact with 4, 25 are calculated, and the center coordinates of the arc 26 shown in FIG. Further, a process reverse to the process of the coordinate conversion in which the line coordinates are adjusted to the ellipse is performed to obtain the center coordinates and the contact point of the elliptic arc, and the coordinate conversion process is performed to make the R elliptic arc 27 as shown in FIG. To create.

【0038】次に、コーナRの作画方法を図15のフロ
ーチャートに基づき説明する。まず、キーボード11か
らコーナRとしてのデータ、例えばコーナRの半径の数
値入力があると(ステップ501)、上記コーナRを付
ける2本のラインを選択する(ステップ502)。そし
て、コーナRを付ける位置を指定する(ステップ50
3)。この位置指定を行う理由は、交差する2本のライ
ンには、4カ所の隅角ができるので、いずれの隅角を選
択するか指示する必要性のためである。
Next, the method of drawing the corner R will be described with reference to the flowchart of FIG. First, when data as the corner R, for example, a numerical value of the radius of the corner R is input from the keyboard 11 (step 501), two lines to which the corner R is attached are selected (step 502). Then, the position to attach the corner R is designated (step 50).
3). The reason for specifying this position is that two intersecting lines have four corner angles, and therefore it is necessary to instruct which corner angle to select.

【0039】次に、ステップ502で選択された各ライ
ンの要素をチェックする(ステップ504)。すなわ
ち、ここでは、選択されたラインのデータが全て三次元
データか、二次元データで構成されているかどうか判断
する。ここで、選択されたラインのデータが全て三次元
のデータを保管している場合には、上記2本のラインが
三次元空間上で交差しているかどうかを確認し(ステッ
プ505)、交差していない場合には、動作を終了し、
また交差している場合には、両ラインより設けられる面
に対するその交点での垂直なベクトルを算出する(ステ
ップ506)。そして、楕円作画における計算と同じ方
法で楕円度及び傾き角を算出する(ステップ507)。
Next, the element of each line selected in step 502 is checked (step 504). That is, here, it is determined whether or not the data of the selected line are all three-dimensional data or two-dimensional data. Here, if all the data of the selected lines store three-dimensional data, it is confirmed whether or not the above two lines intersect in the three-dimensional space (step 505), and the intersection is performed. If not, end the operation,
If they intersect, the vertical vector at the intersection with respect to the plane provided by both lines is calculated (step 506). Then, the ellipticity and the tilt angle are calculated by the same method as the calculation in the ellipse drawing (step 507).

【0040】また、ステップ504において、選択され
たラインのデータが二次元データで構成されたラインデ
ータを含んでいる場合には、楕円度及び傾き角の算出が
できないので、コーナRと同等の楕円度及び傾き角を持
った楕円の選択を行う(ステップ508)。そして、上
記選択された楕円より楕円度及び傾き角を抽出する(ス
テップ509)。なお、上記楕円の選択は、例えば従来
のCADシステムと同様に、システム装置10からコー
ナRと同等の楕円度及び傾き角を持った楕円の選択指示
のメッセージをディスプレイ13に表示し、このメッセ
ージに応じてオペレータに描きたい楕円を選択してもら
う。
In step 504, if the data of the selected line includes line data composed of two-dimensional data, the ellipticity and the tilt angle cannot be calculated, so an ellipse equivalent to the corner R is obtained. An ellipse having a degree and a tilt angle is selected (step 508). Then, the ellipticity and the tilt angle are extracted from the selected ellipse (step 509). The selection of the ellipse is, for example, similar to the conventional CAD system, a message for instructing the selection of an ellipse having an ellipticity and an inclination angle equivalent to the corner R from the system device 10 is displayed on the display 13, and this message is displayed. Ask the operator to select the ellipse you want to draw accordingly.

【0041】上記楕円の楕円度及び傾き角が求められる
と、楕円度及び傾き角により求めた係数に基づき、選択
されたラインを座標変換して、真円上での円弧中心座標
及びラインとの接点座標を算出する(ステップ51
0)。さらに、算出した円弧中心座標及び接点座標を、
上記係数に基づいて逆演算して、元の楕円における位置
関係に座標変換する(ステップ511)。
When the ellipticity and the inclination angle of the ellipse are obtained, the selected line is subjected to coordinate conversion based on the coefficient obtained by the ellipticity and the inclination angle, and the arc center coordinate and the line on the perfect circle are calculated. Calculate contact coordinates (step 51)
0). Furthermore, the calculated arc center coordinates and contact coordinates are
Inverse calculation is performed based on the above coefficient, and the coordinates are converted into the positional relationship in the original ellipse (step 511).

【0042】そして、上記座標変換された円弧中心座標
及び接点座標からコーナR楕円弧の開始角及び終了角を
求め(ステップ512)、上記楕円弧のデータをデータ
ベースとしてメモリに登録する(ステップ513)。上
記登録された楕円弧のデータは、ディスプレイ13に出
力されて、指定された画面上の隅角位置にコーナR楕円
弧が表示され(ステップ514)、ステップ501に戻
って、次のデータ入力を待つ。
Then, the start angle and the end angle of the corner R elliptic arc are obtained from the coordinate-converted arc center coordinates and contact coordinates (step 512), and the data of the elliptic arc is registered in the memory as a database (step 513). The data of the registered elliptic arc is output to the display 13 to display the corner R elliptic arc at the designated corner position on the screen (step 514), and returns to step 501 to wait for the next data input.

【0043】従って、本実施例では、二次元データと三
次元データを共存させ、二次元の入力データに関して
は、従来のハンド作成手法による処理で、二次元座標と
して画面表示し、三次元の入力データに関しては、全て
基本軸で座標変換を行い、二次元座標として画面表示す
るので、データ入力作業の省力化が図られるとともに、
三次元データの場合の楕円度や縮率の計算を自動的に容
易に行うことができ、これにより作図の能率を向上させ
ることができる。
Therefore, in this embodiment, the two-dimensional data and the three-dimensional data are made to coexist, and the two-dimensional input data is displayed on the screen as the two-dimensional coordinates by the processing by the conventional hand creation method, and the three-dimensional input is performed. All data is coordinate-converted with the basic axes and displayed on the screen as two-dimensional coordinates, which saves labor for data input work.
The ellipticity and the reduction rate in the case of three-dimensional data can be automatically and easily calculated, thereby improving the efficiency of drawing.

【0044】また、本実施例では、システムのデータベ
ースの管理としては、二次元データを基本とし、ポイン
ト及びラインのみ二次元データと三次元データの管理と
するので、システム装置内のメモリ容量を低減できる。
また、本実施例では、任意の回転を加えて立体図を作成
する場合には、事前に回転角を設定しておき、入力デー
タを上記回転を含めて座標変換して、画面に表示させる
ことも可能である。このような方法を採るのは、本実施
例の作図方法が、データを多次元で管理しているため、
立体図作成後に、三次元回転により上記立体図の方向変
更が不可になるのを防ぐためである。
In the present embodiment, the system database is managed basically on the basis of two-dimensional data and only points and lines are managed for two-dimensional data and three-dimensional data, thus reducing the memory capacity in the system unit. it can.
Further, in the present embodiment, when a stereoscopic view is created by adding arbitrary rotation, the rotation angle is set in advance, the input data including the above rotation is subjected to coordinate conversion, and displayed on the screen. Is also possible. The reason why such a method is adopted is that the drawing method of this embodiment manages data in a multidimensional manner.
This is to prevent the direction of the stereoscopic drawing from being changed by three-dimensional rotation after the stereoscopic drawing is created.

【0045】次に、上述した実施例の作図方法を用い
て、図16に示すフランジ30と円筒部31からなるシ
ャフトホルダーの図面から立体図を作成する手順を、図
17の作図手順に基づいて説明する。まず、この手順で
は、三次元方向の縦、横、高さを、図3のX,Y,Z軸
として設定するとともに、作画の方向を最初に定義し
て、投影角データを登録する。そして、図17(1)に示
すように、キーボード11から三次元データ(縦、横、
高さ)を入力して、フランジ30面のアウトラインと突
通し穴32の中心点(5点)を設ける。これらのデータ
入力により、ライン及びポイントのデータが、ライン作
画及びポイント作画の方法で作成されてメモリに登録さ
れ、さらに作成された上記アウトラインと突通し穴の中
心点が、二次元座標としてディスプレイ13の画面上に
表示される。
Next, the procedure for making a three-dimensional drawing from the drawing of the shaft holder consisting of the flange 30 and the cylindrical portion 31 shown in FIG. 16 using the drawing method of the above-described embodiment will be described based on the drawing procedure of FIG. explain. First, in this procedure, the vertical, horizontal, and height of the three-dimensional direction are set as the X, Y, and Z axes of FIG. 3, and the drawing direction is first defined, and the projection angle data is registered. Then, as shown in FIG. 17 (1), three-dimensional data (vertical, horizontal,
By inputting the height, the outline of the surface of the flange 30 and the center point (5 points) of the through hole 32 are provided. By inputting these data, line and point data are created by the line drawing and point drawing methods and registered in the memory, and the created outline and the center point of the through hole are displayed on the display 13 as two-dimensional coordinates. Displayed on the screen.

【0046】次に、図17(2)に示すように、マウス1
2により交差するラインを2つ選択し、半径を入力す
る。このデータ入力により、コーナR楕円弧のデータ
が、コーナR作画方法で作成されてメモリに登録され、
さらに作成された上記コーナR楕円弧が、二次元座標と
して画面上の所定位置に表示される。さらに、図17
(3)に示すように、突通し穴の直径を入力し、楕円度が
同じである楕円を選択後、円中心を選択する。このデー
タ入力により、楕円のデータが、楕円作画方法で作成さ
れてメモリに登録され、さらに作成された楕円(突通し
穴)が、二次元座標として上記選択された円中心に対応
した画面上の所定位置に表示される。
Next, as shown in FIG. 17 (2), mouse 1
Select two intersecting lines with 2 and enter the radius. By this data input, corner R elliptic arc data is created by the corner R drawing method and registered in the memory,
Further, the created corner R elliptic arc is displayed at a predetermined position on the screen as two-dimensional coordinates. Furthermore, FIG.
As shown in (3), enter the diameter of the through hole, select an ellipse with the same ellipticity, and then select the center of the circle. By this data input, ellipse data is created by the ellipse drawing method and registered in the memory, and the created ellipse (through hole) is displayed on the screen corresponding to the center of the circle selected above as two-dimensional coordinates. Displayed in place.

【0047】次に、図17(4)に示すように、表示され
ているフランジ面のアウトラインをコピーし、下方に移
動して、上記フランジの厚みを画面に描く。このアウト
ラインのコピーは、本システムが有するコピー機能によ
って行われ、アウトラインは、通常二次元座標として画
面上に表示される。そして、図17(5)に示すように、
上記フランジ面の両アウトラインのコーナRをラインで
結び、不要な線を消去する。
Next, as shown in FIG. 17 (4), the outline of the displayed flange surface is copied and moved downward to draw the thickness of the flange on the screen. The copying of the outline is performed by the copy function of the present system, and the outline is normally displayed on the screen as two-dimensional coordinates. Then, as shown in FIG. 17 (5),
The corners R on both outlines of the flange surface are connected by a line to erase unnecessary lines.

【0048】次に、図17(6)に示すように、円筒部3
1のデータを入力し、中心線を設ける。そして、本シス
テムが有するパイプ作画機能を用いて、円筒部31を画
面に描く。なお、このパイプ作画機能は、楕円の直径を
入力し中心線を選択することにより、自動的にパイプ形
状を作成するものであり、作成されたパイプは、二次元
座標として画面上に表示される。
Next, as shown in FIG. 17 (6), the cylindrical portion 3
Enter the data of 1 and set the center line. Then, the cylindrical portion 31 is drawn on the screen by using the pipe drawing function of this system. The pipe drawing function automatically creates a pipe shape by inputting the diameter of the ellipse and selecting the center line, and the created pipe is displayed as two-dimensional coordinates on the screen. .

【0049】そして、最後に円筒部の穴を描き、ライン
を修正することにより立体図を完成させる。
Finally, by drawing a hole in the cylindrical portion and correcting the line, the three-dimensional drawing is completed.

【0050】[0050]

【発明の効果】以上説明したように、本発明では、立体
図を表示手段の画面上に表示する際に、表示基準となる
各方向に係る基準データを、入力手段から指定して記憶
手段に記憶し、前記表示手段の画面上に表示される線分
に関するデータを、三次元データとして前記入力手段か
ら入力し、該入力された線分に関する三次元データを、
前記基準データに基づき二次元座標系に変換して線分表
示用データを作成して前記記憶手段に記憶し、前記入力
された線分に関する三次元データに基づいて二次元座標
系の楕円曲線表示用データを作成して前記記憶手段に記
憶し、該記憶手段に記憶された線分表示用データと楕円
曲線表示用データとを前記表示手段の画面上に表示する
ので、データの入力工数を減らして記憶容量を低減させ
るとともに、作図の能率を向上させることができる。
As described above, according to the present invention, when the stereoscopic view is displayed on the screen of the display means, the reference data for each direction which is the display reference is designated from the input means and stored in the storage means. Data regarding a line segment that is stored and displayed on the screen of the display means is input from the input means as three-dimensional data, and the three-dimensional data regarding the input line segment is
Conversion to a two-dimensional coordinate system based on the reference data to create line segment display data, which is stored in the storage means, and an elliptic curve display of a two-dimensional coordinate system based on the input three-dimensional data regarding the line segment. Data is created and stored in the storage means, and the line segment display data and the elliptic curve display data stored in the storage means are displayed on the screen of the display means, thus reducing the number of data input steps. The storage capacity can be reduced and the efficiency of drawing can be improved.

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

【図1】本発明に係る立体図の作図方法を用いる作図シ
ステムの基本構成を示す構成図である。
FIG. 1 is a configuration diagram showing a basic configuration of a drawing system using a method for drawing a three-dimensional drawing according to the present invention.

【図2】本発明に係る作図方法の原理を説明するための
フローチャートである。
FIG. 2 is a flowchart for explaining the principle of the drawing method according to the present invention.

【図3】投影角データの設定方法を説明するための等測
投影図である。
FIG. 3 is an isometric projection diagram for explaining a method of setting projection angle data.

【図4】ポイントデータの入力方法を説明するための模
式図である。
FIG. 4 is a schematic diagram for explaining a method of inputting point data.

【図5】ポイントの作画方法を説明するためのフローチ
ャートである。
FIG. 5 is a flowchart for explaining a point drawing method.

【図6】ポイントデータの入力の一例を示す図である。FIG. 6 is a diagram showing an example of inputting point data.

【図7】ラインの作画方法を説明するためのフローチャ
ートである。
FIG. 7 is a flowchart for explaining a line drawing method.

【図8】楕円作画におけるデータの計算方法を説明する
ための模式図である。
FIG. 8 is a schematic diagram for explaining a data calculation method in ellipse drawing.

【図9】楕円データに含まれる楕円弧開始角と楕円弧終
了角を示す図である。
FIG. 9 is a diagram showing an elliptic arc start angle and an elliptic arc end angle included in ellipse data.

【図10】楕円の作画方法を説明するためのフローチャ
ートである。
FIG. 10 is a flowchart for explaining an ellipse drawing method.

【図11】コーナR作画におけるデータの計算方法の一
工程を説明するための模式図である。
FIG. 11 is a schematic diagram for explaining one step of a data calculation method in corner R drawing.

【図12】同じくコーナR作画におけるデータの計算方
法の一工程を説明するための模式図である。
FIG. 12 is a schematic diagram for explaining one step of a method of calculating data in corner R drawing.

【図13】同じくコーナR作画におけるデータの計算方
法の一工程を説明するための模式図である。
FIG. 13 is a schematic diagram for explaining one step of a data calculation method in the corner R drawing.

【図14】同じくコーナR作画におけるデータの計算方
法の一工程を説明するための模式図である。
FIG. 14 is a schematic diagram for explaining one step of a method of calculating data in corner R drawing.

【図15】コーナRの作画方法を説明するためのフロー
チャートである。
FIG. 15 is a flowchart for explaining a corner R drawing method.

【図16】本実施例の作図方法を用いて立体図を作成し
ようとするシャフトホルダーの平面図と側面図である。
16A and 16B are a plan view and a side view of a shaft holder for which a three-dimensional drawing is to be created using the drawing method of the present embodiment.

【図17】図16に示したシャフトホルダーの立体図の
作図手順を説明する図である。
FIG. 17 is a view for explaining the drawing procedure of the three-dimensional view of the shaft holder shown in FIG.

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

10 システム装置 11 キーボード 12 マウス 13 ディスプレイ 14 プロッタ 10 system unit 11 keyboard 12 mouse 13 display 14 plotter

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 立体図を表示手段の画面上に表示する際
に、表示基準となる各方向に係る基準データを、入力手
段から指定して記憶手段に記憶し、 前記表示手段の画面上に表示される線分に関するデータ
を、三次元データとして前記入力手段から入力し、 該入力された線分に関する三次元データを、前記基準デ
ータに基づき二次元座標系に変換して線分表示用データ
を作成して前記記憶手段に記憶し、 前記入力された線分に関する三次元データに基づいて二
次元座標系の楕円曲線表示用データを作成して前記記憶
手段に記憶し、 該記憶手段に記憶された線分表示用データと楕円曲線表
示用データとを前記表示手段の画面上に表示することを
特徴とする立体図の作図方法。
1. When displaying a stereoscopic view on the screen of the display means, reference data relating to each direction which is a display reference is designated from the input means and stored in the storage means, and is displayed on the screen of the display means. Data about the displayed line segment is input as three-dimensional data from the input means, and the three-dimensional data about the input line segment is converted into a two-dimensional coordinate system based on the reference data to display line segment data. And storing it in the storage means, creating elliptic curve display data of a two-dimensional coordinate system based on the input three-dimensional data relating to the line segment, storing it in the storage means, and storing it in the storage means. A method for drawing a three-dimensional diagram, characterized in that the displayed line segment display data and elliptic curve display data are displayed on the screen of the display means.
JP05324658A 1993-12-22 1993-12-22 How to draw 3D drawings Expired - Fee Related JP3099620B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05324658A JP3099620B2 (en) 1993-12-22 1993-12-22 How to draw 3D drawings

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05324658A JP3099620B2 (en) 1993-12-22 1993-12-22 How to draw 3D drawings

Publications (2)

Publication Number Publication Date
JPH07182400A true JPH07182400A (en) 1995-07-21
JP3099620B2 JP3099620B2 (en) 2000-10-16

Family

ID=18168289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05324658A Expired - Fee Related JP3099620B2 (en) 1993-12-22 1993-12-22 How to draw 3D drawings

Country Status (1)

Country Link
JP (1) JP3099620B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009245335A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Image generating device, and printing device
JP2009245343A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Image generating device and printing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009245335A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Image generating device, and printing device
JP2009245343A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Image generating device and printing device
JP4518172B2 (en) * 2008-03-31 2010-08-04 ブラザー工業株式会社 Image generating apparatus and printing apparatus
JP4572947B2 (en) * 2008-03-31 2010-11-04 ブラザー工業株式会社 Image generating apparatus and printing apparatus
US8384951B2 (en) 2008-03-31 2013-02-26 Brother Kogyo Kabushiki Kaisha Image generating devices and printing devices that generate gradations using symmetry and methods for generating gradations using symmetry

Also Published As

Publication number Publication date
JP3099620B2 (en) 2000-10-16

Similar Documents

Publication Publication Date Title
JP2892423B2 (en) Image display device and image display method
US5003498A (en) Graphic display method
EP0248919B1 (en) Method for generating representations of 3-dimensional objects and system performing this method
US7149668B2 (en) Visualization of workpieces during simulation of milling processes
JPH05342310A (en) Method and device for three-dimensional conversion of linear element data
JPH10283158A (en) Stereoscopic display device for window and method therefor
JP2853355B2 (en) 3D graphic data generator
JPH07175843A (en) Mixing method of edge
JP4046370B2 (en) 3D shape drawing method
JPH07182400A (en) Method for plotting solid figure
JPH0612560B2 (en) 3D drawing method
JPH07234949A (en) Method and system for supporting preparation of perspective drawing
JPH02150968A (en) Three-dimensional cursor controller
JPH06168300A (en) Three-dimensional shape input device
JPH0973476A (en) Three-dimensional shape information input device
JPH05298413A (en) Graphic processor
JPH07200875A (en) Display position changing method for three-dimensional model
JPH08106550A (en) Projection drawing preparing device
JPH07114655A (en) Graphic processor
JP6286591B2 (en) Reinforcement verification support device and program thereof
JPH05134729A (en) System for displaying dimension and parts number on three-dimensional image in cad/cam
JPH0580832A (en) Magnification plotting method in numerical controller
JPS60201473A (en) Trihedral drawing input device
JPH11282521A (en) Numerical controller and three-dimensional coordinate position inputting method
JPH0546728A (en) Three-dimensional projection body forming system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000718

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees