JPH0648460B2 - Coordinate scale display method - Google Patents

Coordinate scale display method

Info

Publication number
JPH0648460B2
JPH0648460B2 JP2153591A JP15359190A JPH0648460B2 JP H0648460 B2 JPH0648460 B2 JP H0648460B2 JP 2153591 A JP2153591 A JP 2153591A JP 15359190 A JP15359190 A JP 15359190A JP H0648460 B2 JPH0648460 B2 JP H0648460B2
Authority
JP
Japan
Prior art keywords
coordinate
scale
coordinate scale
display
designated
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.)
Expired - Fee Related
Application number
JP2153591A
Other languages
Japanese (ja)
Other versions
JPH0447327A (en
Inventor
将光 石原
Original Assignee
スーパーソフトウェア株式会社
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 スーパーソフトウェア株式会社 filed Critical スーパーソフトウェア株式会社
Priority to JP2153591A priority Critical patent/JPH0648460B2/en
Publication of JPH0447327A publication Critical patent/JPH0447327A/en
Publication of JPH0648460B2 publication Critical patent/JPH0648460B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、例えばCAD(Computer Aided Design)シ
ステムにおいて、図形の入力操作を補助するために、表
示画面に座標スケールを表示させるための座標スケール
表示方式に関する。
The present invention relates to a coordinate scale for displaying a coordinate scale on a display screen in a CAD (Computer Aided Design) system, for example, in order to assist a figure input operation. Regarding display method.

[従来の技術] 一般にCADシステムでは、オペレータがCRTディス
プレイ等の表示画面を見ながらカーソルを移動させ、カ
ーソルが所望の位置に移動した状態で例えば「実行/選
択キー」を操作することによりその座標データを確定
し、これにより表示画面上に所望の図形を作成するよう
にしている。このため、図形を能率良く作成するために
は座標位置を如何に決定するかが重要な課題となる。
[Prior Art] Generally, in a CAD system, an operator moves a cursor while looking at a display screen such as a CRT display, and when the cursor moves to a desired position, for example, an "execute / selection key" is used to move the coordinates. The data is fixed, and a desired figure is created on the display screen. Therefore, how to determine the coordinate position is an important issue for efficiently creating the figure.

そこで従来では、例えば表示画面全体にグリッド点や方
眼状の入力補助線を表示し、このグリッド点や入力補助
線の交点を基準に図形の座標位置を決定したり、また表
示画面に座標スケールを固定的に表示させ、この座標ス
ケールに付されている目盛を参照して図形の座標位置を
決定するようにしている。
Therefore, in the past, for example, a grid point or a grid-shaped input auxiliary line is displayed on the entire display screen, the coordinate position of the figure is determined based on the intersection of the grid point and the input auxiliary line, and a coordinate scale is displayed on the display screen. The coordinates are fixedly displayed, and the coordinate position of the figure is determined by referring to the scale attached to the coordinate scale.

[発明が解決しようとする課題] ところが、このような従来の方式では、 表示画面全体にグリッド点や入力補助線が常に表示さ
れるため、表示画面に表示された図形が見難くくなる場
合がある。
[Problems to be Solved by the Invention] However, in such a conventional method, since the grid points and the input auxiliary lines are always displayed on the entire display screen, the graphic displayed on the display screen may be difficult to see. is there.

座標スケールが固定的に表示されているため、この座
標スケールの表示位置から離れている位置で図形を作成
する場合には座標スケールの目盛を参照し難くなり、こ
の結果図形の作製能率が低くなる。
Since the coordinate scale is fixedly displayed, it is difficult to refer to the scale on the coordinate scale when creating a figure at a position away from the display position of this coordinate scale, and as a result, the efficiency of figure creation is reduced. .

等の改善すべき課題があった。There were issues to be improved.

そこで本発明は上記事情に着目し、座標スケールを常に
有効的に使用できるようにして座標位置の決定を簡単か
つ正確に行なえるようにし、これにより図形の作成能率
を高め得る座標スケール表示方式を提供することを目的
とする。
Therefore, the present invention focuses on the above situation and enables a coordinate scale to be always used effectively so that the coordinate position can be easily and accurately determined, thereby providing a coordinate scale display method capable of increasing the efficiency of creating a figure. The purpose is to provide.

また本発明の他の目的は、如何なる長さおよび方向の図
形も簡単かつ正確に作成することができる座標スケール
表示方式を提供することである。
Another object of the present invention is to provide a coordinate scale display system capable of easily and accurately creating a graphic of any length and direction.

さらに本発明の別の目的は、座標スケールの初期位置を
任意に設定できるようにして、図形の初期座標を簡単に
決定することができる座標スケール表示方式を提供する
ことである。
Still another object of the present invention is to provide a coordinate scale display method that allows the initial position of the coordinate scale to be arbitrarily set and allows the initial coordinates of a graphic to be easily determined.

[課題を解決するための手段] 本発明は、目盛を有する座標スケールを表示図面に表示
し、この座標スケールを参照して図形を入力するシステ
ムにおいて、前記図形を入力するための座標が指定され
る毎に、この指定操作に応動し、前記指定された座標を
前記座標スケールの表示位置の基準位置とすることによ
って前記座標スケールを表示位置を逐次変化させるよう
にしたものである。
[Means for Solving the Problem] In the present invention, a coordinate scale having scales is displayed on a display drawing, and in a system for inputting a figure with reference to the coordinate scale, coordinates for inputting the figure are designated. Each time the display position of the coordinate scale is changed, the display position of the coordinate scale is sequentially changed by making the specified coordinates the reference position of the display position of the coordinate scale.

また他の本発明は、目盛を有する座標スケールを表示図
面に表示し、この座標スケールを参照して図形を入力す
るシステムにおいて、表示中の座標スケールの目盛間隔
および回転角を入力するための入力手段を備え、前記図
形を入力するための座標が指定される毎に、この指定操
作に応動し、前記指定された座標を前記座標スケールの
表示位置の基準位置とすることによって前記座標スケー
ルの表示位置を逐次変化させるとともに、前記入力手段
により入力された前記目盛間隔に対応する目盛の表示パ
ターンを前記座標スケールに重ねて表示し、さらに前記
入力手段により入力された前記回転角に応じて前記座標
スケールの表示方向を前記座標スケールの原点を中心に
回転させるようにしたものである。
Still another aspect of the present invention is a system for displaying a coordinate scale having a scale on a display drawing and inputting a figure by referring to the coordinate scale, and an input for inputting a scale interval and a rotation angle of the coordinate scale being displayed. Means for displaying the coordinate scale by responding to the designation operation every time the coordinate for inputting the graphic is designated and setting the designated coordinate as the reference position of the display position of the coordinate scale. While sequentially changing the position, the display pattern of the scale corresponding to the scale interval input by the input means is superimposed and displayed on the coordinate scale, and further the coordinates according to the rotation angle input by the input means. The display direction of the scale is rotated around the origin of the coordinate scale.

さらに別の本発明は、目盛を有する座標スケールを表示
画面に表示し、この座標スケールを参照で図形を入力す
るシステムにおいて、前記座標スケールの表示位置を自
動的に移動させるかまたは手動操作により移動させるか
を指定するための移動モード指定手段を備え、この移動
モード指定手段により自動移動モードが指定されている
状態では、前記図形を入力するための座標が指定される
毎に、この指定操作に応動し、前記指定された座標を前
記座標スケールの表示位置の基準位置とすることによっ
て前記座標スケールの表示位置を逐次変化させ、また前
記移動モード指定手段により手動移動モードが指定され
ている状態では、座標スケールの移動先の座標データが
指定される毎に、この指定操作に応動し、前記指定され
た座標を前記座標スケールの表示位置の基準位置とする
ことによって前記座標スケールの表示位置を変化させる
ようにしたものである。
Still another aspect of the present invention is a system for displaying a coordinate scale having a scale on a display screen and inputting a figure by referring to the coordinate scale, in which the display position of the coordinate scale is automatically moved or manually moved. In the state in which the movement mode designating means for designating whether to perform the movement is designated and the automatic movement mode is designated by the movement mode designating means, this designation operation is performed every time the coordinates for inputting the figure are designated. In response to the change, the display position of the coordinate scale is sequentially changed by setting the designated coordinate as the reference position of the display position of the coordinate scale, and in the state where the manual movement mode is designated by the movement mode designating means. , Each time the coordinate data of the destination of the coordinate scale is designated, the designated coordinate is converted to the coordinate by responding to this designation operation. It is obtained so as to change the display position of the coordinate scale by a reference position of the display position of the scale.

[作用] この結果本発明によれば、図形の座標データが入力され
る毎に、座標スケールの表示位置がいま入力された座標
位置に自動的に追従して移動するので、次の座標位置を
決定する際には上記移動された座標スケールをそのまま
原点として用いることができ、これにより新たな座標位
置を簡単かつ正確に決定することが可能となる。したが
って、座標スケールを固定表示した場合に比べて、図形
の作成能率を大幅に高めることができる。
[Operation] As a result, according to the present invention, every time coordinate data of a figure is input, the display position of the coordinate scale automatically follows and moves to the coordinate position that has just been input. When making the determination, the moved coordinate scale can be used as it is as the origin, whereby a new coordinate position can be determined easily and accurately. Therefore, as compared with the case where the coordinate scale is fixedly displayed, the efficiency of creating a figure can be significantly increased.

また他の本発明によれば、上記した座標スケールの自動
移動機能に加えて、座標スケールの目盛間隔および角度
を可変設定する機能を有しているので、次の座標位置ま
での距離および方向に応じて座標スケールの目盛間隔お
よび回転角を入力すれば、座標スケールの目盛間隔およ
び回転角度を適宜変更することができる。したがって、
距離および方向が変化する場合でも、座標スケールをそ
のまま使用して次の座標位置を能率良く決定することが
可能となる。
According to another aspect of the present invention, in addition to the above-described automatic movement function of the coordinate scale, it has a function of variably setting the scale interval and the angle of the coordinate scale. Accordingly, by inputting the scale interval and the rotation angle of the coordinate scale, the scale interval and the rotation angle of the coordinate scale can be changed appropriately. Therefore,
Even when the distance and the direction change, the coordinate scale can be used as it is to efficiently determine the next coordinate position.

さらに別の本発明によれば、座標スケールの自動移動モ
ードに加えて、座標スケールの手動移動モードを備えて
いるので、座標スケールの初期位置を手動で任意に設定
することが可能となり、これにより図形の初期座標をも
簡単に決定することができる。
According to still another aspect of the present invention, in addition to the automatic movement mode of the coordinate scale, the manual movement mode of the coordinate scale is provided, so that the initial position of the coordinate scale can be manually set arbitrarily. The initial coordinates of the figure can also be easily determined.

[実施例] 第1図は、本発明の一実施例における座標スケール表示
方式を適用したCADシステムの概略構成図である。
[Embodiment] FIG. 1 is a schematic configuration diagram of a CAD system to which a coordinate scale display system according to an embodiment of the present invention is applied.

このシステムは、制御部(CPU)1を有し、このCP
U1に対しバス2を介してプログラムROM3、データ
RAM4および外部記憶装置からなるデータベース5が
それぞれ接続されている。プログラムROM3には、図
形の作成に必要な各種制御プログラムが予め記憶されて
いる。データRAM4には、図形の作成中の一時記憶す
る必要がある座標データ等が記憶される。データベース
5には、図形を作成する上で必要な表示パターン等の種
々のデータが予め記憶されている。
This system has a control unit (CPU) 1
A database 5 including a program ROM 3, a data RAM 4, and an external storage device is connected to U1 via a bus 2. The program ROM 3 stores in advance various control programs necessary for creating graphics. The data RAM 4 stores coordinate data and the like that need to be temporarily stored while the figure is being created. The database 5 stores in advance various data such as display patterns necessary for creating graphics.

さらに上記CPU1には、バス2を介してキーボードイ
ンタフェース6および表示インタフェース7がそれぞれ
接続されている。キーボードインタフェース6にはキー
ボード8が接続され、キーボード8により入力されたデ
ータはキーボードインタフェース6を介してCPU1に
取り込まれる。一方表示インタフェース7にはCRTデ
ィスプレイからなる表示装置9が接続されており、CP
U1などから出力された表示データは表示インタフェー
ス7を介して表示装置9に供給されて表示される。
Further, a keyboard interface 6 and a display interface 7 are connected to the CPU 1 via a bus 2. A keyboard 8 is connected to the keyboard interface 6, and the data input by the keyboard 8 is taken into the CPU 1 via the keyboard interface 6. On the other hand, a display device 9 composed of a CRT display is connected to the display interface 7,
The display data output from U1 or the like is supplied to the display device 9 via the display interface 7 and displayed.

ところでCPU1は、例えばマイクロコンピュータから
なるもので、その制御機能として、図形を作成するため
に使用する通常の制御手段に加えて、座標スケール自動
移動制御手段11と、座標スケール手動移動制御手段1
2と、座標スケール変更制御手段13とを有している。
By the way, the CPU 1 is composed of, for example, a microcomputer, and as its control function, in addition to a normal control means used for creating a figure, a coordinate scale automatic movement control means 11 and a coordinate scale manual movement control means 1
2 and coordinate scale change control means 13.

座標スケール自動移動制御手段11は、座標スケールの
自動移動モードが指定されている状態で、キーボード8
により図形の始点座標や終点座標等の図形の座標データ
が入力されたときに、表示装置9における座標スケール
の表示位置をいま入力された図形の座標データ対応する
座標位置を原点とする位置に移動させるものである。
The coordinate scale automatic movement control means 11 controls the keyboard 8 while the automatic movement mode of the coordinate scale is designated.
When the coordinate data of the figure such as the start point coordinate and the end point coordinate of the figure is input by, the display position of the coordinate scale on the display device 9 is moved to the position whose origin is the coordinate position corresponding to the coordinate data of the figure just input. It is what makes me.

座標スケール手動移動制御手段12は、座標スケールの
手動移動モードが指定されている状態で、キーボード8
により移動先の座標データが入力されたときに、表示装
置9における座標スケールの表示位置をいま入力された
移動先の座標データに対応する座標位置を原点とする位
置に移動させるものである。
The coordinate scale manual movement control means 12 operates in the keyboard 8 while the manual movement mode of the coordinate scale is designated.
When the coordinate data of the moving destination is input by, the display position of the coordinate scale on the display device 9 is moved to the position whose origin is the coordinate position corresponding to the coordinate data of the input moving destination.

座標スケール変更制御手段13は、キーボード8により
座標スケールの目盛間隔および回転角のデータが入力さ
れた場合に、座標スケールの目盛表示を上記目盛間隔を
応じて変更するとともに、上記回転角に応じて座標スケ
ールの表示位置をその原点を中心に回転させるものであ
る。
The coordinate scale change control means 13 changes the scale display of the coordinate scale according to the scale interval when the scale interval and the rotation angle data of the coordinate scale are input by the keyboard 8 and also according to the rotation angle. The display position of the coordinate scale is rotated around its origin.

次に、以上の構成に基づいて本実施例の座標スケール表
示方式を説明する。
Next, the coordinate scale display method of this embodiment will be described based on the above configuration.

先ず、自動移動モードを設定して図形を入力する場合に
ついて述べる。
First, the case where the automatic movement mode is set and a figure is input will be described.

図形の作成処理をスタートすると、CPU1は第4図
(a)に示す如くステップ4aで予め設定してある目盛
間隔および回転角度の初期値を認識し、これらのデータ
に応じてステップ4bにより座標スケールの初期パター
ンを表示装置9に表示させる。尚、目盛間隔および回転
角の初期データとしては、例えば目盛間隔=1,回転角
=0°に設定される。第2図(a)はこの場合の座標ス
ケールの初期表示結果の一例を示すものである。
When the graphic creation process is started, the CPU 1 recognizes the preset scale interval and the initial value of the rotation angle in step 4a as shown in FIG. 4 (a), and in accordance with these data, the coordinate scale is executed in step 4b. The initial pattern of is displayed on the display device 9. As the initial data of the scale interval and the rotation angle, for example, the scale interval = 1 and the rotation angle = 0 ° are set. FIG. 2 (a) shows an example of the initial display result of the coordinate scale in this case.

さて、この状態でCPU1は、移動モードが自動移動モ
ードに設定されているか手動移動モードに設定されてい
るかの判定(ステップ4c)と、座標スケールの変更入
力が行なわれたか否かの判定(ステップ4d)と、図形
の始点座標データが入力されたか否かの判定(ステップ
4e)とを繰り返し行なっている。そして、この状態で
いま例えばオペレータが図示しないカーソルを第2図
(a)のPへ移動させてこのPを始点座標として確
定操作したとする。そうすると、CPU1はステップ4
eからステップ4fに移行してここで上記入力された始
点座標データをRAM4に一時記憶したのち、ステップ
4gで旧座標スケールを消去するともに、ステップ4h
で第2図(b)に示す如く上記始点座標Pを原点とし
て新しい座標スケールを表示させる。しかして、座標ス
ケールは自動的に始点座標位置に移動する。
In this state, the CPU 1 determines whether the movement mode is set to the automatic movement mode or the manual movement mode (step 4c), and whether the coordinate scale change input is performed (step 4c). 4d) and the determination as to whether or not the starting point coordinate data of the figure has been input (step 4e) are repeated. Then, in this state, it is assumed that, for example, the operator moves a cursor (not shown) to P 1 in FIG. 2 (a) and performs a definite operation with this P 1 as the starting point coordinate. Then, the CPU 1 executes step 4
After shifting from e to step 4f, the input starting point coordinate data is temporarily stored in the RAM 4 and then the old coordinate scale is erased in step 4g.
Then, as shown in FIG. 2B, a new coordinate scale is displayed with the starting point coordinate P 1 as the origin. Then, the coordinate scale automatically moves to the starting point coordinate position.

