JPH0785305A - Drawing correction method in cad drawing device - Google Patents

Drawing correction method in cad drawing device

Info

Publication number
JPH0785305A
JPH0785305A JP5253832A JP25383293A JPH0785305A JP H0785305 A JPH0785305 A JP H0785305A JP 5253832 A JP5253832 A JP 5253832A JP 25383293 A JP25383293 A JP 25383293A JP H0785305 A JPH0785305 A JP H0785305A
Authority
JP
Japan
Prior art keywords
mode
end point
rectangular
polygonal
resetting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5253832A
Other languages
Japanese (ja)
Other versions
JP3354232B2 (en
Inventor
Shigeru Chiba
茂 千葉
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.)
Wacom Co Ltd
Original Assignee
Wacom 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 Wacom Co Ltd filed Critical Wacom Co Ltd
Priority to JP25383293A priority Critical patent/JP3354232B2/en
Publication of JPH0785305A publication Critical patent/JPH0785305A/en
Application granted granted Critical
Publication of JP3354232B2 publication Critical patent/JP3354232B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To correct a drawing by means of resetting an end point in the same way as a polygonal mode by giving relationship as a polygonal graphic to respective end point position data at the time of correcting the triangular or rectangular polygonal graphic. CONSTITUTION:For correcting the resetting of the end points in the rectangular graphics P1-P4 drawn at the linear mode by holding the shape attributes, 'group setting' is selected from a command menu, the respective end points P1-P4 are designated by cursors 11a and 11b and an execution key is depressed. Thus, addresses which are connected next, are written into the respective memory areas of the end points P1-P4 as extension data, and the respective position data are related as data of one rectangular graphic. When 'end point resetting' is selected from the command menu and the end point P4 is extensively shifted to P4', for example, two sides P1-P4 and P3-P4 are shifted in parallel in a state where they succeed the rectangular shape attributes.

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 drawing correction method in a CAD drawing apparatus, and more specifically, it can correct a polygonal figure drawn in a straight line mode in the same manner as a figure drawn in a polygonal mode. The present invention relates to a drawing correction method in a CAD drawing apparatus that can be performed.

【0002】[0002]

【従来の技術】CAD(Computer aided
design)にて、例えば三角形や矩形などの多角
形図形を描くには、通常、作図コマンドとして直線モー
ドを選択する方法と、三角形モードもしくは矩形モード
を選択する方法とがある。
2. Description of the Related Art CAD (Computer aided)
In order to draw a polygonal figure such as a triangle or a rectangle in design, there are usually a method of selecting a straight line mode as a drawing command and a method of selecting a triangle mode or a rectangle mode.

【0003】直線モードの場合は、カーソルにて始点と
終点とを順次指定してそれらの間に線を引きながら所望
とする三角形や矩形を描いていく。この場合、各始点デ
ータと終点データは直線データベースとしてメモリに格
納される。
In the case of the straight line mode, a starting point and an ending point are sequentially designated by a cursor, and a desired triangle or rectangle is drawn while drawing a line between them. In this case, the start point data and the end point data are stored in the memory as a straight line database.

【0004】これに対して、例えば三角形モードもしく
は矩形モードを指定した場合には、三角形であるならば
カーソルにてその各端点(頂点)位置を指定することに
より、ラバーバンドと呼ばれる仮線による三角形が表示
され、実行キーを押すことによりその三角形の図形が確
定されるとともに、その端点位置データが三角形データ
ベースとしてメモリに格納される。
On the other hand, for example, when the triangle mode or the rectangular mode is designated, if the triangle is a triangle, the position of each end point (vertex) of the triangle is designated by a cursor, and a triangle formed by a temporary line called a rubber band is designated. Is displayed and the execution key is pressed to fix the triangle figure, and the end point position data is stored in the memory as a triangle database.

【0005】また、矩形モードの場合には、カーソルに
て対角線上に位置する2点を指定すれば、残りの2点を
含むラバーバンドによる矩形が表示され、実行キーを押
すことによりその矩形の図形が確定されるとともに、そ
の端点位置データが矩形データベースとしてメモリに記
憶される。なお、厳密に言えば矩形には正方形は含まれ
ないが、正方形も描けることはもちろんである。
Further, in the rectangular mode, if two points located on the diagonal line are designated by the cursor, a rubber band rectangle including the remaining two points is displayed, and the rectangle is pressed by pressing the execution key. The figure is determined, and its end point position data is stored in the memory as a rectangular database. Strictly speaking, a rectangle does not include a square, but it goes without saying that a square can also be drawn.

【0006】[0006]

【発明が解決しようとする課題】このようにして、直線
モードでも矩形モード、三角形モード(以下、説明の便
宜上これらのモードを多角形モードという。)でも図3
(a)に示されているように、画面上に所望とする矩形
abcdもしくは三角形xyzを描くことができる。
As described above, FIG. 3 shows the linear mode, the rectangular mode, and the triangular mode (hereinafter, these modes are referred to as polygonal modes) for convenience of explanation.
As shown in (a), a desired rectangle abcd or triangle xyz can be drawn on the screen.

【0007】しかしながら、見た目は同じ図形であって
も、修正機能にてそれらの図面をその形状的属性を失う
ことなく端点を再設定して修正しようとする場合、次の
ような問題があった。
However, even if the figures are the same in appearance, when the correction function is used to reset the end points of the drawings without losing their geometrical attributes, the following problems occur. .

【0008】すなわち、図3(a)において太線図形a
bcd、xyzが修正前の元図であるとして、それが多
角形モードで描かれたものである場合には、カーソルに
てそのいずれか一つの例えば端点b、端点xを指定して
例えば図示矢印のように拡大方向にずらすと、その元図
の形状的属性(矩形や三角形)を引き続いた状態で、矩
形ABCd、三角形Xyzへの修正を行なうことができ
る。
That is, in FIG. 3 (a), the thick line figure a
If bcd and xyz are original drawings before correction, and if they are drawn in the polygonal mode, one of them, for example, the end point b or the end point x is designated by the cursor, and the arrow shown in the figure By shifting in the enlargement direction as described above, it is possible to correct the rectangle ABCd and the triangle Xyz while continuing the geometrical attributes (rectangle and triangle) of the original drawing.

【0009】この例では拡大方向に修正しているが、同
様に端点を再設定することにより、その属性を失うこと
なく、縮小もしくは等倍的な修正をも行なうことができ
る。
In this example, the correction is performed in the enlargement direction, but similarly, by resetting the end points, it is possible to perform reduction or equal-scale correction without losing the attribute.

【0010】これに対して、直線モードで描かれている
場合には、カーソルにてその端点b、端点xを指定して
それらを例えばB′、X′位置に移動させようとしても
図3(b)に示されているように、その端点が属する一
辺B′−c、X′−zのみが動くだけで、上記のように
形状的属性を引き継いだ状態で拡大、縮小もしくは等倍
的な修正を行なうことができなかった。
On the other hand, in the case of drawing in the linear mode, even if the end point b and the end point x are designated by the cursor to move them to the positions B'and X ', for example, FIG. As shown in b), only one side B'-c, X'-z to which the end point belongs moves, and the enlargement, reduction, or equal-magnification is performed in the state where the geometric attribute is inherited as described above. The fix could not be made.

【0011】[0011]

【課題を解決するための手段】この発明は上記課題を解
決するためになされたもので、その構成上の特徴は、作
図コマンドとして少なくとも直線モードと、三角形モー
ドおよび矩形モードを含む多角形モードとを備え、同多
角形モードにて画面上に描かれた多角形図形を修正する
際には、カーソルにてそのいずれか一つの端点(頂点)
を指定してそれを任意方向にずらしてその端点位置を再
設定すことにより、その図形の形状的属性を引き継いで
拡大、縮小もしくは等倍図形に修正し得るCAD作図装
置における図面修正方法において、直線モードにて画面
上に描かれた三角形もしくは矩形の多角形図形を修正す
るにあって、同図形に対してグループ設定のコマンドを
与えることにより、メモリに記憶されている各端点位置
データ間にその多角形図形としての関連性を持たせ、上
記多角形モード時と同様に端点再設定による図面修正を
可能としたことにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and its structural feature is that at least a linear mode and a polygonal mode including a triangular mode and a rectangular mode are provided as drawing commands. When modifying a polygonal figure drawn on the screen in the same polygonal mode, use the cursor to select one of the end points (vertices).
In the drawing correction method in the CAD drawing apparatus, which can be enlarged, reduced, or corrected to the same size graphic by inheriting the geometrical attribute of the figure, by designating and shifting it in an arbitrary direction and resetting the end point position, When correcting a triangular or rectangular polygonal figure drawn on the screen in the straight line mode, by giving a group setting command to the same figure, between the end point position data stored in the memory The purpose is to make the drawing as a polygonal figure relevant and to correct the drawing by resetting the end points as in the polygonal mode.

【0012】[0012]

【作用】上記構成によると、直線モードにて描かれた多
角形図形であっても、グループ設定のコマンドが与えら
れることにより、その図形の各端点位置データが一つの
図形データとしてリンクされることになる。
According to the above construction, even if a polygonal figure is drawn in the straight line mode, each end point position data of the figure is linked as one figure data by giving a group setting command. become.

【0013】したがって、多角形モードで描かれた図形
と同様に、その形状的属性を引き継いだ状態で端点再設
定による図面修正を行なうことができる。
Therefore, similarly to the figure drawn in the polygon mode, it is possible to correct the drawing by resetting the end points while inheriting the shape attribute.

【0014】[0014]

【実施例】図1には、この発明に用いられるCAD作図
装置の一例が示されている。これによると、同作図装置
はCAD本体10と、カーソルの移動やコマンドの選択
およびその実行などを操作するマウス21を有するディ
ジタイザ20と、各作図モードで作成された図面データ
やシステムパラメータおよび編集用のデータなどが格納
される例えばハードディスクからなるメモリ30とを備
えている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an example of a CAD drawing device used in the present invention. According to the drawing, the drawing apparatus includes a CAD main body 10, a digitizer 20 having a mouse 21 for moving a cursor, selecting a command and executing the command, drawing data created in each drawing mode, system parameters, and editing data. And a memory 30 formed of, for example, a hard disk.

【0015】CAD本体10は例えばCRTもしくはプ
ラズマディスプレイなどからなる表示画面を有し、この
場合、同表示画面は作図領域10aとコマンドメニュー
表示部10bとに区画されている。
The CAD main body 10 has a display screen composed of, for example, a CRT or a plasma display, and in this case, the display screen is divided into a drawing area 10a and a command menu display section 10b.

【0016】ここで、マウス21にて作図コマンド中か
ら直線モードを選択し、同マウス21にて縦カーソル1
1a、横カーソル11bを移動させて始点P1を指定し
た後、終点P2を指定して垂直下方に直線P1−P2を
描く。
Here, the linear mode is selected from the drawing commands with the mouse 21, and the vertical cursor 1 is selected with the mouse 21.
1a, the horizontal cursor 11b is moved to specify the starting point P1, and then the ending point P2 is specified to draw a straight line P1-P2 vertically downward.

【0017】次に、P2を始点としP3を終点とする直
線P2−P3を右方向に水平に描き、さらにP3を始点
としP4を終点とする直線P3−P4を直線P1−P2
と同じ長さをもって垂直上方に描き、そして最後に点P
4とP1とを結ぶ直線を描いて、図示太線のような矩形
を描画したとする。
Next, a straight line P2-P3 starting from P2 and ending at P3 is drawn horizontally to the right, and a straight line P3-P4 starting from P3 and ending at P4 is drawn straight P1-P2.
Draw vertically upward with the same length as, and finally point P
It is assumed that a straight line connecting 4 and P1 is drawn to draw a rectangle like a thick line in the drawing.

【0018】この矩形の作図に伴って、その端点P1〜
P4の各位置データが直線データベースとしてメモリ3
0内に格納されるのであるが、図2にはその各位置デー
タがアドレス1〜4に格納された状態が模式的に示され
ている。
With the drawing of this rectangle, its end points P1 to
Each position data of P4 is memory 3 as a straight line database
It is stored in 0, but FIG. 2 schematically shows a state in which each position data is stored in addresses 1 to 4.

【0019】この矩形図形は直線モードで描かれている
ため、その形状的属性を保持したまま端点再設定の修正
を加えるには、コマンドメニュー中から『グループ設
定』を選択した後、カーソル11a,11bにて各端点
P1〜P4を指定し、実行キーを押す。なお、各端点P
1〜P4ごとに指定するのではなく、それら各端点P1
〜P4を一つの枠で囲んでグループ設定のコマンドを与
えてもよい。
Since this rectangular figure is drawn in the straight line mode, in order to modify the end point resetting while maintaining its shape attribute, after selecting "set group" from the command menu, the cursor 11a, The end points P1 to P4 are designated by 11b, and the execute key is pressed. In addition, each end point P
1 to P4 are not specified for each end point P1
A group setting command may be given by enclosing ~ P4 in one frame.

【0020】これにより、図2に例示されているよう
に、端点P1〜P4の各メモリ領域に拡張データとして
次に繋がるアドレスが書き込まれ、その各位置データが
一つの矩形図形のデータとして関連付けられることにな
る。なお、アドレスによって繋げるのではなく、例えば
グループ化された各端点のメモリ領域の拡張データとし
て同一のフラグを立てるようにしてもよい。
As a result, as illustrated in FIG. 2, an address to be connected next is written as extension data in each memory area of the end points P1 to P4, and each position data is associated as one rectangular figure data. It will be. It should be noted that instead of connecting by addresses, the same flag may be set as the extension data of the memory areas of the grouped end points, for example.

【0021】したがって、コマンドメニュー中から『端
点再設定』を選択し、例えば端点P4を指定して、この
点を図示矢印のようにP4′位置にまで拡大的に移動さ
せると、この端点P4の隣り合う2辺P1−P4および
P3−P4がともに矩形の形状的属性を引き継いだ状態
で平行移動する。
Therefore, when "reset end point" is selected from the command menu and, for example, the end point P4 is specified and this point is expandedly moved to the position P4 'as shown by the arrow in the figure, the end point P4 is changed. The two adjacent sides P1-P4 and P3-P4 both move in parallel while inheriting the rectangular shape attribute.

【0022】すなわち、点P4′の座標を(X4′,Y
4′)とすると、、端点P1が点P1′(X1,Y
4′)まで、また、端点P3は点P3′(X4′,Y
3)まで移動することになる。
That is, the coordinates of the point P4 'are (X4', Y
4 '), the end point P1 becomes the point P1' (X1, Y
4 ') and the end point P3 is the point P3' (X4 ', Y
It will move to 3).

【0023】上記実施例はもっぱら矩形を例にとって説
明したが、直線モードで描かれた三角形であっても同様
にグループ設定することにより、その形状的属性を保持
した状態で端点再設定の修正を行なうことができる。な
お、この作図装置にはグループ解除のコマンドが用意さ
れており、任意に各端点データを直線モード時に戻すこ
とができるようになっている。
Although the above embodiment has been explained mainly by taking a rectangle as an example, even if a triangle drawn in the straight line mode is similarly set as a group, the correction of the end point resetting can be performed while maintaining its geometric attribute. Can be done. A command for canceling the group is prepared in this drawing device, and each end point data can be arbitrarily returned in the straight line mode.

【0024】[0024]

【発明の効果】以上説明したように、この発明によれ
ば、直線モードで描かれた三角形や矩形であっても、必
要に応じてそれらの各端点データに一つの図形としての
関連性を持たせ、その形状的属性を引き継いだ状態での
修正を行なうことができる、という効果が奏される。
As described above, according to the present invention, even if a triangle or a rectangle is drawn in the straight line mode, the end point data of each of them has a relevance as one figure if necessary. In addition, the effect that the correction can be performed in the state where the geometrical attribute is inherited is exhibited.

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

【図1】この発明に適用されるCAD作図装置の一例を
示した模式図。
FIG. 1 is a schematic diagram showing an example of a CAD drawing device applied to the present invention.

【図2】この発明の実施例において、各端点データのメ
モリへの格納状態を示した模式図。
FIG. 2 is a schematic diagram showing a storage state of each end point data in a memory in the embodiment of the present invention.

【図3】端点再設定を行なう際の従来の問題点を説明す
るための説明図。
FIG. 3 is an explanatory diagram for explaining a conventional problem when resetting an end point.

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

10 CAD本体 10a 作図領域 10b コマンド表示部 11a,11b カーソル 20 ディジタイザ 30 メモリ 10 CAD Main Body 10a Drawing Area 10b Command Display Area 11a, 11b Cursor 20 Digitizer 30 Memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 作図コマンドとして少なくとも直線モー
ドと、三角形モードおよび矩形モードを含む多角形モー
ドとを備え、同多角形モードにて画面上に描かれた多角
形図形を修正する際には、カーソルにてそのいずれか一
つの端点(頂点)を指定してそれを任意方向にずらして
その端点位置を再設定すことにより、その図形の形状的
属性を引き継いで拡大、縮小もしくは等倍図形に修正し
得るCAD作図装置における図面修正方法において、 直線モードにて画面上に描かれた三角形もしくは矩形の
多角形図形を修正するにあって、同図形に対してグルー
プ設定のコマンドを与えることにより、メモリに記憶さ
れている各端点位置データ間にその多角形図形としての
関連性を持たせ、上記多角形モード時と同様に端点再設
定による図面修正を可能としたことを特徴とするCAD
作図装置における図面修正方法。
1. A drawing command comprising at least a straight line mode and a polygon mode including a triangle mode and a rectangular mode, and a cursor is used for modifying a polygon figure drawn on the screen in the polygon mode. By specifying any one of the end points (vertices) and shifting it in any direction and resetting the end point position, the geometric attribute of the figure is inherited and enlarged or reduced or modified to a normal size figure. In a method for correcting a drawing in a CAD drawing apparatus capable of performing, when correcting a triangular or rectangular polygonal figure drawn on a screen in a straight line mode, a group setting command is given to the same figure to obtain a memory. The relationship between the end point position data stored in the table is given as a polygonal figure, and the drawing can be modified by resetting the end points as in the polygon mode. CAD which is characterized in that the function
Drawing correction method in drawing device.
JP25383293A 1993-09-16 1993-09-16 Drawing correction method in CAD plotter Expired - Fee Related JP3354232B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25383293A JP3354232B2 (en) 1993-09-16 1993-09-16 Drawing correction method in CAD plotter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25383293A JP3354232B2 (en) 1993-09-16 1993-09-16 Drawing correction method in CAD plotter

Publications (2)

Publication Number Publication Date
JPH0785305A true JPH0785305A (en) 1995-03-31
JP3354232B2 JP3354232B2 (en) 2002-12-09

Family

ID=17256760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25383293A Expired - Fee Related JP3354232B2 (en) 1993-09-16 1993-09-16 Drawing correction method in CAD plotter

Country Status (1)

Country Link
JP (1) JP3354232B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011118943A (en) * 2011-03-11 2011-06-16 Casio Computer Co Ltd Display control device, display control method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011118943A (en) * 2011-03-11 2011-06-16 Casio Computer Co Ltd Display control device, display control method and program

Also Published As

Publication number Publication date
JP3354232B2 (en) 2002-12-09

Similar Documents

Publication Publication Date Title
US5619628A (en) 3-Dimensional animation generating apparatus
JPH0325792B2 (en)
JPH0785305A (en) Drawing correction method in cad drawing device
JP2999019B2 (en) Character and graphic transformation processor
JPH07320077A (en) Area specifying device
JP2611198B2 (en) Image processing device
JPH1166129A (en) Interior facility design drawing generation system
JPH08185429A (en) Device and method for displaying image
JPH01103764A (en) Method for editing document using multi-window
JP2985324B2 (en) Table support device
JP2643617B2 (en) Method and apparatus for drawing walls or beams in architectural drawings, etc.
JP2721348B2 (en) Image processing device
JP3655450B2 (en) CAD character string editing apparatus and method, and computer-readable recording medium recording a CAD character string editing program
JPH01108674A (en) Document editing device
JPH0619675A (en) Graphics system
JP2944826B2 (en) Document processing device
JP2667454B2 (en) Plotting device
JPH01246673A (en) Graphic processor
JP2001046768A (en) Embroidery data preparation device
JPS6084588A (en) Graphic processor
JPH05165937A (en) Method for drawing data flow diagram
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JPH0785306A (en) Cad drawing device
JPH0291690A (en) Enlargement/reduction display system
JPS62115579A (en) Graphic display device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020814

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070927

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080927

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090927

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees