JPH0744310A - Graphic input device - Google Patents

Graphic input device

Info

Publication number
JPH0744310A
JPH0744310A JP16355393A JP16355393A JPH0744310A JP H0744310 A JPH0744310 A JP H0744310A JP 16355393 A JP16355393 A JP 16355393A JP 16355393 A JP16355393 A JP 16355393A JP H0744310 A JPH0744310 A JP H0744310A
Authority
JP
Japan
Prior art keywords
input
point
curve
points
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP16355393A
Other languages
Japanese (ja)
Inventor
Yumiko Takeda
由美子 武田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP16355393A priority Critical patent/JPH0744310A/en
Publication of JPH0744310A publication Critical patent/JPH0744310A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • User Interface Of Digital Computer (AREA)
  • Sewing Machines And Sewing (AREA)

Abstract

PURPOSE:To enable a user to easily and correctly input a curve in a simple constitution by warning an invalid state to an operator for input of the points set on a curve as long as the space set between the present input point and its precedent point is not included in a valid range. CONSTITUTION:An input means inputs the coordinate positions of the points set on a curve constructing a graphic, and a measuring device estimates the space set between two points supplied successively on the curve by the input means. Then a deciding means decides whether the measured space between both points is included in a prescribed range or not. If not included, i.e., when the present input point is too far from or too close to the precedent point, an information means informs a user of this fact and urges the user to input again these points. Then the user can always input the points on a curve with the optimum spaces secured among them in a simple way.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、図形上の座標を入力す
る図形入力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic input device for inputting coordinates on a graphic.

【0002】[0002]

【従来の技術】従来、図形上の点の座標位置を入力する
ためのデジタイザ装置のような図形入力装置では、図形
を構成する点を、例えば、図形上の角の点及び曲線上の
点の2種類により入力し、その入力された各点を、角の
点は直線でつなぎ、曲線上の点は円弧またはスプライン
曲線等でつないで、図形を作っていた。
2. Description of the Related Art Conventionally, in a figure input device such as a digitizer device for inputting the coordinate position of a point on a figure, the points forming the figure are, for example, corner points on the figure and points on the curve. Two types were input, and the input points were connected by straight lines at the corner points and arcs or spline curves at the points on the curve to form a figure.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た従来の図形入力装置によれば、特に、曲線上の点の入
力のし方によっては正確に曲線が再現できないことがあ
った。これは、曲線上の点を入力する間隔が大きすぎた
り、曲線上の点を入力する間隔の差が大きかったりする
ためである。また、反対に、小さな間隔で点を入力すれ
ば、曲線はより正確に再現できるが、入力する点の数が
膨大になるために、その入力操作が大変煩わしかった。
そのため、適当な間隔で曲線上の点を入力する必要があ
るが、この作業は使用者のカンや経験にまかされてお
り、最適な間隔で入力することは大変困難であった。
However, according to the above-mentioned conventional figure input device, the curve may not be reproduced accurately depending on the way of inputting points on the curve. This is because the intervals at which the points on the curve are input are too large, or the differences between the intervals at which the points on the curve are input are large. On the contrary, if points are input at small intervals, the curve can be reproduced more accurately, but the input operation is very troublesome because the number of input points becomes huge.
Therefore, it is necessary to input the points on the curve at appropriate intervals, but this work depends on the user's perception and experience, and it is very difficult to input at the optimum intervals.

【0004】本発明は上述した問題点を解決するために
なされたものであり、簡易な構成で、しかも、使用者が
簡単、かつより正確に曲線を入力できる図形入力装置を
提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and an object thereof is to provide a figure input device having a simple structure and allowing a user to easily and more accurately input a curve. And

【0005】[0005]

【課題を解決するための手段】前記目的を達成するため
に、本発明の図形入力装置は、図形を構成する曲線上の
点の座標位置を入力する入力手段と、その入力手段によ
って順に入力された曲線上の隣合う2点間の間隔を測定
する測定手段と、その測定手段によって測定された前記
間隔が一定の範囲内か否かを判別する判別手段と、その
判別手段によって前記間隔が一定の範囲内でないと判別
された時、使用者に対して報知を行う報知手段とを備え
ている。
In order to achieve the above-mentioned object, the figure input device of the present invention has an input means for inputting coordinate positions of points on a curve forming a figure, and the input means successively inputs the coordinate positions. Measuring means for measuring the distance between two adjacent points on the curved line, judging means for judging whether the distance measured by the measuring means is within a certain range, and the distance is fixed by the judging means. When it is determined that the value is not within the range, a notification unit that notifies the user is provided.

【0006】[0006]

【作用】前記の構成を有する本発明の図形入力装置によ
れば、入力手段により、図形を構成する曲線上の点の座
標位置を入力し、測定手段により、入力手段から順に入
力された曲線上の隣合う2点間の間隔を測定する。そし
て、判別手段が、測定手段によって測定された前記間隔
が一定の範囲内か否かを判別し、もし、一定の範囲内で
ないと判別した場合には、報知手段が使用者に対して報
知し、入力のし直しを促す。
According to the figure input device of the present invention having the above-mentioned configuration, the coordinate position of the point on the curve forming the figure is input by the input means, and the measuring means inputs the coordinate position on the curve in order from the input means. Measure the distance between two points next to each other. Then, the determining means determines whether or not the interval measured by the measuring means is within a certain range, and if it is determined that the interval is not within the certain range, the notifying means notifies the user. , Prompt for retyping.