そうして始点位置座標が入力されると、CPU1は第4
図(b)に示す如く座標スケールの変更入力が行なわれ
たか否かの判定(ステップ4i)と、図形の終点座標デ
ータが入力されたか否かの判定(ステップ4j)とを繰
り返し行なっている。そして、この状態でオペレータが
例えば始点座標Pの位置から30°右斜め上方へ10.5mm
の長さの直線を引くべく、目盛間隔および回転角の変更
データを入力したとする。そうすると、CPU1は座標
スケールの変更制御を実行する。すなわち、第6図に示
す如くステップ6aでキーボード8により入力された目
盛間隔および回転角のデータをキーボードインタフェー
ス6を介して取り込み、ステップ6bでRAM4にそれ
まで記憶されていた目盛間隔をおよび回転角の初期デー
タを上記新たに入力されたデータに書換える。そして、
ステップ6cで新座標スケールの表示位置を演算し、ス
テップ6dでこの新座標スケールを表示させる。例え
ば、いま上記したように始点座標Pの位置から30°右
斜め上方へ10.5mmの長さの直線を引く場合に応じて、目
盛間隔=2.1,回転角=30°が入力されたとすると、表
示装置9には第2図(c)に示す如く2.1mmのピッチで
目盛が表示されかつ原点を中心に30°回転された座標ス
ケールが表示される。
Then, when the starting point position coordinates are input, the CPU 1 executes the fourth
As shown in FIG. 6B, it is repeatedly determined whether or not the coordinate scale is changed and input (step 4i) and whether or not the end point coordinate data of the graphic is input (step 4j). Then, in this state, the operator moves, for example, 10.5 mm from the position of the starting point coordinate P 1 to the upper right 30 °
It is assumed that the change data of the scale interval and the rotation angle is input in order to draw the straight line of the length. Then, the CPU 1 executes the coordinate scale change control. That is, as shown in FIG. 6, the scale interval and rotation angle data input by the keyboard 8 in step 6a are fetched through the keyboard interface 6, and the scale interval and rotation angle stored in the RAM 4 are stored in step 6b. The initial data of is rewritten with the newly input data. And
The display position of the new coordinate scale is calculated in step 6c, and this new coordinate scale is displayed in step 6d. For example, assuming that a scale interval = 2.1 and a rotation angle = 30 ° are input when a straight line with a length of 10.5 mm is drawn diagonally upward 30 ° from the position of the starting point coordinate P 1 as described above, As shown in FIG. 2 (c), the display device 9 displays a scale at a pitch of 2.1 mm and a coordinate scale rotated by 30 ° about the origin.

