JPH09212539A - Graphic processing method and device therefor - Google Patents

Graphic processing method and device therefor

Info

Publication number
JPH09212539A
JPH09212539A JP8019610A JP1961096A JPH09212539A JP H09212539 A JPH09212539 A JP H09212539A JP 8019610 A JP8019610 A JP 8019610A JP 1961096 A JP1961096 A JP 1961096A JP H09212539 A JPH09212539 A JP H09212539A
Authority
JP
Japan
Prior art keywords
dimension value
dimension
coordinate information
cursor
graphic processing
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
JP8019610A
Other languages
Japanese (ja)
Inventor
Tomoko Shibata
智子 柴田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP8019610A priority Critical patent/JPH09212539A/en
Publication of JPH09212539A publication Critical patent/JPH09212539A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve operating efficiency by reducing the number of operating steps necessary for preparing a dimension value. SOLUTION: A graphic processing method plotting the dimension value to an objective element is provided with a coincidence judging step S5 collating newest coordinate information in coordinate information detected at the time of moving a cursor and coordinate information of the element of a previously prepared plotting model to judge their coincidence/noncoincidence and a dimension display step S7 displaying the dimension value of a coinciding element at the time of judging coincidence by the coincidence judging step S5. Thereby the graphic processing method is capable of improving operating efficiency by reducing the number of the operating steps necessary for preparing the dimension value.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、CAD等の図形処
理装置およびCAD等における図形処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processing device such as CAD and a graphic processing method in CAD.

【0002】[0002]

【従来の技術】近年、複雑な形状の設計に伴い、CAD
による作業が普及しており、コマンドの操作ステップ数
がCADシステムそのものの操作性を示すものとなって
いる。
2. Description of the Related Art In recent years, with the design of complicated shapes, CAD
The work by is widely used, and the number of operation steps of a command indicates the operability of the CAD system itself.

【0003】CADによる図面作成の設計作業におい
て、寸法値の作成作業に関しては、作業者は、描画要素
の種類に応じて、寸法作成コマンドを選択し、対象とな
る要素の確定を行い、寸法値の表示位置を確定するとい
う一連の操作ステップを踏まなければならない。また、
自動寸法値付加機能を利用して寸法値を作成する場合で
も、コマンドの選択、要素の確定という操作は必要不可
欠である。
In the design work of drawing creation by CAD, regarding the work of creating the dimension value, the operator selects the dimension creation command according to the type of the drawing element, determines the target element, and then the dimension value. It is necessary to take a series of operation steps to determine the display position of. Also,
Even when a dimension value is created by using the automatic dimension value adding function, operations such as command selection and element confirmation are indispensable.

【0004】従来、図形処理装置としては、図6に示す
ようなものが知られている。図6において、中央処理装
置1は要求された情報を処理し、表示装置2はウィンド
ウ、図形要素、文字などを表示し、入力装置3はキーボ
ード、タブレット、マウス等から成り、文字、数値、位
置などのデータを入力し、主記憶装置4はオペレーティ
ングシステム、ウィンドウシステムなど実行中のプログ
ラムを記憶する。二次記憶装置5Aは、要素確定部1
3、寸法値算出部14、寸法値表示位置確定部15およ
び寸法値描画処理部16から成る。二次記憶装置5Aに
おいて、要素確定部13は寸法値作成の対象となる要素
の確定を行い、寸法値算出部14は要素確定部13にお
いて確定された要素に対する寸法値の算出を行い、寸法
値表示位置確定部15は表示された寸法値の表示位置を
作業者に選択させて寸法値表示位置の確定を行い、寸法
値描画処理部16は寸法値表示位置確定部15で確定さ
れた寸法値表示位置に寸法値の描画を行う。
Conventionally, as a figure processing device, one shown in FIG. 6 has been known. In FIG. 6, the central processing unit 1 processes the requested information, the display unit 2 displays windows, graphic elements, characters, etc., and the input unit 3 comprises a keyboard, tablet, mouse, etc. And the like, and the main storage device 4 stores a running program such as an operating system and a window system. The secondary storage device 5A includes the element determination unit 1
3, a dimension value calculation unit 14, a dimension value display position determination unit 15, and a dimension value drawing processing unit 16. In the secondary storage device 5A, the element determination unit 13 determines the element for which the dimension value is to be created, and the dimension value calculation unit 14 calculates the dimension value for the element determined by the element determination unit 13 to calculate the dimension value. The display position determination unit 15 allows the operator to select the display position of the displayed dimension value to determine the dimension value display position, and the dimension value drawing processing unit 16 determines the dimension value determined by the dimension value display position determination unit 15. Draws the dimension value at the display position.

【0005】以上のように構成された図形処理装置につ
いて、その動作を図7を用いて説明する。図7は、図6
の図形処理装置の動作を説明するためのフローチャート
であり、作業者が図面上に寸法値を作成する場合の動作
を示す。寸法値を作成するにあたって、作業者は、寸法
値作成を行いたい要素の特性を見極め、作成すべき寸法
値の種類を判断し、複数ある寸法値作成コマンドの中か
ら一つを選択する(S21)。選択された寸法値作成コ
マンドは入力装置3を介して要素確定部13に入力され
る。要素確定部13は、寸法値作成の対象となる要素を
表示装置2の画面上から選択し、確定する(S22)。
寸法値算出部14は、ステップ22で確定された要素に
対する寸法値の算出を行う(S23)。次に、寸法値の
表示位置の確定を作業者が行う(S24)。寸法値の表
示位置を確定するためのデータは入力装置3を介して寸
法値表示位置確定部15に入力される。寸法値描画処理
部16は、ステップ24で確定された位置に、ステップ
23で算出された寸法値を描画する(S25)。
The operation of the graphic processing device configured as described above will be described with reference to FIG. FIG. 7 shows FIG.
3 is a flow chart for explaining the operation of the graphic processing device of FIG. 4, showing the operation when an operator creates dimension values on a drawing. In creating the dimension value, the operator determines the characteristics of the element for which the dimension value is to be created, determines the type of dimension value to be created, and selects one from a plurality of dimension value creation commands (S21). ). The selected dimension value creation command is input to the element determining unit 13 via the input device 3. The element confirmation unit 13 selects and confirms the element for which the dimension value is to be created from the screen of the display device 2 (S22).
The dimension value calculation unit 14 calculates the dimension value for the element determined in step 22 (S23). Next, the operator determines the display position of the dimension value (S24). Data for determining the display position of the dimension value is input to the dimension value display position determination unit 15 via the input device 3. The dimension value drawing processing unit 16 draws the dimension value calculated in step 23 at the position determined in step 24 (S25).

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来の
図形処理装置又は図形処理方法では、表示装置2の画面
上の或る要素に対して寸法値を作成する場合、上述した
ように、作業者による寸法値作成コマンドの選択、対象
要素の確定、寸法値の表示位置の確定という一連の操作
が最低限必要となり、作業効率が低下するという問題点
を有していた。
However, in the conventional graphic processing device or graphic processing method, when a dimension value is created for a certain element on the screen of the display device 2, as described above, the operator does not There has been a problem that a series of operations including selection of a dimension value creation command, determination of a target element, and determination of a dimension value display position are required at the minimum, and work efficiency decreases.

【0007】この図形処理方法又は図形処理装置では、
寸法値作成に要する操作ステップ数を低減することが要
求されている。
In this graphic processing method or graphic processing device,
It is required to reduce the number of operation steps required to create dimension values.

【0008】本発明は、寸法値作成に要する操作ステッ
プ数を低減して作業効率を向上させることができる図形
処理方法、および、寸法値作成に要する操作ステップ数
を低減して作業効率を向上させることができる図形処理
装置を提供することを目的とする。
The present invention is a graphic processing method capable of improving the work efficiency by reducing the number of operation steps required for creating dimension values, and improving the work efficiency by reducing the number of operation steps required for creating dimension values. An object of the present invention is to provide a graphic processing device capable of performing the above.

【0009】[0009]

【課題を解決するための手段】この課題を解決するため
に本発明の図形処理方法は、対象要素に寸法値を描画す
る図形処理方法であって、カーソル移動時に検知される
座標情報のうちの最新の座標情報と予め作成された描画
モデルの要素の座標情報との照合を行って一致、不一致
を判定する一致判定ステップと、一致判定ステップにお
いて一致していると判定したときには一致した要素の寸
法値を画面上に表示する寸法表示ステップとを有するよ
うに構成したものである。
In order to solve this problem, a graphic processing method of the present invention is a graphic processing method for drawing a dimension value on a target element, which is one of coordinate information detected when a cursor is moved. The latest coordinate information is compared with the coordinate information of the elements of the drawing model created in advance to determine whether they match or not, and when the matching determination step determines that they match, the dimensions of the matched element And a dimension display step of displaying the value on the screen.

【0010】これにより、寸法値作成に要する操作ステ
ップ数を低減して作業効率を向上させることができる図
形処理方法が得られる。
As a result, it is possible to obtain a graphic processing method capable of reducing the number of operation steps required for creating dimension values and improving work efficiency.

【0011】また、この課題を解決するための本発明の
図形処理装置は、要求された情報を処理する中央処理装
置と、オペレーティングシステム、ウィンドウシステム
など実行中のプログラムを記憶する主記憶装置とを有
し、対象要素に寸法値を描画する図形処理装置であっ
て、カーソル移動時に検知される座標情報のうちの最新
の座標情報と予め作成された描画モデルの要素の座標情
報との照合を行って一致、不一致を判定するカーソル座
標照合検索部と、カーソル座標照合検索部において一致
していると判定したときには一致した要素の寸法値を画
面上に表示する寸法値自動表示制御部とを有するように
構成したものである。
Further, a graphic processing device of the present invention for solving this problem comprises a central processing device for processing requested information and a main storage device for storing a running program such as an operating system and a window system. A graphic processing device that draws a dimension value on a target element, and collates the latest coordinate information of the coordinate information detected when the cursor is moved with the coordinate information of the element of the rendering model created in advance. It has a cursor coordinate collation search unit that determines whether or not they match, and a dimension value automatic display control unit that displays the dimension value of the matched element on the screen when the cursor coordinate collation search unit determines that they match. It is configured in.

【0012】これにより、寸法値作成に要する操作ステ
ップ数を低減して作業効率を向上させることができる図
形処理装置が得られる。
As a result, it is possible to obtain the graphic processing apparatus capable of improving the work efficiency by reducing the number of operation steps required for creating the dimension value.

【0013】[0013]

【発明の実施の形態】本発明の請求項1に記載の発明
は、対象要素に寸法値を描画する図形処理方法であっ
て、カーソル移動時に検知される座標情報のうちの最新
の座標情報と予め作成された描画モデルの要素の座標情
報との照合を行って一致、不一致を判定する一致判定ス
テップと、一致判定ステップにおいて一致していると判
定したときには一致した要素の寸法値を画面上に表示す
る寸法表示ステップとを有することとしたものであり、
寸法値作成コマンドを用いることなく寸法値が表示され
るという作用を有する。
BEST MODE FOR CARRYING OUT THE INVENTION The invention according to claim 1 of the present invention is a graphic processing method for drawing a dimensional value on a target element, which is the latest coordinate information of coordinate information detected when the cursor is moved. When it is determined in the match determination step that a match is determined in the match determination step by comparing with the coordinate information of the element of the drawing model that has been created and whether or not they match, the dimension value of the matched element is displayed on the screen. And a dimension display step to display,
It has an effect that the dimension value is displayed without using the dimension value creation command.

【0014】請求項2に記載の発明は、請求項1に記載
の発明において、一致した要素をハイライト表示するこ
ととしたものであり、一致した要素がハイライト表示た
とえば高輝度の点滅で表示されるという作用を有する。
According to a second aspect of the present invention, in the first aspect of the present invention, the matched elements are highlighted, and the matched elements are highlighted and displayed, for example, by blinking at high brightness. Has the effect of being.

【0015】請求項3に記載の発明は、請求項2に記載
の発明において、ハイライト表示した要素を確定するこ
ととしたものであり、例えばマウスのクリックにより要
素が確定されるという作用を有する。
According to a third aspect of the present invention, in the second aspect of the present invention, the highlighted element is decided, which has an effect that the element is decided by clicking the mouse. .

【0016】請求項4に記載の発明は、要求された情報
を処理する中央処理装置と、オペレーティングシステ
ム、ウィンドウシステムなど実行中のプログラムを記憶
する主記憶装置とを有し、対象要素に寸法値を描画する
図形処理装置であって、カーソル移動時に検知される座
標情報のうちの最新の座標情報と予め作成された描画モ
デルの要素の座標情報との照合を行って一致、不一致を
判定するカーソル座標照合検索部と、カーソル座標照合
検索部において一致していると判定したときには一致し
た要素の寸法値を画面上に表示する寸法値自動表示制御
部とを有することとしたものであり、寸法値作成コマン
ドを用いることなく寸法値が表示されるという作用を有
する。
According to a fourth aspect of the present invention, there is provided a central processing unit for processing the requested information and a main storage unit for storing a running program such as an operating system and a window system. Which is a graphic processing device for drawing, and a cursor for determining the match or mismatch by collating the latest coordinate information of the coordinate information detected when the cursor is moved with the coordinate information of the element of the drawing model created in advance. The coordinate collation search unit and the cursor coordinate collation search unit are provided with a dimension value automatic display control unit that displays the dimension value of the matched element on the screen when it is determined that they match. It has an effect that the dimension value is displayed without using the creation command.

【0017】以下、本発明の実施の形態について、図1
〜図5を用いて説明する。 (実施の形態1)図1は、本発明の一実施の形態による
図形処理装置を示すブロック図である。図1において、
中央処理装置1、表示装置2、入力装置3、主記憶装置
4は図6と同様のものであり、説明は省略する。二次記
憶装置5は、寸法値自動表示モード制御部6、描画モデ
ル情報管理部7、カーソル座標情報管理部8、カーソル
座標照合検索部9、要素ハイライト制御部10、寸法値
自動表示制御部11および寸法値描画部12から成る。
二次記憶装置5において、寸法値自動表示モード制御部
6は作業者が選択する寸法自動表示モードの設定、参照
を制御し、描画モデル情報管理部7は描画されたモデル
の各要素に対する座標情報および寸法値情報を格納し管
理を行い、カーソル座標情報管理部8は移動中のカーソ
ルの座標情報を管理し、カーソル座標照合検索部9は描
画されたモデルの要素の座標情報とカーソルの座標情報
との照合により移動中のカーソルが要素上に位置するか
どうかの検知を行い、要素ハイライト制御部10はカー
ソルが要素上に位置した場合に要素をハイライト表示
し、寸法値自動表示制御部11はハイライト表示された
要素の寸法値を自動的に画面表示し、寸法値描画部12
は画面上に表示された寸法値を図面上に描画する。
Hereinafter, an embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. (Embodiment 1) FIG. 1 is a block diagram showing a graphic processing apparatus according to an embodiment of the present invention. In FIG.
The central processing unit 1, the display device 2, the input device 3, and the main storage device 4 are the same as those in FIG. 6, and their explanations are omitted. The secondary storage device 5 includes a dimension value automatic display mode control unit 6, a drawing model information management unit 7, a cursor coordinate information management unit 8, a cursor coordinate matching search unit 9, an element highlight control unit 10, and a dimension value automatic display control unit. 11 and a dimension value drawing unit 12.
In the secondary storage device 5, the dimension value automatic display mode control unit 6 controls setting and reference of the dimension automatic display mode selected by the operator, and the drawing model information management unit 7 sets coordinate information for each element of the drawn model. And the dimension value information are stored and managed, the cursor coordinate information management unit 8 manages the coordinate information of the moving cursor, and the cursor coordinate matching search unit 9 coordinates information of the element of the drawn model and the coordinate information of the cursor. The element highlighting control unit 10 highlights the element when the cursor is located on the element by detecting whether the moving cursor is located on the element by collating with the dimensional value automatic display control unit. Reference numeral 11 automatically displays the dimension values of the highlighted element on the screen, and the dimension value drawing unit 12
Draws the dimension value displayed on the screen on the drawing.

【0018】以上のように構成された図形処理装置につ
いて、その動作を図2、図3を用いて説明する。図2
は、カーソルの位置情報および描画されたモデルの各要
素の位置情報の照合により寸法値を自動的に表示する一
連の動作を一般的に示すフローチャートであり、図3
は、カーソルの移動から要素の確定および寸法値自動表
示までの一連の動作を具体的に示すフローチャートであ
る。
The operation of the graphic processing device configured as described above will be described with reference to FIGS. 2 and 3. FIG.
3 is a flowchart generally showing a series of operations for automatically displaying the dimension value by collating the position information of the cursor and the position information of each element of the drawn model, and FIG.
6 is a flowchart specifically showing a series of operations from the movement of the cursor to the confirmation of elements and the automatic display of dimension values.

【0019】まず、図2を用いて説明する。作業者は描
画対象モデルを3次元空間上に配置する(S1)。つま
り、描画対象モデルが入力装置3を介して表示装置2の
画面上に表示される。描画モデル情報管理部7は、描画
されたモデルの各要素の座標情報および寸法値情報をデ
ータベースに格納する(S2)。寸法値自動表示制御部
11は図形処理装置が寸法値自動表示モードか否かを確
認する(S3)。カーソル座標情報管理部8は、ステッ
プ3で寸法値自動表示制御部11が寸法値自動表示モー
ドであると判定したときには、移動するカーソルの座標
情報を検知し、その座標情報を常に管理する(S4)。
ステップ3で寸法値自動表示制御部11が寸法値自動表
示モードでないと判定したときには処理を終了する(S
3)。次に、カーソル座標照合検索部9は、ステップ4
で検知されたカーソルの座標情報とステップ2でデータ
ベースに格納された各要素の座標情報とを照合し、一致
しているか否かを判定する(S5、一致判定ステッ
プ)。要素ハイライト制御部10は、カーソル座標照合
検索部9で一致していると判定されたときには一致した
要素をハイライト表示する(S6)。次に、寸法値自動
表示制御部11は、描画モデル情報管理部7のデータベ
ースから、一致した要素の寸法値情報を読み出し、画面
上に表示する(S7、寸法表示ステップ)。寸法値描画
部12は、画面上に表示された寸法値をそのまま図面に
描画するか、あるいは、作業者からの寸法値表示位置指
定を確認し、その指定された位置に寸法値を描画する
(S8)。
First, a description will be given with reference to FIG. The worker arranges the drawing target model in the three-dimensional space (S1). That is, the drawing target model is displayed on the screen of the display device 2 via the input device 3. The drawing model information management unit 7 stores the coordinate information and the dimension value information of each element of the drawn model in the database (S2). The dimension value automatic display control unit 11 confirms whether the graphic processing device is in the dimension value automatic display mode (S3). When the dimension value automatic display control unit 11 determines in step 3 that the dimension value automatic display mode is in the dimension value automatic display mode, the cursor coordinate information management unit 8 detects the coordinate information of the moving cursor and constantly manages the coordinate information (S4). ).
When it is determined in step 3 that the automatic dimension value display control unit 11 is not in the automatic dimension value display mode, the processing ends (S).
3). Next, the cursor coordinate matching search unit 9 performs step 4
The coordinate information of the cursor detected in step S1 and the coordinate information of each element stored in the database in step S2 are collated to determine whether they match (S5, coincidence determination step). The element highlight control unit 10 highlights the matched element when the cursor coordinate matching search unit 9 determines that they match (S6). Next, the dimension value automatic display control unit 11 reads out the dimension value information of the matched element from the database of the drawing model information management unit 7 and displays it on the screen (S7, dimension display step). The dimension value drawing unit 12 draws the dimension value displayed on the screen as it is on the drawing, or confirms the dimension value display position designation from the operator and draws the dimension value at the designated position ( S8).

【0020】次に、カーソルの移動から要素の確定およ
び寸法値自動表示までの一連の動作を図3を用いて具体
的に説明する。作業者は必要に応じて操作によりカーソ
ルを移動する(S11)。作業者による操作データは入
力装置3を介してカーソル座標情報管理部8に入力され
る。カーソル座標情報管理部8は、カーソルが移動する
毎に、カーソルの位置する座標を検知し、常に最新のカ
ーソルの座標情報を保有する(S12)。次に、カーソ
ル座標照合検索部9は、ステップ12で得られたカーソ
ルの座標情報と、予め作成され、データベースに格納さ
れている描画モデルの各要素の座標情報との照合を行
い、一致しているか否かを判定する(S13、S14、
一致判定ステップ)。要素ハイライト制御部10は、ス
テップ13で一致したと判定したときには、一致した要
素をハイライト表示させる(S14、S15)。一致し
なかったと判定したときには、ステップ11に戻り、カ
ーソル移動を続行する。一致した要素がハイライト表示
された後、寸法値自動表示制御部11は、一致した要素
に対する寸法値情報を予め作成された描画モデル情報が
格納されているデータベースから読み出し、その寸法値
を表示装置2の画面上に表示させる(S16、寸法表示
ステップ)。画面表示された寸法値を図面に描画する場
合には作業者は要素確定の作業を行う。寸法値描画部1
2は、作業者による要素確定が行われたか否かを判定し
(S17)、要素の確定が行われたと判定したときに
は、表示してある寸法値を図面上に描画する(S1
8)。要素の確定が行われなかったと判定したときに
は、ステップ11に戻ってカーソル移動が続行され、こ
のカーソル移動の続行により要素上からカーソルが離れ
たとき、要素のハイライト表示および寸法値の自動表示
は消滅する。
Next, a series of operations from the movement of the cursor to the confirmation of the element and the automatic display of the dimension value will be specifically described with reference to FIG. The operator moves the cursor by operation as necessary (S11). The operation data by the operator is input to the cursor coordinate information management unit 8 via the input device 3. Each time the cursor moves, the cursor coordinate information management unit 8 detects the coordinates where the cursor is located and always holds the latest cursor coordinate information (S12). Next, the cursor coordinate collation search unit 9 collates the coordinate information of the cursor obtained in step 12 with the coordinate information of each element of the drawing model created in advance and stored in the database, and the coincidence is obtained. It is determined whether or not (S13, S14,
Matching determination step). When the element highlight control unit 10 determines in step 13 that the elements match, the element highlighting controller 10 highlights the matched elements (S14, S15). If it is determined that they do not match, the process returns to step 11 to continue moving the cursor. After the matching element is highlighted, the automatic dimension value display control unit 11 reads the dimension value information for the matching element from the database in which the drawing model information created in advance is stored, and the dimension value is displayed on the display device. No. 2 is displayed on the screen (S16, dimension display step). When drawing the dimension value displayed on the screen in the drawing, the operator performs the work of element determination. Dimension drawing part 1
2 determines whether or not the operator has decided the element (S17). When it is determined that the element has been decided, the displayed dimension value is drawn on the drawing (S1).
8). When it is determined that the element has not been confirmed, the process returns to step 11 to continue the cursor movement. When the cursor moves away from the element due to the continuation of the cursor movement, the element highlight display and the automatic display of the dimension value are not performed. Disappear.

【0021】上述した図2、図3に示す方法により寸法
値を自動表示する場合について、図4、図5を用いて説
明する。図4は表示装置2の画面上に描画された円、点
および線分を示す描画図である。図5(a)は要素の確
定を行うマウスを示す平面図であり、図5(b)は要素
の確定および寸法値表示を示す説明図である。
The case of automatically displaying the dimension value by the method shown in FIGS. 2 and 3 will be described with reference to FIGS. 4 and 5. FIG. 4 is a drawing showing the circles, points, and line segments drawn on the screen of the display device 2. FIG. 5A is a plan view showing a mouse for confirming elements, and FIG. 5B is an explanatory diagram showing confirmation of elements and display of dimension values.

【0022】まず、描画されたモデルの各要素の情報が
どのようにデータベースに格納されているかを図4を用
いて説明する。図4に示す要素は、円A、点B、線分C
である。要素A、B、Cの座標情報および寸法値情報は
(表1)に示すようにデータベースとして格納されてい
る。
First, how the information of each element of the drawn model is stored in the database will be described with reference to FIG. The elements shown in FIG. 4 are a circle A, a point B, and a line segment C.
It is. The coordinate information and the dimension value information of the elements A, B and C are stored as a database as shown in (Table 1).

【0023】[0023]

【表1】 [Table 1]

【0024】実際のデータベースの内容には、たとえば
円Aの場合、座標情報の先頭に格納された円の中心座標
(0,200,0)から60(円Aの半径に相当)の距
離の地点の座標も含まれているものとする。このデータ
ベースにおいては、作業者により描画された順にデータ
が格納されていく。このデータベースは、設計作業中に
例えば線分要素Cに対して分割などのコマンドが実行さ
れた場合、分割後の線分の座標情報および寸法値情報と
して更新されたデータを常に保持するように描画モデル
情報管理部6により管理されている。
In the actual contents of the database, for example, in the case of circle A, a point at a distance of 60 (corresponding to the radius of circle A) from the center coordinates (0,200,0) of the circle stored at the beginning of the coordinate information. The coordinates of are also included. In this database, data is stored in the order in which it is drawn by the worker. This database is drawn so as to always hold the updated data as the coordinate information and dimension value information of the line segment after the division when a command such as division is executed for the line element C during the design work. It is managed by the model information management unit 6.

【0025】次に、図5(a)、(b)を用いて、要素
の確定を行うマウスと寸法値の自動表示の形態とについ
て説明する。図5(a)は寸法値作成の対象となる要素
の確定機能を要素確定ボタンB1に割り付けたマウス2
0を示し、図5(b)はマウスカーソルが図4に示す線
分要素C上に位置した場合を示す。マウスカーソルの座
標情報と(表1)の座標情報との照合により情報が互い
に一致した場合、一致した要素がハイライト表示される
(図5(b)では線分要素Cがハイライト表示されてい
る)。次に、(表1)に格納された寸法値情報を読み出
し、各寸法を画面上に表示する。要素Cの場合は線分で
あるため、(表1)に示すように、垂直距離v、水平距
離h、線分距離lの3種類の寸法値が格納してある。図
5(b)に示すように寸法値が表示された状態で図5
(a)に示す要素確定ボタンB1をクリックすれば、画
面上に表示された寸法値は、マウスカーソルが線分要素
C上でない位置に移動した場合でも、図面上に描画され
た状態となり、そのまま表示される。寸法値が表示され
た状態で要素確定ボタンB1をクリックせずにマウスカ
ーソルの移動が行われると、線分要素Cとマウスカーソ
ルとは座標情報の照合で不一致となり、画面上に表示し
てあった寸法値は消去される。このように、予め用意し
てある描画モデル情報を利用してそのデータの照合を行
い、寸法値の自動表示を行うことで、操作ステップの軽
減を実現することができる。
Next, the mouse for confirming the element and the mode for automatically displaying the dimension value will be described with reference to FIGS. 5 (a) and 5 (b). FIG. 5A shows a mouse 2 in which the element confirmation button B1 is assigned the function of confirming the element for which the dimension value is to be created.
0, and FIG. 5B shows the case where the mouse cursor is positioned on the line segment element C shown in FIG. When the information is matched with each other by collating the coordinate information of the mouse cursor with the coordinate information of (Table 1), the matched element is highlighted (in FIG. 5B, the line segment element C is highlighted. Exist). Next, the dimension value information stored in (Table 1) is read and each dimension is displayed on the screen. Since the element C is a line segment, as shown in (Table 1), three types of dimension values of a vertical distance v, a horizontal distance h, and a line segment distance 1 are stored. As shown in FIG. 5B, the dimension values are displayed in FIG.
When the element confirmation button B1 shown in (a) is clicked, the dimension value displayed on the screen remains drawn on the drawing even when the mouse cursor moves to a position not on the line segment element C, and remains as it is. Is displayed. If the mouse cursor is moved without clicking the element confirmation button B1 while the dimension value is displayed, the line segment element C and the mouse cursor will not match due to the coordinate information collation and will be displayed on the screen. The dimension values that have As described above, the drawing model information prepared in advance is used to collate the data, and the dimension values are automatically displayed, so that the number of operation steps can be reduced.

【0026】以上のように本実施の形態によれば、カー
ソル移動時に検知される座標情報のうちの最新の座標情
報と予め作成された描画モデルの要素の座標情報との照
合を行って一致、不一致を判定し、一致していると判定
したときには一致した要素の寸法値を画面上に表示し、
一致した要素の寸法値を描画したいときには要素を確定
するようにしたので、寸法値作成コマンドを用いること
がなく、移動中のカーソルが描画された要素上に位置し
た場合に自動的に寸法値を画面に出力することができ、
従って、寸法値作成コマンドを用いることなく寸法値の
表示を可能とし、また寸法値の描画を可能とするもので
ある。
As described above, according to the present embodiment, the latest coordinate information of the coordinate information detected when the cursor is moved and the coordinate information of the element of the drawing model created in advance are collated and matched, When it is judged that they do not match, and when they match, the dimension values of the matched elements are displayed on the screen,
When you want to draw the dimension value of the matched element, the element is decided.Therefore, without using the dimension value creation command, the dimension value is automatically set when the moving cursor is positioned on the drawn element. Can be output to the screen,
Therefore, the dimension value can be displayed and the dimension value can be drawn without using the dimension value creation command.

【0027】[0027]

【発明の効果】以上のように本発明の図形処理方法によ
れば、カーソル座標情報と要素座標情報とが一致したと
きに要素寸法値を画面上に表示するようにしたので、寸
法値作成コマンドを用いることなく寸法値の表示が可能
となり、寸法値作成に要する操作ステップ数を低減して
作業効率を向上させることができるという有利な効果が
得られる。また、一致した要素をハイライト表示するよ
うにしたので、一致した要素を明瞭に確認できるという
有利な効果が得られる。さらに、ハイライト表示した要
素を確定することにより寸法値を作成するようにしたの
で、一層の操作ステップ数の低減が図れるという有利な
効果が得られる。
As described above, according to the graphic processing method of the present invention, the element dimension value is displayed on the screen when the cursor coordinate information and the element coordinate information match each other. The dimensional value can be displayed without using, and the advantageous effect that the number of operation steps required to create the dimensional value can be reduced and the work efficiency can be improved can be obtained. Further, since the matched elements are highlighted, the advantageous effect that the matched elements can be clearly confirmed can be obtained. Further, since the dimension value is created by confirming the highlighted elements, the advantageous effect that the number of operation steps can be further reduced can be obtained.

【0028】また、本発明の図形処理装置によれば、カ
ーソル座標情報と要素座標情報とが一致したときに要素
寸法値を画面上に表示するようにしたので、寸法値作成
コマンドを用いることなく寸法値の表示が可能となり、
寸法値作成に要する操作ステップ数を低減して作業効率
を向上させることができるという有利な効果が得られ
る。
Further, according to the graphic processing apparatus of the present invention, the element dimension value is displayed on the screen when the cursor coordinate information and the element coordinate information match, so that the dimension value creation command is not used. It becomes possible to display dimension values,
An advantageous effect that the number of operation steps required to create the dimension value can be reduced and the work efficiency can be improved can be obtained.

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

【図1】本発明の一実施の形態による図形処理装置を示
すブロック図
FIG. 1 is a block diagram showing a graphic processing device according to an embodiment of the present invention.

【図2】カーソルの位置情報および描画されたモデルの
各要素の位置情報の照合により寸法値を自動的に表示す
る一連の動作を一般的に示すフローチャート
FIG. 2 is a flowchart generally showing a series of operations for automatically displaying a dimension value by collating the position information of the cursor and the position information of each element of the drawn model.

【図3】カーソルの移動から要素の確定および寸法値自
動表示までの一連の動作を具体的に示すフローチャート
FIG. 3 is a flowchart specifically showing a series of operations from cursor movement to element confirmation and automatic display of dimension values.

【図4】画面上に描画された円、点および線分を示す描
画図
FIG. 4 is a drawing showing the circles, points, and line segments drawn on the screen.

【図5】(a)要素の確定を行うマウスを示す平面図 (b)要素の確定および寸法値表示を示す説明図FIG. 5A is a plan view showing a mouse for confirming elements. FIG. 5B is an explanatory view showing confirming elements and displaying dimension values.

【図6】従来の図形処理装置を示すブロック図FIG. 6 is a block diagram showing a conventional graphic processing device.

【図7】図6の図形処理装置の動作を説明するためのフ
ローチャート
7 is a flowchart for explaining the operation of the graphic processing device of FIG.

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

1 中央処理装置 2 表示装置 3 入力装置 4 主記憶装置 5 二次記憶装置 6 寸法値自動表示モード制御部 7 描画モデル情報管理部 8 カーソル座標情報管理部 9 カーソル座標照合検索部 10 要素ハイライト制御部 11 寸法値自動表示制御部 12 寸法値描画部 20 マウス B1 要素確定ボタン A、B、C 要素 1 Central Processing Unit 2 Display Device 3 Input Device 4 Main Storage Device 5 Secondary Storage Device 6 Dimension Value Automatic Display Mode Control Unit 7 Drawing Model Information Management Unit 8 Cursor Coordinate Information Management Unit 9 Cursor Coordinate Matching Search Unit 10 Element Highlight Control Part 11 Dimension value automatic display control unit 12 Dimension value drawing unit 20 Mouse B1 element confirmation button A, B, C element

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】対象要素に寸法値を描画する図形処理方法
であって、カーソル移動時に検知される座標情報のうち
の最新の座標情報と予め作成された描画モデルの要素の
座標情報との照合を行って一致、不一致を判定する一致
判定ステップと、前記一致判定ステップにおいて一致し
ていると判定したときには一致した要素の寸法値を画面
上に表示する寸法表示ステップとを有する図形処理方
法。
1. A graphic processing method for drawing a dimension value on a target element, wherein the latest coordinate information among coordinate information detected when the cursor is moved and the coordinate information of a previously created element of a drawing model are collated. And a dimension display step of displaying the dimension value of the matched element on the screen when it is determined in the match determination step.
【請求項2】前記寸法表示ステップは、一致した要素を
ハイライト表示する請求項1記載の図形処理方法。
2. The graphic processing method according to claim 1, wherein the matching element is highlighted in the dimension displaying step.
【請求項3】前記寸法表示ステップは、前記ハイライト
表示した要素を確定することにより寸法値を作成する請
求項2記載の図形処理方法。
3. The graphic processing method according to claim 2, wherein in the dimension displaying step, the dimension value is created by confirming the highlighted element.
【請求項4】要求された情報を処理する中央処理装置
と、オペレーティングシステム、ウィンドウシステムな
ど実行中のプログラムを記憶する主記憶装置とを有し、
対象要素に寸法値を描画する図形処理装置であって、カ
ーソル移動時に検知される座標情報のうちの最新の座標
情報と予め作成された描画モデルの要素の座標情報との
照合を行って一致、不一致を判定するカーソル座標照合
検索部と、前記カーソル座標照合検索部において一致し
ていると判定したときには一致した要素の寸法値を画面
上に表示する寸法値自動表示制御部とを有する図形処理
装置。
4. A central processing unit for processing requested information, and a main storage unit for storing a running program such as an operating system and a window system,
A graphic processing device that draws a dimension value on a target element, and matches the latest coordinate information of the coordinate information detected when the cursor is moved with the coordinate information of the element of the drawing model that is created in advance, and matches. A graphic processing device having a cursor coordinate collation search unit for determining non-coincidence, and a dimension value automatic display control unit for displaying the dimension value of the coincident element on the screen when the cursor coordinate collation search unit determines that they coincide. .
JP8019610A 1996-02-06 1996-02-06 Graphic processing method and device therefor Pending JPH09212539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8019610A JPH09212539A (en) 1996-02-06 1996-02-06 Graphic processing method and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8019610A JPH09212539A (en) 1996-02-06 1996-02-06 Graphic processing method and device therefor

Publications (1)

Publication Number Publication Date
JPH09212539A true JPH09212539A (en) 1997-08-15

Family

ID=12003967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8019610A Pending JPH09212539A (en) 1996-02-06 1996-02-06 Graphic processing method and device therefor

Country Status (1)

Country Link
JP (1) JPH09212539A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018520413A (en) * 2015-05-08 2018-07-26 シーメンス プロダクト ライフサイクル マネージメント ソフトウェアー インコーポレイテッドSiemens Product Lifecycle Management Software Inc. System and method for generating annotations
CN114440775A (en) * 2021-12-29 2022-05-06 全芯智造技术有限公司 Characteristic dimension offset error calculation method and device, storage medium and terminal
CN114817604A (en) * 2022-06-24 2022-07-29 万翼科技有限公司 Method and device for retrieving drawing dimension labels, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018520413A (en) * 2015-05-08 2018-07-26 シーメンス プロダクト ライフサイクル マネージメント ソフトウェアー インコーポレイテッドSiemens Product Lifecycle Management Software Inc. System and method for generating annotations
CN114440775A (en) * 2021-12-29 2022-05-06 全芯智造技术有限公司 Characteristic dimension offset error calculation method and device, storage medium and terminal
CN114817604A (en) * 2022-06-24 2022-07-29 万翼科技有限公司 Method and device for retrieving drawing dimension labels, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US5414843A (en) Method and system for generating a project schedule using weighted work processes
JP5925976B1 (en) Machining program editing support device
JP2002091523A (en) Automatic programming simulation device
JP2002082704A (en) Nc processing simulation device
JPH09212539A (en) Graphic processing method and device therefor
US6864885B2 (en) Graphic form correction method and apparatus for CAD system
JPH07311612A (en) Method and device for editing machining program of numerical controller
JP2002169843A (en) Design support system
JPH09120308A (en) Tool path plotting method
JP2821245B2 (en) Processing area designation device
JP4386527B2 (en) Drawing support method and medium storing CAD program
JPH0778015A (en) Numerical controller with data displaying and alterating function
JP2610828B2 (en) Figure information extraction method
JPH07334696A (en) Table preparation system
JP2002063545A (en) Method and device for supporting confirmation of map symbol recognition result, and recording medium
JPH077839U (en) Numerical control device
JPH0722875B2 (en) How to display taper angle setting of programming device
JP2573209Y2 (en) Tool path display device for NC equipment
JPH0962860A (en) Graphic processor
JPH06195193A (en) Display device provided with icon
CN116157755A (en) Machining program editing auxiliary device
JPH07200862A (en) Graphic input device
JPH06282619A (en) Graphic plotting device
JPH05233054A (en) Tool locus plotting system for automatic programming system
JPH04148305A (en) Edited part confirming system