JP2001297330A - Drawing preparing device - Google Patents

Drawing preparing device

Info

Publication number
JP2001297330A
JP2001297330A JP2000111624A JP2000111624A JP2001297330A JP 2001297330 A JP2001297330 A JP 2001297330A JP 2000111624 A JP2000111624 A JP 2000111624A JP 2000111624 A JP2000111624 A JP 2000111624A JP 2001297330 A JP2001297330 A JP 2001297330A
Authority
JP
Japan
Prior art keywords
pattern
line
reference line
boundary reference
boundary
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
JP2000111624A
Other languages
Japanese (ja)
Inventor
Shigeo Kuromatsu
茂夫 黒松
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.)
Kubota Corp
Original Assignee
Kubota 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 Kubota Corp filed Critical Kubota Corp
Priority to JP2000111624A priority Critical patent/JP2001297330A/en
Publication of JP2001297330A publication Critical patent/JP2001297330A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a drawing preparing device for automatically generating a hatching pattern for making a boundary or division conspicuous on a drawing such as map. SOLUTION: This device is provided with an input means for designating a pattern format to be applied and designating a pattern area to apply patterning in the designated pattern format, a reference line determining means for determining a first boundary reference line L to become the reference of pattern generation and a second boundary reference line M facing this first boundary reference line from the pattern area, and a pattern line generating means for generating a pattern line, which is extended from the first boundary reference line to the second boundary reference line, at a prescribed pitch on the basis of the pattern format.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータを用
いて図面を作成する装置であって、任意の図面領域にハ
ッチング等のパターンを生成・描画する図面形成装置に
関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an apparatus for creating a drawing by using a computer, and to a drawing forming apparatus for generating and drawing a pattern such as hatching in an arbitrary drawing area.

【0002】[0002]

【従来の技術】一般にはCADシステムと呼ばれている
このような図面形成装置において、例えば機械図面を作
成する際断面などの閉じられた図形を選択するととも
に、ハッチングパターンを指定することで、指定したパ
ターン通りのハッチングが生成され、選択した図形内に
ハッチングが描画される。このような機械図面に多用さ
れるハッチングパターンの生成は、予め装置に設定され
ている単純な図形要素を作り出すパターン発生関数(例
えば、斜線は一次関数で表すことができる)を繰り返し
て呼び出すことで行われる。
2. Description of the Related Art In such a drawing forming apparatus generally called a CAD system, for example, a closed figure such as a cross section is selected and a hatching pattern is specified when a mechanical drawing is created. A hatch according to the selected pattern is generated, and the hatch is drawn in the selected figure. Such hatching patterns frequently used in mechanical drawings are generated by repeatedly calling a pattern generating function (for example, a hatched line can be represented by a linear function) that creates a simple graphic element set in advance in the apparatus. Done.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
たハッチングパターンの生成では、機械図面の作成法に
基づいた単純なハッチングパターン以外のパターンを使
用するとすれば、パターン発生関数を新たに積み込まな
ければならず、かなり手間のかかることになる。特に、
従来のCADシステムに備えられているハッチングパタ
ーンは、基本的に、閉じられた1つの図形に対しては同
じ角度で延びる線が繰り返される形態で指定領域内を埋
めつくすようになっており、従来の特別な用地や建物を
境界を明確にするために、地図など作成に必要とされ
る、境界線にひげを生やすように境界線の延び方向に繰
り返し付加される横線のようなパターンは、作図者が1
本づつ手書きしない限り、その描画不可能であった。上
記実状に鑑み、本発明の課題は、地図などの図面におい
て境界や区画を目立たせるようなハッチングパターンが
自動的に生成される図面作成装置を提供することであ
る。
However, in the above-described generation of a hatching pattern, if a pattern other than a simple hatching pattern based on a method of creating a mechanical drawing is used, a new pattern generation function must be loaded. Rather time-consuming. In particular,
The hatching pattern provided in the conventional CAD system basically fills the designated area in such a manner that a line extending at the same angle is repeated for one closed figure. A pattern such as a horizontal line that is repeatedly added in the direction of extension of the boundary line to create a beard on the boundary line, which is necessary for creating a map, etc. in order to clarify the boundary of the special land and building, Person is 1
Unless they were handwritten one by one, they could not be drawn. In view of the above situation, an object of the present invention is to provide a drawing creating apparatus that automatically generates a hatching pattern that makes boundaries and sections stand out in a drawing such as a map.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するた
め、本発明による図面作成装置は、適用されるパターン
フォーマットを指定するとともに指定されたパターンフ
ォーマットでパターンが施されるパターン領域を指定す
る入力手段と、前記パターン領域からパターン生成の基
準となる第1境界基準線とこの第1境界基準線に向き合
う第2境界基準線を決定する基準線決定手段と、前記パ
ターンフォーマットに基づいて前記第1境界基準線から
前記第2境界基準線に向かって延びるパターン線を所定
ピッチで生成するパターン線生成手段とを備えている。
In order to solve the above-mentioned problems, a drawing creation apparatus according to the present invention specifies an applicable pattern format and an input for designating a pattern area on which a pattern is to be applied in the specified pattern format. Means, a first boundary reference line serving as a reference for pattern generation from the pattern area, and reference line determination means for determining a second boundary reference line facing the first boundary reference line, and the first line reference line based on the pattern format. Pattern line generating means for generating pattern lines extending from the boundary reference line toward the second boundary reference line at a predetermined pitch.

【0005】この構成によれば、指定された図形領域か
らパターン線の出発点となるべき図形境界線としての第
1境界基準線と、パターン線の到達目標となるべき前記
第1境界基準線に向き合う第2境界基準線が決定され、
第1境界基準線から第2境界基準線に向かって延びるパ
ターン線が順次生成される。パターン線の長さや配置ピ
ッチなどの属性値はパターンフォーマットで定めておく
ことができる。これにより、指定された境界や区画を目
立たせるための、境界線からひげのように延びるハッチ
ングパターンが、自動的に生成されるので、作図者の負
担が軽減される。
According to this configuration, the first boundary reference line as a graphic boundary line to be a starting point of the pattern line from the designated graphic region and the first boundary reference line to be the target of the pattern line A facing second boundary reference line is determined,
Pattern lines extending from the first boundary reference line toward the second boundary reference line are sequentially generated. Attribute values such as pattern line length and arrangement pitch can be determined in a pattern format. As a result, a hatching pattern extending like a whisker from the boundary line to make the designated boundary or section stand out is automatically generated, so that the burden on the drafter is reduced.

【0006】本発明の好適な実施形態の1つとして、前
記パターンフォーマットには、前記第1境界基準線を構
成するセグメントの長さが含まれており、前記パターン
線は各セグメントから延ばされるものがある。この場
合、第1境界線が多数のセグメントに分割されていると
ともに、この各セグメントからパターン線を延ばしてい
るので、セグメントの数とパターン線の数が対応するこ
とになる。セグメント分割数を大きくすると、つまりセ
グメントの長さを長くするとパターン線のピッチは粗く
なり、セグメント分割数を少なくすると、つまりセグメ
ントの長さを短くするとパターン線のピッチは密にな
る。また、パターン線の出発点をセグメントの始点又は
終点に関連づけると、パターン線の生成のための演算処
理が楽になる。
As one preferred embodiment of the present invention, the pattern format includes a length of a segment constituting the first boundary reference line, and the pattern line extends from each segment. There is. In this case, since the first boundary line is divided into a large number of segments and the pattern lines extend from each segment, the number of segments corresponds to the number of pattern lines. When the number of segment divisions is increased, that is, when the length of the segment is increased, the pitch of the pattern lines becomes coarse. When the number of segment divisions is reduced, that is, when the length of the segment is reduced, the pitch of the pattern lines becomes dense. In addition, when the starting point of the pattern line is associated with the start point or the end point of the segment, the arithmetic processing for generating the pattern line becomes easy.

【0007】本発明の別な好適実施形態の1つとして、
前記パターンフォーマットには、前記第2境界基準線と
交わらない限り前記パターン線が延ばされる最大長さが
含まれているものがある。この場合、パターン線の最大
長さが予め設定しておくことができるので、機械図面の
ハッチングパターンなどとは違って、第1境界基準線と
第2境界基準線との間隔が大きいと、パターン線は途中
で切れるため、面積の大きな区画をハッチングで埋めつ
くすことにより地図等の図面を見づらくするようなこと
は避けられる。
[0007] In another preferred embodiment of the present invention,
Some of the pattern formats include a maximum length that the pattern line extends unless it intersects with the second boundary reference line. In this case, since the maximum length of the pattern line can be set in advance, unlike a hatching pattern in a mechanical drawing, if the distance between the first boundary reference line and the second boundary reference line is large, the pattern Since the line is cut off in the middle, it is possible to avoid obscuring a drawing such as a map by filling a large area with hatching.

【0008】さらに別な本発明の好適実施形態では、前
記パターン線は前記第1境界基準線に対して、つまり、
各セグメントに対して一定の角度で延びるように生成さ
れる。これにより、セグメントが折れ曲がった時のみ、
パターン線の延び方向が変化するので、境界線の折れ曲
がりが明確になり、地図等の図面を見やすくする。
[0008] In still another preferred embodiment of the present invention, the pattern line is aligned with the first boundary reference line, that is,
It is generated to extend at a certain angle for each segment. This allows the segment only to bend,
Since the extending direction of the pattern line is changed, the bending of the boundary line becomes clear, and the drawing such as a map is easily viewed.

【0009】さらに別な本発明の好適実施形態では、前
記パターンフォーマットには、前記第1・第2境界基準
線を構成する各セグメントに対する表示又は非表示を決
定するコードが含まれており、各セグメントの表示と非
表示を繰り返すことで破線が得られる。例えば、多数の
セグメントで分割された境界基準線は、連続するセグメ
ントの奇数番だけを表示し、偶数番だけを非表示に設定
するだけで破線を作り出すことができるし、全て非表示
に設定することで、パターン線だけで、境界を表すとい
ったことも可能となる。この機能は、第1や第2の境界
基準線が何らかの図形等に重なって見づらくしている場
合、特に好都合である。本発明によるその他の特徴及び
利点は、以下図面を用いた実施例の説明により明らかに
なるだろう。
In still another preferred embodiment of the present invention, the pattern format includes a code for determining display or non-display of each segment constituting the first and second boundary reference lines. A dotted line is obtained by repeating the display and non-display of the segment. For example, a boundary reference line divided by a large number of segments can display a dashed line simply by displaying only the odd numbers of the continuous segments and hiding only the even numbers, or can be set to all non-displays This makes it possible to represent the boundary only with the pattern line. This function is particularly convenient when the first and second boundary reference lines overlap with some graphics or the like to make it difficult to see. Other features and advantages according to the present invention will become apparent from the following description of embodiments with reference to the drawings.

【0010】[0010]

【発明の実施の形態】図1は本発明による図面作成装置
(CADシステム)の1つの実施形態のための機能ブロ
ック図である。この装置は地図をベースとした水道管網
やガス管網などの作図に特に適したもので、マウスなど
のポインティングデバイス1aやキーボード1bなどか
らなる入力手段1、CAD本体としてのコントローラ
2、オペレータに選択設定のガイダンスを与えたり作成
図面を表示するディスプレイ3、作成図面のハードコピ
ーを行うプリンタ4を備えている。コントローラ2に
は、外部機器との信号のやり取りを制御する入出力イン
タフェース2aや図面作成制御ユニット20が含まれて
いるが、この図面作成制御ユニット20には、本発明に
関連の深い機能をハードウエアやソフトウエアで実現し
ている機能ブロックとして、作図・編集処理部21、基
準線決定手段22aを含むパターン領域評価部22、パ
ターンフォーマット処理部23、パターン線生成手段2
4、表示制御部25が構築されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a functional block diagram for one embodiment of a drawing creation apparatus (CAD system) according to the present invention. This device is particularly suitable for drawing a water pipe network or a gas pipe network based on a map. The input means 1 includes a pointing device 1a such as a mouse, a keyboard 1b, a controller 2 as a CAD body, and an operator. A display 3 for giving guidance on selection setting and displaying a created drawing and a printer 4 for making a hard copy of the created drawing are provided. The controller 2 includes an input / output interface 2a for controlling the exchange of signals with external devices and a drawing creation control unit 20. The drawing creation control unit 20 has functions that are closely related to the present invention. The functional blocks realized by software and software include a drawing / editing processing unit 21, a pattern area evaluation unit 22 including a reference line determination unit 22a, a pattern format processing unit 23, and a pattern line generation unit 2.
4. The display control unit 25 is constructed.

【0011】入力手段1は、ディスプレイ3に表示され
るコマンドメニューから適用するパターンフォーマット
を指定したり、ディスプレイ3に表示された図面上で作
図を行っていく際のポイント指示やパターン作成時に対
象となるパターン領域を指定したりする。
The input means 1 designates a pattern format to be applied from a command menu displayed on the display 3, specifies a point when drawing on the drawing displayed on the display 3, and sets a target at the time of pattern generation. Or a different pattern area.

【0012】作図・編集処理部21は、入力手段1によ
って指示されたコマンドを解釈して指定の位置に指定さ
れた図形要素を生成したり、選択された図形要素に対し
て削除、複写、移動等の編集処理を施す。作図・編集処
理部21で生成された多数の図形要素からなる図面デー
タは、図面データ格納部26に格納され、必要に応じ
て、読み出される。
The drawing / editing processing unit 21 interprets the command specified by the input means 1 to generate a specified graphic element at a specified position, or deletes, copies, and moves a selected graphic element. And other editing processes. The drawing data composed of a large number of graphic elements generated by the drawing / editing processing unit 21 is stored in the drawing data storage unit 26, and is read out as needed.

【0013】パターン領域評価部22は、パターンが施
されるパターン領域としてマウス1aによって指定され
た多角形枠の図面上の領域を評価し、その領域の内部と
外部とを判別する機能を有している。特に、指定された
多角形枠から、パターン線の出発点となるべき多角形境
界線(辺)である第1境界基準線と、パターン線の到達
目標となるべき前記第1境界基準線に向き合う第2境界
基準線の決定処理は、基準線決定手段22aが行う。
The pattern area evaluation unit 22 has a function of evaluating an area on the drawing of a polygonal frame designated by the mouse 1a as a pattern area to be subjected to a pattern, and discriminating the inside and the outside of the area. ing. In particular, from the designated polygon frame, a first boundary reference line that is a polygon boundary line (side) to be a starting point of the pattern line and the first boundary reference line to be a target of the pattern line are faced. The process of determining the second boundary reference line is performed by the reference line determination unit 22a.

【0014】第1・第2境界基準線の決定について図2
を用いて説明する。パターン領域を指定するためマウス
1aによって順次4つのポイントa1 、a2、a3 、a4
をクリックして、多角形(ここでは四角形)枠を指定
する。なお、最終的に多角形を指定するため、4番目の
ポイントa4 をダブルクリックするか、最後に再度最初
のポイントa1 をクリックする。マウス1aから送られ
てきたこのようなポイント指定信号からパターン領域評
価部22はパターン領域としての4つの辺31、32、
33、34をもつ四角形を把握する。次いで、基準線決
定手段42aが、指定された多角形(ここでは四角形)
に関して、1番目のポイントa1から、この多角形の折
れ点数(頂点の数):n(ここではn=4)を2で割っ
て得られる商:m(ここではm:=2)番目までのポイ
ント(ここではポイントa2)で定義される辺(ここで
は辺31)を第1境界基準線:Lとみなし、m+1番目
のポイントから最終ポイントで定義される辺(ここでは
辺33)を第2境界基準線:Mとみなす。本発明によれ
ば、この第1境界基準線:Lを出発点として第2境界基
準線:Mに向けてパターン線が生成されることになる。
このパターン線の描画時には少なくとも第2境界基準線
を越えないようにその長さが限定される。
FIG. 2 shows the determination of the first and second boundary reference lines.
This will be described with reference to FIG. Four points a1, a2, a3, a4 are sequentially designated by the mouse 1a to designate a pattern area.
Click to specify a polygon (in this case, a square) frame. In order to finally specify the polygon, the user double-clicks the fourth point a4 or finally clicks the first point a1 again. From such a point designation signal sent from the mouse 1a, the pattern area evaluation unit 22 calculates four sides 31, 32 as pattern areas.
A square having 33 and 34 is grasped. Next, the reference line determination means 42a outputs the designated polygon (a quadrangle in this case).
From the first point a1, the quotient obtained by dividing the number of broken points (the number of vertices) of this polygon: n (here, n = 4) by 2: m (here, m: = 2) th The side (here, side 31) defined by the point (here, point a2) is regarded as the first boundary reference line: L, and the side (here, side 33) defined by the last point from the (m + 1) -th point is defined as the second. Boundary reference line: M is assumed. According to the present invention, a pattern line is generated starting from the first boundary reference line: L toward the second boundary reference line: M.
At the time of drawing this pattern line, its length is limited so as not to exceed at least the second boundary reference line.

【0015】基準線決定手段22aで定義された第1境
界基準線を出発点としたパターン線の生成はパターン線
生成手段24によって行われるが、そのパターン線の描
画態様は、以下に説明するパターンフォーマットにより
定められている。このパターンフォーマットは図3に示
されているが、パターンフォーマット処理部23の働き
によりこのパターンフォーマットに基づいて種々の形態
のパターン線を自由に定義することができ、定義された
パターンフォーマットはパターンフォーマット格納部2
7に検索抽出自在に格納されている。
The generation of a pattern line starting from the first boundary reference line defined by the reference line determination unit 22a is performed by the pattern line generation unit 24. The pattern line drawing mode is described below. It is determined by the format. Although the pattern format is shown in FIG. 3, various types of pattern lines can be freely defined based on the pattern format by the operation of the pattern format processing unit 23. The defined pattern format is the pattern format. Storage unit 2
7 for retrieving and extracting.

【0016】表示制御部25は、選択されたパターンフ
ォーマットを参照しながらパターン線生成部で生成され
たパターン線と、境界基準線を構成するセグメントとし
てのラインを基本となるCAD図面に重ねてディスプレ
イ3に表示させる。
The display control unit 25 superimposes the pattern lines generated by the pattern line generation unit with reference to the selected pattern format and the lines as the segments forming the boundary reference lines on the basic CAD drawing. 3 is displayed.

【0017】図3から明らかなように、このパターンフ
ォーマットの構成要素としては、パターン領域ID番号
41、パターン種コード42、第2境界基準線描画モー
ド43、第1境界基準線とパターン線の描画モード44
があり、第1境界基準線は多数のセグメントに分割され
るとともに各セグメントからパターン線がひかれる形態
をとるので、この描画モード44は異なるいくつかのモ
ードが繰り返されて定義されることになる。
As apparent from FIG. 3, the components of the pattern format include a pattern area ID number 41, a pattern type code 42, a second boundary reference line drawing mode 43, and a first boundary reference line and pattern line drawing. Mode 44
Since the first boundary reference line is divided into a number of segments and a pattern line is drawn from each segment, this drawing mode 44 is defined by repeating several different modes. .

【0018】パターン領域ID番号41は、通常1枚の
図面内で多くのパターン領域が指定され、パターンが施
されるので、それらのパターン領域を区別するためのI
D番号であり、図面データにこのパターン領域ID番号
41をその位置情報とともに組み込んでおくことで、そ
の図面の表示時には自動的にパターン描画のためにパタ
ーンフォーマットからデータが読み込まれ、一度設定さ
れたパターンが表示されることになる。パターン種コー
ド42は、他の方式で描画されるパターンと区別するた
めのコードである。
The pattern area ID number 41 usually designates a large number of pattern areas in one drawing, and a pattern is applied thereto.
By incorporating this pattern area ID number 41 into the drawing data together with its position information, the data is automatically read from the pattern format for pattern drawing when the drawing is displayed, and once set. The pattern will be displayed. The pattern type code 42 is a code for distinguishing from a pattern drawn by another method.

【0019】第2境界基準線描画モード43は、図4に
示すように、区切りコード“:”で区切られた数字から
構成され、その数字は第2境界基準線を構成することに
なるセグメントの長さを、そしてその数字に付与された
正負符号により表示又は非表示の設定を表している。正
符号は省略可能である。例えば、“100:−100”
ならば、長さ100のラインを表示と非表示で繰り返す
破線が生成される(図4(イ)参照)。なお、この数字
は実寸法を表している。また、“100”だけならば、
長さ100の表示されるラインを繰り返すことになり、
結果的には実線となり(図4(ロ))、“−100”だ
けならば、長さ100の表示されないラインの繰り返し
とになり、結果的には何も表示されない。従って、実線
や、線表示なしの場合、数字は意味を持たず、単なるダ
ミーとなっているだけである。
As shown in FIG. 4, the second boundary reference line drawing mode 43 is composed of numbers delimited by a delimiter code ":", and the numbers are used for segments which constitute the second boundary reference line. The length and the sign of the number indicate display or non-display setting. The plus sign can be omitted. For example, "100: -100"
If so, a dashed line that repeats a line of length 100 with display and non-display is generated (see FIG. 4A). These numbers represent actual dimensions. Also, if only "100",
Will repeat the displayed line of length 100,
As a result, it becomes a solid line (FIG. 4 (b)), and if it is only "-100", it becomes a repetition of a line of length 100 which is not displayed, and as a result, nothing is displayed. Therefore, when there is no solid line or no line display, the numbers have no meaning and are merely dummy.

【0020】描画モード44は、第1境界基準線を構成
する多数のセグメントとパターン線の描画形態を組み合
わせで表しており、セグメントに関しては第2境界線描
画モード43と同様である。なお、この実施の形態で
は、パターン線は第1境界基準線の各セグメントからの
垂線として引かれる。パターン線の描画形態は、図5で
示すように、パターン線を表すコード“SL”に続く記
号と数字で表現されている。記号“P”は、第2境界基
準線との間の距離としてとして求められる値に対して何
パーセントを表示するかを、これに続く数字とともで、
表している。さらに、記号“L”とこれに続く数字でパ
ターン線の描画最大長さを表し、記号“S”とこれに続
く数字でパターン線の描画最小長さを表している。例え
ば、“P100:L5000:S500、1500”な
らば、第2境界基準線までの距離、又は、その距離が描
画最大長さである5000を越えている場合は5000
がパターン線の描画長さとなり、図5では5000の長
さでパターン線が描画されている。さらに、第1境界基
準線のセグメントとして1500の長さのラインが描画
される。さらに、“P50:L5000:S500”と
続くならば、次のパターン線の描画長さは、第2境界基
準線までの距離の50%となる。ただし、この第2境界
基準線までの距離の50%の長さが描画最小長さである
500を下回る場合このパターン線は描画されない。
The drawing mode 44 represents a combination of a large number of segments constituting the first boundary reference line and a pattern line drawing mode, and the segments are the same as the second boundary line drawing mode 43. In this embodiment, the pattern line is drawn as a perpendicular from each segment of the first boundary reference line. As shown in FIG. 5, the pattern line drawing mode is represented by a symbol and a number following the code “SL” representing the pattern line. The symbol "P" indicates, with the number following it, what percentage to display as a value determined as the distance from the second boundary reference line,
Represents. Furthermore, the symbol "L" and the number following it represent the maximum drawing length of the pattern line, and the symbol "S" and the number following it represent the minimum drawing length of the pattern line. For example, if "P100: L5000: S500, 1500", the distance to the second boundary reference line or 5000 if the distance exceeds the maximum drawing length of 5000.
Represents the drawing length of the pattern line. In FIG. 5, the pattern line is drawn with a length of 5000. Further, a 1500-length line is drawn as a segment of the first boundary reference line. Furthermore, if “P50: L5000: S500” continues, the drawing length of the next pattern line is 50% of the distance to the second boundary reference line. However, if the length of 50% of the distance to the second boundary reference line is less than the minimum drawing length of 500, this pattern line is not drawn.

【0021】次に典型的なパターン領域と選択された1
つのパターンフォーマットとこのパターンフォーマット
に基づいてパターン領域に施されたパターンを図6を用
いて説明する。図示されたパターンフォーマットは、折
れ点数(頂点:a1 〜a10)が10の多角形として設定
されているパターン領域に割り当てられたもので、パタ
ーン領域ID番号41が“22010”で、パターン種
コード42が“HL”となっている。“HL”はここで
は、第1境界基準線から垂直に延びるパターン線からな
るパターンを表している。第2境界基準線描画モード4
3は“500:−500”となっているので、第2境界
基準線は実線部と空白部の長さが500となる破線で全
範囲にわたって繰り返して描画される。なお、図におい
て、フォーマット構成要素と描画されたパターンとの関
係をわかりやすくするため、対応するそれぞれには()
で囲まれた数字が与えられている。
Next, a typical pattern area and the selected 1
One pattern format and a pattern applied to a pattern area based on the pattern format will be described with reference to FIG. The illustrated pattern format is assigned to a pattern area in which the number of break points (vertices: a1 to a10) is set as a polygon having ten. The pattern area ID number 41 is “22010”, the pattern type code 42 is Is "HL". Here, "HL" represents a pattern composed of pattern lines extending perpendicularly from the first boundary reference line. Second boundary reference line drawing mode 4
3 is “500: −500”, so the second boundary reference line is repeatedly drawn over the entire range with a solid line portion and a broken line having a blank portion length of 500. In the figure, in order to make it easy to understand the relationship between the format components and the drawn pattern, ()
The numbers surrounded by are given.

【0022】第1境界基準線描画モード44の第1の並
びは“SL:P100:L5000:S500”となっ
ている。“SL”はパターン線のファーマットの始まり
を示しており、先の説明から明らかなように、最大長さ
が5000で最小長さが500という条件の下で第2境
界基準線までの距離の100%をパターン長さにするこ
とが規定されている。ここでは、パターン領域評価部2
2によって演算される第2境界基準線までの距離が80
00なので、最大長さの条件が適用され、描画されるパ
ターン線の長さは5000となる(図中(1) を参照)。
この第1の並びに続いて示されている“,1500”
は、先のパターン線の出発ポイントから始まる第1境界
基準線のセグメントの長さを規定しているので、150
0の長さの実線が描画される(図中(2) )。
The first arrangement of the first boundary reference line drawing mode 44 is "SL: P100: L5000: S500". “SL” indicates the beginning of the format of the pattern line, and as is apparent from the above description, the distance to the second boundary reference line under the condition that the maximum length is 5000 and the minimum length is 500. It is specified that 100% be the pattern length. Here, the pattern area evaluation unit 2
The distance to the second boundary reference line calculated by 2 is 80
Since it is 00, the condition of the maximum length is applied, and the length of the pattern line to be drawn is 5000 (see (1) in the figure).
This first sequence is followed by ", 1500"
Defines the length of the segment of the first boundary reference line starting from the starting point of the previous pattern line,
A solid line having a length of 0 is drawn ((2) in the figure).

【0023】これに続く、第1境界基準線描画モード4
4の並びは“SL:P50:L5000:S500”と
なっており、最大長さと最小長さの条件は先のパターン
線と同じで、第2境界基準線までの距離の50%をパタ
ーン長さにすることが規定されているので、描画される
パターン線の長さは4000となる(図中(3) を参
照)。さらにこれに続く“,1500”によって第1境
界基準線のセグメントとして1500の長さの実線が描
画される(図中(4) )。
Subsequent first boundary reference line drawing mode 4
The arrangement of No. 4 is “SL: P50: L5000: S500”, and the conditions of the maximum length and the minimum length are the same as the previous pattern line, and 50% of the distance to the second boundary reference line is the pattern length. Therefore, the length of the pattern line to be drawn is 4000 (see (3) in the figure). Further, a solid line having a length of 1500 is drawn as a segment of the first boundary reference line by ", 1500" ((4) in the figure).

【0024】第1境界基準線描画モード44の最後の並
びは“SL:P100:L2000:S2000,15
00”となっているので、長さが2000のパターン線
が描画されるとともに(図(5) )、セグメントとして1
500の長さの実線が描画される(図中(6) )。これ
で、第1境界基準線描画モード44で規定されたパター
ン線と第1境界基準線のセグメントの描画のための1サ
イクルが完了し、後はこのサイクルを第1境界基準線の
終端がくるまで繰り返す。
The last sequence of the first boundary reference line drawing mode 44 is “SL: P100: L2000: S2000,15”.
00 ", a pattern line having a length of 2000 is drawn (FIG. 5 (5)), and 1
A solid line having a length of 500 is drawn ((6) in the figure). Thus, one cycle for drawing the pattern line defined by the first boundary reference line drawing mode 44 and the segment of the first boundary reference line is completed, and the cycle ends at the end of the first boundary reference line. Repeat until

【0025】この描画サイクルの繰り返しにおいて、第
1境界基準線と第2境界基準線までの距離が変化すると
パターン線の長さも変化することになる。その典型的な
例として、図6で示した描画サイクルの繰り返し5で
は、最低長さの条件のために2つのパターン線が非表示
(非描画)となっている。
In the repetition of the drawing cycle, when the distance between the first boundary reference line and the second boundary reference line changes, the length of the pattern line also changes. As a typical example, in the repetition 5 of the drawing cycle shown in FIG. 6, two pattern lines are not displayed (not drawn) due to the condition of the minimum length.

【0026】なお、最初、マウス1aを用いてパターン
領域を指定する際、折れ点数が3点以下であったり(つ
まり三角形)、折れ点を結んで得られる辺が交差するよ
うな場合、第1境界基準線と第2境界基準線が定義でき
なくなる。パターン領域評価部22はこのような不都合
を確認すると、指定されたパターン領域を取り消して、
必要に応じて、再度のパターン領域の指定を促すメッセ
ージをディスプレイ3に表示することができる。
When a pattern area is first designated by using the mouse 1a, if the number of break points is 3 or less (that is, a triangle) or if the sides obtained by connecting the break points intersect, the first The boundary reference line and the second boundary reference line cannot be defined. When confirming such inconvenience, the pattern area evaluation unit 22 cancels the designated pattern area, and
If necessary, a message prompting to specify a pattern area again can be displayed on the display 3.

【0027】上述した例では、パターン線は第1境界基
準線から垂直に延びていたが、パターン線種を変更する
ことにより、種々の角度で延びるパターン線や実線では
なく破線などの形態で延びるパターン線を描画すること
ができる。また、色も自由に指定することが可能であ
る。
In the above-described example, the pattern line extends vertically from the first boundary reference line. However, by changing the type of the pattern line, the pattern line extends not in a pattern line extending at various angles or in a dashed line but in a solid line. Pattern lines can be drawn. Also, the color can be freely specified.

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

【図1】本発明の一例としての図面作成装置の主要な機
能を示す機能ブロック図
FIG. 1 is a functional block diagram showing main functions of a drawing creating apparatus as an example of the present invention.

【図2】パターン領域における第1境界基準線と第2境
界基準線の定義を説明する説明図
FIG. 2 is an explanatory diagram illustrating the definition of a first boundary reference line and a second boundary reference line in a pattern area.

【図3】パターンフォーマットの構成要素を示すフォー
マット構造図
FIG. 3 is a format structure diagram showing components of a pattern format.

【図4】境界基準線のためのパターンフォマットを説明
する説明図
FIG. 4 is an explanatory diagram illustrating a pattern format for a boundary reference line.

【図5】パターン線のためのパターンフォマットを説明
する説明図
FIG. 5 is an explanatory diagram illustrating a pattern format for a pattern line.

【図6】パターン描画の典型例を示す説明図FIG. 6 is an explanatory diagram showing a typical example of pattern drawing

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

1 入力手段 2 コントローラ 3 ディスプレイ 21 作図・編集処理部 22 パターン領域評価部 22a 基準線測定手段 23 パターンフォーマット処理部 24 パターン線生成部 27 フォーマット格納部 DESCRIPTION OF SYMBOLS 1 Input means 2 Controller 3 Display 21 Drawing / editing processing unit 22 Pattern area evaluation unit 22a Reference line measuring means 23 Pattern format processing unit 24 Pattern line generation unit 27 Format storage unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】適用されるパターンフォーマットを指定す
るとともに指定されたパターンフォーマットでパターン
が施されるパターン領域を指定する入力手段と、 前記パターン領域からパターン生成の基準となる第1境
界基準線とこの第1境界基準線に向き合う第2境界基準
線を決定する基準線決定手段と、 前記パターンフォーマットに基づいて前記第1境界基準
線から前記第2境界基準線に向かって延びるパターン線
を所定ピッチで生成するパターン線生成手段と、を備え
ていることを特徴とする図面作成装置。
1. An input means for designating a pattern format to be applied and designating a pattern area on which a pattern is to be applied in the designated pattern format; and a first boundary reference line serving as a reference for pattern generation from the pattern area. Reference line determining means for determining a second boundary reference line facing the first boundary reference line; and a pattern line extending from the first boundary reference line toward the second boundary reference line at a predetermined pitch based on the pattern format. And a pattern line generating means for generating a drawing line.
【請求項2】前記パターンフォーマットには、前記第1
境界基準線を構成するセグメントの長さが含まれてお
り、前記パターン線は各セグメントから延ばされること
を特徴とする請求項1に記載の図面作成装置。
2. The pattern format according to claim 1, wherein:
The drawing creation apparatus according to claim 1, wherein the length of a segment forming a boundary reference line is included, and the pattern line is extended from each segment.
【請求項3】前記パターンフォーマットには、前記第2
境界基準線と交わらない限り前記パターン線が延ばされ
る最大長さが含まれていることを特徴とする請求項1又
は2に記載の図面作成装置。
3. The pattern format includes the second
The drawing creation apparatus according to claim 1, wherein a maximum length of the pattern line is included unless the pattern line intersects a boundary reference line.
【請求項4】前記パターン線は前記第1境界基準線に対
して一定の角度で延びることを特徴とする請求項1〜3
のいずれかに記載の図面作成装置。
4. The apparatus according to claim 1, wherein said pattern line extends at a fixed angle with respect to said first boundary reference line.
A drawing creation device according to any one of the above.
【請求項5】前記パターンフォーマットには、前記第1
・第2境界基準線を構成する各セグメントに対する表示
又は非表示を決定するコードが含まれており、各セグメ
ントの表示と非表示を繰り返すことで破線が得られるこ
とを特徴とする請求項1〜4のいずれかに記載の図面作
成装置。
5. The pattern format according to claim 1, wherein
A code for determining display or non-display of each segment constituting the second boundary reference line is included, and a dotted line is obtained by repeating display and non-display of each segment. 5. The drawing creation device according to any one of 4.
JP2000111624A 2000-04-13 2000-04-13 Drawing preparing device Pending JP2001297330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000111624A JP2001297330A (en) 2000-04-13 2000-04-13 Drawing preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000111624A JP2001297330A (en) 2000-04-13 2000-04-13 Drawing preparing device

Publications (1)

Publication Number Publication Date
JP2001297330A true JP2001297330A (en) 2001-10-26

Family

ID=18623924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000111624A Pending JP2001297330A (en) 2000-04-13 2000-04-13 Drawing preparing device

Country Status (1)

Country Link
JP (1) JP2001297330A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018111252A (en) * 2017-01-11 2018-07-19 株式会社リコー Chart generating device, liquid discharge device and chart generating program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018111252A (en) * 2017-01-11 2018-07-19 株式会社リコー Chart generating device, liquid discharge device and chart generating program

Similar Documents

Publication Publication Date Title
JP2001297330A (en) Drawing preparing device
JP2009070183A (en) Figure drawing device, figure drawing method, figure drawing program, and recording medium with this program recorded
JP3517119B2 (en) Computer-aided design apparatus, computer-aided design method, and computer-readable recording medium recording computer-aided design program
JPH07220115A (en) Three-dimensional cad system
CN111859495A (en) Axle network creating method and device, server and computer readable storage medium
JPH07282074A (en) Index character string output device for two-dimensional graphic
JPH0620021A (en) Method and device for graphic processing
JPH0830666A (en) Method and device for arranging character string
JP2794409B2 (en) Ruled line creation device
JP2001297332A (en) Drawing preparing device
JP2006277405A (en) Cross section production display program and cross section production display method
JP3267364B2 (en) Graphic processing apparatus and method
JP2798688B2 (en) Character processing apparatus and method
JPH03166657A (en) Electronic filing device provided with enlargement/ reduction processing function of image data
JP3781923B2 (en) Line drawing apparatus, line drawing method, and computer-readable recording medium recording line drawing program
JP3170249B2 (en) Apparatus and method for deforming character / graphics
JP3164795B2 (en) Apparatus and method for deforming character / graphics
JP2753992B2 (en) Ruled line creation device
JPH08147463A (en) Figure generating device
JPH08138068A (en) Device and method for graphic generation
JPH0619902A (en) Japanese word processor
JPH06131435A (en) Graphic editing device
JPH07282118A (en) Time chart preparing device
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JPH0113581B2 (en)