JP4714043B2 - Change instruction drawing creation system and method, and program - Google Patents
Change instruction drawing creation system and method, and program Download PDFInfo
- Publication number
- JP4714043B2 JP4714043B2 JP2006056872A JP2006056872A JP4714043B2 JP 4714043 B2 JP4714043 B2 JP 4714043B2 JP 2006056872 A JP2006056872 A JP 2006056872A JP 2006056872 A JP2006056872 A JP 2006056872A JP 4714043 B2 JP4714043 B2 JP 4714043B2
- Authority
- JP
- Japan
- Prior art keywords
- change
- area
- bit
- graphic
- corner
- 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.)
- Active
Links
Images
Description
本発明は、電子的に作成して記憶されている対象図面に対して部分的な変更を加えた場合に、この変更箇所を認識可能に表示する変更指示図面を作成する技術に関するものである。 The present invention relates to a technique for creating a change instruction drawing for recognizing and displaying a changed portion when a partial change is made to a target drawing created and stored electronically.
一般に、装置や機器のシステム構成図面、機械図面、電子/電気回路図面、ソフトロジック図面などの設計図面は、仕様変更、障害対策などにより何度も改定が行われ、第3者に渡される。この場合に、変更後の最新の状態にした図面のみを渡したのでは変更箇所が分からない。そこで、図面の変更箇所を正確に伝えるために、変更箇所を明示した変更指示図面が作成され、第3者に渡されている。 In general, design drawings such as system configuration drawings, machine drawings, electronic / electrical circuit drawings, and soft logic drawings of apparatuses and devices are revised many times due to specification changes, countermeasures for troubles, etc., and passed to a third party. In this case, if only the drawing that has been updated to the latest state is handed over, the changed part cannot be known. Therefore, in order to accurately convey the changed part of the drawing, a change instruction drawing clearly showing the changed part is created and handed over to a third party.
最近では、上記のような各種設計図面は、CADシステムなどの図面作成用システムを利用して作成されることが多い。このように図面作成用システムを利用した場合、変更指示図面についても、人的作業を行う必要なしに、設計変更前後の図面データを比較して自動的に作成可能である。 Recently, various design drawings as described above are often created using a drawing creation system such as a CAD system. When the drawing creation system is used in this way, it is possible to automatically create the change instruction drawing by comparing the drawing data before and after the design change without the need for human work.
従来の図面変更箇所の表示方法としては、例えば、変更前後の図面データ比較から抽出した変更箇所の差分データを格子展開し、この格子展開された差分データの縦横方向のデータ列に対して、隣り合う桝(メッシュ)との排他的論理和による変更箇所と非変更箇所の境界を表す変更領域データを格子展開し、この格子展開された変更領域データから生成した変更領域図形を変更後の図面に重畳して表示する方法が提案されている(例えば、特許文献1参照)。 As a conventional drawing change location display method, for example, the difference data of the change location extracted from the comparison of the drawing data before and after the change is grid-developed, and adjacent to the vertical and horizontal data string of the difference data that has been grid-developed. The change area data that represents the boundary between the changed part and the non-changed part by exclusive OR with the matching mesh (mesh) is expanded in a grid, and the changed area figure generated from the changed area data that has been expanded in the grid is displayed in the modified drawing. A method of superimposing and displaying has been proposed (see, for example, Patent Document 1).
別の方法としては、変更前後の図面データの相違部を検出し、変更要素、追加要素、削除要素を、表示色や表示輝度を変えることによって非変更箇所と区別し、変更のない図形と重畳して表示する方法がある(例えば、特許文献2参照)。 Another method is to detect different parts of the drawing data before and after the change, distinguish the changed elements, added elements, and deleted elements from the non-changed parts by changing the display color and display brightness, and superimpose them with the unchanged figures. (For example, see Patent Document 2).
ところで、図面変更箇所を表示するために作成される変更指示図面は、本質的に、変更箇所を明確に精度よく表現することが要求されるが、上記のような従来の図面変更箇所の表示手法では、この要求に十分に応えることはできなかった。 By the way, the change instruction drawing created to display the drawing change part is essentially required to express the change part clearly and accurately, but the conventional drawing change display method as described above. So we couldn't fully meet this demand.
まず、特許文献1に記載の図面変更箇所の表示方法においては、1格子のサイズを小さくすると、変更領域図形の位置精度が向上する反面、変更箇所単位で変更領域図形が表示されるので、複数の変更箇所が近傍にあった場合、非常に表示が見難くなる。逆に、1格子のサイズを大きくすると、近くの変更領域図形同士を1つの領域に結合して一括的に処理できるようになるが、変更領域図形の位置精度が低下するため、変更していない図形に変更領域図形が重なる可能性が生じる。
First, in the drawing change location display method described in
特許文献1に記載の方法ではまた、変更領域図形を円弧の連続で表す場合、1格子の長さは円弧の弦の単位長さを基準としてその整数倍に設定されていることから、1格子のサイズを小さくすると、小さな円弧を描くことになり、非常に見難くなる。特許文献1に記載の方法ではまた、図面内の図形や文字が削除、変更になった場合には、変更前の図形や文字が表示されないため、変更前の図形や文字を確認することができなかった。
In the method described in
一方、特許文献2に記載の方法では、変更前後の状態が表示されているが、表示色や表示輝度だけで変更前後の別を示しているため、変更前後の図形が複雑に重なっている場合には、非常に見難くなる。また、表示色や表示輝度に依存しているため、白黒印刷する場合には本質的に使用が困難である。
On the other hand, in the method described in
本発明は、上述した従来技術の課題を解決するために提案されたものであり、その目的は、変更箇所を示す図形を、他の図形と不都合に重ねることなく、視覚的に常に理解し易い形式で明確に精度よく表現する変更指示図面を作成可能な変更指示図面作成システムと方法、およびプログラムを提供することである。 The present invention has been proposed in order to solve the above-described problems of the prior art, and the purpose of the present invention is to make it easy to visually understand the graphic showing the changed portion without overlapping with other graphics. It is an object to provide a change instruction drawing creation system, method, and program capable of creating a change instruction drawing that is clearly and accurately expressed in a format.
本発明は、上記の目的を達成するために、変更前後の図面データ比較により得られた変更領域を拡大させてビットマップ上の対応箇所に「1」のビットを設定し、「1」のビット間に挟まれる指定数以下の「0」のビットを「1」のビットに変更して近接する変更領域を結合することにより、変更箇所を示す変更領域図形の位置精度を向上しながら、変更領域図形が変更後の図形と不都合に重なることを防止し、かつ、変更領域図形を単純化できるようにしたものである。 In order to achieve the above object, the present invention enlarges the change area obtained by comparing the drawing data before and after the change, sets the bit of “1” at the corresponding location on the bitmap, and sets the bit of “1”. By changing the “0” bits below the specified number sandwiched between them to “1” bits and combining adjacent change areas, the change area graphic indicating the change location is improved while improving the position accuracy. It is possible to prevent the figure from being inadvertently overlapped with the figure after the change and to simplify the change area figure.
本発明の変更指示図面作成システムは、電子的に作成して記憶されている対象図面に対して部分的な変更を加えた場合に、この変更箇所を認識可能に表示する変更指示図面を作成するシステムにおいて、記憶手段、表示手段、ビットマップ供給手段、変更領域判定手段、変更領域拡大手段、ビット設定手段、ビット変更手段、コーナ判定手段、図面表示制御手段を有することを特徴としている。ここで、記憶手段は、変更前後の対象図面データおよび処理結果を記憶する手段である。表示手段は、前記記憶手段に記憶された変更前後の対象図面および処理結果として得られる変更指示図面を表示する手段である。 The change instruction drawing creation system of the present invention creates a change instruction drawing for recognizing and displaying this change location when a partial change is made to a target drawing created and stored electronically. The system is characterized by comprising storage means, display means, bitmap supply means, change area determination means, change area enlargement means, bit setting means, bit change means, corner determination means, and drawing display control means. Here, the storage means is means for storing the target drawing data and processing results before and after the change. The display means is means for displaying the target drawings before and after the change stored in the storage means and the change instruction drawing obtained as a processing result.
ビットマップ供給手段は、対象図面の図面領域に対応するビットマップを用意して「0」クリアする手段である。変更領域判定手段は、前記記憶手段に記憶された変更前後の対象図面データを比較して変更箇所の差分データを抽出することで、変更領域を判定する手段である。変更領域拡大手段は、前記変更領域判定手段により得られた変更領域を、予め指定された指定幅により上下左右に拡大させる手段である。ビット設定手段は、前記変更領域拡大手段により拡大された変更領域に対応する前記ビットマップ上の箇所に「1」のビットを設定する手段である。ビット変更手段は、前記ビット設定手段により「1」のビットが設定された前記ビットマップの全体に対して、そのX方向とY方向のそれぞれについて、「1」のビット間に挟まれる「0」のビットの数が予め指定された指定数以下である場合には、当該部分の「0」のビットを「1」のビットに変更して近接する変更領域を結合する手段である。 The bitmap supply means prepares a bitmap corresponding to the drawing area of the target drawing and clears “0”. The change area determination means is a means for determining the change area by comparing the target drawing data before and after the change stored in the storage means and extracting the difference data of the change portion. The change area enlarging means is means for enlarging the change area obtained by the change area determining means vertically and horizontally by a designated width designated in advance. The bit setting means is means for setting a bit of “1” at a location on the bitmap corresponding to the changed area expanded by the changed area expanding means. The bit changing means is “0” sandwiched between “1” bits in each of the X direction and the Y direction with respect to the entire bitmap in which the bit “1” is set by the bit setting means. When the number of bits is equal to or less than the designated number specified in advance, the “0” bit of the portion is changed to the “1” bit to combine adjacent change areas.
コーナ判定手段は、変更領域のコーナの凹凸およびその方向の判定用として予め用意された複数のコーナ判定パターン形状を用いて、前記ビット変更手段により近接する変更領域が結合された前記ビットマップの全体に対して、いずれかのコーナ判定パターン形状と一致する箇所を検出した場合には、当該箇所を変更領域コーナと判定する手段である。図面表示制御手段は、変更領域の境界指示用として予め用意された図形要素を用いて、前記コーナ判定手段により判定された全ての変更領域コーナに対して、変更領域コーナ毎に、隣接する他の変更領域コーナとの中点座標まで当該図形要素を連続的に配置することで変更領域図形を描画し、変更後の対象図面と重畳して変更指示図面とし、前記表示手段に表示させる手段である。 The corner determination means uses the plurality of corner determination pattern shapes prepared in advance for determining the unevenness of the corner of the change area and the direction thereof, and the entire bitmap having the change areas adjacent to each other by the bit change means combined. On the other hand, when a location that matches any one of the corner determination pattern shapes is detected, it is means for determining the location as a change area corner. The drawing display control means uses graphic elements prepared in advance for indicating the boundary of the change area, and for all the change area corners determined by the corner determination means, for each change area corner, A means for drawing the change area figure by continuously arranging the graphic elements up to the midpoint coordinates with the change area corner, and superimposing it on the target drawing after the change, and displaying it on the display means .
また、本発明の変更指示図面作成方法および変更指示図面作成プログラムは、上記システムの特徴を方法およびコンピュータプログラムの観点からそれぞれ把握したものである。 The change instruction drawing creation method and the change instruction drawing creation program of the present invention grasp the features of the system from the viewpoints of the method and the computer program.
本発明によれば、変更箇所を示す図形を、他の図形と不都合に重ねることなく、視覚的に常に理解し易い形式で明確に精度よく表現する変更指示図面を作成可能な変更指示図面作成システムと方法、およびプログラムを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the change instruction drawing creation system which can create the change instruction drawing which expresses the figure which shows a change location clearly and accurately in the form which is always easy to understand visually without superimposing on other figures. And methods and programs can be provided.
以下には、本発明に係る変更指示図面作成システムの複数の実施形態について、図面を参照して具体的に説明する。 Hereinafter, a plurality of embodiments of a change instruction drawing creation system according to the present invention will be specifically described with reference to the drawings.
[第1の実施形態]
[構成]
図1は、本発明を適用した第1の実施形態に係る変更指示図面作成システムを示すブロック図である。この図1に示すように、本実施形態の変更指示図面作成システム100は、記憶部110、インタフェース部120、演算部130等から構成されている。この変更指示図面作成システム100の各部の詳細は次の通りである。
[First Embodiment]
[Constitution]
FIG. 1 is a block diagram showing a change instruction drawing creation system according to a first embodiment to which the present invention is applied. As shown in FIG. 1, a change instruction
記憶部110は各種データを格納する部分であり、まず、変更指示図面作成の対象となる変更前後の図面に関する変更前図面データ111と変更後図面データ112が記憶されている。記憶部110にはまた、処理結果として得られる変更領域データ113と変更指示図面データ114も記憶される。記憶部110にはさらに、変更指示図面作成の各処理に使用するために予め用意されたビットマップデータ115、パターンデータ116、図形要素データ117などが記憶されている。なお、このような記憶部110は、コンピュータの有するメモリや補助記憶装置により実現可能である。
The
ここで、記憶部110に予め用意されたデータ111,112,115〜117について簡単に説明する。変更前図面データ111と変更後図面データ112は、図形の形状や配置をユニークな識別子(ID)を含むベクトルデータによって定義したデータである。ビットマップデータ115は、画像表示用として一般的に使用されるデータである。パターンデータ116は、変更領域のコーナの凹凸およびその方向の判定用として予め用意された複数のコーナ判定パターン形状に関するデータである。図形要素データ117は、変更領域の境界指示用として予め用意された円弧やV字状の折線などの凹凸方向を有する図形要素に関するデータである。
Here, the
インタフェース部120は、データ入力部121とデータ出力部122を備えている。ここで、データ入力部121は、操作者の操作に応じた信号をコンピュータに入力するマウスやキーボード等の入力装置であり、データ出力部122は、データ入力部21で入力されたデータ、およびシステム内で処理された処理結果を操作者に対して表示または出力するディスプレイ、プリンタ等の出力装置である。
The
演算部130は、ビットマップ供給部131、変更領域判定部132、変更領域拡大部133、ビット設定部134、ビット変更部135、コーナ判定部136、図面表示制御部137を備えている。
The
ビットマップ供給部131は、対象図面の図面領域に対応するビットマップを用意して「0」クリアする部分である。変更領域判定部132は、記憶部110に記憶された変更前図面データ111と変更後図面データ112を比較して変更箇所の差分データを抽出することで、変更領域を判定する部分である。変更領域拡大部133は、変更領域判定部132により得られた変更領域を、予め指定された指定幅により上下左右に拡大させる機能を有する。
The
ビット設定部134は、変更領域拡大部133により拡大された変更領域に対応するビットマップ上の箇所に「1」のビットを設定する機能を有する。ビット変更部135は、ビット設定部134により「1」のビットが設定されたビットマップの全体に対して、そのX方向とY方向のそれぞれについて、「1」のビット間に挟まれる「0」のビットの数が予め指定された指定数以下である場合には、当該部分の「0」のビットを「1」のビットに変更して近接する変更領域を結合する機能を有する。
The
コーナ判定部136は、パターンデータ116に含まれる複数のコーナ判定パターン形状を用いて、ビット変更部135により近接する変更領域が結合されたビットマップの全体に対して、いずれかのコーナ判定パターン形状と一致する箇所を検出した場合には、当該箇所を変更領域コーナと判定する機能を有する。
The
図面表示制御部137は、図形要素データ117に含まれる図形要素を用いて、コーナ判定部136により検出された全ての変更領域コーナに対して、変更領域コーナ毎に、隣接する他の変更領域コーナとの中点座標まで図形要素を連続的に配置することで変更領域図形を描画し、変更後の対象図面と重畳して変更指示図面とし、データ出力部122に表示させる機能を有する。
The drawing
なお、このような演算部130は、コンピュータのメインメモリとそれに記憶された変更指示図面作成用として特化されたプログラム、そのプログラムによって制御されるCPU、等の組合せにより実現可能である。
Note that such a
[動作]
図2は、以上のような構成を有する第1の実施形態に係る変更指示図面作成システムの動作の概略を示すフローチャートである。ここでは、この図2を参照しながら、図3に示す変更前図面を図4に示す変更後図面に変更した場合の具体的な変更指示図面作成手順について説明する。
[Operation]
FIG. 2 is a flowchart showing an outline of the operation of the change instruction drawing creation system according to the first embodiment having the above-described configuration. Here, a specific change instruction drawing creation procedure when the pre-change drawing shown in FIG. 3 is changed to the post-change drawing shown in FIG. 4 will be described with reference to FIG.
この図2に示すように、変更指示図面作成システム100はまず、ビットマップ供給部131によるビットマップ供給処理(S210)として、図面領域に対応するビットマップを用意して「0」クリアする。この時、ビットマップの1ビットを図面領域の指定の幅と高さの格子に対応させる。すなわち、1ビットの幅と高さが過度に大きいと作成する変更領域図形の位置精度が悪くなり、逆に過度に小さいとビットマップが過度に大きくなる結果、処理時間が長くなってしまうので、設計基準上の図面内の図形間最小間隔に合わせて適当な大きさに設定する。
As shown in FIG. 2, the change instruction
変更指示図面作成システム100は次に、変更領域判定部132による変更領域判定処理(S220)として、記憶部110から変更前図面データ111と変更後図面データ112を読み込んでデータ比較を行い、変更箇所の差分データを抽出し、得られた差分データから変更領域を判定する。
Next, the change instruction
この場合、変更前図面データ111と変更後図面データ112は、図形の形状や配置をユニークな識別子(ID)を含むベクトルデータによって定義したデータであるため、具体的なデータ比較としては、変更前後の図面のベクトルデータを比較することで、ベクトルデータの識別子または座標が変化している図形を抽出し、抽出した全ての図形の座標を差分データとする。図3の変更前図面と図4の変更後図面の例では、図5に実線で示す線分501と長方形502、および2箇所の文字列503,504が変更領域として得られる。
In this case, the
変更指示図面作成システム100は次に、変更領域拡大部133による変更領域拡大処理(S230)として、得られた変更領域を、予め指定された指定幅により上下左右に拡大させる。図3〜図5の例では、図5で変更領域として得られた線分501と長方形502が、図6に破線601と602で示すように拡大されると共に、文字列503,504については、文字列の周囲を一回り大きく囲む長方形603,604が画定される。図7は、このような変更領域拡大処理の結果を示している。
Next, the change instruction
この変更領域拡大処理(S230)を行うことにより、最終的に表示される変更領域図形と当該変更された図形とが重なることで両者が区別し難くなることを防止することができる。すなわち、この変更領域拡大処理(S230)を行わず、したがって変更領域として得られた線分501の幅を拡大しない場合には、変更後図面中の当該線分と変更領域としての線分501がそのまま重なってしまい、両者を区別し難くなる。なお、変形例として、文字列については、線分や長方形などの図形とは性質が異なるため、変更領域拡大処理の対象から除外してもよい。
By performing the change area enlargement process (S230), it is possible to prevent the change area graphic that is finally displayed from overlapping with the changed graphic and making it difficult to distinguish the two. That is, when this change area enlargement process (S230) is not performed, and therefore the width of the
変更指示図面作成システム100は次に、ビット設定部134によるビット設定処理(S240)として、図8に示すように、ビットマップ800上の変更領域に対応する箇所に、「1」のビットを設定する。
Next, the change instruction
変更指示図面作成システム100は次に、ビット変更部135によるビット変更処理(S250)として、ビットマップ800の全体に対して、そのX方向とY方向のそれぞれについて、「1」のビット間に挟まれる「0」のビットの数が予め指定された指定数以下である場合に、当該部分の「0」のビットを「1」のビットに変更するビット処理を行って近接する変更領域を結合する。
Next, the change instruction
この場合、「指定数」とは、隣接する変更領域同士がこの値以下まで近接している場合に、1つの変更領域に併合させるための値である。すなわち、密集した箇所で多くの図形が変更になった場合、個々の変更領域図形を別個に表示したのでは非常に見難くなるが、本実施形態においては、このように、近接する変更領域を結合してより単純化された1つの変更領域とすることにより、最終的に表示される変更領域図形を見易くすることができる。 In this case, the “specified number” is a value for merging into one change area when adjacent change areas are close to this value or less. That is, when many figures are changed in a crowded place, it is very difficult to see if the individual change area figures are displayed separately. By combining and making one change area more simplified, it is possible to make the change area graphic finally displayed easier to see.
このビット変更処理(S250)において、例えば、ビット変更処理をY方向から開始する場合には、まず、図9に901として示すように、Y方向の1回目のビット処理として、ビットマップ800のY方向の「1」のビット間に挟まれる「0」のビットの数が指定数以下であれば、「0」を「1」に変更する。続いて、図10に1001,1002として示すように、X方向の1回目のビット処理として、ビットマップ800のX方向の「1」のビット間に挟まれる「0」のビットの数が指定数以下であれば、「0」を「1」に変更する。 In this bit change process (S250), for example, when the bit change process is started from the Y direction, first, as indicated by 901 in FIG. If the number of “0” bits sandwiched between “1” bits in the direction is less than or equal to the specified number, “0” is changed to “1”. Subsequently, as indicated by 1001 and 1002 in FIG. 10, as the first bit processing in the X direction, the number of “0” bits sandwiched between “1” bits in the X direction of the bitmap 800 is the specified number. If it is below, “0” is changed to “1”.
さらに、図11に1101として示すように、Y方向の2回目のビット処理を行い、同様に、「0」を「1」に変更する。この後、X方向の2回目のビット処理を行うが、この場合には、X方向の「1」のビット間に挟まれる「0」のビットが存在しないため、図11に示す状態で、そのまま処理を終了する。 Further, as indicated by 1101 in FIG. 11, the second bit processing in the Y direction is performed, and similarly, “0” is changed to “1”. Thereafter, the second bit processing in the X direction is performed. In this case, since there is no “0” bit sandwiched between “1” bits in the X direction, the state shown in FIG. The process ends.
このように、ビット変更処理(S250)は、基本的に、X方向とY方向のそれぞれについて1回ずつのビット処理を行った後、X方向とY方向のそれぞれについて再び1回ずつのビット処理を繰り返すことが望ましい。このことは、発明者等が、変更前後の図面の多様な変更パターンについて試行錯誤を繰り返した結果、変更パターンによっては、X方向とY方向のそれぞれについて1回ずつのビット処理を行った後、図11に1101として示すように、それらのビット処理の結果、新たに近接する変更領域が発生する場合がある。したがって、以上のようなビット変更処理(S250)を行うことにより、このような新たに発生する近接変更領域をも確実に除去して、変更領域を単純化することができる。
In this way, the bit change process (S250) is basically performed once for each of the X direction and the Y direction, and then once again for each of the X direction and the Y direction. It is desirable to repeat. This is because the inventors repeated trial and error for various change patterns of the drawings before and after the change, and depending on the change pattern, after performing bit processing once for each of the X direction and the Y direction, As indicated by
なお、X方向とY方向のそれぞれについて1回ずつのビット処理を行った後に、近接変更領域が新たに発生する可能性がほとんどない場合には、1回ずつのビット処理を行うだけでもよい。また、このビット変更処理(S250)において、X方向とY方向のいずれを先に処理するかは自由に選択可能であり、上記の説明とは逆に、X方向のビット処理を行った後にY方向のビット処理を行ってもよい。 In addition, after performing bit processing once for each of the X direction and the Y direction, when there is almost no possibility that a new proximity change area will be generated, it is only necessary to perform bit processing once. In the bit change process (S250), it is possible to freely select which of the X direction and the Y direction is processed first. Contrary to the above description, after the bit process in the X direction is performed, the Y direction is processed. Direction bit processing may be performed.
変更指示図面作成システム100は次に、コーナ判定部136によるコーナ判定処理(S260)を行う。このコーナ判定処理(S260)においてはまず、図12に示すように、複数のコーナ判定パターン形状1〜8を用いて、ビットマップ800の全体と比較し、コーナ判定パターン形状1〜8と一致する箇所を検出した場合には、その箇所を変更領域コーナと判定する。そして、変更領域コーナと判定した箇所のXY座標とコーナ判定パターン形状の番号(コーナパターン番号)を、変更領域1200を示す変更領域データ113として記憶部に記憶する。
Next, the change instruction
変更指示図面作成システム100は次に、図面表示制御部137による図面表示制御処理(S270)を行う。この図面表示制御処理(S270)においてはまず、図13に示すように、前段のコーナ判定処理(S260)で記憶した変更領域データ113から、変更領域コーナ1301について、当該変更領域コーナ1301のXY座標と、そのX方向隣の変更領域コーナ1302と、Y方向隣の変更領域コーナ1302のXY座標をそれぞれ検出し、変更領域コーナ1301,1302間の中点座標1304と、変更領域コーナ1301,1303間の中点座標1305をそれぞれ算出する。
Next, the change instruction
このようにして得られた変更領域コーナ1301とそれに関連する中点座標1304,1305の座標をビットマップ座標から図面座標に変換し、変更領域コーナ1301と2つの中点座標1304,1305の間にそれぞれ、変更領域図形を描画する。すなわち、記憶部110に図形要素データ117として用意された円弧やV字状の折線などの凹凸方向を有する図形要素1311を連続的に配置することで変更領域図形を描画する。
The coordinates of the changed
この場合、当該変更領域コーナのコーナパターン番号に合わせて図形要素の配置方向を変更する。例えば、コーナパターン番号「1」の場合には、上が凸、右が凸となり、コーナパターン番号「2」の場合には、上が凸、左が凸となる。また、変更領域コーナ1301の場合は、コーナパターン番号は「3」であるため、下が凸、左が凸となる。
In this case, the arrangement direction of the graphic elements is changed according to the corner pattern number of the change area corner. For example, when the corner pattern number is “1”, the top is convex and the right is convex. When the corner pattern number is “2”, the top is convex and the left is convex. In the case of the
以上のような変更領域コーナ毎の変更領域図形の描画を、図14に示すように、全ての変更領域コーナに対して行うことにより、変更領域1200を示す変更領域図形1400を完成し、最終的に、図15に示すように変更後の図面と重畳して表示する。
Drawing the change area graphic for each change area corner as described above is performed on all the change area corners as shown in FIG. 14, thereby completing the change area graphic 1400 indicating the
[効果]
以上のような第1の実施形態によれば、変更箇所を示す図形を、他の図形と不都合に重ねることなく、視覚的に常に理解し易い形式で明確に精度よく表現する変更指示図面を作成可能である。以下には、このような第1の実施形態の効果について説明する。
[effect]
According to the first embodiment as described above, a change instruction drawing that clearly and accurately expresses a graphic showing a changed portion in a form that is always visually easy to understand without being inconveniently overlapped with another graphic is created. Is possible. The effects of the first embodiment will be described below.
まず、変更前後の図面データ比較により得られた変更領域を拡大させてビットマップ上で処理することにより、1ビットの寸法を適切に選択して変更箇所を示す変更領域図形の位置精度を向上しながら、変更領域図形が変更後の図形と不都合に重なることを防止することができる。しかも、近接する複数の変更箇所が存在する場合でも、それらの変更箇所を結合してより単純化された1つの変更領域図形として表現できるため、変更領域図形を見易くすることができる。 First, the change area obtained by comparing the drawing data before and after the change is enlarged and processed on the bitmap to improve the position accuracy of the change area figure indicating the change place by appropriately selecting the size of 1 bit. However, it is possible to prevent the changed area graphic from inadvertently overlapping with the changed graphic. In addition, even when there are a plurality of adjacent changed portions, these changed portions can be combined and expressed as one simplified change region graphic, so that the changed region graphic can be easily seen.
さらに、変更領域コーナ毎に、コーナ間寸法の半分ずつ変更領域図形を描画する方式であるため、変更領域図形を構成する円弧やV字状の折線といった図形要素の単位長さ(ピッチ)は、ビットマップの1ビットの長さと関係なくコーナ間寸法や図形寸法に応じた任意に設定できるため、見易い変更領域図形を作成できる。 Further, since the change area graphic is drawn for each change area corner by half the inter-corner dimension, the unit length (pitch) of graphic elements such as arcs and V-shaped broken lines constituting the change area graphic is Regardless of the length of one bit of the bitmap, it can be arbitrarily set according to the inter-corner dimension and the graphic dimension, so that it is possible to create a change area graphic that is easy to see.
そして、変更領域の境界指示用として、円弧やV字状の折線などの凹凸方向を有する図形要素を使用することにより、図16に示すように変更箇所と非変更箇所が多重に入り組んでいる場合でも、変更箇所を示す変更領域1600を、その外側の境界を示す変更領域図形1601と、内側の境界を示す変更領域図形(変更領域窓)1602といった、方向性を有する変更領域図形を表示することができ、変更箇所と非変更箇所を理解し易い変更領域図形を作成できる。
Then, as shown in FIG. 16, when the change area and the non-change place are intertwined by using a graphic element having a concavo-convex direction such as an arc or a V-shaped broken line for indicating the boundary of the change area However, a change area graphic having directionality such as a change area graphic 1601 indicating the outer boundary and a change area graphic (change area window) 1602 indicating the inner boundary is displayed as the
[第2の実施形態]
図17は、本発明を適用した第2の実施形態に係る変更指示図面作成システムを示すブロック図である。この図17に示すように、本実施形態の変更指示図面作成システム100は、図面中の文字の処理方法に着目したものであり、図1に示した第1の実施形態に係るシステム100において、図面表示制御部137に、図形変更データ表示制御部1371と文字変更データ表示制御部1372を設けたものである。なお、他の構成は、第1の実施形態と同様である。
[Second Embodiment]
FIG. 17 is a block diagram showing a change instruction drawing creation system according to the second embodiment to which the present invention is applied. As shown in FIG. 17, the change instruction
ここで、図形変更データ表示制御部1371は、図面表示制御処理(S270)において、変更領域図形を変更後の対象図面と重畳して変更指示図面として前記表示手段に表示させる際に、文字以外の図形のみを表示させる処理を行う。また、文字変更データ表示制御部1372は、図面表示制御処理(S270)において、記憶部110に記憶された変更前後の図面データ111,112のうち、変更前後の文字データを比較して、変更のない文字と追加になった文字を検出した場合には重畳して表示し、削除または変更された文字を検出した場合には削除・変更前の文字を重畳して表示して当該文字の上に削除線を表示し、変更の場合にはさらに変更後の文字を変更前の文字と並べて表示させる処理を行う。
Here, in the drawing display control process (S270), the graphic change data display
以下には、このような図形変更データ表示制御部1371および文字変更データ表示制御部1372による具体的な処理内容について説明する。
Below, the specific processing content by such a figure change data display
まず、図18に示すように、文字以外の図形については、図形変更データ表示制御部1371により、第1の実施形態について説明した図面表示制御処理(S270)と同様に、変更領域図形と変更後の図形を重畳して表示する。
First, as shown in FIG. 18, with respect to graphics other than characters, the graphic change data display
そして、文字については、文字変更データ表示制御部1372により、変更前後の図面の文字データを比較し、変更のない文字1801と追加になった文字1802を検出し、重畳して表示する。また、削除された文字1803と文字列が変更になった文字1804を検出して変更前の文字を重畳表示し、その文字列の上に削除線を表示する。変更された文字列1804ではさらに、変更後の文字列を変更前の文字列の隣に表示する。この際、変更前後の文字列を変更前後の文字の大きさで表示すると、変更後の文字が隣の図形と重なる可能性が出てくる。
For the characters, the character change data display
そこで、文字変更データ表示制御部1372は、図19に示すように、変更前の文字1901が、同じ位置で文字1902として示すように変更になった場合、変更前後の文字数の多い方の領域を求め、その領域内に変更前の文字列1903と変更後の文字列1904が重ねることなく収容するために、文字間隔、文字幅を調整して表示する。
Accordingly, as shown in FIG. 19, the character change data display
この場合の調整方法は、図20に示すように、何も調整しないで通常サイズの文字2001から、まず、2002に示すように文字間隔を狭くして領域に入るか検討し、入ればその文字間隔で表示する。文字間隔をゼロにして入らなければ、さらに、2003に示すように文字幅を狭くして領域に入るようにする。このような文字間隔と文字幅の調整を行うことにより、限られたスペース内に、変更前後の情報を見易い形で表示できる。
As shown in FIG. 20, the adjustment method in this case is as follows. First, from the
図21は、以上のような文字変更データ表示制御部1372による文字データの処理の結果として得られた変更指示図面の一例を示す図である。
FIG. 21 is a diagram showing an example of the change instruction drawing obtained as a result of the character data processing by the character change data display
以上のような第2の実施形態によれば、第1の実施形態の効果に加えて、変更前後の図面中で文字がどのように変わったかを明確に見易い形で表示できる、という効果が得られる。 According to the second embodiment as described above, in addition to the effect of the first embodiment, it is possible to clearly display how characters have changed in the drawings before and after the change. It is done.
[第3の実施形態]
本発明を適用した第3の実施形態に係る変更指示図面作成システムは、図面中の直線や円弧の線分に着目したものであり、図1に示した第1の実施形態に係るシステム100において、変更領域判定部132による変更領域判定処理(S220)中で、変更前後の線分が重なっている場合に、この重なっている箇所を変更箇所から除外する処理を行うものである。以下には、図22を用いて、本実施形態による特徴的な処理内容について説明する。
[Third Embodiment]
The change instruction drawing creation system according to the third embodiment to which the present invention is applied pays attention to straight lines and arc segments in the drawing. In the
図22に示す2201は、変更前の線分である。変更後、この線分2201は、位置および寸法はまったく同じであるが、2つの線分2202と線分2203に分割され、さらに線分2204が追加になっている。このような場合、第1の実施形態における変更領域判定処理(S220)では、線分のベクトルデータの識別子、あるいは座標が変わることから、線分2201が線分2202と線分2203に変わったと判断するため、最終的に、図面表示制御処理(S270)において、2205に示すような変更領域図形が作成されることになる。
2201 shown in FIG. 22 is a line segment before the change. After the change, the
このように、線分の一部または全部の位置および寸法が変化していない場合、図面によっては、データ構造が変わったのでそのまま変わったと判断してよいが、見かけは何等変わらないので、線分2202と線分2203は変更なしと判断したいこともある。
Thus, if the position and dimensions of some or all of the line segments have not changed, it may be determined that the data structure has changed depending on the drawing, but the appearance has not changed. It may be determined that 2202 and the
本実施形態は、この後者の場合に対応すべく、変更領域判定処理(S220)において、変更前後の図面における線分のベクトルデータを比較し、ベクトルデータの識別子または座標が変化していても、変更前後の線分の一部あるいは全部が重なっている場合に、この重なっている箇所の線分の座標を計算して、重なった線分間は変更箇所から除外する。このような処理を行う結果、最終的に、図面表示制御処理(S270)においては、2206に示すような線分2202と線分2203を除いた箇所を変更箇所として示す変更領域図形が作成されることになる。
In the present embodiment, in order to cope with this latter case, the change area determination process (S220) compares the vector data of the line segments in the drawings before and after the change, and even if the identifier or coordinates of the vector data are changed, When some or all of the line segments before and after the change overlap, the coordinates of the overlapping line segment are calculated, and the overlapped line segment is excluded from the change part. As a result of performing such a process, finally, in the drawing display control process (S270), a change area graphic is created that shows the part excluding the
以上のような第3の実施形態によれば、第1の実施形態の効果に加えて、変更前と後の線分が分割、あるいは伸縮などにより変更前に対して重なった箇所がある場合に、この重なった箇所、すなわち、実質的な非変更箇所を変更領域から除外することができるため、図面の目的に適合した、より明確な変更指示図面を作成できる、という効果が得られる。 According to the third embodiment as described above, in addition to the effects of the first embodiment, when there is a portion where the line segment before and after the change overlaps with that before the change due to division or expansion and contraction. Since the overlapped portion, that is, a substantially non-changed portion can be excluded from the change region, an effect that a clearer change instruction drawing suitable for the purpose of the drawing can be created is obtained.
[第4の実施形態]
本発明を適用した第4の実施形態に係る変更指示図面作成システムは、図面中の文字以外の直線、円弧、矩形、グループ図形などの図形に着目したものであり、図1に示した第1の実施形態に係るシステム100において、図面表示制御部137による図面表示制御処理(S270)中で、変更前の図形が削除されている場合に、この削除前の図形を重畳して表示する処理を行うものである。以下には、図23を用いて、本実施形態による特徴的な処理内容について説明する。
[Fourth Embodiment]
The change instruction drawing creation system according to the fourth embodiment to which the present invention is applied focuses on graphics such as straight lines, arcs, rectangles, and group graphics other than characters in the drawings. The first embodiment shown in FIG. In the
図23においては、変更前の図面中における2本の線分2301,2302のうち、変更後の図面中で線分2302が削除されている。この場合に、本実施形態では、図面表示制御処理(S270)において、変更領域図形2303と変更後の図形2301を重畳して表示し、さらに、変更前後の図面のベクトルデータを比較し、削除された直線、円弧、矩形、グループ図形などの図形を検出し、削除前の図形(この例では線分)2302を重畳表示する。
In FIG. 23, of the two
そして、この重畳表示する削除前の図形が、直線、円弧などの領域を持たない線分の場合は、図23に示すように、この線分2302の上に一定間隔で「×」などの削除マーク2304を表示する。また、削除前の図形が、矩形、グループ図形のように領域を持つ図形の場合は、この図形領域全体に対し削除マーク2304を表示する。
If the figure to be superimposed and displayed before deletion has a line segment that does not have an area such as a straight line or an arc, as shown in FIG. 23, deletion of “x” or the like is performed on the
以上のような第4の実施形態によれば、第1の実施形態の効果に加えて、変更前の図形を、他の図形と明確に区別して表示する変更指示図面を作成できる、という効果が得られる。 According to the fourth embodiment as described above, in addition to the effect of the first embodiment, there is an effect that it is possible to create a change instruction drawing that clearly displays a graphic before change from another graphic. can get.
[第5の実施形態]
本発明を適用した第5の実施形態に係る変更指示図面作成システムは、図面中の複数の図形から構成されるグループ図形に着目したものであり、図1に示した第1の実施形態に係るシステム100において、変更領域判定部132による変更領域判定処理(S220)中で、グループ図形が移動しただけでは変更箇所としない処理を行うものである。本実施形態は、図面の目的が図形の形状などの外観ではなく、図形や文字によって表現される内容であり、図形の位置自体に意味を持たないような場合に対応するものである。
[Fifth Embodiment]
The change instruction drawing creation system according to the fifth embodiment to which the present invention is applied pays attention to a group figure composed of a plurality of figures in the drawing, and relates to the first embodiment shown in FIG. In the
すなわち、一般に、電気回路図面、ソフトロジック図面などは、形状ではなく機能を表現している。そのために、あるグループ図形が移動しても、その中に構成されている図形が変更なければ変更としてみなさない。このような機能を表現する図面においては、例えば、図24に示すグループ図形2410の構成点2411が、2421の位置に移動し、グループ図形2410内の図形2412、2413が、2422,2423のように変更になった場合、変更指示図面においては、グループ図形2430の図形内図形2432,2433のみが変更になったとする変更領域図形を表示する必要がある。
That is, generally, electrical circuit drawings, soft logic drawings, and the like express functions rather than shapes. Therefore, even if a certain group figure moves, it is not regarded as a change unless the figure configured therein changes. In the drawing representing such a function, for example, the
本実施形態は、このような変更指示図面を作成すべく、変更領域判定処理(S220)において、グループ図形が移動している場合に、変更前後のグループ図形2410,2420の識別子と基準座標2411,2421を比較し、基準座標が変化しても変更前後で識別子が同じであればグループ図形の変更箇所としない処理をする。また、変更前後のグループ図形の識別子から、グループ図形自体が追加、削除されている場合には、グループ図形変更箇所とする。 In the present embodiment, in order to create such a change instruction drawing, when the group figure is moved in the change area determination process (S220), the identifiers of the group figures 2410 and 2420 before and after the change and the reference coordinates 2411, 2421 are compared, and even if the reference coordinates change, if the identifier is the same before and after the change, a process of not changing the group graphic is performed. Further, when the group graphic itself is added or deleted from the identifiers of the group graphic before and after the change, it is set as a group graphic change place.
そして、変更前後で同じ識別子があるグループ図形2410,2420については、グループ図形内図形2412、2413,2422,2423の識別子とグループ図形の基準点2411,2421からのグループ図形内図形座標の変化により、グループ図形内図形2432,2433を変更箇所として処理を行う。
For the
以上のような第5の実施形態によれば、第1の実施形態の効果に加えて、グループ図形が移動しただけでは変更箇所とする必要がない場合に、この場合のグループ図形の移動を変更領域から除外することができるため、図面の目的に適合した、より明確な変更指示図面を作成できる、という効果が得られる。 According to the fifth embodiment as described above, in addition to the effects of the first embodiment, the movement of the group graphic in this case is changed when it is not necessary to change the group graphic just by moving the group graphic. Since it can be excluded from the area, it is possible to produce a clearer change instruction drawing suitable for the purpose of the drawing.
[第6の実施形態]
本発明を適用した第6の実施形態に係る変更指示図面作成システムは、複数の頁で構成される図面に着目したものであり、図1に示した第1の実施形態に係るシステム100において、変更領域判定部132による変更領域判定処理(S220)中で、頁単位で変更前後の図面データの比較を行い、頁毎の変更割合を計算して、図面表示制御処理(S270)中で、頁毎の変更割合に応じて頁毎に変更指示図面を作成するものである。
[Sixth Embodiment]
The change instruction drawing creation system according to the sixth embodiment to which the present invention is applied pays attention to a drawing composed of a plurality of pages. In the
すなわち、本実施形態は、図25に示すように、複数の頁で構成される図面2501に対して部分的な変更を加えた図面2502がある場合に、頁毎の変更箇所を認識可能に表示する変更指示図面2503を作成する方法に関するものである。以下には、図25を用いて、本実施形態による特徴的な処理内容について説明する。
That is, in the present embodiment, as shown in FIG. 25, when there is a drawing 2502 in which a partial change is made to a
本実施形態の変更領域判定処理(S220)においては、頁単位で変更前後の図面データの比較を行い、変更割合を計算する。そして、図面表示制御処理(S270)においては、得られた変更割合を用いて、頁毎の変更割合に応じて頁毎に変更指示図面を作成する。 In the change area determination process (S220) of the present embodiment, the drawing data before and after the change is compared for each page, and the change ratio is calculated. In the drawing display control process (S270), a change instruction drawing is created for each page according to the change ratio for each page using the obtained change ratio.
図25に示すように、例えば、変更割合が0%の頁については、変更指示図面を作成せず(2511)、変更割合が所定の基準割合(例えば50%)より少ない(図の例では10%)頁については、変更前後の図形を重ねた変更指示図面2512を作成する。これに対して、変更割合が所定の基準割合より多い(図の例では70%)頁については、変更前の図面に、削除になった図形の変更領域図形を重ねて表示した削除指示図面2513aと、変更後の図面に追加になった図形の変更領域図形を重ねて表示した追加指示図面2513bを作成する。なお、変更割合の判定の基準となる基準割合は、図面に応じて適宜設定すればよい。
As shown in FIG. 25, for example, for a page with a change rate of 0%, a change instruction drawing is not created (2511), and the change rate is less than a predetermined reference rate (for example, 50%) (10 in the example in the figure). %) For the page, a
また、頁全体の図面が削除された頁については、変更前の図面全体に「×」などの大きな削除マークを重ねて表示した削除頁指示図面2514を作成し、追加された頁については、追加された図面に「本頁追加」などの追加マークを重ねて表示した追加頁指示図面2515を作成する。 In addition, for the page from which the drawing of the entire page has been deleted, a deleted page instruction drawing 2514 is created in which a large deletion mark such as “x” is displayed over the entire drawing before the change, and the added page is added. An additional page instruction drawing 2515 is generated in which an additional mark such as “add this page” is displayed on the drawn drawing.
以上のような第6の実施形態によれば、第1の実施形態の効果に加えて、複数の頁で構成される図面において、各頁ごとの変更割合に応じて変更前後の内容を明確に見易く表示する変更指示図面を作成できる、という効果が得られる。 According to the sixth embodiment as described above, in addition to the effects of the first embodiment, in the drawing composed of a plurality of pages, the contents before and after the change are clarified according to the change ratio for each page. It is possible to produce a change instruction drawing that can be displayed easily.
[他の実施形態]
なお、本発明は、前述した実施形態に限定されるものではなく、本発明の範囲内で他にも多種多様な変形例が実施可能である。すなわち、図面に示したシステム構成や対象図面、処理手順等は、一例にすぎず、具体的なシステム構成や対象図面、処理手順等は適宜選択可能である。そして、表示に使用する具体的な削除マークや追加マーク等も適宜選択可能である。
[Other Embodiments]
It should be noted that the present invention is not limited to the above-described embodiments, and various other variations can be implemented within the scope of the present invention. That is, the system configuration, the target drawing, the processing procedure, and the like shown in the drawings are merely examples, and the specific system configuration, the target drawing, the processing procedure, and the like can be selected as appropriate. A specific deletion mark or addition mark used for display can be selected as appropriate.
また、本発明は、CADシステムなどの図面作成用システムにより作成された図面を対象とする変更指示図面の作成に好適であり、優れた効果が得られるが、他にも、文章処理システムや表計算システムなどの各種のソフトウェアシステムにより作成された図面を対象とする変更指示図面の作成に適用可能であり、同様に優れた効果が得られるものである。 Further, the present invention is suitable for creating a change instruction drawing for a drawing created by a drawing creation system such as a CAD system, and provides an excellent effect. The present invention can be applied to creation of a change instruction drawing for a drawing created by various software systems such as a calculation system, and similarly excellent effects can be obtained.
また、上記実施形態においては、コンピュータのハードウェア資源とプログラムの組合せによって、本発明のシステムを実現した場合について説明したが、そのようなシステムを実現するコンピュータプログラム単体、あるいは、コンピュータプログラムを記録した記録媒体単体もまた、本発明の実施態様の一つである。 In the above embodiment, a case has been described in which the system of the present invention is realized by a combination of computer hardware resources and a program. However, a computer program alone or a computer program for realizing such a system is recorded. A single recording medium is also one embodiment of the present invention.
100…変更指示図面作成システム
110…記憶部
111…変更前図面データ
112…変更後図面データ
113…変更領域データ
114…変更指示図面データ
115…ビットマップデータ
116…パターンデータ
117…図形要素データ
120…インタフェース部
121…データ入力部
122…データ出力部
130…演算部
131…ビットマップ供給部
132…変更領域判定部
133…変更領域拡大部
134…ビット設定部
135…ビット変更分
136…コーナ判定部
137…図面表示制御部
1371…図形変更データ表示制御部
1372…文字変更データ表示制御部
DESCRIPTION OF
Claims (14)
変更前後の対象図面データおよび処理結果を記憶する記憶手段と、
前記記憶手段に記憶された変更前後の対象図面および処理結果として得られる変更指示図面を表示する表示手段と、
対象図面の図面領域に対応するビットマップを用意して「0」クリアするビットマップ供給手段と、
前記記憶手段に記憶された変更前後の対象図面データを比較して変更箇所の差分データを抽出することで、変更領域を判定する変更領域判定手段と、
前記変更領域判定手段により得られた変更領域を、予め指定された指定幅により上下左右に拡大させる変更領域拡大手段と、
前記変更領域拡大手段により拡大された変更領域に対応する前記ビットマップ上の箇所に「1」のビットを設定するビット設定手段と、
前記ビット設定手段により「1」のビットが設定された前記ビットマップの全体に対して、そのX方向とY方向のそれぞれについて、「1」のビット間に挟まれる「0」のビットの数が予め指定された指定数以下である場合には、当該部分の「0」のビットを「1」のビットに変更するビット処理を行って近接する変更領域を結合するビット変更手段と、
変更領域のコーナの凹凸およびその方向の判定用として予め用意された複数のコーナ判定パターン形状を用いて、前記ビット変更手段により近接する変更領域が結合された前記ビットマップの全体に対して、いずれかのコーナ判定パターン形状と一致する箇所を検出した場合には、当該箇所を変更領域コーナと判定するコーナ判定手段と、
変更領域の境界指示用として予め用意された図形要素を用いて、前記コーナ判定手段により判定された全ての変更領域コーナに対して、変更領域コーナ毎に、隣接する他の変更領域コーナとの中点座標まで当該図形要素を連続的に配置することで変更領域図形を描画し、変更後の対象図面と重畳して変更指示図面とし、前記表示手段に表示させる図面表示制御手段
を有することを特徴とする変更指示図面作成システム。 In a system for creating a change instruction drawing for recognizing and displaying this change location when a partial change is made to a target drawing created and stored electronically,
Storage means for storing target drawing data and processing results before and after the change;
Display means for displaying the target drawing before and after the change stored in the storage means and the change instruction drawing obtained as a processing result;
A bitmap supply means for preparing a bitmap corresponding to the drawing area of the target drawing and clearing “0”;
A change area determination means for determining the change area by comparing the target drawing data before and after the change stored in the storage means and extracting the difference data of the change place;
A change area enlarging means for enlarging the change area obtained by the change area determining means vertically and horizontally by a designated width specified in advance;
Bit setting means for setting a bit of “1” at a location on the bitmap corresponding to the changed area expanded by the changed area expanding means;
The number of “0” bits sandwiched between “1” bits in each of the X direction and the Y direction with respect to the entire bitmap in which the “1” bit is set by the bit setting means. A bit changing means for performing bit processing to change a bit of “0” of the part to a bit of “1” and combining adjacent change areas when the number is less than a designated number specified in advance;
Using the plurality of corner determination pattern shapes prepared in advance for determining the unevenness of the corner of the change area and its direction, the entire bit map in which the change areas adjacent to each other by the bit changing means are combined. Corner detection means for determining a corner that matches the corner determination pattern shape, and determining the location as a change area corner;
For all the change area corners determined by the corner determining means using graphic elements prepared in advance for indicating the boundary of the change area, for each change area corner, the change area corners are adjacent to each other change area corner. It has a drawing display control means for drawing a change area figure by continuously arranging the graphic elements up to the point coordinates, superimposing it on the target drawing after the change, and displaying the change instruction drawing on the display means. Change instruction drawing creation system.
ことを特徴とする請求項1に記載の変更指示図面作成システム。 The bit changing means is configured to perform the bit processing once for each of the X direction and the Y direction, and then repeat the bit processing once again for each of the X direction and the Y direction. The change instruction drawing creation system according to claim 1.
ことを特徴とする請求項1または請求項2に記載の変更指示図面作成システム。 The drawing display control means changes the arrangement direction of the graphic element according to the corner determination pattern shape coinciding with the change area corner when continuously arranging the graphic element for each change area corner. 3. The change instruction drawing creation system according to claim 1, wherein the change instruction drawing creation system is configured as follows.
ことを特徴とする請求項3に記載の変更指示図面作成システム。 The drawing display control means uses an arc or a V-shaped fold line as the graphic element, and is configured to determine an uneven direction of the arc or V-shaped fold line according to the corner determination pattern shape. The change instruction drawing creating system according to claim 3, wherein
ことを特徴とする請求項1乃至請求項4のいずれか1項に記載の変更指示図面作成システム。 When the drawing display control means determines that the change area and the non-change area are multiplexly intermingled from all the change area corners determined by the corner determination means, the area display for indicating the boundary of the change area 5. The graphic element according to claim 1, wherein the graphic element is configured to use a graphic element having a directivity for distinguishing between the change area side and the non-change area side. Change instruction drawing creation system.
前記変更領域判定手段は、変更前後の対象図面データ中の前記ベクトルデータを比較することにより、ベクトルデータの識別子または座標が変化している図形を変更箇所としてその座標を差分データとして抽出するように構成されている
ことを特徴とする請求項1乃至請求項5のいずれか1項に記載の変更指示図面作成システム。 The target drawing data before and after the change stored in the storage means is data in which the shape and arrangement of the figure in the drawing is defined by vector data including a unique identifier,
The change area determination means compares the vector data in the target drawing data before and after the change, and extracts the coordinates as the changed data by using the figure whose vector data identifier or coordinate is changing as the changed portion. 6. The change instruction drawing creation system according to claim 1, wherein the change instruction drawing creation system is configured.
ことを特徴とする請求項6に記載の変更指示図面作成システム。 When the change area determination means compares the vector data in the target drawing data before and after the change, a part or all of the line segments before and after the change overlap even if the identifier or coordinates of the vector data change. 7. The change instruction drawing creation system according to claim 6, wherein the change instruction drawing creation system is configured to calculate the coordinates of the line segment of the overlapping portion and exclude it from the changed portion.
ことを特徴とする請求項6または請求項7に記載の変更指示図面作成システム。 The change area determination means compares the coordinates of the vector data of the group graphic before and after the change when the group graphic is moving, and the identifier is the same before and after the change even if the coordinate is changed. If the group graphic identifier has been added or deleted, the group graphic is changed and the group graphic before and after the change contains the same identifier. In this case, the configuration is such that processing in which the graphic in the group graphic is changed to the difference data change location by the change in the coordinates of the graphic in the group graphic from the identifier of the graphic in the group graphic and the reference point of the group graphic. The change instruction drawing creation system according to claim 6 or 7.
ことを特徴とする請求項1乃至請求項8のいずれか1項に記載の変更指示図面作成システム。 The drawing display control means creates a change instruction drawing that superimposes and displays the graphic deleted by the change when the change area figure is superimposed on the target drawing after change and displayed on the display means as a change instruction drawing. If the figure before deletion is a line-only figure without an area, delete marks are displayed on the line at regular intervals. If the figure before deletion is a figure with an area, the entire area will be displayed. The change instruction drawing creation system according to any one of claims 1 to 8, wherein a deletion mark is displayed.
対象図面が複数の頁で構成されている場合に、頁単位で変更前後の対象図面データの比較を行い、頁毎の変更割合を計算するように構成され、
前記図面表示制御手段は、
対象図面が複数の頁で構成されている場合に、前記変更領域判定手段で得られた頁毎の変更割合に基づき、
変更割合が0%の頁については、変更指示図面を作成せず、
変更割合が予め指定された基準割合より少ない頁については、前記削除マークを用いて変更前後の図形を重畳して表示する変更指示図面を作成し、
変更割合が前記基準割合より多い頁については、変更前の図面に削除になった図形の変更領域図形を重畳して表示する削除指示図面と、変更後の図面に追加になった図形の変更領域図形を重畳して表示する追加指示図面を作成し、
頁全体の図面が削除された頁については、変更前の図面上に前記削除マークを表示する削除頁指示図面を作成し、
追加された頁については、追加された図面に追加マークを表示する追加頁指示図面を作成するように構成されている
ことを特徴とする請求項9に記載の変更指示図面作成システム。 The change area determination means includes
When the target drawing is composed of multiple pages, it is configured to compare the target drawing data before and after the change in page units and calculate the change rate for each page,
The drawing display control means includes
When the target drawing is composed of a plurality of pages, based on the change ratio for each page obtained by the change area determination means,
For pages with a change rate of 0%, a change instruction drawing is not created.
For pages with a change rate less than a pre-designated reference rate, create a change instruction drawing that superimposes and displays figures before and after the change using the delete mark,
For pages where the change rate is higher than the reference rate, the change area of the deleted figure is superimposed on the drawing before the change and the deletion instruction drawing that superimposes the figure and the change area of the figure added to the changed drawing Create an additional instruction drawing that overlays and displays figures,
For the page where the drawing of the entire page has been deleted, create a deletion page instruction drawing that displays the deletion mark on the drawing before the change,
10. The change instruction drawing creation system according to claim 9, wherein for the added page, an additional page instruction drawing for displaying an addition mark on the added drawing is created.
変更領域図形を変更後の対象図面と重畳して変更指示図面として前記表示手段に表示させる際に、文字以外の図形のみを表示させる図形変更データ表示制御手段と、
前記記憶手段に記憶された変更前後の対象図面データのうち、変更前後の文字データを比較して、変更のない文字と追加になった文字を検出した場合には重畳して表示し、削除または変更された文字を検出した場合には削除・変更前の文字を重畳して表示して当該文字の上に削除線を表示し、変更の場合にはさらに変更後の文字を変更前の文字と並べて表示させる文字変更データ表示制御手段を有する
ことを特徴とする請求項1乃至請求項10のいずれか1項に記載の変更指示図面作成システム。 The drawing display control means includes
A graphic change data display control means for displaying only a graphic other than characters when displaying the change area graphic on the display means as a change instruction drawing superimposed on the target drawing after the change;
Of the target drawing data before and after the change stored in the storage means, the character data before and after the change is compared, and when the character without change and the added character are detected, they are displayed superimposed and deleted or When a changed character is detected, the character before deletion / change is displayed superimposed and a deletion line is displayed on the character. In the case of change, the character after change is replaced with the character before change. The change instruction drawing creation system according to any one of claims 1 to 10, further comprising character change data display control means for displaying the images side by side.
ことを特徴とする請求項11に記載の変更指示図面作成システム。 The character change data display control means, when displaying the changed character string side by side with the character string before the change, selects the display area of the character string having the larger number of characters of both the character strings before and after the change, 12. The change according to claim 11, wherein the character spacing and the character width of each character string are adjusted in order to display the character strings before and after the change without overlapping in the display area. Instruction drawing creation system.
変更前後の対象図面データおよび処理結果を記憶する記憶手段と、
前記記憶手段に記憶された変更前後の対象図面および処理結果として得られる変更指示図面を表示する表示手段と、
変更時事図面作成用の処理を行う演算手段を用いて、
前記演算手段により、
対象図面の図面領域に対応するビットマップを用意して「0」クリアするビットマップ供給ステップと、
前記記憶手段に記憶された変更前後の対象図面データを比較して変更箇所の差分データを抽出することで、変更領域を判定する変更領域判定ステップと、
前記変更領域判定ステップにより得られた変更領域を、予め指定された指定幅により上下左右に拡大させる変更領域拡大ステップと、
前記変更領域拡大ステップにより拡大された変更領域に対応する前記ビットマップ上の箇所に「1」のビットを設定するビット設定ステップと、
前記ビット設定ステップにより「1」のビットが設定された前記ビットマップの全体に対して、そのX方向とY方向のそれぞれについて、「1」のビット間に挟まれる「0」のビットの数が予め指定された指定数以下である場合には、当該部分の「0」のビットを「1」のビットに変更するビット処理を行って近接する変更領域を結合するビット変更ステップと、
変更領域のコーナの凹凸およびその方向の判定用として予め用意された複数のコーナ判定パターン形状を用いて、前記ビット変更ステップにより近接する変更領域が結合された前記ビットマップの全体に対して、いずれかのコーナ判定パターン形状と一致する箇所を検出した場合には、当該箇所を変更領域コーナと判定するコーナ判定ステップと、
変更領域の境界指示用として予め用意された図形要素を用いて、前記コーナ判定ステップにより判定された全ての変更領域コーナに対して、変更領域コーナ毎に、隣接する他の変更領域コーナとの中点座標まで当該図形要素を連続的に配置することで変更領域図形を描画し、変更後の対象図面と重畳して変更指示図面とし、前記表示手段に表示させる図面表示制御ステップ
を行うことを特徴とする変更指示図面作成方法。 In a method of creating a change instruction drawing for recognizing and displaying this change location when a partial change is made to a target drawing created and stored electronically,
Storage means for storing target drawing data and processing results before and after the change;
Display means for displaying the target drawing before and after the change stored in the storage means and the change instruction drawing obtained as a processing result;
Using the calculation means that performs the process for creating the current affairs drawing,
By the calculation means,
A bitmap supply step of preparing a bitmap corresponding to the drawing area of the target drawing and clearing “0”;
A change area determination step for determining a change area by comparing the target drawing data before and after the change stored in the storage means and extracting difference data of the change place;
A change area expansion step for expanding the change area obtained in the change area determination step vertically and horizontally by a specified width specified in advance;
A bit setting step of setting a bit of “1” at a location on the bitmap corresponding to the changed area expanded by the changed area expanding step;
The number of “0” bits sandwiched between “1” bits in each of the X direction and the Y direction with respect to the entire bitmap in which the “1” bit is set in the bit setting step. A bit changing step of combining adjacent change areas by performing bit processing for changing the bit of “0” of the part to a bit of “1” when the number is less than a specified number specified in advance;
Using the plurality of corner determination pattern shapes prepared in advance for determining the unevenness of the corner of the change area and the direction thereof, the entire change bitmap combined with the change areas adjacent to each other by the bit change step A corner determination step that determines that the location is a change area corner when a location that matches the corner determination pattern shape is detected;
For all the change area corners determined in the corner determination step using graphic elements prepared in advance for indicating the boundary of the change area, for each change area corner, there is a change between the adjacent other change area corners. A drawing display control step is performed in which a change area figure is drawn by continuously arranging the figure elements up to the point coordinates, superimposed on the changed target drawing to be a change instruction drawing, and displayed on the display means. A change instruction drawing creation method.
前記コンピュータが、
変更前後の対象図面データおよび処理結果を記憶する記憶手段と、
前記記憶手段に記憶された変更前後の対象図面および処理結果として得られる変更指示図面を表示する表示手段を有する場合に、
前記コンピュータに、
対象図面の図面領域に対応するビットマップを用意して「0」クリアするビットマップ供給機能と、
前記記憶手段に記憶された変更前後の対象図面データを比較して変更箇所の差分データを抽出することで、変更領域を判定する変更領域判定機能と、
前記変更領域判定機能により得られた変更領域を、予め指定された指定幅により上下左右に拡大させる変更領域拡大機能と、
前記変更領域拡大機能により拡大された変更領域に対応する前記ビットマップ上の箇所に「1」のビットを設定するビット設定機能と、
前記ビット設定機能により「1」のビットが設定された前記ビットマップの全体に対して、そのX方向とY方向のそれぞれについて、「1」のビット間に挟まれる「0」のビットの数が予め指定された指定数以下である場合には、当該部分の「0」のビットを「1」のビットに変更するビット処理を行って近接する変更領域を結合するビット変更機能と、
変更領域のコーナの凹凸およびその方向の判定用として予め用意された複数のコーナ判定パターン形状を用いて、前記ビット変更機能により近接する変更領域が結合された前記ビットマップの全体に対して、いずれかのコーナ判定パターン形状と一致する箇所を検出した場合には、当該箇所を変更領域コーナと判定するコーナ判定機能と、
変更領域の境界指示用として予め用意された図形要素を用いて、前記コーナ判定機能により判定された全ての変更領域コーナに対して、変更領域コーナ毎に、隣接する他の変更領域コーナとの中点座標まで当該図形要素を連続的に配置することで変更領域図形を描画し、変更後の対象図面と重畳して変更指示図面とし、前記表示手段に表示させる図面表示制御機能
を実現させることを特徴とする変更指示図面作成プログラム。 In a program for creating a change instruction drawing for recognizing and displaying the changed portion when a partial change is made to a target drawing created and stored electronically using a computer,
The computer is
Storage means for storing target drawing data and processing results before and after the change;
When having a display means for displaying the target drawing before and after the change stored in the storage means and the change instruction drawing obtained as a processing result,
In the computer,
A bitmap supply function for preparing a bitmap corresponding to the drawing area of the target drawing and clearing “0”;
A change area determination function for determining a change area by comparing the target drawing data before and after the change stored in the storage means and extracting difference data of the change place;
A change area expansion function for expanding the change area obtained by the change area determination function vertically and horizontally by a designated width specified in advance;
A bit setting function for setting a bit of “1” at a location on the bitmap corresponding to the changed area expanded by the changed area expanding function;
The number of “0” bits sandwiched between “1” bits in each of the X direction and the Y direction with respect to the entire bitmap in which the “1” bit is set by the bit setting function. A bit change function for combining adjacent change areas by performing bit processing for changing a bit of “0” of the part to a bit of “1” when the number is less than or equal to a designated number specified in advance;
Using the plurality of corner determination pattern shapes prepared in advance for determining the unevenness of the corner of the change area and the direction thereof, the entire bit map in which the change areas adjacent by the bit change function are combined is When a location that matches the corner determination pattern shape is detected, a corner determination function that determines the location as a change area corner;
For all the change area corners determined by the corner determination function using the graphic elements prepared in advance for indicating the boundary of the change area, for each change area corner, the middle of other change area corners adjacent to each other Realizing a drawing display control function that draws a change area figure by continuously arranging the graphic elements up to the point coordinates and superimposes it with the target drawing after the change, and displays it on the display means Characteristic change instruction drawing creation program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006056872A JP4714043B2 (en) | 2006-03-02 | 2006-03-02 | Change instruction drawing creation system and method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006056872A JP4714043B2 (en) | 2006-03-02 | 2006-03-02 | Change instruction drawing creation system and method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007233866A JP2007233866A (en) | 2007-09-13 |
JP4714043B2 true JP4714043B2 (en) | 2011-06-29 |
Family
ID=38554376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006056872A Active JP4714043B2 (en) | 2006-03-02 | 2006-03-02 | Change instruction drawing creation system and method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4714043B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5691547B2 (en) * | 2010-08-20 | 2015-04-01 | 富士ゼロックス株式会社 | Image change location extraction device, image change location display device, and program |
JP6350204B2 (en) | 2014-10-21 | 2018-07-04 | 株式会社ニューフレアテクノロジー | Drawing data verification method, program, and multi-charged particle beam drawing apparatus |
JP7095379B2 (en) * | 2018-04-23 | 2022-07-05 | 富士フイルムビジネスイノベーション株式会社 | Information processing equipment and programs |
JP7120937B2 (en) * | 2019-01-24 | 2022-08-17 | 株式会社日立製作所 | Drawing difference recognition device and method |
JP7285721B2 (en) * | 2019-07-25 | 2023-06-02 | 三菱電機株式会社 | Display data generation device, display device, and display data generation method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001034256A (en) * | 1999-07-23 | 2001-02-09 | Square Co Ltd | Font generating device, font generating method, computer readable recording medium and game device |
JP2001087289A (en) * | 1999-09-24 | 2001-04-03 | Ngk Spark Plug Co Ltd | Filling artificial bone designing system and manufacture of filling artificial bone using the system |
JP2001202402A (en) * | 2000-01-19 | 2001-07-27 | Hitachi Ltd | Drawing generating device and method for displaying drawing alteration place |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5068803A (en) * | 1989-09-15 | 1991-11-26 | Sun Microsystems, Inc. | Method and apparatus for filling contours in digital typefaces |
JPH10177589A (en) * | 1996-12-18 | 1998-06-30 | Mitsubishi Electric Corp | Pattern comparison inspection device, its method, and medium recording pattern comparing and verifying program |
JP2996933B2 (en) * | 1997-05-13 | 2000-01-11 | 三菱電機株式会社 | Drawing display device |
-
2006
- 2006-03-02 JP JP2006056872A patent/JP4714043B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001034256A (en) * | 1999-07-23 | 2001-02-09 | Square Co Ltd | Font generating device, font generating method, computer readable recording medium and game device |
JP2001087289A (en) * | 1999-09-24 | 2001-04-03 | Ngk Spark Plug Co Ltd | Filling artificial bone designing system and manufacture of filling artificial bone using the system |
JP2001202402A (en) * | 2000-01-19 | 2001-07-27 | Hitachi Ltd | Drawing generating device and method for displaying drawing alteration place |
Also Published As
Publication number | Publication date |
---|---|
JP2007233866A (en) | 2007-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2619962B2 (en) | Figure editing method and apparatus | |
JP6250901B2 (en) | A robot system in which a CNC and a robot controller are connected via a communication network | |
JP4714043B2 (en) | Change instruction drawing creation system and method, and program | |
JP4142614B2 (en) | Trapping method, trapping program, trapping apparatus, and printing system | |
CN107908341B (en) | Image display method, system, computer-readable storage medium, and computer device | |
JP5299125B2 (en) | Document processing apparatus and program | |
JP6028703B2 (en) | Graph generation apparatus, graph generation method, and graph generation program | |
JP2001202402A (en) | Drawing generating device and method for displaying drawing alteration place | |
JP5826966B2 (en) | Image processing apparatus, image processing method, information storage medium, and program | |
JP5355485B2 (en) | Train diagram display processing method, train diagram display processing system, and train diagram display processing program | |
JP2019121061A (en) | Image enlargement device | |
JP3389388B2 (en) | Drawing editing device | |
JPH11114260A (en) | Embroidery data processing apparatus and recording medium | |
JPH10312407A (en) | Drawing display device | |
JP2002211099A (en) | Method and apparatus for generating trapping region as well as trapping region generating program, and trapping region generating program storage medium | |
US6859911B1 (en) | Graphically representing data values | |
JP6188365B2 (en) | Information processing apparatus, control method for information processing apparatus, and computer program | |
JP3234079B2 (en) | Bitmap image data reduction method | |
JP2007249320A (en) | Map data creating device, map data creation method, map data check program | |
JP3455301B2 (en) | Apparatus and method for correcting shape in CAD system | |
JP5614953B2 (en) | Image processing apparatus and image processing method | |
JP5418310B2 (en) | Graphic drawing apparatus and method | |
JP5764992B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JPH1115994A (en) | Method for creating curved surface | |
JP2023104477A (en) | Device, method, and program for displaying changed part in drawing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080929 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110222 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110301 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110325 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4714043 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140401 Year of fee payment: 3 |