そして、この状態でオペレータが、カーソルを座標スケ
ールのX軸に沿って10.5mmに相当する5目盛目の位置P
に移動させ、この位置Pで終点座標データの確定操
作を行なったとする。そうすると、CPU1はステップ
4jからステップ4kに移行してここで上記終点座標デ
ータをRAM4に記憶したのち、ステップ41で第2図
(d)に示す如く始点Pから終点Pに至る直線を表
示する。そして、CPU1はステップ4mで旧座標スケ
ールを消去したのち、ステップ4nで第2図(d)に示
す如く上記終点座標Pを原点とする新座標スケールを
表示させる。
Then, in this state, the operator moves the cursor along the X-axis of the coordinate scale to the position P on the fifth scale corresponding to 10.5 mm.
It is assumed that it is moved to 2 and the final point coordinate data is confirmed at this position P 2 . Then, the CPU 1 shifts from step 4j to step 4k, stores the end point coordinate data in the RAM 4 here, and then displays the straight line from the start point P 1 to the end point P 2 in step 41 as shown in FIG. 2 (d). To do. Then, the CPU 1 erases the old coordinate scale in step 4m, and then displays the new coordinate scale having the end point coordinate P 2 as the origin as shown in FIG. 2 (d) in step 4n.

かくして、システムにはP−P間の直線図形が入力
される。
Thus, a straight line figure between P 1 and P 2 is input to the system.

次に、自動移動モードおよび手動移動モードをそれぞれ
使用して図形を入力する場合について述べる。
Next, the case of inputting a figure using the automatic movement mode and the manual movement mode will be described.

例えば、第3図(a)に示す如く直線図形L1の入力を
終了したのち、続いて第3図(f)に示す直線図形L2
を入力する場合には、先ず座標スケールの移動モードを
キーボード8を操作することにより自動移動モードから
手動移動モードに切換える。そうすると、CPU1はス
テップ4cで移動モードが手動モードに設定されている
と判定して、以後手動移動制御を実行する。
For example, after the input of the straight line figure L1 as shown in FIG. 3 (a) is completed, the straight line figure L2 shown in FIG.
When inputting, the coordinate scale movement mode is first switched from the automatic movement mode to the manual movement mode by operating the keyboard 8. Then, the CPU 1 determines in step 4c that the movement mode is set to the manual mode, and thereafter executes the manual movement control.

すなわち、CPU1は第5図に示す如く先ず座標スケー
ルの変更入力が行なわれたか否かの判定(ステップ5
a)と、移動先の座標データが入力されたか否かの判定
(ステップ5b)とを繰り返し行なう。そして、この状
態でオペレータが例えばカーソルを座標スケールのY軸
に沿って5目盛移動させ、この位置Pで移動先の確定
操作を行なったとする。そうすると、CPU1はステッ
プ5bからステップ5cに移行してここで上記移動先座
標データPをRAM4に記憶したのち、ステップ5d
で旧座標スケールを消去するとともに、ステップ5eで
上記移動先座標Pを原点とする新座標スケールを表示
させる。しかして、表示装置9には第3図(b)に示す
如くPを原点とする座標スケールが表示される。
That is, as shown in FIG. 5, the CPU 1 first determines whether or not a coordinate scale change input has been made (step 5).
The step a) and the determination as to whether or not the coordinate data of the moving destination has been input (step 5b) are repeated. Then, in this state, it is assumed that the operator moves the cursor by 5 scales along the Y-axis of the coordinate scale and performs the operation of confirming the movement destination at this position P 0 . Then, the CPU 1 shifts from step 5b to step 5c, stores the moving destination coordinate data P 0 in the RAM 4 here, and then executes step 5d.
In step 5e, the old coordinate scale is erased, and in step 5e, the new coordinate scale having the origin of the destination coordinate P 0 is displayed. Then, the display device 9 displays a coordinate scale having the origin at P 0 as shown in FIG. 3 (b).

続いて、オペレータがカーソルを座標スケールのX軸に
沿って5目盛目まで移動させ、この位置P1で移動先の
確定操作を行なうと、CPU1は上記Pの場合と同様
にステップ5cで上記移動先の座標データPをRAM
4に記憶したのち、ステップ5dで旧座標スケールを消
去するとともに、ステップ5eで第3図(c)に示す如
く上記Pを原点とする新座標スケールを表示させる。
Subsequently, when the operator moves the cursor along the X axis of the coordinate scale to the 5th graduation and performs the operation of confirming the movement destination at this position P1, the CPU 1 moves in step 5c in the same manner as in the case of P 0. The previous coordinate data P 1 is stored in RAM
After storing in step 4, the old coordinate scale is erased in step 5d, and the new coordinate scale whose origin is P 1 is displayed in step 5e as shown in FIG. 3 (c).

かくして、手動操作による座標スケールの表示位置の移
動は完了する。
Thus, the movement of the display position of the coordinate scale by the manual operation is completed.

次に、移動モードを自動移動モードに切換えたのち、オ
ペレータがカーソルを座標スケールのY軸に沿って3目
盛移動させ、この位置Pを始点として座標データの確
定操作を行なったとする。そうすると、CPU1はステ
ップ4fで上記始点座標データPをRAM4に一時記
憶したのち、ステップ4gで旧座標スケールを消去する
とともに、ステップ5hで上記始点座標Pを原点とす
る位置に新座標スケールを表示させる。しかして、座標
スケールの表示位置は、第3図(d)に示す如く始点座
標の位置に自動的に移動される。
Next, it is assumed that after the movement mode is switched to the automatic movement mode, the operator moves the cursor by three scales along the Y-axis of the coordinate scale, and the coordinate data is fixed with this position P 2 as the starting point. Then, the CPU 1 temporarily stores the starting point coordinate data P 2 in the RAM 4 in step 4f, erases the old coordinate scale in step 4g, and sets a new coordinate scale in a position where the starting point coordinate P 2 is the origin in step 5h. Display it. Then, the display position of the coordinate scale is automatically moved to the position of the starting point coordinate as shown in FIG.

この状態で、座標スケールを例えば30°回転させるべ
く、オペレータが回転角データを入力すると、CPU1
は先に述べた前記第2図(c)の場合と同様に、第6図
に従って座標スケールの回転制御を行なう。したがっ
て、表示中の座標スケールは第3図(e)に示す如く始
点座標Pを中心に30°回転される。そして、この状態
でカーソルを座標スケールのX軸に沿って4目盛移動さ
せ、この位置Pを終点位置として座標の確定操作を行
なうと、CPU1はステップ41で第3図(f)を示す
如く始点Pから終点Pに至る直線図形L2を表示さ
せ、しかるのちステップ4mで旧座標スケールを消去す
るとともに、ステップ4nで第3図(f)に示す如く上
記終点座標Pを原点とする位置に新座標スケールを表
示させる。かくして、直線図形L1に対し離間した位置
に直線図形L2が入力される。
In this state, when the operator inputs rotation angle data to rotate the coordinate scale by 30 °, for example, the CPU 1
Performs rotation control of the coordinate scale in accordance with FIG. 6 as in the case of FIG. 2 (c) described above. Therefore, the coordinate scale being displayed is rotated by 30 ° about the starting point coordinate P 2 as shown in FIG. 3 (e). Then, in this state the cursor is 4 scale moves along the X-axis of the coordinate scale, when the confirmation operation coordinate the position P 3 as an end point position, CPU 1 is as shown the FIG. 3 in step 41 (f) to display the straight line graphic L2 passing from source P 2 to the end point P 3, erases the old coordinate scale in step 4m later scold, the origin of the end point coordinates P 3 as shown in FIG. 3 in step 4n (f) Display the new coordinate scale at the position. Thus, the straight line figure L2 is input at a position separated from the straight line figure L1.

尚、以上の説明では、図形の座標位置を入力する場合
も、また移動先の座標位置を入力する場合も、座標スケ
ールの軸上でかつ目盛と一致する位置に入力された場合
について説明した。しかし、操作によっては入力位置が
座標スケールの軸上の目盛位置から外れることも考えら
れる。そこで、本実施例のCPU1は、座標スケールの
各目盛位置毎に所定の入力許容エリアを設定し、入力さ
れた座標位置が座標スケールの軸上の目盛位置から多少
外れても、上記入力許容エリア内であれば、この入力デ
ータを正規の目盛位置でなされたものと看做して図形を
作成するようにしている。また反対に、入力位置が上記
入力許容エリアから外れている場合には、誤入力と判定
してこの入力を破棄するようにしている。
In the above description, the case of inputting the coordinate position of the figure and the coordinate position of the movement destination is input on the axis of the coordinate scale and at the position matching the scale. However, it is possible that the input position deviates from the scale position on the axis of the coordinate scale depending on the operation. Therefore, the CPU 1 of the present embodiment sets a predetermined input allowable area for each scale position of the coordinate scale, and even if the input coordinate position is slightly deviated from the scale position on the axis of the coordinate scale, the input allowable area is set. If it is within the range, the input data is regarded as the one made at the regular scale position and the figure is created. On the contrary, if the input position is out of the input allowable area, it is determined as an erroneous input and this input is discarded.

以上のように本実施例であれば、座標スケールの移動モ
ードを自動移動モードに設定しておけば、図形の始点座
標および終点座標を入力したときに、座標スケールの表
示位置がこれらの座標位置を原点とする位置に自動的に
移動される。すなわち、図形の作成位置に自動的に追従
して座標スケールが表示されている。また、各点におい
て座標スケールの目盛間隔および回転角のデータを入力
すれば、座標スケールに表示される目盛のピッチおよび
座標スケールの角度は任意に変更される。このため、例
えば連続した折れ線図形のように、始点および終点を次
々と指定することにより連続する図形を入力する場合に
は、各始点座標および終点座標の決定を座標スケールの
目盛をそのまま用いて簡単かつ迅速にしかも正確に行な
うことができ、これにより図形の作成能率を大幅に高め
ることができる。
As described above, according to the present embodiment, if the movement mode of the coordinate scale is set to the automatic movement mode, when the start point coordinate and the end point coordinate of the figure are input, the display position of the coordinate scale is these coordinate positions. Is automatically moved to the position where the origin is. That is, the coordinate scale is displayed automatically following the creation position of the figure. If the scale interval and rotation angle data of the coordinate scale is input at each point, the scale pitch and the coordinate scale angle displayed on the coordinate scale can be arbitrarily changed. For this reason, when inputting continuous figures by specifying the start point and end point one after another, such as a continuous polygonal figure, it is easy to determine each start point coordinate and end point coordinate by using the scale of the coordinate scale as it is. In addition, it can be performed quickly and accurately, which can greatly improve the efficiency of creating a figure.

また、手動移動モードを設定すると、座標スケールの移
動先の座標が入力されたときに、座標スケールの表示位
置が移動先の座標位置に移動される。このため、座標ス
ケールの初期位置を図形の入力とは無関係にオペレータ
が任意に簡単に設定することができる。
Further, when the manual movement mode is set, the display position of the coordinate scale is moved to the coordinate position of the movement destination when the coordinates of the movement destination of the coordinate scale are input. Therefore, the operator can easily set the initial position of the coordinate scale arbitrarily regardless of the figure input.

尚、本発明は上記実施例に限定されるものではない。例
えば、上記実施例では、自動移動モードにおいて座標ス
ケールはその軸に沿ってのみ自動移動できる場合につい
て説明したが、軸方向以外の如何なる方向へも自動移動
できるようにしてもよい。
The present invention is not limited to the above embodiment. For example, in the above embodiment, the case where the coordinate scale can be automatically moved only along the axis in the automatic movement mode has been described, but the coordinate scale may be automatically moved in any direction other than the axial direction.

また、前記実施例では座標スケールがX軸とY軸とから
なる二次元スケールの場合を例にとって説明したが、例
えば第7図に示す如くX軸、Y軸およびZ軸からなる三
次元スケールの場合にも同様に実施することができる。
In the above embodiment, the case where the coordinate scale is a two-dimensional scale composed of the X axis and the Y axis has been described as an example. However, as shown in FIG. 7, for example, a three-dimensional scale composed of the X axis, the Y axis and the Z axis is used. The same can be applied to the case.

さらに、座標スケールの表示色や表示濃度を、軸毎にあ
るいは同一軸上で領域毎に異ならせるようにしてもよ
い。
Further, the display color and display density of the coordinate scale may be different for each axis or for each area on the same axis.

その他、自動移動制御手段、手動移動手段および座標ス
ケール変更手段の構成や制御手順、制御内容等について
も、本発明の要旨を逸脱しない範囲を種々変形して実施
できる。
In addition, the configurations, control procedures, control contents, etc. of the automatic movement control means, the manual movement means, and the coordinate scale changing means can be variously modified and implemented without departing from the scope of the present invention.

[発明の効果] 以上詳述したように本発明は、目盛を有する座標スケー
ルを表示画面に表示し、この座標スケールを参照して図
形を入力するシステムにおいて、前記図形を入力するた
めの座標が指定される毎に、この指定操作に応動し、前
記指定された座標を前記座標スケールの表示位置の基準
位置とすることによって前記座標スケールの表示位置を
逐次変化させるようにしたものである。
EFFECTS OF THE INVENTION As described in detail above, the present invention displays a coordinate scale having a scale on a display screen and inputs a figure by referring to the coordinate scale. Each time it is designated, in response to this designation operation, the designated position is used as the reference position of the display position of the coordinate scale so that the display position of the coordinate scale is sequentially changed.

したがって本発明によれば、座標スケールを常に有効的
に使用することが可能となり、これにより座標位置の決
定を簡単かつ正確に行なうことができるようになって、
図形の作成能率を高め得る座標スケール表示方式を提供
することができる。
Therefore, according to the present invention, the coordinate scale can always be effectively used, which makes it possible to easily and accurately determine the coordinate position.
It is possible to provide a coordinate scale display method capable of increasing the efficiency of creating a figure.

また他の本発明は、目盛を有する座標スケールを表示画
面に表示し、この座標スケールを参照して図形を入力す
るシステムにおいて、表示中の座標スケールの目盛間隔
および回転角を入力するための入力手段を備え、前記図
形を入力するための座標が指定される毎に、この指定操
作に応動し、前記指定された座標を前記座標スケールの
表示位置の基準位置とすることによって前記座標スケー
ルの表示位置を逐次変化させるとともに、前記入力手段
により入力された前記目盛間隔に対応する目盛の表示パ
ターンを前記座標スケールに重ねて表示し、さらに前記
入力手段により入力された前記回転角に応じて前記座標
スケールの表示方向を前記座標スケールの原点を中心に
回転させるようにしたものである。
Still another aspect of the present invention is a system for displaying a coordinate scale having a scale on a display screen and inputting a figure by referring to the coordinate scale, and an input for inputting a scale interval and a rotation angle of the coordinate scale being displayed. Means for displaying the coordinate scale by responding to the designation operation every time the coordinate for inputting the graphic is designated and setting the designated coordinate as the reference position of the display position of the coordinate scale. While sequentially changing the position, the display pattern of the scale corresponding to the scale interval input by the input unit is displayed on the coordinate scale, and the coordinates are displayed according to the rotation angle input by the input unit. The display direction of the scale is rotated around the origin of the coordinate scale.

したがってこの他の本発明によれば、如何なる長さおよ
び方向の図形も簡単かつ正確に作成することができる座
標スケール表示方式を提供することができる。
Therefore, according to the other aspect of the present invention, it is possible to provide a coordinate scale display method capable of easily and accurately creating a graphic of any length and direction.

さらに別の本発明は、目盛を有する座標スケールを表示
画面に表示し、この座標スケールを参照て図形を入力す
るシステムにおいて、前記座標スケールの表示位置を自
動的に移動させるかまたは手動操作により移動させるか
を指定するための移動モード指定手段を備え、この移動
モード指定手段により自動移動モードが指定されている
状態では、前記図形を入力するための座標が指定される
毎に、この指定操作に応動し、前記指定された座標を前
記座標スケールの表示位置の基準位置とすることによっ
て前記座標スケールの表示位置を逐次変化させ、また前
記移動モード指定手段により手動移動モードが指定され
ている状態では、座標スケールの移動先の座標データが
指定される毎に、この指定操作に応動し、前記指定され
た座標を前記座標スケールの表示位置の基準位置とする
ことによって前記座標スケールの表示位置を変化させる
ようにしたものである。
Still another aspect of the present invention is a system in which a coordinate scale having a scale is displayed on a display screen and a figure is input with reference to the coordinate scale, the display position of the coordinate scale is automatically moved or manually moved. In the state in which the movement mode designating means for designating whether to perform the movement is designated and the automatic movement mode is designated by the movement mode designating means, this designation operation is performed every time the coordinates for inputting the figure are designated. In response to the change, the display position of the coordinate scale is sequentially changed by setting the designated coordinate as the reference position of the display position of the coordinate scale, and in the state where the manual movement mode is designated by the movement mode designating means. , Each time the coordinate data of the destination of the coordinate scale is designated, the designated coordinate is converted to the coordinate by responding to this designation operation. It is obtained so as to change the display position of the coordinate scale by a reference position of the display position of the scale.

したがってこの別の本発明によれば、座標スケールの初
期位置を任意に設定できるようにして、図形の初期座標
を簡単に決定することができる座標スケール表示方式を
提供することができる。
Therefore, according to another aspect of the present invention, it is possible to provide a coordinate scale display system in which the initial position of the coordinate scale can be arbitrarily set and the initial coordinates of the graphic can be easily determined.

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

