JPS6146563A - Computer controlled plotter - Google Patents
Computer controlled plotterInfo
- Publication number
- JPS6146563A JPS6146563A JP59167583A JP16758384A JPS6146563A JP S6146563 A JPS6146563 A JP S6146563A JP 59167583 A JP59167583 A JP 59167583A JP 16758384 A JP16758384 A JP 16758384A JP S6146563 A JPS6146563 A JP S6146563A
- Authority
- JP
- Japan
- Prior art keywords
- plotter
- plotting
- start position
- information
- time
- 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
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は計算機制御作画装置に関する。特に、プロッタ
装置による作画時間の低減および画質の改善に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a computer-controlled drawing device. In particular, the present invention relates to a reduction in plotting time and an improvement in image quality using a plotter device.
最近の計算機制御作画装置では、CAD装置が図形情報
の定義、作成および修正を行い、制御装置がC’A ’
D装置の出力図形情報を作画情報に変換し、プロッタ装
置が制御装置の出力作画情報しこ従って作画を行ってい
る。In recent computer-controlled drawing devices, the CAD device defines, creates, and modifies graphic information, and the control device
The output graphic information of the D device is converted into plotting information, and the plotter device plots the plotter in accordance with the output plotting information of the control device.
このような計算機制御作画装置では、CAD装置からの
図形情報をプロッタ装置に作画させるために必要な時間
、すなわち総作画時間は、データ変換時間と、個々の作
画情報を作画するのに必要な実作画時間と、ある作画情
報の作画を終了してから次の作画情報の作画を開始する
までの空走時間とを加算した値となる。すなわち、
総作画時間=データ変換時間+Σ実作画時間+Σ空走時
間
の関係がある。In such a computer-controlled plotting device, the time required to plot graphic information from a CAD device on a plotter device, that is, the total plotting time, is determined by the data conversion time and the actual amount required to plot each piece of plotting information. The value is the sum of the drawing time and the idle running time from the end of drawing of one drawing information to the start of drawing of the next drawing information. In other words, there is a relationship: total drawing time = data conversion time + Σactual drawing time + Σidling time.
したがって、ブロック装置の機械的速度および作画デー
タの量が同じならば、総作画時間を減らすためには、デ
ータ変換時間と空走時間とを減らすことが必要である。Therefore, if the mechanical speed of the block device and the amount of drawing data are the same, it is necessary to reduce the data conversion time and idle running time in order to reduce the total drawing time.
しかし、データ変換時間を最小にしようとすると、十分
なデータ変換ができないために空走時間が増加する。ま
た、空走時間を減らすために複雑なデータ変換を行うと
、データ変換時間が長くなってしまう。特に、制御装置
に使用されるプロセッサは、価格の問題からあまり高速
のものを使用していないので、複雑なデータ変換を行う
と時間がかかってしまう。However, when trying to minimize the data conversion time, the idle running time increases because sufficient data conversion cannot be performed. Furthermore, if complicated data conversion is performed to reduce idle running time, the data conversion time becomes long. In particular, the processor used in the control device is not very fast due to cost considerations, so complex data conversion takes time.
さらに、従来の計算機制御作画装置では、二本以上の線
の終点が一致している場合には、プロッタ装置の機械的
な位置決め誤差により、終点相互の間に間隙が生じたり
、終点が重なり合う多重作画が生じる欠点がある。Furthermore, with conventional computer-controlled plotting devices, when the end points of two or more lines coincide, mechanical positioning errors in the plotter device may cause gaps between the end points or multiple lines where the end points overlap. There is a drawback that drawing occurs.
本発明は、以上の問題点を解決し、作画時間が短くしか
も作画質の良好な計算機制御作画装置を提供することを
目的とする。SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems and provide a computer-controlled drawing device that takes less time to draw and has good drawing quality.
本発明の計算機制御作画装置は、図形情報の定義、作成
および修正を行う手段を含むCAD装置と、このCAD
装置の出力図形情報を作画情報に変換する変換手段を含
む制御装置と、この制御装置の出力作画情報を入力して
作画を行うプロッタ装置とを備えた計算機制御作画装置
において、上記制御装置は、座標上の作画開始位置およ
び作画終了位置までの基準点からの距離を演算する手段
と、この手段により演算されたそれぞれの基準点からの
距離の大小を比較する手段と、この手段により比較され
た結果に基づいて作画開始位置と作画終了位置とを入れ
換える手段とを含むことを特徴とする。A computer-controlled drawing device of the present invention includes a CAD device including means for defining, creating, and modifying graphic information;
In a computer-controlled plotting device comprising a control device including a conversion means for converting output graphic information of the device into plotting information, and a plotter device which plots by inputting the output plotting information of the control device, the control device comprises: A method for calculating the distance from a reference point to a drawing start position and a drawing end position on coordinates, a means for comparing the magnitude of the distance from each reference point calculated by this means, and The present invention is characterized in that it includes means for exchanging the drawing start position and the drawing end position based on the result.
本発明の計算機制御作画装置は、1番目の図形の作画開
始位置より作画終了位置の方が初期状態の基準点(原点
)に近い場合には、作画開始位置と作画終了位置とを入
れ換え、さらに、i (iは2以上の自然数)番目の
図形の作画開始位置より作画終了位置の方がi−1番目
の図形の作画終了位置に近い場合には、i番目の図形の
作画開始位置と作画終了位置とを入れ換える。The computer-controlled drawing device of the present invention swaps the drawing start position and drawing end position when the drawing end position of the first figure is closer to the reference point (origin) in the initial state than the drawing start position, and further , if the drawing end position of the i-th figure (i is a natural number of 2 or more) is closer to the drawing end position of the i-1th figure than the drawing start position of the i-th figure, the drawing start position and drawing of the i-th figure are Swap the end position.
第1図は本発明実施例計算機制御作画装置のブロック構
成図である。FIG. 1 is a block diagram of a computer-controlled drawing device according to an embodiment of the present invention.
CAD装置1は制御装置2に接続される。制御装置2は
プロッタ装置3に接続される。CAD device 1 is connected to control device 2 . The control device 2 is connected to a plotter device 3.
CAD装置1は、図形情報の定義、作成および修正を行
い、図形情報群を出力する。制御装置2は、この図形情
報群を作画情報群に変換する。プロッタ装置3は、この
作画情報群に従って作画を行う。The CAD device 1 defines, creates, and modifies graphic information, and outputs a group of graphic information. The control device 2 converts this graphic information group into a drawing information group. The plotter device 3 performs plotting according to this plotting information group.
第2図は、制御装置2の動作を示す図である。FIG. 2 is a diagram showing the operation of the control device 2. As shown in FIG.
制御装置2は、CAD装置1からの図形情報群を変換処
理し、作画情報群としてプロッタ装置3に出力する。多
くの場合は−っの図形情報が−っの作画情報に対応する
が、一つの図形情報が複数の作画情報に対応する場合も
あり、作画動作をともなわない空走情報を含む場合もあ
る。図形情報の例としては、直線、円弧、矩形あるいは
フラッシュ等があり、作画情報の例としては、直線作画
、円弧作画あるいはフラッシュ作画等がある。The control device 2 converts the graphic information group from the CAD device 1 and outputs it to the plotter device 3 as a drawing information group. In most cases, the graphic information in - corresponds to the drawing information in -, but one piece of graphic information may correspond to a plurality of pieces of drawing information, and may also include idle running information that does not involve drawing operations. Examples of graphic information include straight lines, arcs, rectangles, flashes, etc., and examples of drawing information include straight lines, arcs, flashes, etc.
フラッシュ作画以外の作画情報では、一つの作画情報ご
とに、プロッタ装置3のプロッタ・ヘッドの位置が変化
する。本発明の計算機制御作画装置では、制御装置2が
、作画情報群の作画開始位置と作画終了位置とを必要に
応じて入れ換える処理を実行し、これにより、プロッタ
・ヘッドの空走距離を小さくしている。For plotting information other than flash plotting, the position of the plotter head of the plotter device 3 changes for each piece of plotting information. In the computer-controlled plotting device of the present invention, the control device 2 executes a process of exchanging the plotting start position and plotting end position of the plotting information group as necessary, thereby reducing the idle running distance of the plotter head. ing.
第3図は、作画開始位置と作画終了位置とを入れ換える
処理の流れ図である。FIG. 3 is a flowchart of a process for exchanging the drawing start position and the drawing end position.
初期状態として、基準点(XE、YE)を原点に設定し
、iを「1」に設定する。As an initial state, the reference point (XE, YE) is set as the origin, and i is set to "1".
次に、i番目の図形の作画開始位N (TXS、 TY
S)と作画終了位置(TXE、 TYE)とを求める。Next, the drawing start position N (TXS, TY
S) and the drawing end position (TXE, TYE).
この作画開始位置(TXS、TYS)と基準点(XE、
YE)との距離d。This drawing start position (TXS, TYS) and reference point (XE,
YE) distance d.
と、作画終了位置(TXE、TYE)と基準点(XE、
YE)との距離d2とを求め、さらに、これらの値の大
小を比較する。距離d2が距離d1より大きい場合には
、作画開始位置と作画終了位置とを入れ換えない。この
逆の場合には、作画開始位置と作画終了位置とを入れ換
える。, the drawing end position (TXE, TYE) and the reference point (XE,
YE) and the distance d2 is determined, and the magnitudes of these values are compared. If the distance d2 is larger than the distance d1, the drawing start position and the drawing end position are not interchanged. In the opposite case, the drawing start position and drawing end position are swapped.
これにより得られた作画終了位置を新しい基準値とし、
次の図形について同様の処理を行う。この処理を最後の
図形まで繰り返す。The drawing end position obtained by this is used as the new reference value,
Perform similar processing for the next figure. Repeat this process until the last figure.
ここで、本実施例の計算機制御作画装置による作画時間
の短縮について説明する。Here, shortening of drawing time by the computer-controlled drawing apparatus of this embodiment will be explained.
簡単な作画の例として、N本の平行線分を等間隔rで作
画する場合について説明する。ここで、線分の長さβが
間隔rに比較して十分に長く、本数Nが多いとする。As a simple example of drawing, a case will be described in which N parallel line segments are drawn at equal intervals r. Here, it is assumed that the length β of the line segment is sufficiently longer than the interval r and the number N is large.
このような場合の図形情報に含まれる作画方向は、
(al 全てが同一方向、
山) 交互方向(互いに隣合う線分の作画方向が異なる
)、
(C) 不規則
の三つの場合がある。There are three drawing directions included in the graphic information in such a case: (al) all in the same direction, mountain), alternating direction (drawing directions of adjacent line segments are different), and (C) irregular.
(a)の場合には、CAD装置1が出力した図形情報に
従って作画すると、一本の線分を作Hする毎に、次の線
分の作画開始位置にプロッタ・ヘッドを移動させる必要
がある。このため、作画する距離とほぼ等しい(正確に
はすこし長い)空走距離が必要となり、ブロック・ヘッ
ドの移動距離は、2N−Lとなる。In case (a), if the plot is drawn according to the graphic information output by the CAD device 1, it is necessary to move the plotter head to the drawing start position of the next line segment each time one line segment is drawn. . Therefore, a blank running distance is required which is approximately equal to the drawing distance (more precisely, slightly longer), and the moving distance of the block head is 2N-L.
(b)の場合には、空走距離がほとんどなく、プロッタ
・ヘッドの移動距離は、N−Lとなる。In case (b), there is almost no idle running distance, and the moving distance of the plotter head is NL.
(C1の場合に、データがもっとも不規則な場合を仮定
する。この場合には、ある一本の線分に対して隣の線分
の作画方向が同一である確率を50%とみなすことがで
きる。したがって、実際に作画する距離の50%の空走
距離が必要となり、プロッタ・ヘッドの移動距離は1.
5 N −Lとなる。(In the case of C1, assume that the data is the most irregular. In this case, the probability that the drawing direction of one line segment and the next line segment is the same is considered to be 50%. Therefore, a blank running distance of 50% of the distance actually plotted is required, and the moving distance of the plotter head is 1.
5 NL.
これに対して本発明の計算機制御作画装置では、CAD
装置の図形情報が(al、(b)または(C)のどの場
合でも、(b)の場合と同等の作画情報を生成する。On the other hand, in the computer-controlled drawing device of the present invention, the CAD
Regardless of whether the graphic information of the device is (al, (b), or (C)), the same drawing information as in the case (b) is generated.
したがって、プロッタ・ヘッドの移動距離はN・Lとな
る。Therefore, the moving distance of the plotter head is N·L.
現実のCAD装置で図形を作成する場合には、作画方向
を特に意識せずに図形情報を作成するため、図形情報の
作画方向が不規則となる。このため上述のようなN本の
平行線分を作画する場合には、プロッタ・ヘッドの移動
距離が1/1.5、すなわち67%に減少する。プロッ
タ・ヘッドの移動距離を減少させることにより、作画時
間も減少させることができる。When a graphic is created using an actual CAD device, the graphic information is created without being particularly conscious of the drawing direction, so the drawing direction of the graphic information becomes irregular. Therefore, when plotting N parallel line segments as described above, the moving distance of the plotter head is reduced to 1/1.5, or 67%. By reducing the distance traveled by the plotter head, plotting time can also be reduced.
次に、本実施例の計算機制御作画装置による作画質の改
善について説明する。Next, an explanation will be given of improvement in image drawing quality by the computer-controlled drawing device of this embodiment.
ここで、図形情報における第一の線分Aの終点と第二の
線分Bの終点とが一致する場合を例に説明する。このよ
うな場合には、プロッタ装置の位置再現性がプロッタ・
ヘッドが戻るまでの移動距離に多分に依存しているため
、従来の計算a f#Jm作画装置では、終点相互の間
に間隙が生じたり、終点が重なり合う多重作画が生じて
いた。しかし、本発明の計算機制御作画装置では、線分
Bの図形情報における終点を作画情報の始点に変換して
いるため、ブロック・ヘッドの移動がなく、したがって
誤差が発生しない。Here, an example will be described in which the end point of the first line segment A and the end point of the second line segment B in the graphic information match. In such cases, the position repeatability of the plotter device may be
Since the calculation greatly depends on the distance traveled by the head until it returns, in the conventional calculation af#Jm drawing device, a gap occurs between the end points, or multiple drawings occur where the end points overlap. However, in the computer-controlled drawing apparatus of the present invention, since the end point of the graphic information of the line segment B is converted into the starting point of the drawing information, there is no movement of the block head, and therefore no error occurs.
以上説明したように、本発明計算機制御作画装置により
、簡単なデータ処理でプロッタ・ヘッドの空走距離およ
び時間を削減して作画時間を短縮することが可能であり
、しかも、作画質を改善することが可能である。本発明
は、制御装置によるプログラム手段を変更するだけで容
易に実施でき、しかも大きな効果が得られる。As explained above, with the computer-controlled plotting device of the present invention, it is possible to shorten the plotting time by reducing the idle running distance and time of the plotter head through simple data processing, and to improve the plotting quality. Is possible. The present invention can be easily implemented by simply changing the programming means of the control device, and moreover, great effects can be obtained.
第1図は本発明実施例計算機制御作画装置のブロック構
成図。
第2図は制御装置の動作を示す図。
第3図は作画開始位置と作画終了位置とを入れ換える処
理の流れ図。
1・・・CAD装置、2・・・制御装置、3・・・プロ
ソタ装置。FIG. 1 is a block diagram of a computer-controlled drawing device according to an embodiment of the present invention. FIG. 2 is a diagram showing the operation of the control device. FIG. 3 is a flowchart of the process of exchanging the drawing start position and drawing end position. 1...CAD device, 2...Control device, 3...Prosota device.
Claims (1)
むCAD装置と、 このCAD装置の出力図形情報を作画情報に変換する変
換手段を含む制御装置と、 この制御装置の出力作画情報を入力して作画を行うプロ
ッタ装置と を備えた計算機制御作画装置において、 上記制御装置は、 座標上の作画開始位置および作画終了位置までの基準点
からの距離を演算する手段と、 この手段により演算されたそれぞれの基準点からの距離
の大小を比較する手段と、 この手段により比較された結果に基づいて作画開始位置
と作画終了位置とを入れ換える手段とを含むことを特徴
とする計算機制御作画装置。(1) A CAD device including a means for defining, creating and modifying graphic information; A control device including a conversion means for converting graphic information output from this CAD device into drawing information; and inputting drawing information output from this control device. In the computer-controlled plotter device, the control device includes means for calculating distances from a reference point to a plotting start position and a plotting end position on coordinates; A computer-controlled drawing device comprising: means for comparing distances from respective reference points; and means for exchanging a drawing start position and a drawing end position based on the results of the comparison.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59167583A JPS6146563A (en) | 1984-08-10 | 1984-08-10 | Computer controlled plotter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59167583A JPS6146563A (en) | 1984-08-10 | 1984-08-10 | Computer controlled plotter |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6146563A true JPS6146563A (en) | 1986-03-06 |
Family
ID=15852438
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59167583A Pending JPS6146563A (en) | 1984-08-10 | 1984-08-10 | Computer controlled plotter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6146563A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5245240A (en) * | 1975-10-08 | 1977-04-09 | Hitachi Ltd | Processig system of automatic drawing machine |
| JPS5258425A (en) * | 1975-11-10 | 1977-05-13 | Hitachi Ltd | Control unit for automatic drafting machine |
| JPS5960537A (en) * | 1982-09-30 | 1984-04-06 | Fujitsu Ltd | Picture-drawing plotting system of plotter device |
-
1984
- 1984-08-10 JP JP59167583A patent/JPS6146563A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5245240A (en) * | 1975-10-08 | 1977-04-09 | Hitachi Ltd | Processig system of automatic drawing machine |
| JPS5258425A (en) * | 1975-11-10 | 1977-05-13 | Hitachi Ltd | Control unit for automatic drafting machine |
| JPS5960537A (en) * | 1982-09-30 | 1984-04-06 | Fujitsu Ltd | Picture-drawing plotting system of plotter device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS61246877A (en) | Shape conversion device | |
| JPS6146563A (en) | Computer controlled plotter | |
| JP2674287B2 (en) | Graphic microcomputer | |
| EP1315126A2 (en) | Image processing method, image processing apparatus, image output apparatus and storage medium | |
| JP2013543337A (en) | Method and apparatus for erasing gaps in a page | |
| JPH07160873A (en) | Image data conversion method including Bezier curve | |
| JP2937508B2 (en) | Bitmap expansion method | |
| JP2868127B2 (en) | Blank reading device in lexical analysis | |
| JP3988965B2 (en) | Plotter and drawing method | |
| JPH04168581A (en) | Approximate curve generating method for hyperellipse | |
| JP2938915B2 (en) | Pattern processing method | |
| JPS6326705A (en) | Device for producing nc command information | |
| JP2740506B2 (en) | Image recognition method | |
| JPH0259884A (en) | Character recognizing device | |
| CN121142922A (en) | An electron beam exposure method and system for continuous motion exposure of workpiece stage with variable speed | |
| JP3087511B2 (en) | Data converter | |
| JP3700810B2 (en) | Data conversion method and apparatus | |
| JPH11297603A (en) | Electron beam drawing pattern forming method | |
| JPS6318478A (en) | Digital differential analyzer | |
| JPH03296131A (en) | Smoothing method for approximate circle consisting of plural linear segments | |
| JPH08286723A (en) | Circular interpolation control system and circular interpolation arithmetic unit | |
| JPS63211625A (en) | Method and device for exposing circular arc pattern | |
| JPH0451870B2 (en) | ||
| JPS61294817A (en) | Electron beam lithography and its equipment | |
| JPH02146681A (en) | Contour line extracting system |