【0007】[0007]

【実施例】以下に、本発明を具体化した一実施例を図面
を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be described below with reference to the drawings.

【0008】先ず、本装置の電気的制御構成を図2のブ
ロック図に基づいて説明する。
First, the electrical control configuration of this apparatus will be described with reference to the block diagram of FIG.

【0009】本実施例における図形入力装置は、システ
ム全体の制御を行う中央処理装置(CPU)21と、R
AM22と、ROM23と、デジタイザ等の座標入力装
置24と、入力された図形やその他の情報を表示するた
めの表示装置25と、入力された図形を印刷するための
印刷装置26と、ハードディスク等の読み出し書き込み
可能な外部記憶装置27と、ブザー等の音声出力装置2
8とを備えている。前記RAM22、ROM23、座標
入力装置24、表示装置25、印刷装置26、外部記憶
装置27及び音声出力装置28はそれぞれ前記CPU2
1に接続されている。
The graphic input device according to this embodiment includes a central processing unit (CPU) 21 for controlling the entire system, and an R.
AM 22, ROM 23, coordinate input device 24 such as a digitizer, display device 25 for displaying the input graphic or other information, printing device 26 for printing the input graphic, hard disk or the like. A readable / writable external storage device 27 and a sound output device 2 such as a buzzer
8 and. The RAM 22, the ROM 23, the coordinate input device 24, the display device 25, the printing device 26, the external storage device 27, and the voice output device 28 are the CPU 2 respectively.
Connected to 1.

【0010】前記RAM22には、各種のデータが格納
されるデータ領域221、プログラム実行のためのワー
キングエリア222、表示用データを書き込む表示用メ
モリ223等が設けられている。前記データ領域221
には、入力データバッファ224、点番号バッファ22
5、線入力フラグ226等が含まれる。
The RAM 22 is provided with a data area 221 for storing various data, a working area 222 for executing a program, a display memory 223 for writing display data, and the like. The data area 221
Include the input data buffer 224 and the point number buffer 22.
5, a line input flag 226 and the like are included.

【0011】前記ROM23には、システム全体を制御
するシステムプログラム231が格納されている。
A system program 231 for controlling the entire system is stored in the ROM 23.

【0012】前記座標入力装置24は、図形の曲線等に
おける点の座標位置を入力する入力手段を構成するもの
であり、図3に示すように、タブレット板241と、座
標指示器242と、座標入力装置24全体を制御するコ
ントローラ243と、中央処理装置(CPU)21にデ
ータを送信するインターフェースケーブル244とを備
えている。前記座標指示器242は、図4に示すよう
に、座標読み取り焦点245と、複数の指示ボタン24
6とを備えている。前記指示ボタン246には、角点指
定ボタン246A、カーブ点指定ボタン246B、線の
始点指定ボタン246C、線の終了指定ボタン246
D、図形終了ボタン246E及び終了ボタン246F等
を備えている。タブレット板241上で座標指示器24
2の各指示ボタン246A〜246Fが押下されると、
押下された時の座標読み取り焦点245のタブレット板
241上での座標値とボタンの種類がインターフェース
ケーブル244を介して中央処理装置21に送られる。
The coordinate input device 24 constitutes input means for inputting the coordinate position of a point on a curve of a figure, etc., and as shown in FIG. 3, a tablet plate 241, a coordinate indicator 242, and a coordinate. A controller 243 that controls the entire input device 24 and an interface cable 244 that transmits data to the central processing unit (CPU) 21 are provided. As shown in FIG. 4, the coordinate indicator 242 includes a coordinate reading focus 245 and a plurality of instruction buttons 24.
6 and. The instruction button 246 includes a corner point designation button 246A, a curve point designation button 246B, a line start point designation button 246C, and a line end designation button 246.
D, a graphic end button 246E, an end button 246F and the like are provided. The coordinate indicator 24 on the tablet plate 241
When each instruction button 246A to 246F of No. 2 is pressed,
The coordinate value on the tablet plate 241 of the coordinate reading focus 245 and the type of button when the button is pressed are sent to the central processing unit 21 via the interface cable 244.

【0013】前記表示装置25は、報知手段を構成する
ものでもあり、入力された図形やその他のデータの外、
エラーを示すメッセージ等を表示する。そして、入力し
た図形やメッセージ等を表示する表示画面251を含
む。
The display device 25 also constitutes an informing means, and in addition to the input figures and other data,
Displays a message indicating an error. It also includes a display screen 251 for displaying the input figures, messages, and the like.

【0014】前記印刷装置26は、入力された図形を印
刷するためのものである。
The printing device 26 is for printing the input graphic.

【0015】前記外部記憶装置27には、有効間隔最大
値271と有効間隔最小値272が格納されている。そ
の他、入力された図形等のデータを保存する。
The external storage device 27 stores a maximum valid interval value 271 and a minimum valid interval value 272. In addition, the input data such as figures is saved.

【0016】前記音声出力装置28は、報知手段を構成
するものであって、エラー時等に音をならして使用者に
報知する。
The voice output device 28 constitutes a notification means, and outputs a sound to notify the user when an error occurs.

【0017】本実施例は以上に説明した如く構成され
る。
This embodiment is constructed as described above.

【0018】以下に、前記構成に基づき、衣服の型紙図
形の入力作用を図5から図10までのフローチャートに
従って説明する。
Based on the above construction, the operation of inputting the pattern pattern of clothes will be described below with reference to the flow charts of FIGS.

【0019】電源の投入によりROM23に記憶された
システムプログラムが起動し実行される。システムプロ
グラムの起動により、座標入力装置24の初期設定を行
い(S1、Sはステップを示す。以下同様)、線入力フ
ラグ226にOFFをセットし(S2)、点番号バッフ
ァ225に初期値0をセットする(S3)。そして、座
標入力装置からの入力をオペレータに対してうながすメ
ッセージを含む初期画面を表示画面251に表示する
(S4)。図11は初期画面の1例である。
When the power is turned on, the system program stored in the ROM 23 is activated and executed. By starting the system program, the coordinate input device 24 is initialized (S1, S indicate steps. The same applies hereinafter), the line input flag 226 is set to OFF (S2), and the initial value 0 is set in the point number buffer 225. Set (S3). Then, an initial screen including a message prompting the operator to input from the coordinate input device is displayed on the display screen 251 (S4). FIG. 11 is an example of the initial screen.

【0020】次に、オペレータは図形入力装置24のタ
ブレット板241に入力したい型紙図形をセットし、型
紙図形の外周線上の各点の位置を線に沿って順番に、座
標指示器242の指定ボタン246を押下することによ
り入力する(S5)。即ち、座標指示器242の座標読
み取り焦点245を入力したい点に合わせ、図形の角の
点であれば座標指示器242の角点指定ボタン246A
を押下する。曲線上の点であればカーブ点指定ボタン2
46Bを押下する。曲線の両端は角点指定ボタン246
Aを押下する。また、1本のつながった線は、線の始点
指定ボタン246Cを押下することで始め、終点では線
の終点指定ボタン246Dを押下して終わる。1図形上
の線分をすべて入力し終わったら図形終了ボタン246
Eを押下する。システムを終了する時は終了ボタン24
6Fを押下する。
Next, the operator sets a pattern pattern to be input on the tablet board 241 of the pattern input device 24, and positions of respective points on the outer peripheral line of the pattern pattern are designated along the line in order and designated buttons of the coordinate indicator 242. It is input by pressing 246 (S5). That is, the coordinate reading focus 245 of the coordinate indicator 242 is aligned with the point to be input, and if it is a corner point of the figure, the corner point designation button 246A of the coordinate indicator 242 is selected.
Press. If it is a point on a curve, the curve point specification button 2
Press 46B. Both ends of the curve are designated as corner point buttons 246
Press A. Further, one continuous line is started by pressing the start point designation button 246C of the line, and ends at the end point by pressing the end point designation button 246D of the line. When all the line segments on one figure have been entered, the figure end button 246
Press E. Exit button 24 to exit the system
Press 6F.

【0021】指定ボタンが押下されたらボタンの種類を
調べ(S6)、線の始点指定ボタン246Cであれば線
の始点指定ボタン押下処理を行う(S7)。線の終点指
定ボタン246Dであれば線の終点指定ボタン押下処理
を(S8)、角点指定ボタン246Aであれば角点指定
ボタン押下処理(S9)を、カーブ点指定ボタン246
Bであればカーブ点指定ボタン押下処理(S10)を、
図形終了指定ボタン246Eであれば図形終了ボタン押
下処理(S11)をそれぞれ行う。そして、次の指定ボ
タンの入力を待つ(S5)。押下されたボタンが終了ボ
タンであれば、プログラムを終了する。線の始点指定ボ
タン押下処理、線の終点指定ボタン押下処理、角点指定
ボタン押下処理、カーブ点指定ボタン押下処理、図形終
了ボタン押下処理の詳細については後述する。
When the designated button is pressed, the type of the button is checked (S6), and if it is the line start point designation button 246C, the line start point designation button is pressed (S7). If it is the line end point designation button 246D, the line end point designation button pressing process is performed (S8). If it is the corner point designation button 246A, the corner point designation button pressing process (S9) is performed, and the curve point designation button 246 is performed.
If B, the curve point designation button pressing process (S10)
If the figure end designation button 246E, the figure end button pressing process (S11) is performed. Then, the input of the next designation button is awaited (S5). If the pressed button is the end button, the program ends. Details of the line start point designation button pressing process, the line end point designation button pressing process, the corner point designation button pressing process, the curve point designation button pressing process, and the figure end button pressing process will be described later.

【0022】例として、図13に示すような図形の入力
の1方法を示す。先ず、外周線の角の点30で線の始点
指定ボタン246Cを押下し、次に、点31で角点指定
ボタン246Aを押下する。曲線上の適当な点32、3
3、34、35でカーブ点指定ボタン246Bを押下す
る。曲線上でとる点の数や位置は決まっておらずオペレ
ータが適宜入力する。そして、曲線の角の点36では角
点指定ボタン246Aを押下する。このようにして順に
点を入力していき点42まで入力し終わったら、点30
で線の終点指定ボタン246Dを押下して外周線の入力
を終わる。他に線がないので図形終了ボタン24F4を
押下する。
As an example, one method of inputting a graphic as shown in FIG. 13 will be shown. First, the line start point designation button 246C is pressed at the corner point 30 of the outer peripheral line, and then the corner point designation button 246A is pressed at the point 31. Appropriate points 32, 3 on the curve
The curve point designation button 246B is pressed at 3, 34, and 35. The number and position of the points taken on the curve are not fixed, and the operator inputs them appropriately. Then, at the corner point 36 of the curve, the corner point designation button 246A is pressed. In this way, the points are input in order, and after inputting up to the point 42, the point 30
Then, the line end point designation button 246D is pressed to finish the input of the outer peripheral line. Since there are no other lines, the figure end button 24F4 is pressed.

【0023】図6のフローチャートを参照して、前記線
の始点指定ボタン押下処理(図5のS7)の詳細につい
て説明する。先ず、線入力フラグ226を調べ(S2
0)、フラグがONであれば既に線分の入力途中なので
始点の入力はエラーである。入力した点は無効になるか
ら、表示画面251にエラーを示すメッセージを表示す
る(S21)。そして、音声出力装置27でエラーブザ
ーをならし(S22)、線の始点指定ボタン押下処理を
終わる。S20で調べた線入力フラグ226がOFFで
あれば、入力された点の座標値とボタンの種類(始点)
を入力データバッファ224の点番号バッファ225で
示す場所にセットする(S23)。入力データバッファ
の1例を図12に示す。点番号バッファの値を1増やし
ておく(S24)。表示画面251の座標に相当する位
置に線の始点を示す印を表示する(S25)。そして、
線入力フラグをONにして(S26)、線の始点指定ボ
タン押下処理を終わる。
Details of the line start point designation button pressing process (S7 of FIG. 5) will be described with reference to the flowchart of FIG. First, the line input flag 226 is checked (S2
0), if the flag is ON, the input of the start point is an error because the line segment is already being input. Since the input point becomes invalid, a message indicating an error is displayed on the display screen 251 (S21). Then, the error buzzer is turned on by the voice output device 27 (S22), and the line start point designation button pressing process ends. If the line input flag 226 checked in S20 is OFF, the coordinate value of the input point and the type of button (start point)
Is set in the place indicated by the point number buffer 225 of the input data buffer 224 (S23). An example of the input data buffer is shown in FIG. The value of the point number buffer is incremented by 1 (S24). A mark indicating the starting point of the line is displayed at a position corresponding to the coordinates on the display screen 251 (S25). And
The line input flag is turned on (S26), and the line start point designation button pressing process ends.

【0024】次に、図7のフローチャートを参照して、
前記角点指定ボタン押下処理(図5のS9)の詳細につ
いて説明する。先ず、線入力フラグ226を調べ(S5
0)、フラグがOFFであればまだ始点が入力されてい
ないのでエラーである。角点の入力は無効になるので、
表示画面251にエラーを示すメッセージを表示する
(S51)。そして、音声出力装置27でエラーブザー
をならし(S52)、角点指定ボタン押下処理を終わ
る。線入力フラグ226がONであれば、入力された点
の座標値とボタンの種類(角点)を入力データバッファ
224の点番号バッファ225で示す場所にセットする
(S53)。表示画面251の座標に相当する位置に角
点をあらわす印を表示する(S54)。
Next, referring to the flowchart of FIG.
Details of the corner point designation button pressing process (S9 in FIG. 5) will be described. First, the line input flag 226 is checked (S5
0), if the flag is OFF, it is an error because the start point has not been input yet. Since the input of the corner point becomes invalid,
A message indicating an error is displayed on the display screen 251 (S51). Then, the error buzzer is turned on by the voice output device 27 (S52), and the corner point designation button pressing process is ended. If the line input flag 226 is ON, the coordinate value of the input point and the button type (corner point) are set in the location indicated by the point number buffer 225 of the input data buffer 224 (S53). A mark representing a corner point is displayed at a position corresponding to the coordinates on the display screen 251 (S54).

【0025】次に、入力データバッファ224で1つ前
の点のデータを調べ(S55)、カーブ点であれば曲線
の入力途中であるから、1つ前の点と今回入力された点
との間隔をそれぞれの座標値から計算する(S56)。
計算した間隔が有効間隔最小値272以上かつ有効間隔
最大値271以下であるか調べ(S57)、有効値範囲
内であれば今回入力した点を有効として、1つ前のカー
ブ点と今回入力した角点を通る曲線を表示し直す(S5
8)。そして、点番号バッファ225の値を1増やして
おき(S59)、角点指定ボタン押下処理を終わる。
Next, the input data buffer 224 examines the data of the previous point (S55). If it is a curve point, the curve is being input, so the previous point and the point input this time are determined. The interval is calculated from each coordinate value (S56).
It is checked whether the calculated interval is equal to or greater than the effective interval minimum value 272 and equal to or less than the effective interval maximum value 271 (S57), and if it is within the effective value range, the point input this time is regarded as effective and the previous curve point and this time are input. The curve passing through the corner points is displayed again (S5
8). Then, the value of the point number buffer 225 is incremented by 1 (S59), and the corner point designation button pressing process ends.

