JPH0475172A - Cad system - Google Patents

Cad system

Info

Publication number
JPH0475172A
JPH0475172A JP2189960A JP18996090A JPH0475172A JP H0475172 A JPH0475172 A JP H0475172A JP 2189960 A JP2189960 A JP 2189960A JP 18996090 A JP18996090 A JP 18996090A JP H0475172 A JPH0475172 A JP H0475172A
Authority
JP
Japan
Prior art keywords
graphic
command
language program
operation command
manipulation
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
JP2189960A
Other languages
Japanese (ja)
Inventor
Kazuaki Kimura
一明 木村
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2189960A priority Critical patent/JPH0475172A/en
Publication of JPH0475172A publication Critical patent/JPH0475172A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the complexity of artwork by selecting a process wherein only graphic operation commands are used or a process wherein an easy language program is used on the same menu image plane. CONSTITUTION:The system is provided with a discrimination means 8 which discriminates whether a specified menu shows the selection of a graphic operation command or the easy language program and an interpreter 22 which calculates the parameter value that the graphic process requires. Further, the system is provided with a command processor which executes the graphic operation command immediately when it is decided that the graphic operation command is selected, or calls the graphic operation command based upon the parameter value calculated by the interpreter 22 as input data and passes the calculated parameter value to the command to perform the graphic process. Consequently, not only a figure specified with the graphic operation command, but also a figure similar to the specified figure with the graphic operation command by coordinate calculation can be generated through easy operation.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明はプリント基板の設計に用いるCADシステムの
改良に関するものであり、特にCADシステムの中で、
アートワーク作業をするための図形入力装置の改良に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to improvement of a CAD system used for designing printed circuit boards, and in particular, in the CAD system,
This invention relates to an improvement of a graphic input device for doing artwork work.

〈従来の技術〉 従来、このようなCADシステムに用いる図形入力装置
としては、例えば第3図に示す構成のものがあった。
<Prior Art> Conventionally, a graphic input device used in such a CAD system has a configuration shown in FIG. 3, for example.

図において、1はモニタディスプレイであり、図形入力
をするときには、直線、円弧、移動等の図形処理の日本
語メニューが表示されている。これらの日本語メニュー
は、1つのマス目の中に1つが割当てられている。2は
2次元入力装置としてのタブレット、3はタブレット2
の面上の2次元位置を指示するスタイラスペン、4はス
タイラスペン3の指示位置と連動してモニタディスプレ
イ1の画面内の位置を指示するカーソル、5はカソル4
で指示された日本語メニューのマス目番号を読出すマス
目番号読出し部である。
In the figure, reference numeral 1 denotes a monitor display, and when inputting figures, a Japanese menu for figure processing such as straight line, arc, movement, etc. is displayed. One of these Japanese menus is assigned to each square. 2 is a tablet as a two-dimensional input device, 3 is a tablet 2
4 is a stylus pen that indicates a two-dimensional position on the surface of the screen; 4 is a cursor that indicates a position on the screen of the monitor display 1 in conjunction with the indicated position of the stylus pen 3; 5 is a cursor 4;
This is a square number reading unit that reads the square number of the Japanese menu specified by .

6は日本語メニュー登録部であり、マス目番号と、マス
目番号に割り当てられた日本語メニューの処理を行うた
めの図形操作コマンドを1=1に対応させた日本語メニ
ューテーブルが格納されている。図形操作コマンドは、
アートワーク作業をするときに、対話形式で、直線、円
弧等を作図するコマンドである。例を挙げると、第4図
に示すように、コマンドが直線で3つのX印の位置の座
標値が入力されると、/\形の図形が作成される。
Reference numeral 6 is a Japanese menu registration section, which stores a Japanese menu table in which a grid number and a graphic manipulation command for processing the Japanese menu assigned to the grid number correspond to 1=1. There is. Shape manipulation commands are
This is a command to draw straight lines, arcs, etc. in an interactive format when working on artwork. For example, as shown in FIG. 4, when the command is a straight line and the coordinate values of three X-mark positions are input, a /\-shaped figure is created.

コマンドが3点円弧の場合も同様である。The same applies when the command is a three-point arc.

7はマス目番号読出し部5の読出し番号をアドレスにし
て日本語メニュー登録部6から図形操作コマンドを読出
すコマンド読出し部である。
Reference numeral 7 denotes a command reading section which reads out graphic operation commands from the Japanese menu registration section 6 using the readout number of the square number reading section 5 as an address.

このような装置を使用して図形入力する場合、最初に図
形操作コマンドを選択する必要がある。
When inputting graphics using such a device, it is first necessary to select a graphics manipulation command.

この選択は、モニタディスプレイ上に表示された日本語
メニューにスタイラスペン3と連動しているカーソル4
を合わせ、スタイラスペンのスイッチを押すことにより
行う、スイッチが押されると、マス目番号が選択され、
選択された番号をアドレスとして日本語メニュー登録部
6から図形操作コマンドが読出される。これによって、
画面上では日本語メニューは退避され、グラフィックス
画面が現れる。
This selection is made using the stylus pen 3 and the cursor 4 linked to the Japanese menu displayed on the monitor display.
When the switch is pressed, the square number is selected,
A graphic manipulation command is read from the Japanese menu registration section 6 using the selected number as an address. by this,
The Japanese menu is saved on the screen and a graphics screen appears.

〈発明が解決しようとする課U〉 しかし、このような図形入力装置では次の問題点があっ
た。
<Problem U to be solved by the invention> However, such a graphic input device has the following problems.

メニュー画面では、1つのマス目に1つの日本語メニュ
ーしか割り付けられていないため、ある一定の組合せで
一連の図形操作コマンドを選択するとき、毎回メニュー
画面へ戻り、日本語メニューのマス目を1つずつ選択し
なければならないなめ、操作が煩雑になる。
On the menu screen, only one Japanese menu is assigned to each square, so when you select a series of shape manipulation commands in a certain combination, you will be returned to the menu screen each time, and the Japanese menu square will be assigned to one square. You have to select each item one by one, which makes the operation complicated.

第5図を例に挙げ、図形操作コマンドを使用してアート
ワーク作業をする場合について説明する。
Using FIG. 5 as an example, a case will be described in which artwork work is performed using graphic manipulation commands.

第5図はコイルのシルク図である。FIG. 5 is a silk diagram of the coil.

第5図の装置では、(a)図のようなシルク図を縮小し
て(b)図のようにする場合は、縮小用の図形操作コマ
ンドを指定するだけで処理ができる。しかし、(C)図
のようにコイルの巻数を変更する場合は、シルク図を新
規に作り直すか、図形操作コマンドを組合せて煩雑な修
正作業をする必要がある。
In the apparatus shown in FIG. 5, if a silk diagram as shown in FIG. 5(a) is to be reduced to be as shown in FIG. 5(b), the process can be done simply by specifying a figure manipulation command for reduction. However, when changing the number of turns of the coil as shown in Figure (C), it is necessary to create a new silk diagram or perform complicated correction work by combining graphic manipulation commands.

本発明はこのような問題点を解決するためになされたも
のであり、図形操作コマンドで指定された図形だけでな
く、座標計算を行って図形操作コマンドで指定された図
形の類似図形も簡単な操作で作成できるCADシステム
を実現することを目的とする。
The present invention has been made to solve these problems, and it is possible to calculate not only the shape specified by the shape manipulation command, but also a similar shape to the shape specified by the shape manipulation command by calculating the coordinates. The purpose is to realize a CAD system that can be created by manipulation.

く課題を解決するための手段〉 本発明は、 図形入力装置のモニタディスプレイ上に複数種類の図形
処理メニューが表示されていて、これらのメニューのう
ち指定されたメニューに対応したコマンドを実行して図
形を作成するCADシステムにおいて、 前記指定されたメニューが、図形操作コマンドを選択し
たものであるか、簡易言語プログラムを選択したもので
あるかを判別する判別手段と、この判別結果が簡易言語
プログラムを選択したものである場合は、図形処理に必
要なパラメータ値を算出するインタプリタと、 この判別結果が図形操作コマンドを選択したものである
場合は、直ちに図形操作コマンドを実行して図形処理を
行い、簡易言語プログラムを選択したものである場合は
、前記インタプリタで算出したパラメータ値を入力デー
タとする図形操作コマンドを呼び出し、このコマンドに
算出したパラメータ値を引き渡して図形処理を行うコマ
ンドプロセッサ、 を具備したことを特徴とする図形入力装置である。
Means for Solving the Problems> The present invention provides a method in which a plurality of types of graphic processing menus are displayed on a monitor display of a graphic input device, and a command corresponding to a specified menu among these menus is executed. In a CAD system for creating figures, there is provided a determining means for determining whether the specified menu is one in which a figure manipulation command is selected or a simple language program is selected; is selected, the interpreter calculates the parameter values necessary for graphic processing, and if the result of this determination is that a graphic manipulation command is selected, the graphic manipulation command is immediately executed to perform graphic processing. , if a simple language program is selected, a command processor that calls a graphic manipulation command that uses the parameter values calculated by the interpreter as input data, passes the calculated parameter values to this command, and performs graphic processing. This is a graphic input device characterized by the following.

く作用〉 このような本発明では、指定したメニューが、図形操作
コマンドを選択したものである場合は、直ちに図形操作
コマンドを実行し、簡易言語プロダラムを選択したもの
である場合は、このプログラムでパラメータ値を算出し
、算出したパラメタ値を用いて図形操作コマンドを実行
する。
According to the present invention, if the specified menu is one in which a graphics manipulation command is selected, the graphics manipulation command is immediately executed, and if the specified menu is one in which a simple language program is selected, this program is executed. A parameter value is calculated, and a graphic manipulation command is executed using the calculated parameter value.

〈実施例〉 以下、図面を用いて本発明を説明する。<Example> The present invention will be explained below using the drawings.

第1図は本発明にかかるCADシステムの一実施例の構
成図である。第1図で第3図と同一のものは同一符号を
付ける。
FIG. 1 is a block diagram of an embodiment of a CAD system according to the present invention. Components in FIG. 1 that are the same as those in FIG. 3 are given the same reference numerals.

第1図において、10は図形入力装置、20はホストC
PUである。
In FIG. 1, 10 is a graphic input device, 20 is a host C
It is PU.

図形入力装置10において、モニタディスプレイ1のメ
ニュー画面には、第3図の従来例で示した日本語メニュ
ーの他に、簡易言語プログラムを指定するメニューが追
加されている。このため、マス目番号読出し部5の出力
データには、マス目番号のデータの他に簡易言語プログ
ラムと単独の図形操作プログラムを区別する符号データ
(以下、この符号データを区別符号データとする)が追
加されている。
In the graphic input device 10, in addition to the Japanese menu shown in the conventional example of FIG. 3, a menu for specifying a simple language program is added to the menu screen of the monitor display 1. For this reason, the output data of the square number reading unit 5 includes, in addition to the square number data, code data that distinguishes between a simple language program and a single graphic manipulation program (hereinafter, this code data is referred to as distinguishing code data). has been added.

8は区別符号データのビット状態をもとに、指定した日
本語メニューが、簡易言語プログラムを選択したもので
あるか、単独の図形操作プログラムを選択したものであ
るかを判別する判別手段である。9は簡易言語プログラ
ムが格納された簡易言語プログラム記憶部である。
8 is a determination means for determining whether the specified Japanese menu is a selection of a simple language program or a selection of a single graphical manipulation program, based on the bit state of the diacritic code data. . Reference numeral 9 denotes a simple language program storage section in which a simple language program is stored.

ホストCPU20において、21はコマンドプロセッサ
であり、判別手段8の判別結果か、単独の図形操作プロ
グラムを選択している場合は、直ちにコマンド読出し部
7から読み出されたコマンドを実行するコマンドプロセ
ッサである。22はインタプリタであり、判別手段8の
判別結果が、簡易言語プログラム選択している場合は、
記憶部9から読み出された簡易言語プログラムによりパ
ラメータ値を計算する。ここで、簡易言語プログラムと
は、図形操作コマンドを呼び出すことができ、プログラ
ム内で計算した数値例えば座標値をパラメータとして図
形操作コマンドの処理に引き渡すことができるものであ
る。
In the host CPU 20, 21 is a command processor which immediately executes the command read out from the command reading unit 7 when the judgment result of the judgment means 8 or a single graphic manipulation program is selected. . 22 is an interpreter, and if the determination result of the determination means 8 is that a simple language program is selected,
Parameter values are calculated using the simple language program read from the storage unit 9. Here, the simple language program is one that can call graphic manipulation commands and can pass numerical values, such as coordinate values, calculated within the program to the processing of the graphic manipulation commands as parameters.

23はコマンドプロセッサ21で処理した図形をデータ
ベースとして格納するデータベース記憶部である。
Reference numeral 23 denotes a database storage unit that stores graphics processed by the command processor 21 as a database.

このようなCADシステムの動作を説明する。The operation of such a CAD system will be explained.

第2図は動作手順を示したフローチャートである。FIG. 2 is a flowchart showing the operating procedure.

モニタディスプレイ1の画面上で、カーソル4により日
本語メニューのマス目が指示されると、マス目番号をア
ドレスとして日本語メニュー登録部6から実行されるコ
マンドが読み出される。
When a Japanese menu square is designated by the cursor 4 on the screen of the monitor display 1, a command to be executed is read from the Japanese menu registration section 6 using the square number as an address.

読み出されたコマンドが単独の図形操作コマンドである
場合は、コマンドプロセッサ21は直ちに読み出された
コマンドを実行し、結果をモニタディスプレイ1に表示
するとともに、コマンド実行の結果得られた図形データ
をデータベース記憶部23へ格納する。
If the read command is a single graphic manipulation command, the command processor 21 immediately executes the read command, displays the result on the monitor display 1, and displays the graphic data obtained as a result of the command execution. The information is stored in the database storage unit 23.

読み出されたコマンドが簡易言語プログラムを選択して
いる場合は、まずインタプリタ22は簡易言語プログラ
ムを実行する。このプログラムでは、図形の寸法値、コ
ピー回数等のパラメータが入力され、入力値をもとに座
標値等の数値が計算される。計算値は図形操作コマンド
のパラメータとなり、逐次コマンドプロセッサ21へ引
き渡される。コマンドプロセッサ21はこのパラメータ
を入力データとする図形操作コマンドを呼び出して実行
する。
If the read command selects a simple language program, the interpreter 22 first executes the simple language program. In this program, parameters such as the dimension value of the figure and the number of copies are input, and numerical values such as coordinate values are calculated based on the input values. The calculated value becomes a parameter of the graphic manipulation command and is sequentially passed to the command processor 21. The command processor 21 calls and executes a graphic manipulation command using this parameter as input data.

このように指示された日本語メニューに応じて単独の図
形操作コマンドによる処理と、簡易言語プログラムを用
いた処理が選択される。
Depending on the Japanese menu thus instructed, processing using a single graphic manipulation command or processing using a simple language program is selected.

なお、実施例では選択の一方が、単独の図形操作コマン
ドである場合に付いて説明したが、定形作業については
いくっがの図形操作コマンドをあらかじめ組合せて登録
しておき、選択の一方では、組合せた図形操作コマンド
による処理を行うようにしてもよい。
In the embodiment, the case where one of the selections is a single graphical manipulation command has been explained, but for regular work, a combination of several graphical manipulation commands is registered in advance, and one of the selections is a single graphical manipulation command. Processing may be performed using a combination of graphical manipulation commands.

く効果〉 本発明によれば、同一のメとニー画面上がら、図形操作
コマンドのみを用いた処理と、簡易言語プログラムも用
いた処理を選択できるため、図形操作コマンドで指定さ
れた図形だけでなく、この図形の繰り返し図形のような
類似図形も簡易言語プログラムによる座標計算を利用し
て簡単な操作で入力できる。これによって、アートワー
クの煩雑さを改善できる。
According to the present invention, on the same menu screen, it is possible to select between processing using only figure manipulation commands and processing using a simple language program. , Similar figures such as repeating figures of this figure can also be input by simple operations using coordinate calculations using a simple language program. This can improve the complexity of the artwork.

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

第1図は本発明の一実施例の構成図、第2図は第1図の
システムの動作説明図、第3図は従来におけるCADシ
ステムの要部の構成例を示した図、第4図及び第5図は
第1図のシステムの動作説明図である。 1・・・モニタディスプレイ、2・・・タブレット、3
・・・スタイラスペン、4・・・カーソル、5・・・マ
ス目番号読出し部、6・・・日本語メニュー登録部、7
・・・コマンド読出し部、8・・・判別手段、9・・・
簡易プログラム記憶部、10・・・図形入力装置、20
・・・ホストCPU、21・・・コマンドプロセッサ、
22・・・イン第 図 −58; (Q) 第 図 第 図
Fig. 1 is a configuration diagram of an embodiment of the present invention, Fig. 2 is an explanatory diagram of the operation of the system in Fig. 1, Fig. 3 is a diagram showing an example of the configuration of the main parts of a conventional CAD system, and Fig. 4 5 is an explanatory diagram of the operation of the system shown in FIG. 1. 1...Monitor display, 2...Tablet, 3
... Stylus pen, 4... Cursor, 5... Square number reading section, 6... Japanese menu registration section, 7
...Command reading unit, 8...Discrimination means, 9...
Simple program storage unit, 10...Graphic input device, 20
... host CPU, 21 ... command processor,
22...In Figure-58; (Q) Figure Figure-58;

Claims (1)

【特許請求の範囲】 図形入力装置のモニタディスプレイ上に複数種類の図形
処理メニューが表示されていて、これらのメニューのう
ち指定されたメニューに対応したコマンドを実行して図
形を作成するCADシステムにおいて、 前記指定されたメニューが、図形操作コマンドを選択し
たものであるか、簡易言語プログラムを選択したもので
あるかを判別する判別手段と、この判別結果が簡易言語
プログラムを選択したものである場合は、図形処理に必
要なパラメータ値を算出するインタプリタと、 この判別結果が図形操作コマンドを選択したものである
場合は、直ちに図形操作コマンドを実行して図形処理を
行い、簡易言語プログラムを選択したものである場合は
、前記インタプリタで算出したパラメータ値を入力デー
タとする図形操作コマンドを呼び出し、このコマンドに
算出したパラメータ値を引き渡して図形処理を行うコマ
ンドプロセッサ、 を具備したことを特徴とする図形入力装置。
[Claims] In a CAD system in which a plurality of types of graphic processing menus are displayed on a monitor display of a graphic input device, and a graphic is created by executing a command corresponding to a specified menu among these menus. , a determining means for determining whether the specified menu selects a graphic manipulation command or a simple language program, and if the result of this determination is that the simple language program is selected; is an interpreter that calculates parameter values necessary for graphic processing, and if the result of this determination is that a graphic manipulation command is selected, immediately executes the graphic manipulation command to perform graphic processing, and selects a simple language program. a command processor that calls a graphic manipulation command using the parameter values calculated by the interpreter as input data, passes the calculated parameter values to the command, and performs graphic processing. Input device.
JP2189960A 1990-07-18 1990-07-18 Cad system Pending JPH0475172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2189960A JPH0475172A (en) 1990-07-18 1990-07-18 Cad system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2189960A JPH0475172A (en) 1990-07-18 1990-07-18 Cad system

Publications (1)

Publication Number Publication Date
JPH0475172A true JPH0475172A (en) 1992-03-10

Family

ID=16250072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2189960A Pending JPH0475172A (en) 1990-07-18 1990-07-18 Cad system

Country Status (1)

Country Link
JP (1) JPH0475172A (en)

Similar Documents

Publication Publication Date Title
EP0194442B1 (en) Method for manipulation of graphic sub-objects in an interactive draw graphic system
JPH01250129A (en) Display screen operating system
JPH10188014A (en) Picture editing method and its device
JPH07220109A (en) Information processing device/method
JPH0475172A (en) Cad system
EP0439333B1 (en) Electronic image modification
JPS63118820A (en) Menu display device
JPH04175979A (en) Graphic processor
JPH06119430A (en) Graphic display device
JPH0785132A (en) Graphic processor
JPH0816518A (en) Information processor
JPH06301759A (en) Picture processor
JPH10254675A (en) Data input method and data input device using the method
JPH10154040A (en) Image processor
JP3001433B2 (en) Apparatus and method for determining graphic range
JPH0816642A (en) Pointer input controller for cad
JP2997600B2 (en) Display control device
JP2721344B2 (en) Image processing method
JP2807117B2 (en) Window display control device
JPH03152620A (en) Picture display device
JP2575636B2 (en) Graphic display device
JPH06230762A (en) Coordinate designating method for plotting supporting tool
JPH07302322A (en) Picture display device
JPS60250482A (en) Picture rotation indicating system
JP2001046768A (en) Embroidery data preparation device