JPH06286391A - Plotter device - Google Patents

Plotter device

Info

Publication number
JPH06286391A
JPH06286391A JP9883093A JP9883093A JPH06286391A JP H06286391 A JPH06286391 A JP H06286391A JP 9883093 A JP9883093 A JP 9883093A JP 9883093 A JP9883093 A JP 9883093A JP H06286391 A JPH06286391 A JP H06286391A
Authority
JP
Japan
Prior art keywords
drawing area
plotting
vector data
region
carriage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9883093A
Other languages
Japanese (ja)
Inventor
Takeshi Totsuka
武 戸塚
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.)
Roland DG Corp
Original Assignee
Roland DG Corp
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 Roland DG Corp filed Critical Roland DG Corp
Priority to JP9883093A priority Critical patent/JPH06286391A/en
Publication of JPH06286391A publication Critical patent/JPH06286391A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Cutting Processes (AREA)

Abstract

PURPOSE:To shorten a processing time by selectively reading vector-data only in a specified region by operating a plotting-region specified means when the specified region is plotted again after the completion of the plotting of a plotting region based on the vector-data. CONSTITUTION:A console panel 24, in which a cursor-key 24a, a plotting-region setting button 24b and a plotting start button 24c are mounted, is provided. A RAM 14, to which a buffer-memory, etc., in which vector-data output from a host computer are stored, is set, is furnished. A plotting region is set in such a manner that a cursor-key 24a is operated, a carriage 16 is moved successively to two angles on a square diagonal set as the plotting region for correcting plotting and the plotting-region setting button 24b is pushed and operated at each one time. The vector-data in the set plotting region are read selectively from the RAM 14, and plotting is conducted according to the data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プロッタ装置に関し、
特に、作図修正機能を備えたプロッタ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plotter device,
In particular, the present invention relates to a plotter device having a drawing correction function.

【0002】[0002]

【従来の技術】従来のプロッタ装置として、例えば、図
4に示されるようなプロッタ装置が知られている。ま
た、図5には、図4に示されたプロッタ装置の駆動機構
の概略構成が示されている。
2. Description of the Related Art As a conventional plotter device, for example, a plotter device as shown in FIG. 4 is known. Further, FIG. 5 shows a schematic configuration of a drive mechanism of the plotter device shown in FIG.

【0003】図4および図5に示されたプロッタ装置1
00は、図示しないホスト・コンピュータから出力され
た図形や文字など(以下、これらを総称して単に「図形
など」と称する。)を指定するベクタ・データを記憶す
るためのバッファ・メモリを備えており、このバッファ
・メモリの記憶内容をマイクロ・コンピュータの制御に
よって順次読み出すことにより、キャリッジ102の移
動を実現するものである。
The plotter device 1 shown in FIG. 4 and FIG.
Reference numeral 00 is provided with a buffer memory for storing vector data for designating graphics, characters, etc. (hereinafter collectively referred to as “graphics”) output from a host computer (not shown). The movement of the carriage 102 is realized by sequentially reading the stored contents of the buffer memory under the control of the microcomputer.

【0004】即ち、キャリッジ102をX方向に移動す
るXモータ104ならびにY方向に移動するYモータ1
06を、マイクロ・コンピュータの制御によりバッファ
・メモリに記憶されたベクタ・データに従って駆動し、
キャリッジ102をシート108に対してX−Y方向に
相対的に移動する。こうして、ベクタ・データによって
指定される図形などに沿って、キャリッジ102が移動
されることになる。
That is, the X motor 104 that moves the carriage 102 in the X direction and the Y motor 1 that moves in the Y direction.
Drive 06 according to the vector data stored in the buffer memory under the control of the microcomputer,
The carriage 102 is moved relative to the sheet 108 in the XY directions. In this way, the carriage 102 is moved along the figure specified by the vector data.

【0005】従って、キャリッジ102にペン109を
把持させて、上記したように移動させることにより、シ
ート108上にベクタ・データによって指定される図形
などを作図することができ、また、キャリッジ102に
カッターを把持させた場合には、ベクタ・データによっ
て指定される図形などに沿って、シート108をカッタ
ーによりカッティングすることができる。
Therefore, by holding the pen 109 on the carriage 102 and moving it as described above, it is possible to draw a figure or the like designated by the vector data on the sheet 108, and the carriage 102 is provided with a cutter. When the sheet is gripped, the sheet 108 can be cut by the cutter along the figure specified by the vector data.

【0006】なお、Xモータ104ならびにYモータ1
06には、それぞれエンコーダ110、112が配設さ
れていて、Xモータ104ならびにYモータ106の駆
動状態が常時検出可能とされており、キャリッジ102
が現在どの位置に存在するかを、常時所定のメモリに読
み出し可能に記憶している。従って、こうしたプロッタ
装置100にあっては、キャリッジ102の位置を記憶
したメモリを読み出すことにより、キャリッジ102の
位置を検出することができる。
The X motor 104 and the Y motor 1
Encoders 110 and 112 are respectively arranged on 06, and the driving states of the X motor 104 and the Y motor 106 can be constantly detected.
The current position of the is always readably stored in a predetermined memory. Therefore, in such a plotter device 100, the position of the carriage 102 can be detected by reading the memory that stores the position of the carriage 102.

【0007】ところで、上記したようなプロッタ装置1
00にあっては、例えば、キャリッジ102にペン10
9を把持させて、シート108上にベクタ・データによ
って指定される図形などを作図する場合に、ペン109
のインクの状態によってはインクがかすれてしまい、シ
ート108に作図される図形の線がかすれたり、色が薄
くなったり、あるいは途切れたりしてしまうという問題
点があった。
By the way, the plotter device 1 as described above
00, the pen 10 is attached to the carriage 102, for example.
9 is grasped to draw a figure or the like designated by the vector data on the sheet 108, the pen 109
There is a problem in that the ink is faint depending on the state of the ink, and the line of the figure drawn on the sheet 108 is faint, the color is light, or is interrupted.

【0008】こうした問題点を解決するために、所謂、
リプロット機能と称される作図修正機能を備えたプロッ
タ装置が、従来より提案されている。
In order to solve these problems, the so-called
Conventionally, a plotter device having a drawing correction function called a replot function has been proposed.

【0009】このリプロット機能とは、ホスト・コンピ
ュータから出力されたベクタ・データを記憶したバッフ
ァ・メモリの全ての記憶内容を再度読み出し、ホスト・
コンピュータから出力されたベクタ・データによって指
定される図形などの全作図領域を、ペン109によって
なぞり書きすることにより、線がかすれたり、色が薄く
なったり、あるいは途切れたりした部位を修正するもの
である。
The re-plot function is to read all the stored contents of the buffer memory storing the vector data output from the host computer again,
By tracing the entire drawing area such as a figure specified by vector data output from the computer with the pen 109, a part where a line is faint, a color becomes faint, or a break is corrected. is there.

【0010】このため、リプロット機能を実行すること
により、シート108を無駄にすることなく、しかも手
書きなどによる線の修正を行うことなく、線がかすれた
り、色が薄くなったり、あるいは途切れたりしてしまっ
た作図の修正を行うことができるものであった。
Therefore, by executing the replot function, the line 108 becomes faint, the color becomes light, or the line is interrupted without wasting the sheet 108 and without correcting the line by handwriting or the like. It was possible to correct the drawings that were lost.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上記し
た従来のリプロット機能にあっては、修正すべき作図領
域が極めて狭い範囲であっても、バッファ・メモリに記
憶された全てのベクタ・データを読み出して、ベクタ・
データによって指定される図形などの全作図領域をなぞ
り書きするものであるため、作図の修正に多大な時間を
要するとともに、無駄にインクを消費してしまうとい
う、新たな問題点を招来していた。
However, in the above-mentioned conventional re-plotting function, even if the drawing area to be corrected is extremely narrow, all the vector data stored in the buffer memory is read out. Vector
Since all the drawing areas such as figures specified by the data are traced, it takes a lot of time to correct the drawing, and it causes a new problem that ink is wasted. .

【0012】本発明は、従来の技術の有するこのような
問題点に鑑みてなされたものであり、その目的とすると
ころは、作図の修正を短時間で達成することができるよ
うにするとともに、ペンのインクの無駄な消費やカッタ
ーの不必要な消耗などを防止したプロッタ装置を提供し
ようとするものである。
The present invention has been made in view of the above problems of the prior art, and an object thereof is to make it possible to correct a drawing in a short time, and An object of the present invention is to provide a plotter device that prevents wasteful consumption of ink in a pen and unnecessary consumption of a cutter.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するため
に、本発明においては、作図すべき図形などを示すベク
タ・データを記憶する記憶手段と、上記記憶手段に記憶
されたベクタ・データに基づいて作図される全作図領域
中の所定の作図領域を指定する作図領域指定手段と、上
記作図領域指定手段によって指定された作図領域を作図
するベクタ・データを、上記記憶手段から選択的に順次
読み出す読み出し手段と、上記読み出し手段によって読
み出されたベクタ・データに基づいて作図する作図手段
とを有するようにしたものである。
In order to achieve the above object, in the present invention, a storage means for storing vector data indicating a figure or the like to be drawn and a vector data stored in the storage means are provided. Based on the drawing area designating means for designating a predetermined drawing area out of all the drawing areas to be drawn on the basis of the drawing area, and the vector data for drawing the drawing area designated by the drawing area designating means, are sequentially selected from the storage means. The reading means for reading and the drawing means for drawing on the basis of the vector data read by the reading means are provided.

【0014】[0014]

【作用】ベクタ・データに基づく全作図領域の作図終了
後において、ペンにより作図された図形などの線がかす
れたり、色が薄くなったり、あるいは途切れたりしてい
る場合や、カッターにより切断されるべき切断箇所が完
全には切断されていないような場合には、作図領域指定
手段によって、全作図領域中の上記したような修正すべ
き作図領域を指定する。
[Function] After the drawing of the entire drawing area based on the vector data is completed, if the lines of the figure drawn by the pen are faint, the color is faint, or broken, or it is cut by the cutter If the cutting point to be cut is not completely cut, the drawing area specifying means specifies the drawing area to be corrected as described above in the entire drawing area.

【0015】そして、読み出し手段は、作図領域指定手
段によって指定された作図領域を作図するためのベクタ
・データを、記憶手段から選択的に順次読み出し、読み
出し手段によって読み出されたベクタ・データ基づい
て、作図手段が作図領域指定手段によって指定された作
図領域に関して再度作図を行う。
Then, the reading means selectively and sequentially reads the vector data for drawing the drawing area designated by the drawing area designating means from the storage means, and based on the vector data read by the reading means. The drawing means again draws the drawing area specified by the drawing area specifying means.

【0016】従って、修正の必要のない作図領域を徒に
作図することがないので、処理時間の短縮化を図ること
ができるとともに、ペンのインクを浪費したり、カッタ
ーの刃先を無駄に消耗することがなくなる。
Therefore, since a drawing area that does not need to be corrected is not drawn unnecessarily, the processing time can be shortened, ink of the pen is wasted, and the cutting edge of the cutter is wastefully consumed. Will disappear.

【0017】[0017]

【実施例】以下、図面に基づいて、本発明によるプロッ
タ装置の実施例を詳細に説明するものとする。
Embodiments of the plotter device according to the present invention will now be described in detail with reference to the drawings.

【0018】図1には、本発明によるプロッタ装置の一
実施例を示すブロック構成図が示されており、このプロ
ッタ装置は、その全体の動作の制御を、中央処理装置
(CPU)10を用いて制御するように構成されてい
る。
FIG. 1 is a block diagram showing an embodiment of a plotter device according to the present invention. The plotter device uses a central processing unit (CPU) 10 to control the entire operation thereof. It is configured to control.

【0019】そして、CPU10にはバスを介して、全
体の動作の制御や後述する処理を実行するための所定の
プログラムを格納したリード・オンリ・メモリ(RO
M)12と、図示しないホスト・コンピュータから出力
されるベクタ・データを記憶するバッファ・メモリやC
PU10による上記プログラムの実行時に必要な各種レ
ジスタ(キャリッジ16の位置を記憶するレジスタや、
後述する作図領域設定ボタン24bにより設定された作
図領域を記憶するレジスタなどがある。)などが設定さ
れたワーキング・エリアとしてのランダム・アクセス・
メモリ(RAM)14と、ドライバ22と、ドライバ2
2を制御する操作子などを配設した操作パネル24とが
接続されている。
The CPU 10 has a read-only memory (RO) storing a predetermined program for controlling the overall operation and executing the processes described later, via the bus.
M) 12 and a buffer memory or C for storing vector data output from a host computer (not shown)
Various registers (a register for storing the position of the carriage 16 and
There is a register for storing the drawing area set by the drawing area setting button 24b described later. ) Etc. are set as a random access area as a working area.
Memory (RAM) 14, driver 22, driver 2
An operation panel 24 in which an operator or the like for controlling the control unit 2 is arranged is connected.

【0020】上記ドライバ22には、キャリッジ16を
シート108に対して相対的にX方向に移動させるXモ
ータ18ならびにY方向に移動させるYモータ20が接
続され、Xモータ18ならびにYモータ20の励磁のオ
ン/オフならびにオン時における駆動が制御されてい
る。
An X motor 18 for moving the carriage 16 in the X direction relative to the sheet 108 and a Y motor 20 for moving the carriage 16 in the Y direction are connected to the driver 22. The X motor 18 and the Y motor 20 are excited. Is controlled to be turned on / off and driven at the time of turning on.

【0021】また、Xモータ18ならびにYモータ20
には、それぞれエンコーダ26、28が接続されてい
て、Xモータ18ならびにYモータ20の状態が常時検
出可能とされていて、キャリッジ16がシート108に
対してどの位置に存在するかが、CPU10を介してR
AM14に読み出し可能に常時記憶されている。このエ
ンコーダ26、28は、Xモータ18ならびにYモータ
20の励磁のオン/オフに関わらず、常にXモータ18
ならびにYモータ20の状態を検出することができる。
In addition, the X motor 18 and the Y motor 20
Are connected to encoders 26 and 28, respectively, so that the states of the X motor 18 and the Y motor 20 can be constantly detected, and the position of the carriage 16 relative to the sheet 108 can be controlled by the CPU 10. Through R
It is always readable and stored in the AM 14. The encoders 26 and 28 are always provided to the X motor 18 regardless of whether the excitation of the X motor 18 and the Y motor 20 is on or off.
Also, the state of the Y motor 20 can be detected.

【0022】さらに、操作パネル24には、本発明の実
施に関連する操作子として、キャリッジ16の位置を指
定するカーソル・キー24aと、シート108の全作図
領域中の修正すべき所定の作図領域を指定するための作
図領域設定ボタン24bと、作図領域設定ボタン24b
により設定された作図領域の作図を開始するための作図
開始ボタン24cとが配設されている。さらに、操作パ
ネル24には、作図領域設定ボタン24bの操作状態を
表示する発光ダイオード(LED)24d、24e、な
らびに作図開始ボタン24cの操作状態を表示するLE
D24fが配設されている。
Further, on the operation panel 24, cursor keys 24a for designating the position of the carriage 16 are provided as operators related to the implementation of the present invention, and a predetermined drawing area to be corrected in the entire drawing area of the sheet 108. Drawing area setting button 24b for designating the print area and drawing area setting button 24b
The drawing start button 24c for starting the drawing of the drawing area set by is provided. Further, on the operation panel 24, light emitting diodes (LEDs) 24d and 24e for displaying the operation state of the drawing area setting button 24b, and LE for displaying the operation state of the drawing start button 24c.
D24f is provided.

【0023】以下に、操作パネル24に配設された上記
各操作子の機能を説明する。
The functions of the above-mentioned operators provided on the operation panel 24 will be described below.

【0024】カーソル・キー24aは、キャリッジ16
をシート108上の任意の位置に移動するために操作す
るものである。
The cursor key 24a is used for the carriage 16
Is operated to move the sheet to an arbitrary position on the sheet 108.

【0025】また、作図領域設定ボタン24bは、カー
ソル・キー24aにより移動された現在のキャリッジ1
6の位置を、作図の修正を行うための作図領域として入
力するものである。以下に、図2を参照しながら、作図
領域設定ボタン24bによる作図領域の設定操作を説明
する。
The drawing area setting button 24b is used for the current carriage 1 moved by the cursor key 24a.
The position 6 is input as a drawing area for correcting the drawing. The setting operation of the drawing area by the drawing area setting button 24b will be described below with reference to FIG.

【0026】作図領域を設定する場合には、まず、カー
ソル・キー24aを操作して、作図の修正を行うための
作図領域として設定する四角形の対角線上の一方の角部
に、キャリジ16を移動し、作図領域設定ボタン24b
を1回押圧操作する。この操作により、キャリッジ16
が位置する四角形の対角線上の一方の角部のX座標およ
びY座標の座標(Xmin,Ymin)が設定される。この際
に、LED24dが点灯して、四角形の対角線上の一方
の角部のX座標およびY座標の座標(Xmin,Ymin)が
設定されたことを表示する。
When setting the drawing area, first, the cursor key 24a is operated to move the carriage 16 to one corner on the diagonal of the quadrangle set as the drawing area for correcting the drawing. Then, the drawing area setting button 24b
Press once. By this operation, the carriage 16
The coordinates (X min , Y min ) of the X coordinate and the Y coordinate of one corner portion on the diagonal of the quadrangle where is located are set. At this time, the LED 24d is turned on to indicate that the coordinates (X min , Y min ) of the X coordinate and the Y coordinate of one corner portion on the diagonal line of the quadrangle have been set.