【0026】一方、S57で調べた間隔が有効値範囲内
でなければ今回入力した点は無効にする。即ち、今回と
った点が前の点から離れすぎているかまたは近すぎるこ
とをオペレータに示す警告メッセージを表示画面251
に表示し(S61)、音声出力装置27で警告のための
ブザーをならし(S62)、入力データバッファ224
に書いた今回入力した点のデータを1点分消して(S6
3)、表示画面251に一旦表示した角点の印を消去し
て(S64)、角点指定ボタン押下処理を終わる。S5
5で調べた1つ前の点のデータが角点であれば間隔を調
べる必要はないので、1つ前の点と今回入力した点を結
ぶ直線を表示し(S60)、点番号バッファ225の値
を1増やして(S59)、角点指定ボタン押下処理を終
わる。
On the other hand, if the interval checked in S57 is not within the valid value range, the point input this time is invalidated. That is, the display screen 251 displays a warning message indicating to the operator that the point taken this time is too far from or too close to the previous point.
Is displayed (S61), the buzzer for warning is leveled by the voice output device 27 (S62), and the input data buffer 224 is displayed.
Delete one point of the data of the point entered this time written in (S6
3) Then, the corner point mark once displayed on the display screen 251 is erased (S64), and the corner point designation button pressing process ends. S5
If the data of the previous point checked in 5 is a corner point, it is not necessary to check the interval, so a straight line connecting the previous point and the point input this time is displayed (S60), and the point number buffer 225 The value is incremented by 1 (S59), and the corner point designation button pressing process ends.

【0027】次に、図8のフローチャートを参照して、
前記カーブ点指定ボタン押下処理(図5のS10)の詳
細について説明する。先ず、線入力フラグ226を調べ
(S70)、フラグがOFFであれば、まだ始点が入力
されていないのでエラーである。カーブ点の入力は無効
になるので、表示画面251にエラーを示すメッセージ
を表示する(S71)。そして、音声出力装置27でエ
ラーブザーをならし(S72)、カーブ点指定ボタン押
下処理を終わる。線入力フラグ226がONであれば、
入力された点の座標値とボタンの種類(カーブ点)を入
力データバッファ224の点番号バッファ225で示す
場所にセットする(S73)。表示画面251の座標に
相当する位置にカーブ点をあらわす印を表示する(S7
4)。入力データバッファ224で1つ前の点のデータ
を調べ今回入力された点との間隔をそれぞれの座標値か
ら計算する(S75)。
Next, referring to the flowchart of FIG.
Details of the curve point designation button pressing process (S10 in FIG. 5) will be described. First, the line input flag 226 is checked (S70), and if the flag is OFF, it is an error because the start point has not been input yet. Since the input of the curve point is invalid, a message indicating an error is displayed on the display screen 251 (S71). Then, the error buzzer is smoothed by the audio output device 27 (S72), and the curve point designation button pressing process is ended. If the line input flag 226 is ON,
The coordinate value of the input point and the type of the button (curve point) are set in the location indicated by the point number buffer 225 of the input data buffer 224 (S73). A mark representing a curve point is displayed at a position corresponding to the coordinates on the display screen 251 (S7).
4). The input data buffer 224 examines the data of the previous point, and calculates the distance from the point input this time from the respective coordinate values (S75).

【0028】そして、計算した間隔が有効間隔最小値2
72以上かつ有効間隔最大値271以下であるか調べ
(S76)、有効値範囲内であれば今回入力した点は有
効であるから1つ前の点と今回入力したカーブ点を通る
曲線を表示し直す(S77)。そして、点番号バッファ
225の値を1増やしておき(S78)、カーブ点指定
ボタン押下処理を終わる。S76で調べた間隔が有効値
範囲内でなければ今回入力した点は無効にする。即ち、
今回とった点が前の点から離れすぎているまたは近すぎ
ることをオペレータに示す警告メッセージを表示画面2
51に表示し(S79)、音声出力装置27で警告する
ブザーをならし(S80)、入力データバッファに書い
た今回入力した点のデータを1点分消して(S81)、
表示画面251に一旦表示したカーブ点の印を消去して
(S82)、カーブ点指定ボタン押下処理を終わる。図
14に警告メッセージを表示した画面の一例を示す。
Then, the calculated interval is the minimum value 2 of the effective interval.
It is checked whether it is 72 or more and the effective interval maximum value is 271 or less (S76). If it is within the effective value range, the point input this time is effective, so a curve passing through the previous point and the curve point input this time is displayed. Fix (S77). Then, the value of the point number buffer 225 is incremented by 1 (S78), and the curve point designation button pressing process ends. If the interval checked in S76 is not within the valid value range, the point input this time is invalidated. That is,
Display a warning message that indicates to the operator that the point taken this time is too far or too close from the previous one.
51 is displayed (S79), and the buzzer for warning by the voice output device 27 is leveled (S80), and the data of the point input this time written in the input data buffer is erased for one point (S81).
The curve point mark once displayed on the display screen 251 is erased (S82), and the curve point designation button pressing process ends. FIG. 14 shows an example of a screen displaying a warning message.

【0029】次に、図9のフローチャートを参照して、
前記線の終点指定ボタン押下処理(図5のS8)の詳細
について説明する。先ず、線入力フラグ226を調べ
(S30)、フラグがOFFであればまだ始点が入力さ
れていないのでエラーである。線の終点は無効になるの
で、表示画面251にエラーを示すメッセージを表示す
る(S31)。そして、音声出力装置27でエラーブザ
ーをならし(S32)、線の終点指定ボタン押下処理を
終わる。線入力フラグ226がONであれば、入力され
た点の座標値とボタンの種類(終点)を入力データバッ
ファ224の点番号バッファ225で示す場所にセット
し(S33)、表示画面251の座標に相当する位置に
終点をあらわす印を表示する(S34)。
Next, referring to the flowchart of FIG.
The details of the line end point designation button pressing process (S8 in FIG. 5) will be described. First, the line input flag 226 is checked (S30), and if the flag is OFF, it is an error because the start point has not been input yet. Since the end point of the line is invalid, a message indicating an error is displayed on the display screen 251 (S31). Then, the error buzzer is turned on by the voice output device 27 (S32), and the line end point designation button pressing process ends. If the line input flag 226 is ON, the coordinate value of the input point and the button type (end point) are set in the location indicated by the point number buffer 225 of the input data buffer 224 (S33), and the coordinates of the display screen 251 are set. A mark representing the end point is displayed at the corresponding position (S34).

【0030】次に、入力データバッファ224で1つ前
の点のデータを調べ(S35)、カーブ点であれば曲線
の入力途中であるから、1つ前の点と今回入力された点
との間隔をそれぞれの座標値から計算する(S36)。
計算した間隔が有効間隔最小値272以上かつ有効間隔
最大値271以下であるか調べ(S37)、有効値の範
囲内であれば今回入力した点を有効として、1つ前のカ
ーブ点と今回入力した線の終点を通る曲線を表示し直す
(S38)。そして、点番号バッファ225の値を1増
やしておく(S39)。線入力フラグ226をOFFに
して(S40)、線の終点指定ボタン押下処理を終わ
る。
Next, the input data buffer 224 examines the data of the previous point (S35). If it is a curve point, it means that the curve is in the process of being input, so the previous point and the point input this time are determined. The interval is calculated from each coordinate value (S36).
It is checked whether the calculated interval is equal to or greater than the effective interval minimum value 272 and equal to or less than the effective interval maximum value 271 (S37), and if it is within the effective value range, the point input this time is regarded as effective and the previous curve point and this time are input. The curve passing through the end point of the line is displayed again (S38). Then, the value of the point number buffer 225 is incremented by 1 (S39). The line input flag 226 is turned off (S40), and the line end point designation button pressing process ends.

【0031】一方、S37で調べた間隔が有効値範囲内
でなければ今回入力した点は無効にする。即ち、今回と
った点が前の点から離れすぎているまたは近すぎること
をオペレータに示す警告メッセージを表示画面251に
表示し(S41)、音声出力装置27で警告するための
ブザーをならし(S42)、入力データバッファ224
に書いた今回入力した点のデータを1点分消して(S4
3)、表示画面251に一旦表示した終点の印を消去し
て(S44)、線の終点指定ボタン押下処理を終わる。
S35で調べた1つ前の点のデータが角点であれば、1
つ前の点と今回入力した点を結ぶ直線を表示し(S4
5)、点番号バッファ225の値を1増やし(S3
9)、線入力フラグ226をOFFにして(S40)、
線の終点指定ボタン押下処理を終わる。
On the other hand, if the interval checked in S37 is not within the valid value range, the point input this time is invalidated. That is, a warning message indicating to the operator that the point taken this time is too far away or too close from the previous point is displayed on the display screen 251 (S41), and the buzzer for warning the sound output device 27 is turned on ( S42), the input data buffer 224
Delete one point of the data of the point you entered this time written in (S4
3) Then, the end point mark once displayed on the display screen 251 is erased (S44), and the line end point designation button pressing process ends.
If the data of the previous point checked in S35 is a corner point, 1
Display the straight line connecting the previous point and the point entered this time (S4
5), the value of the point number buffer 225 is incremented by 1 (S3
9), turn off the line input flag 226 (S40),
The process of pressing the line end point designation button ends.

【0032】次に、図10のフローチャートを参照し
て、前記図形終了処理(図5のS11)の詳細について
説明する。先ず、線入力フラグ226を調べ(S9
0)、フラグがOFFであればまだ終点が入力されてお
らず線分の入力途中であるからエラーである。図形終了
は無効になるので、表示画面251にエラーを示すメッ
セージを表示する(S91)。そして、音声出力装置2
7でエラーを示すブザーをならし(S92)、図形終了
処理を終わる。線入力フラグ226がONであれば、今
回入力した図形は全部終わったことにし、表示画面25
1に表示された図形を消去して(S93)、図形終了処
理を終わる。
Next, the details of the graphic end processing (S11 in FIG. 5) will be described with reference to the flowchart in FIG. First, the line input flag 226 is checked (S9
0), if the flag is OFF, it is an error because the end point has not been input and the line segment is being input. Since the figure end is invalidated, a message indicating an error is displayed on the display screen 251 (S91). And the audio output device 2
The buzzer indicating an error is smoothed at 7 (S92), and the figure end processing is ended. If the line input flag 226 is ON, it means that all the figures input this time are over, and the display screen 25
The graphic displayed in 1 is erased (S93), and the graphic end processing is ended.

【0033】なお、図7のS56、図8のS75及び図
9のS36の各処理工程は、曲線上の2点間の間隔を測
定する測定手段として機能する。また、図7のS57、
図8のS76及び図9のS37の各処理工程は、前記測
定手段によって測定された2点間の間隔が一定の範囲内
か否かを判別する判別手段として機能する。
The processing steps of S56 of FIG. 7, S75 of FIG. 8 and S36 of FIG. 9 function as measuring means for measuring the interval between two points on the curve. In addition, S57 of FIG.
Each processing step of S76 of FIG. 8 and S37 of FIG. 9 functions as a determination unit that determines whether or not the interval between the two points measured by the measurement unit is within a certain range.

【0034】以上、説明したことにより明らかなように
本実施例の図形入力装置によれば、曲線を入力する際
に、入力された間隔を調べ有効値範囲内でなければオペ
レータに警告し、点を入力し直させることによって、オ
ペレータが一定の間隔で曲線を入力することが容易にな
る。
As is apparent from the above description, according to the figure input device of this embodiment, when a curve is input, the input interval is checked and if it is not within the valid value range, the operator is warned and a point is displayed. By re-entering, it becomes easier for the operator to enter curves at regular intervals.

【0035】本発明は上記実施例に限定されるものでは
なく、その趣旨を逸脱しない範囲において種々の変形を
加えることができる。例えば、上記の構成では、曲線上
の点が入力されると前の点との間隔が固定の有効値範囲
内にあるかどうかを調べたが、この有効値を限定せず、
入力する図形の大きさによって変えたり、あるいはモー
ドによって値を設定できるようにしても同様の効果があ
る。また、上記実施例では、前に入力された点との間隔
が有効範囲内でないときは、入力した点を無効にして取
り直させる構成をとったが、有効範囲内でないときに警
告を与えるのみにして、オペレータが強行したいときは
にその入力を有効にできる構成をとっても同様な効果が
ある。また、上記実施例では、図形の入力機能のみを示
したが、システムの使用目的や他のシステムとの連動状
況等に応じて、例えば、入力した図形を編集したり修正
したりする機能等の他の機能を備えてもよい。
The present invention is not limited to the above embodiments, and various modifications can be made without departing from the spirit of the present invention. For example, in the above configuration, when a point on the curve is input, it is checked whether the interval with the previous point is within a fixed valid value range, but this valid value is not limited,
The same effect can be obtained by changing the size of the input graphic or setting the value depending on the mode. Further, in the above-mentioned embodiment, when the distance to the previously input point is not within the valid range, the input point is invalidated and retaken. However, only when the distance is not within the valid range, a warning is given. Then, when the operator wants to force the input, the same effect can be obtained even if the input can be validated. Further, in the above embodiment, only the figure input function is shown, but depending on the purpose of use of the system, the interlocking state with other systems, etc., for example, the function of editing or correcting the entered figure, etc. Other functions may be provided.

【0036】[0036]

【発明の効果】以上説明したように本発明によれば、曲
線上の点を入力する際、1つ前に入力された点と今回入
力された点との間隔をそれぞれの座標値から計算し、そ
の間隔が有効値範囲内でない場合、つまり、今回入力し
た点が前の点から離れすぎているか、または近づきすぎ
ている場合に、無効であることをオペレータに警告する
ようにしたので、その点を入力し直させることによっ
て、常に曲線上の各点を最適な間隔で入力することが簡
単にできる。また、本装置は構成が簡単である等の優れ
た効果を奏する。
As described above, according to the present invention, when inputting a point on a curve, the distance between the point input immediately before and the point input this time is calculated from each coordinate value. , If the interval is not within the valid value range, that is, if the point entered this time is too far from or too close to the previous point, the operator is warned that it is invalid. By re-inputting the points, it is easy to always input the points on the curve at optimum intervals. Further, the present device has excellent effects such as a simple structure.

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

【図1】本発明の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of the present invention.

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

【図3】座標入力装置の構成の一例を示す模式図であ
る。
FIG. 3 is a schematic diagram showing an example of the configuration of a coordinate input device.

【図4】座標指示器の構成の一例を示す模式図である。FIG. 4 is a schematic diagram showing an example of the configuration of a coordinate indicator.

【図5】本発明の一実施例における作用の概略を示すフ
ローチャートである。
FIG. 5 is a flowchart showing an outline of an operation in one embodiment of the present invention.

【図6】本発明の一実施例における線の始点指定ボタン
押下処理の詳細を示すフローチャートである。
FIG. 6 is a flowchart showing details of a line start point designation button pressing process according to an embodiment of the present invention.

【図7】本発明の一実施例における角点指定ボタン押下
処理を示すフローチャートである。
FIG. 7 is a flowchart showing a corner point designation button pressing process according to an embodiment of the present invention.

【図8】本発明の一実施例におけるカーブ点指定ボタン
押下処理を示すフローチャートである。
FIG. 8 is a flowchart showing a curve point designation button pressing process in the embodiment of the present invention.

【図9】本発明の一実施例における線の終点指定ボタン
押下処理を示すフローチャートである。
FIG. 9 is a flowchart showing a process of pressing a line end point designation button according to an embodiment of the present invention.

【図10】本発明の一実施例における図形終了処理を示
すフローチャートである。
FIG. 10 is a flowchart showing a graphic end process in an embodiment of the present invention.

【図11】本発明の一実施例の初期画面の一例を示す模
式図である。
FIG. 11 is a schematic diagram showing an example of an initial screen according to an embodiment of the present invention.

【図12】本発明の一実施例における入力データバッフ
ァの一例を示す模式図である。
FIG. 12 is a schematic diagram showing an example of an input data buffer according to an embodiment of the present invention.

【図13】本発明の一実施例における図形入力方法を示
す模式図である。
FIG. 13 is a schematic diagram showing a figure input method according to an embodiment of the present invention.

【図14】本発明の一実施例における警告メッセージを
表示した表示画面の一例を示す模式図である。
FIG. 14 is a schematic diagram showing an example of a display screen displaying a warning message according to an embodiment of the present invention.

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

21 CPU 23 ROM 24 座標入力装置 25 表示装置 28 音声出力装置 231 システムプログラム 21 CPU 23 ROM 24 Coordinate Input Device 25 Display Device 28 Voice Output Device 231 System Program

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 D05B 21/00 7152−3B G06T 1/00 Continuation of front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location D05B 21/00 7152-3B G06T 1/00

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 図形を構成する曲線上の点の座標位置を
入力する入力手段と、 その入力手段によって順に入力された曲線上の隣合う2
点間の間隔を測定する測定手段と、 その測定手段によって測定された前記間隔が一定の範囲
内か否かを判別する判別手段と、 その判別手段によって前記間隔が一定の範囲内でないと
判別された時、使用者に対して報知を行う報知手段と、
を備えたことを特徴とする図形入力装置。
1. Input means for inputting coordinate positions of points on a curve forming a figure, and adjacent two on the curve sequentially input by the input means.
Measuring means for measuring the distance between the points, judging means for judging whether or not the distance measured by the measuring means is within a certain range, and the judging means determines that the distance is not within the certain range. When notifying, a notification means for notifying the user,
A graphic input device comprising:
JP16355393A 1993-07-01 1993-07-01 Graphic input device Pending JPH0744310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16355393A JPH0744310A (en) 1993-07-01 1993-07-01 Graphic input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16355393A JPH0744310A (en) 1993-07-01 1993-07-01 Graphic input device

Publications (1)

Publication Number Publication Date
JPH0744310A true JPH0744310A (en) 1995-02-14

Family

ID=15776087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16355393A Pending JPH0744310A (en) 1993-07-01 1993-07-01 Graphic input device

Country Status (1)

Country Link
JP (1) JPH0744310A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6257158B1 (en) 1999-06-18 2001-07-10 Yamato Mishin Seizo Kabushiki Kaisha Sewing machine with uncurling device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6257158B1 (en) 1999-06-18 2001-07-10 Yamato Mishin Seizo Kabushiki Kaisha Sewing machine with uncurling device

Similar Documents

Publication Publication Date Title
JPH05282002A (en) Input device
JPH0744310A (en) Graphic input device
JP3892534B2 (en) Display device
JPS6132109A (en) Data setting screen display system in numerical controller
JP4107943B2 (en) Image processing device
JP7340031B2 (en) Input systems, input methods and programs
JP3693262B2 (en) Electronic computer
JPH0931730A (en) Clothing pattern paper making system
JPH07150407A (en) Graphic data processor
JPH0424818A (en) Input display device
JP3786141B2 (en) Electronic computer and verification control method
JPS6232491A (en) Crt display unit
JPH063468Y2 (en) Small electronic calculator
JPH0615321Y2 (en) Plotter
JPS62288924A (en) System for selecting function by pointer device
JPS62293318A (en) Numerical controller
JPH08263196A (en) Graphic input device
JPH0778707B2 (en) Operation status display method
JPH0664589B2 (en) Drawing method in CAD system
JPH02240890A (en) Remaining amount display device for storage capacity of storage medium
JPH08179750A (en) Graph display device
JPH0620059A (en) Graph processing device
JPH0737162B2 (en) Table processor
JPH10185547A (en) Method and device for discriminating surface shape
JPH0681029U (en) Digitizer