第1図は本発明の一実施例における座標スケール表示方
式を適用したCADシステムの機能構成図、第2図およ
び第3図は座標スケールの移動状態の一例を説明するた
めの図、第4図乃至第6図は第1図に示したシステムに
おけるCPUの制御手順および制御内容を示すフローチ
ャート、第7図は座標スケールの他の表示例を示す図で
ある。 1…CPU、2…バス、3…ROM、4…RAM、5…
データベース、6…キーボードインタフェース、7…表
示インタフェース、8…キーボード、9…表示装置、1
1…座標スケール自動移動制御手段、12…座標スケー
ル手動移動制御手段、13…座標スケール変更制御手
段。
FIG. 1 is a functional block diagram of a CAD system to which a coordinate scale display system according to an embodiment of the present invention is applied, and FIGS. 2 and 3 are diagrams for explaining an example of a moving state of a coordinate scale, and FIG. 6 to FIG. 6 are flowcharts showing the control procedure and control contents of the CPU in the system shown in FIG. 1, and FIG. 7 is a diagram showing another display example of the coordinate scale. 1 ... CPU, 2 ... Bus, 3 ... ROM, 4 ... RAM, 5 ...
Database, 6 ... Keyboard interface, 7 ... Display interface, 8 ... Keyboard, 9 ... Display device, 1
1 ... Coordinate scale automatic movement control means, 12 ... Coordinate scale manual movement control means, 13 ... Coordinate scale change control means.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】目盛を有する座標スケールを表示画面に表
示し、この座標スケールを参照して図形を入力するシス
テムにおいて、 前記図形を入力するための座標が指定される毎に、この
指定操作に応動し、前記指定された座標を前記座標スケ
ールの表示位置の基準位置とすることによって前記座標
スケールの表示位置を逐次変化させる表示位置制御手段
を備えたことを特徴とする座標スケール表示方式。
1. A system in which a coordinate scale having a scale is displayed on a display screen and a figure is input with reference to the coordinate scale, each time a coordinate for inputting the figure is designated, the designation operation is performed. A coordinate scale display system comprising: a display position control unit that responds to the specified coordinates as a reference position of the display position of the coordinate scale to sequentially change the display position of the coordinate scale.
【請求項2】目盛を有する座標スケールを表示画面に表
示し、この座標スケールを参照して図形を入力するシス
テムにおいて、 表示中の座標スケールの目盛間隔および回転角を入力す
るための入力手段と、 前記図形を入力するための座標が指定される毎に、この
指定操作に応動し、前記指定された座標を前記座標スケ
ールの表示位置の基準位置とすることによって前記座標
スケールの表示位置を逐次変化させるとともに、前記入
力手段により入力された前記目盛間隔に対応する目盛の
表示パターンを前記座標スケールに重ねて表示し、さら
に前記入力手段により入力された前記回転角に応じて前
記座標スケールの表示方向を前記座標スケールの原点を
中心に回転させる表示位置制御手段とを具備したことを
特徴とする座標スケール表示方式。
2. A system for displaying a coordinate scale having a scale on a display screen and inputting a figure by referring to the coordinate scale, and input means for inputting a scale interval and a rotation angle of the coordinate scale being displayed. Each time the coordinates for inputting the figure are designated, the display position of the coordinate scale is sequentially determined by responding to the designation operation and setting the designated coordinate as the reference position of the display position of the coordinate scale. Along with the change, the display pattern of the scale corresponding to the scale interval input by the input means is superimposed and displayed on the coordinate scale, and the coordinate scale is displayed according to the rotation angle input by the input means. A coordinate scale display system, comprising: display position control means for rotating the direction around the origin of the coordinate scale.
【請求項3】目盛を有する座標スケールを表示画面に表
示し、この座標スケールを参照て図形を入力するシステ
ムにおいて、 前記座標スケールの表示位置を自動的に移動させるかま
たは手動操作により移動させるかを指定するための移動
モード指定手段と、 この移動モード指定手段により自動移動モードが指定さ
れている状態では、前記図形を入力するための座標が指
定される毎に、この指定操作に応動し、前記指定された
座標を前記座標スケールの表示位置の基準位置とするこ
とによって前記座標スケールの表示位置を逐次変化させ
る表示位置自動制御手段と、 前記移動モード指定手段により手動移動モードが指定さ
れている状態では、座標スケールの移動先の座標データ
が指定される毎に、この指定操作に応動し、前記指定さ
れた座標を前記座標スケールの表示位置の基準位置とす
ることによって前記座標スケールの表示位置を変化させ
る表示位置手動制御手段とを具備したことを特徴とする
座標スケール表示方式。
3. A system for displaying a coordinate scale having a scale on a display screen and inputting a figure with reference to the coordinate scale, wherein the display position of the coordinate scale is automatically moved or manually moved. In a state in which the movement mode designating means for designating and the automatic movement mode are designated by the movement mode designating means, each time the coordinates for inputting the figure are designated, in response to this designation operation, A display position automatic control unit that sequentially changes the display position of the coordinate scale by setting the designated coordinates as a reference position of the display position of the coordinate scale, and a manual movement mode is designated by the movement mode designation unit. In the state, every time the coordinate data of the movement destination of the coordinate scale is designated, the designated coordinate is responded to in response to this designation operation. Coordinate scale display method, characterized by comprising a display position manual control means for changing the display position of the coordinate scale by a reference position of the display position of the coordinate scale.
JP2153591A 1990-06-12 1990-06-12 Coordinate scale display method Expired - Fee Related JPH0648460B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2153591A JPH0648460B2 (en) 1990-06-12 1990-06-12 Coordinate scale display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2153591A JPH0648460B2 (en) 1990-06-12 1990-06-12 Coordinate scale display method

Publications (2)

Publication Number Publication Date
JPH0447327A JPH0447327A (en) 1992-02-17
JPH0648460B2 true JPH0648460B2 (en) 1994-06-22

Family

ID=15565842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2153591A Expired - Fee Related JPH0648460B2 (en) 1990-06-12 1990-06-12 Coordinate scale display method

Country Status (1)

Country Link
JP (1) JPH0648460B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4053642B2 (en) * 1998-01-12 2008-02-27 株式会社ミツトヨ Coordinate system setting method and image measuring apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2656484B2 (en) * 1987-04-13 1997-09-24 株式会社日立製作所 Drawing management method and apparatus
JPH0664589B2 (en) * 1988-12-06 1994-08-22 有限会社伊予エンジニアリング Drawing method in CAD system

Also Published As

Publication number Publication date
JPH0447327A (en) 1992-02-17

Similar Documents

Publication Publication Date Title
JPH01237882A (en) Graphic input/output device
JPH01209573A (en) Cad sketch input plotting method
US5483626A (en) Method and apparatus for transforming graphics
JP2828271B2 (en) Shape generation method in CAD system
JPH09190551A (en) Drawing method for three-dimensional shape
US6864885B2 (en) Graphic form correction method and apparatus for CAD system
JPH0648460B2 (en) Coordinate scale display method
KR20110071503A (en) Cutting shape input apparatus and method using cutting program in computer numarical control machine tools
JP3087517B2 (en) Instructions for creating fillet surface
JPH10240790A (en) Method for instructing formation of fillet surface
JPH06259488A (en) Drawing processing method and device
JPH0973476A (en) Three-dimensional shape information input device
JPH0546728A (en) Three-dimensional projection body forming system
JP3176414B2 (en) Sheet metal development diagram creation system
JP2636014B2 (en) Figure connection control method
JPS63223967A (en) Graphic input system
JP3470974B2 (en) Figure creation method and apparatus
JPH0664589B2 (en) Drawing method in CAD system
JP2575658B2 (en) String layout device
JP2666303B2 (en) Graphic display device
JP2879831B2 (en) Graphic element extraction method
JPH03189708A (en) Working shape copying method in cad/cam system for metalling mold
JPH05134729A (en) System for displaying dimension and parts number on three-dimensional image in cad/cam
JPH0433063A (en) Moving / copying system for cad system
JPH04358284A (en) Plotting method by computer aided design device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees