JP3007443B2 - Plotter control method and plotter device - Google Patents

Plotter control method and plotter device

Info

Publication number
JP3007443B2
JP3007443B2 JP3167565A JP16756591A JP3007443B2 JP 3007443 B2 JP3007443 B2 JP 3007443B2 JP 3167565 A JP3167565 A JP 3167565A JP 16756591 A JP16756591 A JP 16756591A JP 3007443 B2 JP3007443 B2 JP 3007443B2
Authority
JP
Japan
Prior art keywords
end point
movement amount
vector
vector data
amount
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.)
Expired - Fee Related
Application number
JP3167565A
Other languages
Japanese (ja)
Other versions
JPH04364998A (en
Inventor
正明 鈴木
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.)
Mutoh Industries Ltd
Original Assignee
Mutoh Industries 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 Mutoh Industries Ltd filed Critical Mutoh Industries Ltd
Priority to JP3167565A priority Critical patent/JP3007443B2/en
Publication of JPH04364998A publication Critical patent/JPH04364998A/en
Application granted granted Critical
Publication of JP3007443B2 publication Critical patent/JP3007443B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ペンプロッタのような
プロッタに係り、特にペン動作の制御処理における演算
量を低減し得るプロッタ制御方法およびプロッタ装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plotter such as a pen plotter, and more particularly to a plotter control method and a plotter apparatus capable of reducing the amount of calculation in control processing of pen operation.

【0002】[0002]

【従来の技術】一般に、ペンプロッタでは、ホストコン
ピュータから送られてくる作画データが、例えば上位C
PU(中央処理装置)により構成される作画データ解析
部にて解析され、ペンの移動に対応する描画ベクトルデ
ータに変換されて例えば下位CPUにより構成される描
画制御部に与えられる。この描画制御部では、前記ベク
トルデータに基づいて、実際のペンのXY移動処理およ
びペンのアップ/ダウン処理が行われる。
2. Description of the Related Art Generally, in a pen plotter, drawing data sent from a host computer is, for example, a high-order C.
The image data is analyzed by a drawing data analysis unit configured by a PU (Central Processing Unit), converted into drawing vector data corresponding to the movement of the pen, and provided to a drawing control unit configured by, for example, a lower CPU. In this drawing control unit, the actual pen XY movement processing and pen up / down processing are performed based on the vector data.

【0003】1本の直線に係るペンの移動を考えた場
合、作画データ解析部の処理時間は線分の長さに関係な
く例えば数msecでほぼ一定であるのに対し、描画制
御部の処理は、実際にペンの移動が終了するまでであ
り、作画データの内容によって変動する例えば数mse
cから1secの時間が必要である。したがって、極端
に短い線分が多数連続するような特殊な場合を除いて、
作画データ解析部のデータ処理時間は描画制御部のペン
移動処理時間に対し充分に短い。
When the movement of a pen along one straight line is considered, the processing time of the drawing data analysis unit is almost constant at, for example, several milliseconds regardless of the length of the line segment. Is the time until the movement of the pen is actually completed, and varies for example by several milliseconds depending on the contents of the drawing data.
A time from c to 1 sec is required. Therefore, except in the special case where many extremely short line segments continue,
The data processing time of the drawing data analysis unit is sufficiently shorter than the pen movement processing time of the drawing control unit.

【0004】このため、作画データ解析部で変換された
描画ベクトルデータが描画制御部のバッファを満たし、
描画制御部が作画データ解析部に対しデータ要求をしな
くなると、作画データ解析部はデータ解析を停止し、描
画制御部のバッファに空きが生じるのを待っていた。つ
まり、作画データ解析部のデータ解析の処理速度は、実
質的に描画制御部の動作にともなう、実際のペン移動速
度によって制限されていた。
For this reason, the drawing vector data converted by the drawing data analysis unit fills the buffer of the drawing control unit,
When the drawing control unit stops making a data request to the drawing data analysis unit, the drawing data analysis unit stops the data analysis and waits for a free space in the buffer of the drawing control unit. That is, the data analysis processing speed of the drawing data analysis unit is limited by the actual pen movement speed, which is substantially associated with the operation of the drawing control unit.

【0005】これに対し、実際のペン移動速度による制
限を緩和し、作画データ解析部に設けたバッファ内に解
析済みのデータをため込み、描画制御部からのデータ要
求のタイミングに合わせて、解析済みデータのうちの最
適なデータを描画制御部に送るようにすることが考えら
れている。
On the other hand, the restriction imposed by the actual pen moving speed is relaxed, the analyzed data is stored in a buffer provided in the drawing data analysis unit, and the analysis is performed in accordance with the data request timing from the drawing control unit. It has been considered that optimal data of the already processed data is sent to the drawing control unit.

【0006】ここで、作画データ解析部による解析済み
データのうちの最適なデータを得るための順序付けを全
作画データを通じて行えば、最も効率のよい作画が行え
るはずであるが、全作画データを通じて順序付けをする
ためには、全作図データを解析する必要がある。この場
合、その処理を行う間(例えば、数secから数分の
間)プロッタが停止してしまうばかりでなく、解析済み
データの量が膨大になり、著しく大容量のメモリが必要
となるため現実的でない。
Here, if the ordering for obtaining the optimum data among the data analyzed by the drawing data analysis unit is performed through all the drawing data, the most efficient drawing should be performed. To do this, it is necessary to analyze all drawing data. In this case, not only does the plotter stop during the processing (for example, for several seconds to several minutes), but also the amount of analyzed data becomes enormous, and a remarkably large capacity memory is required. Not a target.

【0007】そこで、従来行われあるいは考えられてい
る方法として、双方向プロットによる方法と最近点選択
による方法とがある。これらの方法について次に説明す
る。
[0007] Therefore, as a method conventionally performed or considered, there are a method based on bidirectional plotting and a method based on nearest point selection. These methods will now be described.

【0008】(1) 双方向プロット 与えられた作画データを解析して得られる描画線分を示
すベクトルデータを、与えられた順序に従って処理する
にあたり、次の線分のベクトルデータの両端点のうちで
現在位置(処理の起点となる基準位置)に近い端点を選
択して、その端点から描画する。
(1) Bidirectional plot When processing vector data indicating a drawing line segment obtained by analyzing given drawing data according to a given order, the end point of the next line segment vector data is processed. Then, an end point close to the current position (a reference position serving as a starting point of processing) is selected, and drawing is performed from the end point.

【0009】例えば、図7に示すように、線分のベクト
ルデータL1〜L5が順次与えられたとすると、ベクト
ルデータL1〜L5は与えられた順序に従って順次描画
される。このとき、ベクトルデータL1が端点L1aか
ら端点L1bに描画された時点での現在位置CPは端点
L1bであり、次のベクトルデータL2の描画にあたっ
ては端点L2aおよびL2bのうちの現在位置CP(す
なわちL1b)に近いほうの端点L2bが選択され、端
点L2bを起点としてベクトルデータL2が描画され
る。次のベクトルデータL3については、ベクトルデー
タL2の端点L2aに近いほうの端点L3aから端点L
3bに向かって描画される。同様に、順次、次のベクト
ルデータの示す線分の近いほうの端点が選択されて、ベ
クトルデータL4およびL5が与えられた順序に従って
描画される。
For example, as shown in FIG. 7, if vector data L1 to L5 of a line segment are sequentially given, the vector data L1 to L5 are sequentially drawn in the given order. At this time, the current position CP at the time when the vector data L1 is drawn from the end point L1a to the end point L1b is the end point L1b. When drawing the next vector data L2, the current position CP of the end points L2a and L2b (that is, L1b Is selected, and the vector data L2 is drawn starting from the end point L2b. For the next vector data L3, the end point L3a closer to the end point L2a of the vector data L2
3b is drawn. Similarly, the nearest end point of the line segment indicated by the next vector data is sequentially selected, and the vector data L4 and L5 are drawn in the given order.

【0010】上述した双方向プロットによる方法では、
与えられるベクトルデータの順序に従って描画され、各
線分の端点の選択のみを制御するため、制御のための演
算は比較的簡単であるが、描画時間、描画効率等は、ベ
クトルデータの与えられる順序によって大きく左右され
る。
In the above-described method based on bidirectional plotting,
Since the drawing is performed in accordance with the order of the given vector data and only the selection of the end point of each line segment is controlled, the calculation for the control is relatively simple, but the drawing time, the drawing efficiency, and the like depend on the order in which the vector data is provided. It depends greatly.

【0011】(2) 最近点選択 未処理の所定本数のベクトルデータの各両端点のうち現
在位置に最も近い端点を順次選択して行く。すなわち、
1つの線分のベクトルデータだけでなく、所定本数の線
分のベクトルデータの各両端点のうち現在位置に最も近
い端点を起点として、その端点を含むベクトルデータを
優先して描画する。
(2) Nearest point selection The end point closest to the current position is sequentially selected from both end points of a predetermined number of unprocessed vector data. That is,
In addition to the vector data of one line segment, the end point closest to the current position among the two end points of the vector data of a predetermined number of line segments is used as a starting point, and the vector data including the end point is preferentially drawn.

【0012】例えば、図8に示すように未処理のベクト
ルデータのうちの所定本数(この場合4本)のベクトル
データL1〜L4の各両端点に着目し、現在位置に最も
近い端点L4aを起点として、その端点L4aを含むベ
クトルデータL4を優先して描画する。ベクトルデータ
L4の次に描画するデータの選択にあたっては、残った
ベクトルデータL1〜L3に新たなベクトルデータを加
え、それらのベクトルデータの両端点のうちからその時
点での現在位置すなわちベクトルデータL4の端点L4
bに最も近い端点を選択する。
For example, as shown in FIG. 8, attention is paid to both end points of a predetermined number (in this case, four) of vector data L1 to L4 among unprocessed vector data, and an end point L4a closest to the current position is set as a starting point. , The vector data L4 including the end point L4a is preferentially drawn. When selecting data to be drawn next to the vector data L4, new vector data is added to the remaining vector data L1 to L3, and the current position at that time, that is, the vector data L4 is selected from both end points of the vector data. End point L4
Select the endpoint closest to b.

【0013】上述した最近点選択による方法は、基本的
に、複数個のベクトルデータ自体の比較から、次にどの
ベクトルデータを選択して描画するかを判断する手法で
あり、ある種のベクトルデータ群に対しては、かなりの
効果が期待できる。
The above-described method based on nearest point selection is basically a method of judging which vector data is to be selected and drawn next by comparing a plurality of vector data itself. A considerable effect can be expected for the group.

【0014】[0014]

【発明が解決しようとする課題】上述したいずれの方法
においても、現在位置すなわち処理起点位置と各ベクト
ルデータの端点との間、または各ベクトルデータの端点
相互間のペンの移動量を求めて、最も近い端点を選択し
ている。この場合の移動量演算にあたっては、移動量を
求めるべき2点の座標情報等に基づいて、これら2点間
におけるX方向の移動量とY方向の移動量とを得て、こ
れらX方向の移動量とY方向の移動量とから両者の2乗
和の平方根をとって前記2点間の移動量を算定してい
た。
In any of the above-described methods, the pen movement amount between the current position, that is, the processing start position and the end point of each vector data, or between the end points of each vector data is obtained. The closest endpoint is selected. In the movement amount calculation in this case, the movement amount in the X direction and the movement amount in the Y direction between these two points are obtained based on the coordinate information of the two points for which the movement amount is to be obtained, and the movement in the X direction is obtained. The amount of movement between the two points is calculated by taking the square root of the sum of squares of the two from the amount and the amount of movement in the Y direction.

【0015】このため、最も近い端点を選択するにあた
っての移動量の演算に多くの計算量と時間とを必要と
し、制御用CPUに対する負担も大きい。このことは、
移動量を演算すべきベクトルデータの数が多くなるほど
深刻な問題となる。
For this reason, the calculation of the movement amount in selecting the closest end point requires a large amount of calculation and time, and the load on the control CPU is large. This means
The more serious the number of vector data for which the movement amount is to be calculated, the more serious the problem becomes.

【0016】本発明は、このような事情に鑑みてなされ
たもので、描画順序決定のための計算量と計算時間を低
減して、効率のよい描画制御を可能とし、描画時間の短
縮にも寄与し得るプロッタ制御方法およびプロッタ装置
を提供することを目的としている。
The present invention has been made in view of such circumstances, and reduces the amount of calculation and the calculation time for determining the drawing order, enables efficient drawing control, and reduces the drawing time. It is an object of the present invention to provide a plotter control method and a plotter device that can contribute.

【0017】[0017]

【課題を解決するための手段】本発明に係るプロッタ制
御方法は、逐次与えられる作画データに基づく描画ベク
トルデータをバッファ手段に一旦格納し、このバッファ
手段に格納されたベクトルデータに基づいて次に描画す
べき最適のベクトル端点を選定して、逐次ベクトルデー
タの描画を行うプロッタの制御方法において、前記バッ
ファ手段に格納された未描画のベクトルデータの各端点
について、複数の駆動軸方向の最大移動量を実際の移動
量の代わりに用いて、処理起点からのペンアップ状態で
の移動量を演算する移動量演算ステップと、この移動量
演算ステップの演算結果をもとに最小移動量のベクトル
端点を次に描画すべきベクトル端点として選定する端点
選定ステップとを有することを特徴としている。
According to a plotter control method of the present invention, drawing vector data based on sequentially provided drawing data is temporarily stored in a buffer means, and a next step is performed based on the vector data stored in the buffer means. In a plotter control method for selecting an optimum vector end point to be drawn and sequentially drawing vector data, a maximum movement in a plurality of drive axis directions for each end point of undrawn vector data stored in the buffer means. A movement amount calculation step for calculating the movement amount in the pen-up state from the processing start point by using the amount instead of the actual movement amount, and a vector end point of the minimum movement amount based on the calculation result of the movement amount calculation step Is selected as a vector endpoint to be drawn next .

【0018】本発明に係るプロッタ装置は、逐次与えら
れる作画データに基づく描画ベクトルデータを格納する
バッファ手段と、このバッファ手段に格納された未描画
のベクトルデータの各端点について複数の駆動軸方向の
最大移動量を実際の移動量の代わりに用いて、処理起点
からのペンアップ状態での移動量を演算する移動量演算
手段と、この移動量演算手段の演算結果をもとに最小移
動量のベクトル端点を次に描画すべきベクトル端点とし
選定する端点選定手段と、この端点選定手段で選定さ
れた端点を起点として逐次次のベクトルを描画させる描
画制御手段とを具備することを特徴としている。
The plotter device according to the present invention comprises a buffer means for storing drawing vector data based on sequentially provided drawing data, and a plurality of driving axis directions for each end point of undrawn vector data stored in the buffer means. the maximum movement amount using, instead of the actual moving amount, the process starting point
Moving amount calculating means for calculating a moving amount in a pen-up state from the camera, and a minimum moving amount based on a calculation result of the moving amount calculating means.
The vector end point of the momentum is the vector end point to be drawn next.
It is characterized with end point selection means for selecting, in that it comprises a drawing control means for sequentially drawing the next vector selection by end point in this end point selection means as a starting point Te.

【0019】[0019]

【作用】本発明のプロッタ制御方法およびプロッタ装置
においては、次に描画すべきベクトル端点選定のための
移動量演算に複数の駆動軸方向の最大移動量を実際の移
動量の代わりに用いるので、バッファ手段に格納された
ベクトルデータに基づいて次に描画すべき最適のベクト
ル端点を選定して、逐次ベクトルデータの描画を行うに
あたり、次に描画すべきベクトル端点の選定のための演
算の計算量と計算時間を低減することができ、効率のよ
い描画制御が可能となる。
According to the plotter control method and the plotter apparatus of the present invention, the maximum movement amounts in the directions of a plurality of drive axes are used instead of the actual movement amounts in the movement amount calculation for selecting the vector end point to be drawn next. Based on the vector data stored in the buffer means, the most suitable vector endpoint to be drawn next is selected, and when performing sequential vector data drawing, the calculation amount of calculation for selecting the next vector endpoint to be drawn And the calculation time can be reduced, and efficient drawing control can be performed.

【0020】[0020]

【実施例】以下、図面を参照して、本発明の実施例を説
明する。図1は本発明の一実施例に係るプロッタ装置の
要部の構成を示している。ホストコンピュータから供給
される作画データは、例えば作画データ解析部(図示し
ていない)にて解析処理されて描画ベクトルデータに変
換され、複数のペンが用いられる場合はペン毎のデータ
群にまとめられて、ペン毎にソート用バッファ11に逐
次格納される。ソート用バッファ11にペン毎に格納さ
れた描画ベクトルデータは、次に述べるようにしてペン
毎に処理される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a configuration of a main part of a plotter device according to an embodiment of the present invention. The drawing data supplied from the host computer is analyzed and converted into drawing vector data by, for example, a drawing data analysis unit (not shown). When a plurality of pens are used, the drawing data is collected into a data group for each pen. Then, the data is sequentially stored in the sorting buffer 11 for each pen. The drawing vector data stored for each pen in the sorting buffer 11 is processed for each pen as described below.

【0021】ソート用バッファ11に格納された描画ベ
クトルデータは、ソート処理部12にて、逐次、所定数
ずつ処理されて次に描画すべきベクトルデータおよび描
画起点となる端点が選定される。この選定された端点を
起点とするそのベクトルデータが、ソート用バッファ1
1から描画制御部13に転送される。描画制御部13は
与えられたデータに従って駆動機構部14を作動させ、
ペン移動およびペンのアップ/ダウンを行わせる。
The drawing vector data stored in the sorting buffer 11 is sequentially processed by the sorting unit 12 by a predetermined number, and vector data to be drawn next and an end point serving as a drawing starting point are selected. The vector data starting from the selected end point is stored in the sorting buffer 1.
1 to the drawing control unit 13. The drawing control unit 13 operates the driving mechanism unit 14 according to the given data,
Pen movement and pen up / down are performed.

【0022】ソート処理部12は、所定数のベクトルデ
ータの各端点について例えば2本先のベクトルデータを
描画するまでに要するペンアップ状態での移動量の合計
を演算する移動量演算部15と、この移動量演算部15
で演算された各端点のうち前記ペンアップ状態での移動
量の合計が最小となる端点およびベクトルデータを選定
する端点選定部16とを有している。
The sort processing unit 12 includes a movement amount calculation unit 15 for calculating the total movement amount in the pen-up state required to draw, for example, two vectors ahead of each end point of the predetermined number of vector data, This movement amount calculation unit 15
And an end point selection unit 16 for selecting the end point and the vector data that minimize the total amount of movement in the pen-up state among the end points calculated in (1).

【0023】移動量演算部15は、求めるべきペンアッ
プ状態での移動量に対応するX方向およびY方向の移動
量、すなわちX移動量およびY移動量を各別に求めるX
Y移動量算定部17、これらX移動量とY移動量とのう
ちの大きいほうの移動量を抽出する最大値抽出部18、
およびこの最大値抽出部で抽出された各移動量を用い所
定数のベクトルデータの各端点について例えば2本先の
ベクトルデータを描画するまでに要するペンアップ状態
での移動量の合計を演算する合計移動量演算部19を有
する。
The moving amount calculating section 15 calculates the moving amounts in the X and Y directions corresponding to the moving amount in the pen-up state to be obtained, that is, the X moving amount and the Y moving amount respectively.
A Y-movement calculating unit 17, a maximum value extracting unit 18 for extracting a larger moving amount of the X-moving amount and the Y-moving amount,
And a total for calculating the total amount of movement in the pen-up state required to draw, for example, two vector data points ahead for each end point of the predetermined number of vector data using each movement amount extracted by the maximum value extraction unit. It has a movement amount calculation unit 19.

【0024】この実施例においては、単に現在位置すな
わち処理起点に最も近い端点を求めるのではなく、所定
数の未描画の描画ベクトルデータについて、処理起点か
ら各描画ベクトルデータに対応する線分の一方の端点ま
での移動量とさらにその線分の他方の端点から最も近い
他のベクトルデータの一つの端点までの移動量との合
計、すなわち2本先のベクトルデータを描画するまでに
要するペンアップ状態での移動量の合計を求め、その中
で最も経路の短くなる経路に対応する次の端点および描
画ベクトルデータによる線分を選定し、これに従って次
の線分を前記選定された端点を起点として作図する。こ
のとき描画される線分の終点から先は、所定数の未描画
の描画ベクトルデータについて、前述と同様の処理を繰
り返す。このようにすることにより、最も近い端点を起
点とする線分の終点の端点の近くに他の描画すべき線分
がないために生じる無駄なペンアップ移動を効果的に低
減することができる。なお、この場合、上述の各移動量
としては、個々の移動量毎に移動量のX成分およびY成
分に相当するそれぞれX移動量およびY移動量の大きい
ほうのみを用いる。このように個々に選定されたX移動
量またはY移動量を、実際の移動量の代わりに移動量の
合計および端点選定の処理に供することにより、移動量
の計算処理が非常に簡単になる。
In this embodiment, instead of simply finding the current position, ie, the end point closest to the processing start point, for a predetermined number of undrawn drawing vector data, one of the line segments corresponding to each drawing vector data from the processing start point The sum of the movement amount to the end point of the line and the movement amount from the other end point of the line segment to one end point of the other vector data closest to the end point, that is, the pen-up state required to draw the vector data two points ahead The total amount of movement in the is determined, the next endpoint corresponding to the route with the shortest route and a line segment based on the drawing vector data are selected, and the next line segment is accordingly selected from the selected endpoint as a starting point. Draw. From the end point of the line segment to be drawn at this time, the same processing as described above is repeated for a predetermined number of undrawn drawing vector data. By doing so, it is possible to effectively reduce unnecessary pen-up movement that occurs because there is no other line segment to be drawn near the end point of the end point of the line segment starting from the closest end point. In this case, as each of the above-mentioned movement amounts, only the larger one of the X movement amount and the Y movement amount corresponding to the X component and the Y component of the movement amount is used for each movement amount. By using the individually selected X movement amount or Y movement amount instead of the actual movement amount for the total movement amount and end point selection processing, the calculation processing of the movement amount is greatly simplified.

【0025】図2に示すフローチャートを参照して、図
1の装置のソート処理部12を中心とする動作を具体的
に説明する。ホストコンピュータから供給される作画デ
ータに基づいて得られた描画ベクトルデータは、ステッ
プS1で、ソート用バッファ11に順次格納される。こ
の動作は作画データがなくなるまで随時行われる。
With reference to the flowchart shown in FIG. 2, the operation centering on the sort processing unit 12 of the apparatus shown in FIG. 1 will be specifically described. The drawing vector data obtained based on the drawing data supplied from the host computer is sequentially stored in the sorting buffer 11 in step S1. This operation is performed as needed until there is no image data.

【0026】ステップS2で、ベクトルデータカウンタ
(変数)nが、1にセットされ、ステップS3でソート
用バッファ11に演算すべきデータがないか否かが確認
され、ソート用バッファ11に演算すべきデータがあれ
ば、ステップS4に進む。ステップS4では、ソート用
バッファ11内のデータ順に従って描画ベクトルデータ
の線分端点すなわちベクトル端点が選択され、ステップ
S5で処理起点(現在位置)からのペンアップ移動量演
算が行われる。
In step S2, the vector data counter (variable) n is set to 1. In step S3, it is confirmed whether or not there is data to be calculated in the sort buffer 11, and the sort buffer 11 is to calculate. If there is data, the process proceeds to step S4. In step S4, the line segment end point, that is, the vector end point of the drawing vector data is selected in accordance with the data order in the sort buffer 11, and in step S5, the pen-up movement amount calculation from the processing start point (current position) is performed.

【0027】ステップS5のペンアップ移動量演算で
は、前述したように、現在位置から選択されたベクトル
端点までのペン移動量(ペンアップ移動量)とそのベク
トルの他方の端点から最も近い他のベクトル端点までの
ペン移動量(ペンアップ移動量)との合計を演算する。
但し、この場合、ペン移動量としては、個々のペン移動
毎に、X方向についてのX移動量とY方向についてのY
移動量とのうちの大きいほうの移動量を抽出し、これを
そのペン移動における移動量として用いる。
In the pen-up movement amount calculation in step S5, as described above, the pen movement amount (pen-up movement amount) from the current position to the selected vector end point and another vector closest to the other end point of the vector. The sum with the pen movement amount to the end point (pen-up movement amount) is calculated.
However, in this case, the pen movement amount is, for each pen movement, an X movement amount in the X direction and a Y movement amount in the Y direction.
The larger movement amount of the movement amount is extracted and used as the movement amount in the pen movement.

【0028】ステップS5における移動量の演算の詳細
を図3を参照して説明する。処理起点と図2のステップ
S4で選択されたベクトル端点との間のX移動量とY移
動量とを求める(ステップS51)。ステップS51で
求められたX移動量とY移動量とを比較し(ステップS
52)、(X移動量)≧(Y移動量)ならば、X移動量
をその選択ベクトル端点に関する第1の移動量として選
定し、(X移動量)<(Y移動量)ならば、Y移動量を
その選択ベクトル端点に関する第1の移動量として選定
する(ステップS53)。
The details of the calculation of the movement amount in step S5 will be described with reference to FIG. An X movement amount and a Y movement amount between the processing start point and the vector end point selected in step S4 of FIG. 2 are obtained (step S51). The X movement amount and the Y movement amount obtained in step S51 are compared (step S51).
52), if (X movement amount) ≧ (Y movement amount), select the X movement amount as the first movement amount with respect to the selected vector end point; if (X movement amount) <(Y movement amount), Y The moving amount is selected as the first moving amount for the selected vector end point (step S53).

【0029】次に、前記ベクトルの他端点すなわちベク
トル終点とその他のベクトル端点との間のX移動量とY
移動量とを求める(ステップS54)。ステップS54
で求められたX移動量とY移動量とを比較し(ステップ
S55)、(X移動量)≧(Y移動量)ならば、X移動
量を前記選択ベクトル端点に関する第2の移動量の候補
として選定し、(X移動量)<(Y移動量)ならば、Y
移動量を前記選択ベクトル端点に関する第2の移動量の
候補として選定する(ステップS56)。ステップS5
4〜S56の処理をその他のすべてのベクトル端点につ
いて行う(ステップS57)。このようにして得られる
第2の移動量の候補のうち最も小さい値を第2の移動量
として選定する(ステップS58)。ステップS58で
選定された第1の移動量とステップS58で選定された
の移動量とを合計する(ステップS59)。
Next, the X movement amount between the other end point of the vector, that is, the vector end point and the other vector end point, and Y
The movement amount is obtained (step S54). Step S54
(Step S55). If (X movement amount) ≧ (Y movement amount), the X movement amount is set as a candidate for the second movement amount with respect to the selected vector end point. If (X movement amount) <(Y movement amount), Y
The moving amount is selected as a second moving amount candidate for the selected vector endpoint (step S56). Step S5
The processing of 4 to S56 is performed for all other vector endpoints (step S57). The smallest value among the second movement amount candidates obtained in this way is selected as the second movement amount (step S58). The first movement amount selected in step S58 and the second movement amount selected in step S58 are summed (step S59).

【0030】図2におけるステップS4およびS5での
ベクトル端点選択およびペンアップ移動量の合計演算は
選択されたベクトルデータの両端点について行われる。
ステップS5での、ペンアップ移動量の合計演算後、ス
テップS6でデータカウンタnが所定の描画ベクトルデ
ータ数Nであるか否かが判定され、n=Nでないとき、
すなわちnがN未満であるときはステップS7でnを1
インクリメントしてステップS3に戻り、ソート用バッ
ファ11に演算すべきデータがあれば、ステップS4〜
S5の処理が繰り返され、上述と同様に他のベクトル端
点が選択されてペンアップ移動量の演算が行われる。
The vector end point selection and the sum calculation of the pen-up movement amount in steps S4 and S5 in FIG. 2 are performed for both end points of the selected vector data.
After the total calculation of the pen-up movement amount in step S5, it is determined in step S6 whether or not the data counter n is a predetermined number N of drawing vector data.
That is, when n is less than N, n is set to 1 in step S7.
Increment and return to step S3. If there is data to be calculated in sort buffer 11, steps S4 to S4 are executed.
The processing of S5 is repeated, and another vector endpoint is selected and the pen-up movement amount is calculated in the same manner as described above.

【0031】ステップS6でn=Nであると判定された
とき、すなわちnがNに達したときは、ステップS8に
進み、それまでに演算された各ベクトル端点毎のペンア
ップ移動量から最小移動量の経路が選択される。なお、
ステップS3でソート用バッファ11に演算すべきデー
タがないと判定された場合、すなわちnがNに達しない
状態でソート用バッファ11に演算すべきデータがなく
なった場合は、ステップS3から直ちにステップS8に
進み、それまでに演算された各ベクトル端点毎のペンア
ップ移動量から最小移動量の経路が選択される。
If it is determined in step S6 that n = N, that is, if n has reached N, the flow advances to step S8 to calculate the minimum movement from the pen-up movement amount for each vector endpoint calculated so far. A quantity route is selected. In addition,
If it is determined in step S3 that there is no data to be calculated in the sort buffer 11, that is, if there is no more data to be calculated in the sort buffer 11 in a state where n does not reach N, step S8 immediately follows from step S3. , And the path with the minimum movement amount is selected from the pen-up movement amount for each vector endpoint calculated so far.

【0032】ステップS8で、最小移動量の経路が選択
された後、ステップS9に進み、ステップS9では、ス
テップS8で選択された最小移動量の経路が1通りであ
るか否かが判定される。ステップS9で、最小移動量の
経路が複数個あると判定された場合は、ステップS10
でそれら複数個の経路のうちの最も古いベクトルデータ
を含むものを選択し、ステップS11に進む。ステップ
S9で最小移動量の経路が1通りであると判定された場
合もステップS11に進む。
After the route with the minimum moving amount is selected in step S8, the process proceeds to step S9, and in step S9, it is determined whether or not the single route with the minimum moving amount selected in step S8 is one. . If it is determined in step S9 that there are a plurality of routes with the minimum movement amount, step S10
Selects the path including the oldest vector data from the plurality of paths, and proceeds to step S11. If it is determined in step S9 that there is only one route with the minimum movement amount, the process also proceeds to step S11.

【0033】図2におけるステップS2〜ステップS7
の処理はソート処理部12の移動量演算部15で行わ
れ、ステップS8〜S10の処理はソート処理部12の
端点選定部16で行われる。また、図3におけるステッ
プS51およびS54の処理はXY移動量算定部17で
行われ、ステップS52、S53、S55およびS56
の処理は最大値抽出部18で行われ、ステップS57〜
S59の処理は合計移動量演算部19で行われる。
Steps S2 to S7 in FIG.
Is performed by the movement amount calculation unit 15 of the sort processing unit 12, and the processing of steps S8 to S10 is performed by the end point selection unit 16 of the sort processing unit 12. Further, the processing of steps S51 and S54 in FIG. 3 is performed by the XY movement amount calculating unit 17, and the processing of steps S52, S53, S55 and S56.
Is performed by the maximum value extracting unit 18, and the processing in steps S57 to S57 is performed.
The process of S59 is performed by the total movement amount calculation unit 19.

【0034】ステップS11では、ステップS8または
S10で選択された経路に従って、ソート用バッファ1
1から描画制御部13に描画ベクトルデータが転送され
る。描画制御部13では、選択されたベクトル端点を起
点とする線分の描画処理が行われる。ステップS11の
処理の後、ステップS12で、描画処理済みのベクトル
データがソート用バッファ11から消去され、ステップ
S13で、ソート用バッファ11にベクトルデータがな
いか否かが判定される。
In step S11, according to the route selected in step S8 or S10, the sort buffer 1
1 to the drawing control unit 13. The drawing control unit 13 performs a line segment drawing process starting from the selected vector end point. After the processing in step S11, the vector data that has been subjected to the drawing processing is deleted from the sorting buffer 11 in step S12, and it is determined in step S13 whether there is no vector data in the sorting buffer 11.

【0035】ステップS13で、ソート用バッファ11
にベクトルデータがあると判定された場合は、ステップ
S2に戻り、ソート用バッファ11にベクトルデータが
なくなるまで上述と同様の処理を繰り返す。ステップS
13で、ソート用バッファ11にベクトルデータがない
と判定された場合は、処理を終了し、次の処理、例えば
他のペンデータの処理等に移行する。
In step S13, the sort buffer 11
Is determined to have vector data, the process returns to step S2, and the same processing as described above is repeated until there is no more vector data in the sorting buffer 11. Step S
If it is determined in step 13 that there is no vector data in the sort buffer 11, the processing is terminated, and the processing shifts to the next processing, for example, processing of other pen data.

【0036】上述の処理について、具体的な例について
さらに詳細に説明する。図4に示すように、ペンが現在
位置すなわち処理起点0にある状態で、線分1〜5に対
応するベクトルデータが、ソート用バッファ11に格納
されている場合を考える。
The above processing will be described in more detail with reference to a specific example. As shown in FIG. 4, a case is considered in which the vector data corresponding to the line segments 1 to 5 is stored in the sort buffer 11 in a state where the pen is at the current position, that is, the processing starting point 0.

【0037】図8に関連して説明したような最近点選択
による方法では、0〜b−a〜c−d〜f−e〜g−h
〜j−iの経路で描画され、ペンアップの移動量の合計
は図示の場合で10+60+10+10+10=100
mmとなる。
In the method based on nearest point selection as described with reference to FIG. 8, 0 to ba to cd to fe to gh
Are drawn along the path of j to ji, and the total movement amount of the pen-up is 10 + 60 + 10 + 10 + 10 = 100 in the case shown.
mm.

【0038】一方、本実施例の方式では、第1点目を求
めるにあたり、ベクトルデータから線分1〜5の各端点
が端点a〜jの順に選択され、各端点までの移動量とそ
の線分の他方の端点から次の最も近い他の端点までの移
動量とのペンアップ移動量の合計が計算される。
On the other hand, in the method of the present embodiment, in order to obtain the first point, the end points of the line segments 1 to 5 are selected in order of the end points a to j from the vector data, and the movement amount to each end point and the line The sum of the pen-up movement with the movement from the other endpoint of the minute to the next closest other endpoint is calculated.

【0039】移動量の計算に際しては、例えば、線分2
の場合を考えると、図5に示すように、O〜cの移動量
をOc、そのX方向成分をOcX 、そのY方向成分をO
Y 、d〜fの移動量をdf、そのX方向成分をd
X 、そのY方向成分をdfY とすると、厳密には、線
分2の端点cに関する移動量RDcは、数1であらわさ
れる。
When calculating the movement amount, for example, a line segment 2
Considering the case (1), as shown in FIG. 5, the movement amount of O to c is Oc, its X direction component is Oc x , and its Y direction component is Oc.
c Y , the movement amount of d to f is df, and its X-direction component is d
Supposing f x and its Y-direction component to be df Y , strictly speaking, the movement amount RDc with respect to the end point c of the line segment 2 is expressed by Equation 1.

【0040】[0040]

【数1】RDc=Oc+df =(OcX 2+OcY 21/2 +(dfX 2+dfY 21/2 =(102 +2021/2 +(0+1021/2 =32.36[Number 1] RDc = Oc + df = (Oc X 2 + Oc Y 2) 1/2 + (df X 2 + df Y 2) 1/2 = (10 2 +20 2) 1/2 + (0 + 10 2) 1/2 = 32.36

【0041】しかしながら、この数1の計算は、非常に
複雑であり、多くの計算量と時間とを必要とする。そこ
で、本実施例では、数2に従って演算移動量SDcを求
め、これを上述の移動量RDcに代えて演算に使用す
る。
However, the calculation of equation (1) is very complicated, and requires a large amount of calculation and time. Therefore, in the present embodiment, the calculated movement amount SDc is obtained according to Equation 2, and this is used for the calculation instead of the above-described movement amount RDc.

【0042】[0042]

【数2】 SDc=MAX(OcX ,OcY )+MAX(dfX ,dfY ) =OcX +dfY =20+10=30## EQU2 ## SDc = MAX (Oc X , Oc Y ) + MAX (df X , df Y ) = Oc X + df Y = 20 + 10 = 30

【0043】すなわち、移動量Ocに代えてMAX(O
X ,OcY )を用い、移動量dfに代えてMAX(d
X ,dfY )を用いる。このように、移動量のX方向
成分とY方向成分とのうちの最大値、つまりMAX(X
移動量,Y移動量)を実際の移動量に代えて用いる。実
際のプロッタ装置においては、多くの場合、ペン動作に
おけるX方向の最大移動速度とY方向の最大移動速度と
が通常ほぼ等しく、これらが等しいならば、ペン移動に
要する時間はX移動量およびY移動量の大きいほうに依
存する。このため、上述のようにMAX(X移動量,Y
移動量)を実際の移動量に代えて用いることができる。
That is, instead of the movement amount Oc, MAX (O
c X, with Oc Y), instead of the moving amount df MAX (d
f X, using df Y). As described above, the maximum value of the moving amount in the X direction component and the Y direction component, that is, MAX (X
(Movement amount, Y movement amount) is used instead of the actual movement amount. In an actual plotter device, in many cases, the maximum movement speed in the X direction and the maximum movement speed in the Y direction in pen operation are usually substantially equal, and if they are equal, the time required for pen movement is the X movement amount and the Y movement amount. Depends on the larger amount of movement. Therefore, as described above, MAX (X movement amount, Y
(Movement amount) can be used in place of the actual movement amount.

【0044】このようにして演算した移動量は次の通り
である。 (0〜a)+(b〜c)=40+20=60mm (0〜b)+(a〜c)=10+60=70mm (0〜c)+(d〜f)=20+10=30mm (0〜d)+(c〜e)=60+10=70mm (0〜e)+(f〜d)=20+10=30mm (0〜f)+(e〜c)=60+10=70mm (0〜g)+(h〜f)=20+10=30mm (0〜h)+(g〜e)=60+10=70mm (0〜i)+(j〜h)=20+10=30mm (0〜j)+(i〜g)=60+10=70mm
The movement amount calculated as described above is as follows. (0-a) + (bc) = 40 + 20 = 60 mm (0-b) + (ac) = 10 + 60 = 70 mm (0-c) + (df) = 20 + 10 = 30 mm (0-d) + (Ce) = 60 + 10 = 70 mm (0-e) + (f-d) = 20 + 10 = 30 mm (0-f) + (ec) = 60 + 10 = 70 mm (0-g) + (h-f) ) = 20 + 10 = 30 mm (0-h) + (g-e) = 60 + 10 = 70 mm (0-i) + (j-h) = 20 + 10 = 30 mm (0-j) + (i-g) = 60 + 10 = 70 mm

【0045】これらのうち、端点c、e、gおよびiを
第1点とする経路が30mmで最も短い、このうちで最
初のすなわち最も古い端点cを第1点とする。
Of these, the path having the end points c, e, g, and i as the first points is the shortest path of 30 mm, and the first, that is, the oldest end point c is the first point.

【0046】次に、端点cを一端とする線分2の他端点
dを処理起点として、線分1、3〜5について同様の計
算を行うと端点fが選択される。(この場合、理解を容
易にするためソート用バッファ11には図4に示したデ
ータ以外のデータは存在しないものとする。)
Next, the same calculation is performed for the line segments 1, 3 to 5 with the other end point d of the line segment 2 having the end point c as one end, and the end point f is selected. (In this case, it is assumed that there is no data other than the data shown in FIG. 4 in the sort buffer 11 for easy understanding.)

【0047】これを繰り返すと、0〜c−d〜f−e〜
g−h〜j−i〜b−aの経路が選定され、その場合の
ペンアップ移動量の合計は20+10+10+10+3
0=80mmとなり、最近点選択による方法よりも改善
されていることがわかる。
By repeating this, 0 to cd to fe to
The routes gh to ji to ba are selected, and the total pen-up movement amount in this case is 20 + 10 + 10 + 10 + 3.
0 = 80 mm, which indicates that the method is improved over the method based on the nearest point selection.

【0048】なお、上述において、ペンアップ移動量の
演算に際し、図6に示すように、最初の端点を含む第1
本目の候補となるベクトルデータ本数を20本とする
と、第2本目の候補とするベクトルデータ数を1本多く
して21本とする。すなわち、図6において、線分1か
ら線分20までの順に線分データが格納されている場
合、移動量演算において最初の移動量計算の対象となる
線分の候補は線分1〜20であり、2番目の移動量計算
の対象となる線分の候補が線分1から線分21になる。
In the above description, when calculating the pen-up movement amount, as shown in FIG.
Assuming that the number of vector data as a candidate for the second line is 20, the number of vector data as a second candidate is increased by one to 21. That is, in FIG. 6, when the line segment data is stored in the order from line segment 1 to line segment 20, the first line segment candidates to be subjected to the first movement amount calculation in the movement amount calculation are line segments 1 to 20. In addition, the line segment candidates to be subjected to the second movement amount calculation are the line segments 1 to 21.

【0049】これは、20番目の線分20が現在位置
(処理起点)に最も近く、しかもその次の線分21も線
分20に近いのに、線分20の終点からその前の線分1
〜19の19本の線分までの移動量が長いため線分20
の端点が選択されなくなることを防ぐためである。
This is because the twentieth line segment 20 is closest to the current position (processing start point), and the next line segment 21 is also close to the line segment 20. 1
Since the movement amount to 19 line segments of ~ 19 is long, the line segment 20
This is to prevent the end point from being no longer selected.

【0050】このようにすることにより、簡単な計算
で、最も近い端点の他端点の近くに線分がないための無
駄なペンアップ移動に起因する描画効率の低下を防止
し、描画効率を高めることができる。
By doing so, it is possible to prevent a decrease in drawing efficiency due to useless pen-up movement due to no line segment near the other end point of the closest end point, and to increase the drawing efficiency with a simple calculation. be able to.

【0051】なお、より最適な経路を得るためには、3
本以上先のベクトルデータまでのペンアップ移動量を演
算すればよい。この場合、移動量計算の対象となる線分
の候補には、順次先の候補を含めるようにし、図6に示
すようにk番目の移動量計算の対象となる線分の候補は
線分(19+k)までの(19+k)本の線分とするこ
とが望ましい。
Note that in order to obtain a more optimal route, 3
What is necessary is just to calculate the pen-up movement amount up to the vector data beyond this one. In this case, the candidates for the line segments to be calculated for the movement amount are sequentially included in the candidates, and as shown in FIG. 6, the candidates for the k-th line segment to be calculated for the movement amount are line segments ( It is desirable to have (19 + k) line segments up to 19 + k).

【0052】また、移動量演算および端点選定を含むソ
ート処理に次のような処理を加えれば、ソート処理に係
る演算量を低減することができる。処理起点からの移動
量が「0」の端点を有する線分が見つかったときには、
移動量演算を中止し、その端点を起点とする線分を次に
描画すべく選定する。
Further, if the following processing is added to the sort processing including the movement amount calculation and the end point selection, the amount of calculation related to the sort processing can be reduced. When a line segment having an end point whose movement amount from the processing start point is “0” is found,
The movement amount calculation is stopped, and a line segment starting from the end point is selected to be drawn next.

【0053】移動量演算の最終番目、例えば上述の実施
例における2番目の移動量が、予め設定した所定移動量
よりも短いことがその移動量の正確な算定以前に判明し
た場合は、前記所定移動量を2番目の移動量とみなし、
それ以上正確な2番目の移動量の計算は行わない。前記
所定移動量は、通常、加減速距離に対応する移動量の半
分程度に設定する。多くの場合、2番目の移動量計算の
量はかなり大量であり、充分に移動量が短いことがわか
れば、厳密に移動量を算定するよりも、演算を早く打ち
切るようにしたほうが演算量と実際の移動時間との関係
からみても効率がよい。
If it is found before the accurate calculation of the movement amount that the final movement amount of the movement amount calculation, for example, the second movement amount in the above-described embodiment is shorter than the predetermined movement amount, the predetermined movement amount is calculated. The movement amount is regarded as the second movement amount,
No more accurate calculation of the second movement amount is performed. The predetermined movement amount is usually set to about half of the movement amount corresponding to the acceleration / deceleration distance. In many cases, the amount of the second movement amount calculation is quite large, and if it is known that the movement amount is sufficiently short, it is better to terminate the calculation earlier than to calculate the movement amount exactly. Efficiency is high in view of the relationship with the actual travel time.

【0054】また、XY両方向にペンが移動するいわゆ
るフラットベッドタイプのプロッタに限らず、XY両方
向の一方にペンが移動し、他方については作画用紙が移
動するいわゆるペーパムービングタイプのプロッタにつ
いても上述と同様にして実施することができる。
In addition to the so-called flat-bed type plotter in which the pen moves in both XY directions, the so-called paper moving type plotter in which the pen moves in one of the XY directions and the drawing paper moves in the other direction. It can be implemented in a similar manner.

【0055】上述した実施例においては、バッファ手段
に格納されたベクトルデータに基づいて次に描画すべき
最適のベクトル端点を選定して、逐次ベクトルデータの
描画を行うにあたり、各ベクトルデータ処理毎に、所定
数の未描画のベクトルデータの各両端点について処理起
点から少なくとも2本以上先のベクトルを描画するまで
に要するペンアップ状態での移動量の合計を演算し、こ
の演算結果をもとに最小移動量のベクトル端点を次に描
画すべきベクトル端点として選定する処理を繰り返し
て、効率のよい描画制御を行う場合に、複数の駆動軸
(駆動系の座標軸)方向の最大移動量を実際の移動量の
代わりに用いて最適経路を求める演算を行う場合につい
て示したが、図7に関連して説明した双方向プロットに
よる方法または図8に関連して説明した最近点選択によ
る方法における移動量演算に、複数の駆動軸(駆動系の
座標軸)方向の最大移動量を実際の移動量の代わりに用
いるようにしてもよい。
In the above-described embodiment, when the optimal vector end point to be drawn next is selected based on the vector data stored in the buffer means and the vector data is sequentially drawn, each vector data processing must be performed. For each end point of a predetermined number of undrawn vector data, the total amount of movement in the pen-up state required to draw at least two vectors ahead of the processing start point is calculated, and based on the calculation result, In the case of performing efficient drawing control by repeating the process of selecting the vector end point of the minimum movement amount as the vector end point to be drawn next, the maximum movement amount in the direction of a plurality of drive axes (coordinate axes of the drive system) is determined. Although the case where the calculation for obtaining the optimum route is performed using the moving amount instead of the moving amount has been described, the method based on the bidirectional plot described with reference to FIG. A movement-distance calculation in the process according to the closest point selected as described with communication, may be used in place of the plurality of drive shaft maximum movement amount (the coordinate drive system) direction of the actual movement amount.

【0056】[0056]

【発明の効果】以上述べたように、本発明によれば、バ
ッファ手段に格納されたベクトルデータに基づいて次に
描画すべき最適のベクトル端点を選定して、逐次ベクト
ルデータの描画を行うにあたり、次に描画すべきベクト
ル端点選定のための移動量演算に複数の駆動軸方向の最
大移動量を実際の移動量の代わりに用いて、計算量と計
算時間を低減して、効率のよい描画制御を可能とし、描
画時間の短縮にも寄与し得るプロッタ制御方法およびプ
ロッタ装置を提供することができる。
As described above, according to the present invention, when the next optimal vector end point to be drawn is selected based on the vector data stored in the buffer means, and the vector data is drawn sequentially, The maximum amount of movement in a plurality of drive axes is used in place of the actual amount of movement in the calculation of the amount of movement for selecting the vector endpoint to be drawn next, thereby reducing the amount of calculation and the time required for efficient drawing. It is possible to provide a plotter control method and a plotter device that enable control and contribute to shortening of a drawing time.

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

【図1】 本発明の一実施例に係るプロッタ装置の要部
の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a main part of a plotter device according to an embodiment of the present invention.

【図2】 図1のプロッタ装置の制御動作を説明するた
めのフローチャートである。
FIG. 2 is a flowchart illustrating a control operation of the plotter device of FIG. 1;

【図3】 図1のプロッタ装置の制御における移動量演
算動作を説明するためのフローチャートである。
FIG. 3 is a flowchart for explaining a movement amount calculation operation in control of the plotter device of FIG. 1;

【図4】 図1のプロッタ装置の具体的な動作を説明す
るための描画線分の模式図である。
FIG. 4 is a schematic diagram of drawing line segments for explaining a specific operation of the plotter device of FIG. 1;

【図5】 図1のプロッタ装置における演算処理を説明
するための模式図である。
FIG. 5 is a schematic diagram for explaining arithmetic processing in the plotter device of FIG. 1;

【図6】 図1のプロッタ装置に用いるベクトルデータ
の演算範囲を説明するための模式図である。
FIG. 6 is a schematic diagram for explaining a calculation range of vector data used in the plotter device of FIG. 1;

【図7】 従来のプロッタ装置における双方向プロット
と称される制御動作を説明するための描画線分の模式図
である。
FIG. 7 is a schematic diagram of a drawing line segment for explaining a control operation called a bidirectional plot in a conventional plotter device.

【図8】 従来のプロッタ装置における最近点選択と称
される制御動作を説明するための描画線分の模式図であ
る。
FIG. 8 is a schematic diagram of a drawing line segment for explaining a control operation called nearest point selection in a conventional plotter device.

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

1〜5…線分、11…ソート用バッファ、12…ソート
処理部、13…描画制御部、14…駆動機構部、15…
移動量演算部、16…端点選定部、17…XY移動量算
定部、18…最大値抽出部、19…合計移動量演算部。
1-5 line segment, 11 sort buffer, 12 sort processing unit, 13 drawing control unit, 14 drive mechanism unit, 15
Movement amount calculation unit, 16: end point selection unit, 17: XY movement amount calculation unit, 18: maximum value extraction unit, 19: total movement amount calculation unit.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 逐次与えられる作画データに基づく描画
ベクトルデータをバッファ手段に一旦格納し、このバッ
ファ手段に格納されたベクトルデータに基づいて次に描
画すべき最適のベクトル端点を選定して、逐次ベクトル
データの描画を行うプロッタの制御方法において、 前記バッファ手段に格納された未描画のベクトルデータ
の各端点について、複数の駆動軸方向の最大移動量を実
際の移動量の代わりに用いて、処理起点からのペンアッ
プ状態での移動量を演算する移動量演算ステップと、 この移動量演算ステップの演算結果をもとに最小移動量
ベクトル端点を次に描画すべきベクトル端点として
定する端点選定ステップとを有することを特徴とするプ
ロッタの制御方法。
1. An image processing apparatus according to claim 1, wherein the drawing vector data based on the sequentially provided drawing data is temporarily stored in a buffer means, and an optimum vector end point to be drawn next is selected based on the vector data stored in the buffer means. a method of controlling a plotter for drawing vector data, the respective end points of the vector data that has not been drawn stored in the buffer means, using instead of the maximum amount of movement of the plurality of drive axis actual moving amount, processing A movement amount calculation step for calculating a movement amount in a pen-up state from the starting point, and a minimum movement amount based on a calculation result of the movement amount calculation step
An end point selecting step of selecting the vector end point as a vector end point to be drawn next .
【請求項2】 逐次与えられる作画データに基づく描画
ベクトルデータを格納するバッファ手段と、 このバッファ手段に格納された未描画のベクトルデータ
の各端点について複数の駆動軸方向の最大移動量を実際
の移動量の代わりに用いて、処理起点からのペンアップ
状態での移動量を演算する移動量演算手段と、 この移動量演算手段の演算結果をもとに最小移動量の
クトル端点を次に描画すべきベクトル端点として選定す
る端点選定手段と、 この端点選定手段で選定された端点を起点として逐次次
のベクトルを描画させる描画制御手段とを具備すること
を特徴とするプロッタ装置。
2. A buffer means for storing drawing vector data based on sequentially given drawing data; and a maximum moving amount in a plurality of drive axis directions for each end point of undrawn vector data stored in the buffer means. A moving amount calculating means for calculating a moving amount in a pen-up state from the processing start point by using the moving amount instead of the moving amount; and a vector of a minimum moving amount based on a calculation result of the moving amount calculating means. A plotter apparatus comprising: an end point selecting means for selecting an end point as a vector end point to be drawn next; and a drawing control means for drawing successive vectors starting from the end point selected by the end point selecting means. .
JP3167565A 1991-06-12 1991-06-12 Plotter control method and plotter device Expired - Fee Related JP3007443B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3167565A JP3007443B2 (en) 1991-06-12 1991-06-12 Plotter control method and plotter device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3167565A JP3007443B2 (en) 1991-06-12 1991-06-12 Plotter control method and plotter device

Publications (2)

Publication Number Publication Date
JPH04364998A JPH04364998A (en) 1992-12-17
JP3007443B2 true JP3007443B2 (en) 2000-02-07

Family

ID=15852092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3167565A Expired - Fee Related JP3007443B2 (en) 1991-06-12 1991-06-12 Plotter control method and plotter device

Country Status (1)

Country Link
JP (1) JP3007443B2 (en)

Also Published As

Publication number Publication date
JPH04364998A (en) 1992-12-17

Similar Documents

Publication Publication Date Title
EP0250705B1 (en) Method and apparatus for retrieval of symbol strings from data
US7079143B2 (en) Waveform drawing system and method
JP3007443B2 (en) Plotter control method and plotter device
WO2022110978A1 (en) Method and apparatus for driving data search
US20240006026A1 (en) Genome assembly method, apparatus, device and storage medium
JP2977330B2 (en) Plotter control method and plotter device
CN115375869B (en) Robot repositioning method, robot and computer-readable storage medium
CN115979296A (en) Navigation method, navigation device, electronic equipment and medium
CN112835363B (en) Method and device for controlling flow of large-scale crowdsourcing map lane line data fusion
CN113296692B (en) Data reading method and device
JP3007444B2 (en) Plotter control method and plotter device
CN114708145A (en) Method and device for determining ocean current flow field of GOCI water color image
JP3007445B2 (en) Plotter control method and plotter device
JPH1019587A (en) Calculating method for reachable range on vector map within specified time
Zhang et al. ‘Skimming-Perusal’Detection: A Simple Object Detection Baseline in GigaPixel-level Images
JP3107416B2 (en) Buffer control method and buffer device
JP2000271839A (en) Flow shop scheduling device, flow shop scheduling method, and storage media for program solving flow shop scheduling
JPS61194571A (en) Graphic recognition mode
CN114470776B (en) Efficient hierarchical path finding method, device, medium and equipment
JPH04358900A (en) Plotter control and plotter
JP3215598B2 (en) Minimum error storage device
CN114581501A (en) Point cloud data processing method and device, electronic equipment and storage medium
JPH09229704A (en) Route seeking device
CN113610304A (en) Congestion prediction method, device, equipment and storage medium
CN115563115A (en) Method for establishing multi-layer database index model, data index method and device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20071126

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20071126

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081126

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091126

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091126

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20101126

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees