JPH0721241A - Continuous copying method for graphic - Google Patents
Continuous copying method for graphicInfo
- Publication number
- JPH0721241A JPH0721241A JP5153125A JP15312593A JPH0721241A JP H0721241 A JPH0721241 A JP H0721241A JP 5153125 A JP5153125 A JP 5153125A JP 15312593 A JP15312593 A JP 15312593A JP H0721241 A JPH0721241 A JP H0721241A
- Authority
- JP
- Japan
- Prior art keywords
- copying
- copy
- reference point
- line
- graphic
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はCAD(計算機援用設
計)における図形の連続的な複写方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for continuously copying graphics in CAD (computer aided design).
【0002】[0002]
【従来の技術】現在、一般的に使用されるCADの標準
的な装置構成は図3のように示される。図3において1
はコンピュータのCPU、2はメモリ、3はキーボー
ド、4はマウス、タブレット等のポインティングデバイ
ス、5は表示装置である。尚通常はこの他にハードディ
スク等の外部記憶装置が付加されることが多い。2. Description of the Related Art A standard apparatus configuration of a CAD which is commonly used at present is shown in FIG. 1 in FIG.
Is a CPU of a computer, 2 is a memory, 3 is a keyboard, 4 is a pointing device such as a mouse or tablet, and 5 is a display device. In addition to this, an external storage device such as a hard disk is usually added in many cases.
【0003】CADはポインティングデバイス4あるい
はキーボード3を用いて図形や文字を作図し、データを
コンピュータに入力して行く。CADの編集機能として
は、誤って入力してしまったデータの修正、入力済みの
データと同様な記述内容を複写する機能等を有している
のが一般的である。CAD draws figures and characters using the pointing device 4 or the keyboard 3 and inputs data to a computer. As a CAD editing function, it is common to have a function of correcting data that is erroneously input, a function of copying the same description content as the input data, and the like.
【0004】[0004]
【発明が解決しようとする課題】通常のCADでは、入
力済みのデータを複写する際に複写元の図形、複写位
置、複写時の回転角度(無い場合もある)を指定して複
写する方式をとっている。この方式によると、ある線に
沿って同様な図形を複数個連続的に複写したい場合に非
常に多くの操作手数を必要とする。線に沿って同様な図
形を連続複写する必要がある図形は地図等に多く見ら
れ、例えば鉄道、土手等がこれに該当する。In normal CAD, when copying input data, a method of copying by designating a copy source figure, a copy position, and a rotation angle (may not exist) at the time of copying is adopted. I am taking it. According to this method, when it is desired to continuously copy a plurality of similar figures along a certain line, a great deal of manpower is required. Many figures that require continuous copying of similar figures along a line are found in maps and the like, such as railways and banks.
【0005】本発明は上記の点に鑑みてなされたもので
その目的は、わずかな操作手数で連続複写が行える図形
の連続複写方法を提供することにある。The present invention has been made in view of the above points, and an object of the present invention is to provide a method of continuously copying graphics, which allows continuous copying with a small number of operating steps.
【0006】[0006]
【課題を解決するための手段および作用】本発明は、計
算機援用設計における図形の連続複写方法において、複
写元図形と、該複写元図形から所定距離隔てた複写元の
基準点と、連続複写しようとする位置に沿って描かれた
基準線と、該基準線上の基準点と、連続複写の間隔、複
写時の回転および複写範囲等の複写態様を指定する複写
パターンとを予め設定し、前記基準線上の基準点から前
記複写パターンで設定された距離を隔てた基準線上の点
を求め、該点における基準線に接する接線からθ方向に
長さL隔てた点を複写後の基準点に指定し、該複写後の
基準点に、前記複写元図形を複写元の基準点との相対位
置関係を保って複写し、該複写動作を前記複写パターン
に沿って連続して行うことを特徴としている。SUMMARY OF THE INVENTION The present invention, in a computer-aided design continuous copying method, continuously copies a copy source graphic, a copy source reference point spaced a predetermined distance from the copy source graphic. , A reference line drawn along the position, a reference point on the reference line, and a copy pattern designating a copying mode such as an interval of continuous copying, rotation at the time of copying, a copying range, and the like are set in advance. A point on the reference line that is separated from the reference point on the line by the distance set in the copy pattern is obtained, and a point separated by a length L in the θ direction from the tangent line contacting the reference line at that point is designated as the reference point after copying. The copying source graphic is copied to the reference point after the copying while maintaining the relative positional relationship with the reference point of the copying source, and the copying operation is continuously performed along the copying pattern.
【0007】[0007]
【実施例】以下図面を参照しながら本発明の一実施例を
説明する。本発明では図3のようなCADにより複写元
図形、複写の基準線、基準線の基準点、複写元の基準
点、複写パターンを予め図1(a)のように設定し、基
準線に沿い、設定された内容に従って複写元図形を連続
的に複写するものである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. According to the present invention, a CAD as shown in FIG. 3 is used to set a copy source figure, a copy reference line, a reference line reference point, a copy source reference point, and a copy pattern in advance as shown in FIG. The copying source figure is continuously copied according to the set contents.
【0008】まず指定する前記複写元図形は、図1に示
すような、既に入力済みの図形を用いるか、又は後から
ポインティングデバイス4等により指定してもよい。前
記基準線は既に入力済みの線であり、連続複写しようと
する位置に沿って図1に示すように描かれた任意の線
(折れ線や曲線でも良い)を用いるか、又は後からポイ
ンティングデバイス4等により指定してもよい。As the copy source graphic to be designated first, a graphic already input as shown in FIG. 1 may be used, or it may be designated later by the pointing device 4 or the like. The reference line is a line that has already been input, and an arbitrary line (which may be a broken line or a curved line) drawn as shown in FIG. 1 along the position for continuous copying is used, or the pointing device 4 is used later. You may specify by
【0009】前記基準線の基準点は、基準線上の任意の
1点である。前記複写元の基準点はCAD入力範囲中の
任意の1点である。前記複写パターンは、基準線に沿っ
てどの位置に複写するか(例えば5mmの等間隔、2m
m/5mmの繰り返し等)や、複写後の回転角度(例え
ば回転無し、接線の回転と同じ回転をする等)や、複写
の範囲の指定(例えば基準線の半分だけに複写する等)
を含む。The reference point of the reference line is any one point on the reference line. The reference point of the copy source is any one point in the CAD input range. Where to copy the copy pattern along the reference line (for example, 5 mm at equal intervals, 2 m
m / 5mm repetition, etc.), rotation angle after copying (eg, no rotation, same rotation as tangent rotation, etc.), designation of copy range (eg, copying only to half of the reference line)
including.
【0010】尚図1(a)においてLは基準線の基準点
と複写元の基準点を結ぶ線の長さを示している。またθ
は基準線の基準点における基準線に対する接線と、前記
基準線の基準点と複写元の基準点を結ぶ線がなす角度を
示している。In FIG. 1 (a), L indicates the length of the line connecting the reference point of the reference line and the reference point of the copy source. Also θ
Indicates an angle formed by a tangent to the reference line at the reference point of the reference line and a line connecting the reference point of the reference line and the reference point of the copy source.
【0011】まず、図1(a)の複写元図形を連続複写
するには、基準線の基準点から、前記複写パターンに従
って基準線上の位置を求め、求めた位置の接線からθ方
向に長さLの位置に複写後の基準点を求める。そして複
写元の図形を、複写元図形と複写元の基準点との相対位
置関係を保って複写後の基準点に複写する。このとき回
転が必要な場合は前記複写後の基準点を中心に複写後の
図形を回転する。First, in order to continuously copy the copy source figure of FIG. 1A, a position on the reference line is obtained from the reference point of the reference line according to the copy pattern, and a length in the θ direction from the tangent line of the obtained position. A reference point after copying is obtained at the position L. Then, the copy source figure is copied to the reference point after the copy while maintaining the relative positional relationship between the copy source figure and the reference point of the copy source. At this time, if rotation is necessary, the figure after copying is rotated around the reference point after copying.
【0012】このような複写動作は前記設定された複写
パターンに従って、全ての複写が終了するまで繰り返し
自動的に行われ、その結果は図1(b)のように示され
る。また、鉄道図形をCAD入力する場合は、前述した
手順で基準線、複写元図形を作図した後、等間隔で接線
の回転と同じ回転をするように複写すると図2のように
鉄道図形が簡単にCADへデータ入力することができ
る。Such copying operation is automatically repeated according to the set copy pattern until all copying is completed, and the result is shown in FIG. 1 (b). In addition, when inputting a railroad figure by CAD, if the reference line and copy source figure are drawn by the above-mentioned procedure and then copied so as to rotate at the same intervals as the rotation of the tangent line, the railroad figure becomes simple as shown in FIG. Data can be input to CAD.
【0013】[0013]
【発明の効果】以上のように本発明によれば基準線の基
準点から複写パターンで設定された距離を隔てた基準線
上の点を求め、該点における基準線に接する接線からθ
方向に長さL隔てた点を複写後の基準点に指定し、該複
写後の基準点に、前記複写元図形を複写元の基準点との
相対位置関係を保って複写し、該複写動作を前記複写パ
ターンに沿って連続して行うようにしたので、図形を連
続的に複写する際に、従来はCAD入力に多大な手数を
必要としていたものが少しの手数で入力可能となり、操
作手数および操作時間が著しく削減される。As described above, according to the present invention, a point on the reference line which is separated from the reference point of the reference line by the distance set by the copy pattern is obtained, and θ is calculated from the tangent line tangent to the reference line at the point.
A point separated by a length L in the direction is designated as a reference point after copying, and the copying source graphic is copied to the reference point after copying while maintaining a relative positional relationship with the reference point of the copying source, and the copying operation is performed. Since it is performed continuously along the above-mentioned copy pattern, it is possible to input a CAD in a small number of times when the figure is continuously copied, which was conventionally required to input a great amount of CAD. And the operating time is significantly reduced.
【図面の簡単な説明】[Brief description of drawings]
【図1】本発明の一実施例を示し、(a)は複写元図形
と各設定要素の関係を表す説明図、(b)は連続複写の
結果を表す説明図。1A and 1B show an embodiment of the present invention, in which FIG. 1A is an explanatory diagram showing a relationship between a copy source graphic and each setting element, and FIG. 1B is an explanatory diagram showing a result of continuous copying.
【図2】本発明の他の実施例による連続複写の結果を表
す説明図。FIG. 2 is an explanatory diagram showing a result of continuous copying according to another embodiment of the present invention.
【図3】CADの装置構成を示すブロック図。FIG. 3 is a block diagram showing a CAD device configuration.
1…CPU 2…メモリ 3…キーボード 4…ポインティングデバイス 5…表示装置 1 ... CPU 2 ... Memory 3 ... Keyboard 4 ... Pointing device 5 ... Display device
Claims (1)
方法において、 複写元図形と、該複写元図形から所定距離隔てた複写元
の基準点と、連続複写しようとする位置に沿って描かれ
た基準線と、該基準線上の基準点と、連続複写の間隔、
複写時の回転および複写範囲等の複写態様を指定する複
写パターンとを予め設定し、 前記基準線上の基準点から前記複写パターンで設定され
た距離を隔てた基準線上の点を求め、該点における基準
線に接する接線からθ方向に長さL隔てた点を複写後の
基準点に指定し、該複写後の基準点に、前記複写元図形
を複写元の基準点との相対位置関係を保って複写し、該
複写動作を前記複写パターンに沿って連続して行うこと
を特徴とする図形の連続複写方法。1. A computer-aided design continuous copying method of a graphic, a copy original graphic, a reference point of the copy original separated from the copy original graphic by a predetermined distance, and a reference drawn along a position to be continuously copied. A line, a reference point on the reference line, an interval of continuous copying,
A copy pattern designating a copy mode such as rotation and copy range at the time of copying is set in advance, a point on the reference line separated from the reference point on the reference line by the distance set by the copy pattern is obtained, and at that point A point separated by a length L in the θ direction from the tangent line tangent to the reference line is designated as the reference point after copying, and the relative position of the copy source graphic to the reference point of the copy source is maintained at the reference point after copying. A method of continuously copying a figure, characterized in that the copying operation is performed continuously along the copying pattern.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5153125A JPH0721241A (en) | 1993-06-24 | 1993-06-24 | Continuous copying method for graphic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5153125A JPH0721241A (en) | 1993-06-24 | 1993-06-24 | Continuous copying method for graphic |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0721241A true JPH0721241A (en) | 1995-01-24 |
Family
ID=15555532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5153125A Pending JPH0721241A (en) | 1993-06-24 | 1993-06-24 | Continuous copying method for graphic |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0721241A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011526039A (en) * | 2008-06-27 | 2011-09-29 | マイクロソフト コーポレーション | Organize charts with visual landmarks |
US10078411B2 (en) | 2014-04-02 | 2018-09-18 | Microsoft Technology Licensing, Llc | Organization mode support mechanisms |
-
1993
- 1993-06-24 JP JP5153125A patent/JPH0721241A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011526039A (en) * | 2008-06-27 | 2011-09-29 | マイクロソフト コーポレーション | Organize charts with visual landmarks |
US8826174B2 (en) | 2008-06-27 | 2014-09-02 | Microsoft Corporation | Using visual landmarks to organize diagrams |
US9766787B2 (en) | 2008-06-27 | 2017-09-19 | Microsoft Technology Licensing, Llc | Using visual landmarks to organize diagrams |
US10078411B2 (en) | 2014-04-02 | 2018-09-18 | Microsoft Technology Licensing, Llc | Organization mode support mechanisms |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0721241A (en) | Continuous copying method for graphic | |
JPH02123459A (en) | Marker entity management | |
JPH0528134A (en) | Layout editing processor | |
JPH0565906B2 (en) | ||
JPS6339947B2 (en) | ||
JPS63187288A (en) | Display system | |
JPS63155256A (en) | Document approval system | |
JP3148744B2 (en) | Method and apparatus for drafting geographic information | |
JPS6247095A (en) | Box cursor display method | |
JP4162312B2 (en) | Apparatus and method for drawing inclined ellipse that simultaneously touches two straight lines on display screen, and recording medium recording program for drawing inclined ellipse that touches two straight lines on display screen simultaneously | |
JP2929705B2 (en) | How to change the wiring pattern shape | |
JP2523003B2 (en) | Graphic fair copy method | |
JP2624763B2 (en) | Character input device | |
JP2713219B2 (en) | Graphic display device | |
JPS61138375A (en) | Pattern information processing device | |
JPH0436858A (en) | Ruled line holding/producing method for editing device | |
JP2605609B2 (en) | Dot display processing device | |
JPS6084588A (en) | Graphic processor | |
JPS6165359A (en) | Document editing device | |
JPH04247581A (en) | Arranging method for graphic in computer graphics | |
JPH0773170A (en) | Method and device for generating new file | |
JPS6151264A (en) | Document processing device | |
JPH05298003A (en) | Data processor | |
JPH08202865A (en) | Graphic editing device | |
JPH0573632A (en) | Automatic editing method for development connection diagram |