【0027】次に、作図の修正を行うための作図領域と
して設定する四角形の対角線上の他方の角部に、キャリ
ジ16を移動し、作図領域設定ボタン24bを1回押圧
操作すると、キャリッジ16が位置する四角形の対角線
上の他方の角部のX座標およびY座標の座標(Xmax
max)が設定される。この際に、LED24eが点灯
して、四角形の対角線上の一方の角部のX座標およびY
座標の座標(Xmax,Ym ax)が設定されたことを表示す
る。
Next, when the carriage 16 is moved to the other corner portion on the diagonal line of the quadrangle set as the drawing area for modifying the drawing area and the drawing area setting button 24b is pressed once, the carriage 16 is moved. The coordinates of the X and Y coordinates of the other corner on the diagonal of the located rectangle (X max ,
Y max ) is set. At this time, the LED 24e is turned on, and the X coordinate and Y of one corner portion on the diagonal line of the quadrangle.
Indicating that the coordinates of the coordinates (X max, Y m ax) is set.

【0028】上記のような操作により、作図の修正を行
うための作図領域として、座標(Xmin,Ymin)および
座標(Xmax,Ymax)により囲まれる四角形(図2上破
線による斜線部分)を、シート108上の全作図領域中
の任意の領域に設定できる。
By the above-mentioned operation, as a drawing area for modifying the drawing, a quadrangle surrounded by the coordinates (X min , Y min ) and the coordinates (X max , Y max ) (the hatched portion by the broken line in FIG. 2). ) Can be set to any area in the entire drawing area on the sheet 108.

【0029】さらに、作図開始ボタン24cは、作図領
域設定ボタン24bにより設定された作図領域の作図を
開始するために、押圧操作するものである。この作図開
始ボタン24cを押圧操作すると、LED24fが点灯
して、作図領域設定ボタン24bにより設定された作図
領域の作図が行われていることを表示する。
Further, the drawing start button 24c is pressed to start drawing of the drawing area set by the drawing area setting button 24b. When the drawing start button 24c is pressed, the LED 24f is turned on to indicate that the drawing area set by the drawing area setting button 24b is being drawn.

【0030】そして、作図領域設定ボタン24bにより
設定された作図領域の作図が終了すると、LED24f
が消灯し、作図領域設定ボタン24bにより設定された
作図領域の作図終了を知らせるものである。なお、この
際に、LED24d、24eも消灯する。
When the drawing area set by the drawing area setting button 24b is finished, the LED 24f
Is turned off, and the completion of the drawing of the drawing area set by the drawing area setting button 24b is notified. At this time, the LEDs 24d and 24e are also turned off.

【0031】以上の構成において、このプロッタ装置
は、公知の技術に基づき、ホスト・コンピュータから出
力されて、RAM14のバッファ・メモリ記憶されたベ
クタ・データに従って、CPU10がドライバ22を制
御してXモータ18ならびにYモータ20を駆動する。
こうしたXモータ18ならびにYモータ20の駆動によ
り、キャリッジ16がシート108に対してX−Y方向
に相対的に移動されることになり、シート108上に作
図が行われる。即ち、キャリッジ16に把持させたペン
によりシート108上に図形などを描画したり、あるい
はキャリッジ16に把持させたカッターによりシート1
08をカッティングしたりすることができる。
In the above configuration, this plotter device controls the driver 22 in accordance with the vector data output from the host computer and stored in the buffer memory of the RAM 14 based on a known technique, so that the CPU 10 controls the driver 22. 18 and Y motor 20 are driven.
By driving the X motor 18 and the Y motor 20 as described above, the carriage 16 is moved relative to the sheet 108 in the XY directions, and printing is performed on the sheet 108. That is, a pen held by the carriage 16 is used to draw a figure or the like on the sheet 108, or a cutter held by the carriage 16 is used to draw the sheet 1.
08 can be cut and the like.

【0032】上記した作図終了後に、ペンにより描画し
た図形などにかすれや途切れがある箇所が存在したり、
カッターによる切断が十分でない箇所が存在した場合に
は、当該箇所に関する作図の修正を行うために、当該箇
所に関して再度作図を行うことになる。
After the above-mentioned drawing is completed, there is a portion where there is blur or discontinuity in the figure drawn by the pen,
When there is a portion where the cutting by the cutter is not sufficient, the drawing is performed again for the portion in order to correct the drawing for the portion.

【0033】即ち、カーソル・キー24aならびに作図
領域設定ボタン24bを操作して、当該箇所を含むよう
にして作図領域を設定する。こうして、当該箇所を含む
作図領域を設定した後に、作図開始ボタン24cを操作
して、作図領域設定ボタン24bにより設定された領域
に関して作図を開始させるものである。
That is, the cursor key 24a and the drawing area setting button 24b are operated to set the drawing area so as to include the relevant portion. After setting the drawing area including the portion in this way, the drawing start button 24c is operated to start drawing the area set by the drawing area setting button 24b.

【0034】図3には、作図開始ボタン24cの操作に
基づいて、作図領域設定ボタン24bにより設定された
領域に関しての作図を実行するためのフローチャートが
示されている。
FIG. 3 shows a flowchart for executing drawing on the area set by the drawing area setting button 24b based on the operation of the drawing start button 24c.

【0035】このフローチャートは、作図開始ボタン2
4cが操作されるとスタートするものであり、まずステ
ップS302において、ホスト・コンピュータから出力
されたベクタ・データを記憶したRAM14のバッファ
・メモリから、記憶されたベクタ・データが順次読み出
されることになる。このステップS302の処理を終了
すると、ステップS304へ進む。
This flowchart shows the drawing start button 2
4c is started when it is operated. First, in step S302, the stored vector data is sequentially read from the buffer memory of the RAM 14 that stores the vector data output from the host computer. . When the process of step S302 is completed, the process proceeds to step S304.

【0036】ステップS304においては、ステップS
302で読み出されたベクタ・データが、作図領域設定
ボタン24bにより設定された領域を作図するベクタ・
データであるか、否かを判断する。
In step S304, step S
The vector data read in 302 is the vector for drawing the area set by the drawing area setting button 24b.
It is judged whether it is data or not.

【0037】なお、この判断処理は、例えば、株式会社
アスキーの発行に係る「入門グラフィックス アスキー
・ラーニングシステム(1)入門コース」(1984年
12月5日初版発行)に記載されているような公知の技
術を用いて実現される。
This determination process is as described in, for example, "Introductory Graphics ASCII Learning System (1) Introductory Course" (issued on December 5, 1984, first edition) relating to the issue of ASCII Corporation. It is realized by using a known technique.

【0038】また、この判断処理においては、図2にお
いて示すように、(1)座標(Xmin,Ymin)と座標
(Xmax,Ymax)によって指定される作図領域中に始点
座標(X1,Y1)および終点座標(X2,Y2)が存在す
るベクタ・データ、(2)始点座標(X3,Y3)が座標
(Xmin,Ymin)と座標(Xmax,Ymax)によって指定
される作図領域中に存在するが、終点座標(X4,Y4
が作図領域中に存在しないベクタ・データ、(3)始点
座標(X5,Y5)が座標(Xmin,Ymin)と座標(X
max,Ymax)によって指定される作図領域中に存在しな
いが、終点座標(X6,Y6)が作図領域中に存在するベ
クタ・データ、(4)座標(Xmin,Ymin)と座標(X
max,Ymax)によって指定される作図領域中に始点座標
(X7,Y7)および終点座標(X8,Y8)が存在しない
が、始点座標(X7,Y7)と終点座標(X8,Y8)とを
結ぶ線分が、作図領域中を通過するベクタ・データ、
が、作図領域設定ボタン24bにより設定された領域を
作図するベクタ・データであると判断される。
In this judgment processing, as shown in FIG. 2, (1) the starting point coordinates (X) in the drawing area designated by the coordinates (X min , Y min ) and the coordinates (X max , Y max ). 1 , Y 1 ) and end point coordinates (X 2 , Y 2 ) are vector data, and (2) start point coordinates (X 3 , Y 3 ) are coordinates (X min , Y min ) and coordinates (X max , Y). Although it exists in the drawing area specified by max ), the end point coordinates (X 4 , Y 4 )
Is vector data that does not exist in the drawing area, and (3) start point coordinates (X 5 , Y 5 ) are coordinates (X min , Y min ) and coordinates (X
vector data whose end point coordinates (X 6 , Y 6 ) do not exist in the drawing area specified by ( max , Y max ) but exist in the drawing area, and (4) coordinates (X min , Y min ) and coordinates (X
Although the start point coordinates (X 7 , Y 7 ) and the end point coordinates (X 8 , Y 8 ) do not exist in the drawing area specified by max , Y max ), the start point coordinates (X 7 , Y 7 ) and the end point coordinates (X 7 , Y 7 ) X 8, Y 8) and a line segment connecting the found vector data passing through the drawing area,
Is determined to be vector data for drawing the area set by the drawing area setting button 24b.

【0039】一方、上記した(1)乃至(4)以外のベ
クタ・データ、即ち、座標(Xmin,Ymin)と座標(X
max,Ymax)によって指定される作図領域中に始点座標
(X9,Y9)および終点座標(X10,Y10)が存在しな
いとともに、始点座標(X9,Y9)と終点座標(X10
10)とを結ぶ線分も作図領域中を通過しないベクタ・
データは、作図領域設定ボタン24bにより設定された
領域を作図するベクタ・データではないと判断される。
On the other hand, vector data other than the above (1) to (4), that is, the coordinates (X min , Y min ) and the coordinates (X
The start point coordinates (X 9 , Y 9 ) and the end point coordinates (X 10 , Y 10 ) do not exist in the drawing area specified by max , Y max ), and the start point coordinates (X 9 , Y 9 ) and the end point coordinates (X 9 , Y 9 ) X 10 ,
Y 10) and vector is not also pass through the drawing area line connecting the
It is determined that the data is not vector data for drawing the area set by the drawing area setting button 24b.

【0040】ステップS304の判断結果が肯定
(Y)、即ち、ステップS302で読み出されたベクタ
・データが、作図領域設定ボタン24bにより設定され
た領域を作図するベクタ・データであると判断された場
合には、ステップS306へ進み、当該ベクタ・データ
に基づき作図を行う。
The determination result of step S304 is affirmative (Y), that is, it is determined that the vector data read in step S302 is the vector data for drawing the area set by the drawing area setting button 24b. In this case, the process proceeds to step S306, and drawing is performed based on the vector data.

【0041】即ち、公知の技術に基づき、当該ベクタ・
データに従って、CPU10がドライバ22を制御して
Xモータ18ならびにYモータ20を駆動する。こうし
たXモータ18ならびにYモータ20の駆動により、キ
ャリッジ16がシートに対してX−Y方向に相対的に移
動されることになり、シート108上に作図が行われる
ことになる。こうして、作図領域設定ボタン24bによ
り設定された領域に関しては、作図が再度行われること
になる。
That is, the vector
According to the data, the CPU 10 controls the driver 22 to drive the X motor 18 and the Y motor 20. By driving the X motor 18 and the Y motor 20 as described above, the carriage 16 is relatively moved in the XY direction with respect to the sheet, and drawing is performed on the sheet 108. In this way, the drawing is performed again for the area set by the drawing area setting button 24b.

【0042】上記したステップS306の処理を終了す
ると、ステップS308へ進むことになる。
When the processing of step S306 is completed, the process proceeds to step S308.

【0043】一方、ステップS304の判断結果が否定
(N)、即ち、ステップS302で読み出されたベクタ
・データが、作図領域設定ボタン24bにより設定され
た領域を作図するベクタ・データではないと判断された
場合には、当該ベクタ・データに基づく作図を行うこと
なく、ステップS308へ進むことになる。
On the other hand, it is determined that the determination result of step S304 is negative (N), that is, the vector data read in step S302 is not vector data for drawing the area set by the drawing area setting button 24b. If so, the process proceeds to step S308 without performing drawing based on the vector data.

【0044】ステップS308では、RAM14のバッ
ファ・メモリに、ステップS302において読み出され
たベクタ・データの次のベクタ・データが記憶されてい
るか、否かを判断する。
In step S308, it is determined whether or not the vector memory next to the vector data read in step S302 is stored in the buffer memory of the RAM 14.

【0045】ステップS308の判断結果が肯定、即
ち、RAM14のバッファ・メモリに、次のベクタ・デ
ータが存在する場合には、ステップS302へジャンプ
し、上記したステップS302乃至ステップS308の
処理を繰り返すことになる。
If the result of the determination in step S308 is affirmative, that is, if the next vector data exists in the buffer memory of the RAM 14, the process jumps to step S302 and the processes of steps S302 to S308 described above are repeated. become.

【0046】一方、ステップS308の判断結果が否
定、即ち、RAM14のバッファ・メモリに次のベクタ
・データが存在しない場合には、バッファ・メモリに記
憶された全てのベクタ・データに対して、上記したステ
ップS302乃至ステップS308の処理を終了したも
のであるから、このフローチャートの処理を終了する。
On the other hand, when the result of the determination in step S308 is negative, that is, when the next vector data does not exist in the buffer memory of the RAM 14, the above-mentioned operation is performed on all the vector data stored in the buffer memory. Since the processing of steps S302 to S308 has been completed, the processing of this flowchart ends.

【0047】従って、RAM14のバッファ・メモリに
記憶された全てのベクタ・データに関する作図を行うこ
となく、作図領域設定ボタン24bにより設定された範
囲に関する作図しか行わないため、作図の修正の処理時
間を著しく短縮することができる。
Therefore, since the drawing is not performed for all the vector data stored in the buffer memory of the RAM 14, only the drawing for the range set by the drawing area setting button 24b is performed. It can be significantly shortened.

【0048】また、キャリッジ16にペンを把持させた
場合には、インクの無駄な消費を抑制することができ、
キャリッジ16にカッターを把持させた場合には、カッ
ターの無駄な消耗を抑制できる。
When the carriage 16 holds the pen, wasteful consumption of ink can be suppressed.
When the carriage 16 holds the cutter, wasteful consumption of the cutter can be suppressed.

【0049】なお、ベクタ・データの始点や終点が、作
図領域設定ボタン24bにより設定された範囲外にある
ベクタ・データであって、当該ベクタ・データの始点と
終点とを結ぶ線分が、作図領域設定ボタン24bにより
設定された範囲内に位置するベクタ・データ(例えば、
座標(X7,Y7)を始点座標とし、座標(X8,Y8)を
終点座標とするベクトル・データなどである。)に基づ
いて、ステップS306において作図を行う場合には、
始点座標(X7,Y7)と終点座標(X8,Y8)を結ぶ線
分全てを作図してもよいし、始点座標(X7,Y7)と終
点座標(X8,Y8)を結ぶ線分中の、作図領域設定ボタ
ン24bにより設定された範囲内に位置する部位のみを
作図するようにしてもよい。
The start point and the end point of the vector data are vector data outside the range set by the drawing area setting button 24b, and the line segment connecting the start point and the end point of the vector data is drawn. Vector data located within the range set by the area setting button 24b (for example,
It is vector data having coordinates (X 7 , Y 7 ) as starting point coordinates and coordinates (X 8 , Y 8 ) as ending coordinates. ), When drawing is performed in step S306,
All the line segments connecting the start point coordinates (X 7 , Y 7 ) and the end point coordinates (X 8 , Y 8 ) may be drawn, or the start point coordinates (X 7 , Y 7 ) and the end point coordinates (X 8 , Y 8). It is also possible to draw only the portion of the line segment connecting the lines) that is located within the range set by the drawing area setting button 24b.

【0050】また、上記実施例には、以下に示すような
変形例がある。
Further, the above embodiment has the following modifications.

【0051】(1)上記実施例においては、作図領域を
設定する際に、カーソル・キー24aならびに作図領域
設定ボタン24bを操作して、作図領域の座標位置を設
定するようにしたが、テン・キーなどの操作子を設けて
おき、上記座標位置を数値入力するようにしてもよい。
(1) In the above embodiment, when the drawing area is set, the cursor key 24a and the drawing area setting button 24b are operated to set the coordinate position of the drawing area. An operator such as a key may be provided so that the coordinate position can be numerically input.

【0052】(2)エンコーダ26、28は、Xモータ
18ならびにYモータ20の励磁がオフされても、キャ
リッジ16の位置を常時検出しているものであるから、
キャリッジ16を手で把持して(この際には、Xモータ
18ならびにYモータ20の励磁をオフにしておくと、
スムーズな移動を行える。)移動し、作図領域の座標位
置を設定するようにしてもよい。
(2) Since the encoders 26 and 28 always detect the position of the carriage 16 even when the excitation of the X motor 18 and the Y motor 20 is turned off,
Hold the carriage 16 by hand (at this time, if the excitation of the X motor 18 and the Y motor 20 is turned off,
You can move smoothly. ) You may make it move and set the coordinate position of a drawing area.

【0053】(3)上記実施例においては、作図領域設
定ボタン24bによって設定した座標位置の内側(図2
における破線による斜線部分)を作図領域としたが、作
図領域設定ボタン24bによって設定した座標位置の外
側を作図領域としてもよい。また、こうした内側あるい
は外側の選択を、任意に行うことができるようにしても
よい。
(3) In the above embodiment, inside the coordinate position set by the drawing area setting button 24b (see FIG. 2).
Although the hatched portion (indicated by a broken line in FIG. 3) is the drawing area, the drawing area may be outside the coordinate position set by the drawing area setting button 24b. In addition, the inside or outside may be arbitrarily selected.

【0054】(4)上記実施例においては、作図領域を
設定する際に、四角形の対角線上の二点を指定したが、
単に作図領域の中心部位などの所定部位を指定すると、
指定した部位を含む適宜の形状(四角形でも円形でもよ
い)の所定の領域(例えば、一辺が5cmの正方形や、
半径5cmの円など。)が、作図領域として設定される
ようにしてもよい。さらに、作図領域の設定を座標位置
により行うのではなく、キャリッジ16の移動軌跡によ
り設定するようにしてもよい。
(4) In the above embodiment, two points on the diagonal of the quadrangle were designated when setting the drawing area.
If you simply specify a predetermined part such as the center part of the drawing area,
A predetermined area (for example, a square with a side of 5 cm or the like) of an appropriate shape (which may be a quadrangle or a circle) including a designated portion,
A circle with a radius of 5 cm. ) May be set as the drawing area. Further, the drawing area may be set not by the coordinate position but by the movement locus of the carriage 16.

【0055】(5)キャリッジ16に把持させるもの
は、ペンあるいはカッター以外に、ペンシル(鉛筆)な
どでもよい。
(5) The carriage 16 may be held by a pencil (pencil) or the like in addition to the pen or the cutter.

【0056】(6)作図領域設定ボタン24bならびに
作図開始ボタン24cの操作状態を表示するためにLE
Dを用いたが、液晶表示装置などを用いてもよい。ま
た、こうした表示手段を設けなくともよい。
(6) LE for displaying the operation state of the drawing area setting button 24b and the drawing start button 24c
Although D is used, a liquid crystal display device or the like may be used. Further, such display means may not be provided.

【0057】(7)作図領域設定ボタン24bを設ける
ことなく、キャリッジ16を作図領域に移動した後に、
作図開始ボタン24cを操作すると、作図領域が自動的
に設定されて、当該作図領域に関する作図が行われるよ
うにしてもよい。
(7) After moving the carriage 16 to the drawing area without providing the drawing area setting button 24b,
When the drawing start button 24c is operated, the drawing area may be automatically set and the drawing relating to the drawing area may be performed.

【0058】(8)本明細書の従来の技術の項において
取り上げて説明したような、XモータならびにYモータ
によりキャリッジ自体をX−Y方向に移動する、所謂、
フラット・ベッド・タイプのプロッタ装置ばかりでな
く、キャリッジ自体はX方向あるいはY方向の一方向に
のみしか移動しないが、シートが移動されることによ
り、キャリッジがシートに対して相対的にX−Y方向に
移動されることになるプロッタ装置(シート・ムーブ・
タイプと称されている。)に、本発明を適用してもよ
い。
(8) The so-called, in which the carriage itself is moved in the XY direction by the X motor and the Y motor as described in the prior art section of this specification.
Not only the flat bed type plotter device, but the carriage itself moves only in one direction of the X direction or the Y direction, but when the sheet is moved, the carriage moves relative to the sheet in the XY direction. Plotter device (sheet move,
It is called type. The present invention may be applied to

【0059】(9)インクがかすれたりした場合などば
かりでなく、任意の位置の図形のみ作図したり、あるい
はキャリッジ16に把持させるペンの種類を変えて、所
定の作図領域の内における線の色や太さを変えたりする
場合などに、本発明を適用してもよい。
(9) Not only when the ink is faint, but only when drawing a figure at an arbitrary position, or by changing the type of pen held by the carriage 16, the color of the line within a predetermined drawing area The present invention may be applied to the case where the thickness is changed.

【0060】[0060]

【発明の効果】本発明は、以上説明したように構成され
ているので、以下に記載されるような効果を奏する。
Since the present invention is constructed as described above, it has the following effects.

【0061】作図すべき図形を指定するベクタ・データ
を記憶する記憶手段と、上記記憶手段に記憶されたベク
タ・データに基づいて作図される全作図領域中の所定の
作図領域を指定する作図領域指定手段と、上記作図領域
指定手段によって指定された作図領域を作図するための
ベクタ・データを、上記記憶手段から選択的に順次読み
出す読み出し手段と、上記読み出し手段によって読み出
されたベクタ・データに基づいて作図する作図手段とを
有するようにしたため、ベクタ・データに基づく全作図
領域の作図終了後において、所定領域を再度作図する必
要がある場合には、作図領域指定手段によって、全作図
領域中の所定の作図領域を指定すると、読み出し手段
は、作図領域指定手段によって指定された作図領域を作
図するためのベクタ・データを記憶手段から選択的に順
次読み出し、読み出し手段によって読み出されたベクタ
・データ基づいて、作図手段が作図領域指定手段によっ
て指定された作図領域のみの作図を再度行う。
Storage means for storing vector data for designating a figure to be plotted, and a plotting area for designating a predetermined plotting area in all plotting areas to be plotted based on the vector data stored in the storage means. Designating means, reading means for selectively sequentially reading the vector data for drawing the drawing area designated by the drawing area designating means from the storage means, and vector data read by the reading means. Since it has a plotting means for plotting based on the vector data, if it is necessary to plot a predetermined area again after the plotting of all plotting areas based on vector data is completed, the plotting area designating means When a predetermined drawing area of is specified, the reading means is a vector for drawing the drawing area specified by the drawing area specifying means. Reads data from the storage means selectively and sequentially, on the basis of vector data read out by the read means, and performs drawing of the drawing means only drawing area specified by the drawing area specifying means again.

【0062】従って、本発明によれば、所定領域以外の
作図を再度行う必要がないので、処理時間の短縮化を図
ることができるとともに、ペンのインクを浪費したり、
カッターの刃先を無駄に消耗することがなくなる。
Therefore, according to the present invention, since it is not necessary to perform drawing other than the predetermined area again, it is possible to shorten the processing time and waste ink of the pen,
The blade edge of the cutter will not be wasted.

【0063】即ち、一旦作図を完了した後に、所定領域
のみ作図の修正を行う必要がある場合において、作図の
修正を短時間で達成することができるとともに、キャリ
ッジ把持させたペンのインクやカッターの無駄な消耗を
防止することができる。
That is, when it is necessary to correct the drawing only in a predetermined area after the completion of drawing, the correction of the drawing can be achieved in a short time, and the ink of the pen held by the carriage or the cutter It is possible to prevent wasteful consumption.

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

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

【図2】作図領域設定ボタンにより設定される作図領域
を示す説明図である。
FIG. 2 is an explanatory diagram showing a drawing area set by a drawing area setting button.

【図3】作図領域設定ボタンにより設定される作図領域
のみを再度作図する処理を示すフローチャートである。
FIG. 3 is a flowchart showing a process of redrawing only a drawing area set by a drawing area setting button.

【図4】従来のプロッタ装置の外部構成を示す説明図で
ある。
FIG. 4 is an explanatory diagram showing an external configuration of a conventional plotter device.

【図5】図4に示されるプロッタ装置のキャリッジの駆
動機構の概略構成を示す説明図である。
5 is an explanatory diagram showing a schematic configuration of a drive mechanism of a carriage of the plotter device shown in FIG.

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

10 CPU 12 ROM 14 RAM 16 キャリッジ 18 Xモータ 20 Yモータ 22 ドライバ 24 操作パネル 24a カーソル・キー 24b 作図領域設定ボタン 24c 作図開始ボタン 24d LED 24e LED 24f LED 26 エンコーダ 28 エンコーダ 108 シート 10 CPU 12 ROM 14 RAM 16 Carriage 18 X Motor 20 Y Motor 22 Driver 24 Operation Panel 24a Cursor Key 24b Drawing Area Setting Button 24c Drawing Start Button 24d LED 24e LED 24f LED 26 Encoder 28 Encoder 108 Sheet

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 作図すべき図形などを示すベクタ・デー
タを記憶する記憶手段と、 前記記憶手段に記憶されたベクタ・データに基づいて作
図される全作図領域中の所定の作図領域を指定する作図
領域指定手段と、 前記作図領域指定手段によって指定された作図領域を作
図するベクタ・データを、前記記憶手段から選択的に順
次読み出す読み出し手段と、 前記読み出し手段によって読み出されたベクタ・データ
に基づいて作図する作図手段とを有することを特徴とす
るプロッタ装置。
1. A storage unit for storing vector data indicating a figure or the like to be drawn, and a predetermined drawing area in all drawing areas drawn based on the vector data stored in the storage unit. A drawing area designating means, a reading means for selectively sequentially reading the vector data for drawing the drawing area designated by the drawing area designating means from the storage means, and a vector data read by the reading means. And a plotting means for plotting based on the plotter.
JP9883093A 1993-04-01 1993-04-01 Plotter device Pending JPH06286391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9883093A JPH06286391A (en) 1993-04-01 1993-04-01 Plotter device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9883093A JPH06286391A (en) 1993-04-01 1993-04-01 Plotter device

Publications (1)

Publication Number Publication Date
JPH06286391A true JPH06286391A (en) 1994-10-11

Family

ID=14230212

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9883093A Pending JPH06286391A (en) 1993-04-01 1993-04-01 Plotter device

Country Status (1)

Country Link
JP (1) JPH06286391A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006076099A (en) * 2004-09-09 2006-03-23 Mimaki Engineering Co Ltd Inkjet printer and printing method using the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006076099A (en) * 2004-09-09 2006-03-23 Mimaki Engineering Co Ltd Inkjet printer and printing method using the same
JP4697848B2 (en) * 2004-09-09 2011-06-08 株式会社ミマキエンジニアリング Inkjet printer and printing method using the same

Similar Documents

Publication Publication Date Title
JPH07334287A (en) Small-sized electronic equipment
KR100516613B1 (en) Character printer
JPS58149584A (en) Automatic graph formulation device
JP2020161990A (en) Printer and image edition program
US4733248A (en) Apparatus for recording graphical representations with checking of the recording area
JP4423871B2 (en) Printing apparatus, printing apparatus explanation posting method and program
JPH06286391A (en) Plotter device
JPH06316196A (en) Plotter
JPH09167248A (en) Plotting device
JPH0688430B2 (en) Document editing device
JPS62263081A (en) Printer
JP4430385B2 (en) Printing method of multiple printing blocks in laser marking device
JPH079792A (en) Flat bed type plotter
JPH08106315A (en) Display method for handwriting input data of nc device, and nd device equipped with handwriting input function
JPH07114543A (en) Document processor
JPS62278067A (en) Character processor
JPH07287769A (en) Device and method for preparing document
JPS63106068A (en) Word processor
JPS6354273A (en) Electronic typewriter
JPS62281028A (en) Documentation device
JP2002099923A (en) Display method and drawing device for reference mark
JPH10240484A (en) Pen plotter
JPH01257516A (en) Electric discharge machine
JPS60114931A (en) X-y plotter
JPH05134723A (en) Robot control system