JP2010250518A - Information processor and method, program, and recording medium - Google Patents

Information processor and method, program, and recording medium Download PDF

Info

Publication number
JP2010250518A
JP2010250518A JP2009098587A JP2009098587A JP2010250518A JP 2010250518 A JP2010250518 A JP 2010250518A JP 2009098587 A JP2009098587 A JP 2009098587A JP 2009098587 A JP2009098587 A JP 2009098587A JP 2010250518 A JP2010250518 A JP 2010250518A
Authority
JP
Japan
Prior art keywords
mesh
meshes
processed
information processing
drawing elements
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.)
Granted
Application number
JP2009098587A
Other languages
Japanese (ja)
Other versions
JP5423116B2 (en
Inventor
Junji Kitahara
順次 北原
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP2009098587A priority Critical patent/JP5423116B2/en
Publication of JP2010250518A publication Critical patent/JP2010250518A/en
Application granted granted Critical
Publication of JP5423116B2 publication Critical patent/JP5423116B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To more easily manage drawing information than a conventional manner, and to sharply increase a processing speed. <P>SOLUTION: Disclosed is a drawing information management device and method for dividing a drawing configured of a plurality of drawing elements into a plurality of meshes by using a computer, and for making the respective drawing elements belong to all the meshes overlapped on the respective drawing elements, and for managing them in a storage device, wherein a drawing data processor 10 divides the mesh including more than the prescribed number of drawing elements among the plurality of meshes obtained by dividing the drawing according to a predetermined pattern into a plurality of meshes again according to the pattern, and performs the minimum mesh division so that the number of the drawing elements included in all the meshes can be made equal to or less than the prescribed number. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、情報処理装置及び方法、プログラム並びに記録媒体に関し、特に、コンピュータを利用してCAD(Computer Aided Design)等のアプリケーションを用いて作図するときの図面要素の管理を記憶装置において行う情報処理装置及び方法、コンピュータにより実行可能なプログラム並びにそのプログラムを記録したコンピュータにより読取可能な記録媒体に関する。   The present invention relates to an information processing apparatus and method, a program, and a recording medium, and more particularly, information processing for managing drawing elements in a storage device when drawing using an application such as CAD (Computer Aided Design) using a computer. The present invention relates to an apparatus and method, a computer-executable program, and a computer-readable recording medium on which the program is recorded.

図面内に含まれる多量の要素データの登録、検索、登録処理を効率良く行うために、例えば、特許文献1において、以下の従来例に係る図面情報管理方法が開示されている。すなわち、図面内の要素データを、図面を分割して作成したメッシュ単位に管理し、ここで、メッシュは、管理対象となる要素データ数が均一となるように動的に図面を分割して作成し、メッシュの分割は、メッシュの分割を再帰的に繰り返すことによって行い、図面内のメッシュの位置は、分割前のメッシュからの相対位置により指定する。   In order to efficiently register, search, and register a large amount of element data contained in a drawing, for example, Patent Document 1 discloses a drawing information management method according to the following conventional example. In other words, element data in a drawing is managed in units of mesh created by dividing the drawing. Here, the mesh is created by dynamically dividing the drawing so that the number of element data to be managed is uniform. The mesh division is performed by recursively repeating the mesh division, and the position of the mesh in the drawing is designated by the relative position from the mesh before the division.

当該従来例に係る図面情報管理方法は、具体的には、複数の図面要素により構成される図面を複数のメッシュに分割し各図面要素をいずれか1つのメッシュに帰属させて管理する図面情報管理方法であって、予め定められたパターンに従って図面を分割した複数のメッシュのうち所定数を超える図面要素を含むメッシュを再び上記パターンに従って複数のメッシュに分割することによって、すべてのメッシュに含まれる図面要素の数が既定の数以下となる最低限のメッシュ分割を行うことを特徴としている。   Specifically, the drawing information management method according to the conventional example is a drawing information management in which a drawing composed of a plurality of drawing elements is divided into a plurality of meshes, and each drawing element is assigned to any one mesh for management. A method comprising: a plurality of meshes obtained by dividing a drawing according to a predetermined pattern; and a mesh including a plurality of drawing elements exceeding a predetermined number is again divided into a plurality of meshes according to the pattern to thereby include drawings included in all meshes. It is characterized by performing a minimum mesh division in which the number of elements is equal to or less than a predetermined number.

また、上記図面情報管理方法において、図面要素の増減によって、すべてのメッシュに含まれる図面要素の数が既定の数以下となる上記最低限のメッシュ分割の条件が満たされなくなったとき、上記条件が満たされるようにメッシュの分割あるいはメッシュの統合を行うことを特徴としている。   In the drawing information management method, when the minimum number of mesh division conditions in which the number of drawing elements included in all meshes is equal to or less than a predetermined number due to increase / decrease in drawing elements are not satisfied, the above condition is satisfied. It is characterized in that mesh division or mesh integration is performed so as to satisfy.

さらに、上記図面情報管理方法において、複数の図面要素により構成される図面を複数のメッシュに分割し各図面要素をいずれか1つのメッシュに帰属させて管理し、図面を予め定められたパターンに従って複数のメッシュに分割する第1ステップと、分割されたメッシュのうち所定数を超える図面要素を含むメッシュを再び上記パターンに従って複数のメッシュに分割する第2ステップとを含み、上記第2ステップをすべてのメッシュに含まれる図面要素の数が既定の数以下となるまで反復することを特徴としている。   Further, in the above drawing information management method, a drawing composed of a plurality of drawing elements is divided into a plurality of meshes, each drawing element is assigned to any one mesh and managed, and the drawings are divided according to a predetermined pattern. A first step of dividing the mesh into a plurality of meshes, and a second step of dividing a mesh including drawing elements exceeding a predetermined number among the divided meshes into a plurality of meshes again according to the pattern, wherein the second step It is characterized by repeating until the number of drawing elements included in the mesh is equal to or less than a predetermined number.

またさらに、上記図面情報管理方法において、メッシュを分割したとき複数のメッシュにまたがることになる図面要素は、その帰属先のメッシュを分割前のメッシュとすることを特徴としている。   Furthermore, in the above drawing information management method, a drawing element that spans a plurality of meshes when the mesh is divided is characterized in that the mesh to which it belongs is the mesh before division.

特開2001−005953号公報。JP 2001-005953 A.

しかしながら、上述の従来例に係る図面情報管理方法においては、以下の問題点があった。
(1)図面要素が複数のメッシュにまたがらないように管理するので、同じ位置で複数のメッシュが存在する場合が生じ、図面情報の管理が非常に複雑である。
(2)3次元の図面等で、例えば隠線処理又は隠面処理を行ったり、干渉をチェックしたりする場合に、大きいメッシュ内に小さいメッシュが沢山存在するような場合、大きいメッシュ内に、例えば、川などのように図面要素を形成する図形、文字、記号などの数が多いものが存在した場合、その1つの図面要素に対してだけでもすべての小さなメッシュ内の図面要素を対象にしなければならず、処理に時間がかかってしまう。
(3)さらに、大きいメッシュに川などのように細長い図面要素が存在する場合、大きいメッシュ内の小さなメッシュには、まったく重ならないメッシュも多く存在する場合も少なくはないと考えられるが、それらに対しても無条件に処理を行わなければならず、時間がかかってしまう。
(4)メッシュ分割の境界では、図形要素が1つ増減するたびに分割と統合を繰り返すことになり、処理が複雑で処理量が多くなり、時間がかかってしまう。
(5)また、大きな図面要素が多くある場合や3次元図面で奥行(Z軸)方向に重なりが多い場合に、メッシュ内の図面要素数が既定の数以下にならない場合が生じ、分割が無限に続いてしまう場合が発生する。
However, the drawing information management method according to the conventional example described above has the following problems.
(1) Since management is performed so that drawing elements do not extend over a plurality of meshes, there are cases where a plurality of meshes exist at the same position, and management of drawing information is very complicated.
(2) In a three-dimensional drawing or the like, for example, when performing hidden line processing or hidden surface processing or checking interference, if there are many small meshes in a large mesh, For example, if there is a large number of figures, characters, symbols, etc. that form a drawing element, such as a river, all drawing elements in a small mesh must be targeted only for that one drawing element. It takes a long time to process.
(3) In addition, when there are elongated drawing elements such as rivers in a large mesh, it is considered that there are many meshes that do not overlap at all in the small mesh in the large mesh. However, processing must be performed unconditionally, which takes time.
(4) At the boundary of mesh division, division and integration are repeated every time the number of graphic elements increases or decreases, which complicates processing, increases the amount of processing, and takes time.
(5) In addition, when there are many large drawing elements or when there are many overlaps in the depth (Z-axis) direction in a three-dimensional drawing, the number of drawing elements in the mesh may not be less than the predetermined number, and the division is infinite May follow.

本発明の目的は以上の問題点を解決し、従来例に比較して図面情報の管理が簡単であって、しかも処理速度を大幅に向上することができる情報処理装置及び方法、プログラム並びに記録媒体を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems, to manage drawing information more easily than in the prior art, and to further improve the processing speed, information processing apparatus and method, program, and recording medium Is to provide.

第1の発明に係る情報処理装置は、コンピュータを利用して複数の図面要素により構成される図面を複数のメッシュに分割し、各図面要素を各図面要素と重なったすべてのメッシュに帰属させて記憶装置において管理する図面情報管理装置であって、
予め定められたパターンに従って図面を分割した複数のメッシュのうち、所定数を超える図面要素を含むメッシュを再び上記パターンに従って複数のメッシュに分割することによって、すべてのメッシュに含まれる図面要素の数が上記所定数以下となるように最低限のメッシュ分割を行う制御手段を備えたことを特徴とする。
The information processing apparatus according to the first invention divides a drawing composed of a plurality of drawing elements into a plurality of meshes using a computer, and assigns each drawing element to all the meshes overlapping with each drawing element. A drawing information management device managed in a storage device,
By dividing a mesh including a predetermined number of drawing elements into a plurality of meshes according to the above pattern among a plurality of meshes obtained by dividing the drawing according to a predetermined pattern, the number of drawing elements included in all meshes can be reduced. Control means for performing minimum mesh division so as to be equal to or less than the predetermined number is provided.

上記情報処理装置において、上記制御手段は、上記最低限のメッシュ分割を行うステップを、すべてのメッシュに含まれる図面要素の数が上記所定数以下となるように反復することを特徴とする。   In the information processing apparatus, the control unit repeats the step of performing the minimum mesh division so that the number of drawing elements included in all meshes is equal to or less than the predetermined number.

また、上記情報処理装置において、上記制御手段は、図形要素の減少時にはメッシュの統合を行わず、図面要素の増加時のみに、すべてのメッシュに含まれる図面要素の数が既定の数以下となる上記最低限のメッシュ分割の条件が満たされなくなったとき、もしくは、予め決められた数又は予め定められたパターンに従って算出された数より小さい場合、上記条件が満たされるようにメッシュの分割を行うことを特徴とする。   In the information processing apparatus, the control means does not perform mesh integration when the graphic elements are reduced, and the number of drawing elements included in all the meshes is equal to or less than a predetermined number only when the drawing elements are increased. When the minimum condition for mesh division is no longer satisfied, or when the number is smaller than a predetermined number or a number calculated according to a predetermined pattern, mesh division is performed so that the above condition is satisfied. It is characterized by.

さらに、上記情報処理装置において、上記制御手段は、図面の読み込み時、もしくは移動処理、複写処理、又は削除処理において、所定数を越える図面要素の編集が行われた場合、メッシュの再分割を実行することを特徴とする。   Further, in the information processing apparatus, the control means executes re-division of the mesh when a drawing is read, or when a drawing element exceeding a predetermined number is edited in a moving process, a copying process, or a deleting process. It is characterized by doing.

またさらに、上記情報処理装置において、上記制御手段は、メッシュ分割時において、メッシュの大きさが所定の大きさ、もしくは予め定められたパターンに従って算出された大きさより小さい場合、もしくは予め決められた終了条件を満たした場合、メッシュ分割を終了することを特徴とする。   Still further, in the information processing apparatus, when the mesh is divided, when the mesh size is smaller than a predetermined size or a size calculated according to a predetermined pattern, or a predetermined end When the condition is satisfied, the mesh division is terminated.

またさらに、上記情報処理装置において、上記制御手段は、図面要素同士の関連をチェック又は処理する場合、処理対象のメッシュと少なくとも一部分のみ重なりがある図面要素に関しては、当該処理対象のメッシュ内での全チェック又は処理が終了したら図面要素毎に処理されたことを上記記憶装置に記憶し、次の処理対象のメッシュの全チェック又は処理時に対象の図面要素同士がチェック又は処理されたか否かを上記記憶装置に記憶した情報に基づいて判定し、処理済みであれば当該処理を省略することを特徴とする。   Furthermore, in the information processing apparatus, when the control means checks or processes the relationship between the drawing elements, the drawing element that overlaps at least partly with the mesh to be processed is included in the mesh to be processed. When all checks or processes are completed, the processing for each drawing element is stored in the storage device, and whether or not the target drawing elements have been checked or processed at the time of the entire check or processing of the next mesh to be processed is described above. The determination is made based on the information stored in the storage device, and if the processing is completed, the processing is omitted.

第2の発明に係る情報処理方法は、コンピュータを利用して複数の図面要素により構成される図面を複数のメッシュに分割し、各図面要素を各図面要素と重なったすべてのメッシュに帰属させて記憶装置において管理する図面情報管理方法であって、
予め定められたパターンに従って図面を分割した複数のメッシュのうち、所定数を超える図面要素を含むメッシュを再び上記パターンに従って複数のメッシュに分割することによって、すべてのメッシュに含まれる図面要素の数が上記所定数以下となるように最低限のメッシュ分割を行うステップを含むことを特徴とする。
An information processing method according to a second invention uses a computer to divide a drawing composed of a plurality of drawing elements into a plurality of meshes, and assign each drawing element to all the meshes overlapping each drawing element. A drawing information management method for managing in a storage device,
By dividing a mesh including a predetermined number of drawing elements into a plurality of meshes according to the above pattern among a plurality of meshes obtained by dividing the drawing according to a predetermined pattern, the number of drawing elements included in all meshes can be reduced. The method includes a step of performing minimum mesh division so as to be equal to or less than the predetermined number.

上記情報処理方法において、上記最低限のメッシュ分割を行うステップを、すべてのメッシュに含まれる図面要素の数が上記所定数以下となるように反復することを特徴とする。   In the information processing method, the step of performing the minimum mesh division is repeated so that the number of drawing elements included in all meshes is equal to or less than the predetermined number.

また、上記情報処理方法において、図形要素の減少時にはメッシュの統合を行わず、図面要素の増加時のみに、すべてのメッシュに含まれる図面要素の数が既定の数以下となる上記最低限のメッシュ分割の条件が満たされなくなったとき、もしくは、予め決められた数又は予め定められたパターンに従って算出された数より小さい場合、上記条件が満たされるようにメッシュの分割を行うステップをさらに含むことを特徴とする。   In the above information processing method, the minimum number of meshes in which the number of drawing elements included in all the meshes is less than or equal to the predetermined number only when the number of drawing elements is increased, without integrating the meshes when the number of graphic elements is reduced. The method further includes a step of dividing the mesh so that the condition is satisfied when the condition for the division is not satisfied, or when the condition is smaller than a predetermined number or a number calculated according to a predetermined pattern. Features.

さらに、上記情報処理方法において、図面の読み込み時、もしくは移動処理、複写処理、又は削除処理において、所定数を越える図面要素の編集が行われた場合、メッシュの再分割を実行するステップをさらに含むことを特徴とする。   Furthermore, the information processing method further includes a step of re-dividing the mesh when a drawing is read or when more than a predetermined number of drawing elements are edited in the moving process, copying process, or deleting process. It is characterized by that.

またさらに、上記情報処理方法において、メッシュ分割時において、メッシュの大きさが所定の大きさ、もしくは予め定められたパターンに従って算出された大きさより小さい場合、もしくは予め決められた終了条件を満たした場合、メッシュ分割を終了するステップをさらに含むことを特徴とする。   Furthermore, in the above information processing method, when the mesh size is smaller than a predetermined size or a size calculated according to a predetermined pattern at the time of mesh division, or a predetermined end condition is satisfied The method further includes the step of ending the mesh division.

またさらに、上記情報処理方法において、図面要素同士の関連をチェック又は処理する場合、処理対象のメッシュと少なくとも一部分のみ重なりがある図面要素に関しては、当該処理対象のメッシュ内での全チェック又は処理が終了したら図面要素毎に処理されたことを上記記憶装置に記憶し、次の処理対象のメッシュの全チェック又は処理時に対象の図面要素同士がチェック又は処理されたか否かを上記記憶装置に記憶した情報に基づいて判定し、処理済みであれば当該処理を省略するステップをさらに含むことを特徴とする。   Furthermore, in the above information processing method, when checking or processing the relationship between drawing elements, for a drawing element that overlaps at least partly with the mesh to be processed, all checks or processes in the mesh to be processed are performed. When finished, the processing for each drawing element is stored in the storage device, and whether or not the target drawing elements have been checked or processed at the time of all checks or processing of the next mesh to be processed is stored in the storage device. The method further includes a step of determining based on the information and omitting the processing if it has been processed.

第3の発明に係るコンピュータにより実行可能なプログラムは、上記情報処理方法に含まれるステップを含むことを特徴とする。   A program executable by a computer according to the third invention includes the steps included in the information processing method.

第4の発明に係るコンピュータにより読取可能な記録媒体は、上記プログラムを格納したことを特徴とする。   A computer-readable recording medium according to a fourth invention stores the above program.

従って、本発明によれば、従来例に比較して図面情報の管理が簡単であって、しかも処理速度を大幅に向上することができる情報処理装置及び方法等を提供できる。具体的には、本発明は以下の特有の効果を奏する。   Therefore, according to the present invention, it is possible to provide an information processing apparatus, method, and the like that can easily manage drawing information as compared with the conventional example and can greatly improve the processing speed. Specifically, the present invention has the following specific effects.

(1)同じ位置では、1つのメッシュのみ存在するので他のメッシュとの重なりを意識する必要がなく、図面情報の管理が簡単である。
(2)3次元図面等に対する多層メッシュの処理時に、例えば隠線処理又は隠面処理を行ったり、干渉をチェックしたりする場合に、各メッシュに帰属している図面要素のみを処理対象とできるので、他のメッシュとの処理を行う必要がなく、非常に短時間で処理を行うことができる。例えば、隠線処理又は隠面処理、干渉チェックを行う場合、各々のメッシュ内の部品間で総当りの領域判定を行えばよいので、メッシュの分割数をDとすると最大で従来のD倍の処理が実現できる。分割数Dが10の場合、最大10倍(すなわち、処理時間で1/10になる。)、分割数Dが100の場合、最大100倍(処理時間:1/100)の効果が得られる。同様に選択操作を行う場合、選択範囲と重なりのあるメッシュ内の図面要素のみを対象とすればいいので、最大では前述のように、内容等の処理速度向上の効果が得られる。
(3)毎回の図面要素減少を検知するためのオーバーヘッドが大幅に減少する。
(4)特殊なケースで分割が無限に続いてしまうようなことがなくなり、適切な分割数にて速やかに分割が終了する。
(5)複数のメッシュが処理対象となった場合、隠線・隠面、干渉チェック等は図面要素同士の関連をチェックし処理するので、メッシュ内に完全には包含されていない図面要素同士のチェックと処理が1回のみとなり、処理の無駄がなくなる。
(1) Since only one mesh exists at the same position, there is no need to be aware of overlap with other meshes, and the management of drawing information is simple.
(2) When processing a multi-layer mesh for a three-dimensional drawing or the like, for example, when performing hidden line processing or hidden surface processing, or checking for interference, only drawing elements belonging to each mesh can be processed. Therefore, it is not necessary to perform processing with other meshes, and processing can be performed in a very short time. For example, when performing hidden line processing, hidden surface processing, or interference check, it is only necessary to determine the brute force area between parts in each mesh. Processing can be realized. When the division number D is 10, an effect of up to 10 times (that is, 1/10 in processing time) is obtained, and when the division number D is 100, an effect of up to 100 times (processing time: 1/100) is obtained. Similarly, when performing the selection operation, it is only necessary to target drawing elements in the mesh that overlap the selection range. Therefore, as described above, the effect of improving the processing speed of the contents and the like can be obtained at the maximum.
(3) The overhead for detecting the reduction of each drawing element is greatly reduced.
(4) The division does not continue indefinitely in a special case, and the division ends quickly with an appropriate number of divisions.
(5) When multiple meshes are processed, hidden lines / hidden surfaces, interference check, etc. check and process the relationship between drawing elements. Checking and processing are performed only once, and processing is not wasted.

本発明の一実施形態に係る図面データ処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the drawing data processing apparatus which concerns on one Embodiment of this invention. 図1のハードディスクメモリ23の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a hard disk memory 23 in FIG. 1. 図20の実施例1における図2の図面要素テーブル23bの一例を示す図である。It is a figure which shows an example of drawing element table 23b of FIG. 2 in Example 1 of FIG. 図20の実施例1における図2のメッシュテーブル23cの一例を示す図である。It is a figure which shows an example of the mesh table 23c of FIG. 2 in Example 1 of FIG. 図20の実施例1における図2の線分データテーブル23dの一例を示す図である。It is a figure which shows an example of the line segment data table 23d of FIG. 2 in Example 1 of FIG. 図20の実施例1における図2の円データテーブル23eの一例を示す図である。It is a figure which shows an example of the circle data table 23e of FIG. 2 in Example 1 of FIG. 図20の実施例1における図2の楕円データテーブル23fの一例を示す図である。It is a figure which shows an example of the ellipse data table 23f of FIG. 2 in Example 1 of FIG. 図20の実施例1における図2の処理済み図面要素テーブル23gの一例を示す図である。It is a figure which shows an example of the processed drawing element table 23g of FIG. 2 in Example 1 of FIG. 図21の実施例2における図2のメッシュテーブル23c(帰属要素)の一例を示す図である。It is a figure which shows an example of the mesh table 23c (attribute element) of FIG. 2 in Example 2 of FIG. 図22の実施例3における図2のメッシュテーブル23c(帰属要素)の一例を示す図である。It is a figure which shows an example of the mesh table 23c (attribute) of FIG. 2 in Example 3 of FIG. (a)は図22の実施例3における初期化状態の処理済み図面要素テーブル23gの一例を示す図であり、(b)は当該実施例3における領域R1を処理したときの処理済み図面要素テーブル23gの一例を示す図であり、(c)は当該実施例3における領域R2を処理したときの処理済み図面要素テーブル23gの一例を示す図であり、(d)は当該実施例3における領域R3を処理したときの処理済み図面要素テーブル23gの一例を示す図である。(A) is a figure which shows an example of the processed drawing element table 23g of the initialization state in Example 3 of FIG. 22, (b) is the processed drawing element table when the area | region R1 in the said Example 3 is processed. It is a figure which shows an example of 23g, (c) is a figure which shows an example of the processed drawing element table 23g when the area | region R2 in the said Example 3 is processed, (d) is area | region R3 in the said Example 3. It is a figure which shows an example of the processed drawing element table 23g when processing is carried out. 本実施形態に係る「隠線処理」(ステップS1)を示すフローチャートである。It is a flowchart which shows the "hidden line process" (step S1) which concerns on this embodiment. 本実施形態に係る「メッシュ分割及び判定処理」(ステップS2)を示すフローチャートである。It is a flowchart which shows the "mesh division and determination process" (step S2) which concerns on this embodiment. 本実施形態に係る「メッシュ単位で隠線処理」(ステップS3)を示すフローチャートである。It is a flowchart which shows the "hidden line process per mesh" (step S3) which concerns on this embodiment. 本実施形態に係る「図面要素の選択処理」(ステップS4)を示すフローチャートである。It is a flowchart which shows the "drawing element selection process" (step S4) based on this embodiment. 本実施形態に係る「図面読み込み処理」(ステップS5)を示すフローチャートである。It is a flowchart which shows the "drawing reading process" (step S5) which concerns on this embodiment. 本実施形態に係る「複写処理」(ステップS6)を示すフローチャートである。It is a flowchart which shows the "copy process" (step S6) based on this embodiment. 本実施形態に係る「削除処理」(ステップS7)を示すフローチャートである。It is a flowchart which shows the "deletion process" (step S7) which concerns on this embodiment. 本実施形態に係る「図面要素の増減判定処理」(ステップS8)を示すフローチャートである。It is a flowchart which shows the "drawing element increase / decrease determination process" (step S8) based on this embodiment. 本実施形態に係る実施例1の4分割領域D1〜D4における部品A〜Fの配置を示す図面の平面図である。It is a top view of drawing which shows arrangement | positioning of components AF in 4 division area D1-D4 of Example 1 which concerns on this embodiment. 本実施形態に係る実施例2の領域R1〜R4における部品A〜Gの配置を示す図面の平面図である。It is a top view of drawing which shows arrangement | positioning of components AG in area | region R1-R4 of Example 2 which concerns on this embodiment. 本実施形態に係る実施例3の領域R1〜R4における部品A〜Gの配置を示す図面の平面図である。It is a top view of drawing which shows arrangement | positioning of components AG in area | region R1-R4 of Example 3 which concerns on this embodiment. 本実施形態の実施例4に係る、部品数に応じて分割数を決定する方法を示し、部品数3000個の場合の部品の平面図である。It is a top view of the component in case the number of parts is 3000 which shows the method to determine the division | segmentation number according to the number of parts based on Example 4 of this embodiment. 本実施形態の実施例5に係る、部品数に応じて分割数を決定する方法を示し、部品数7000個の場合の部品の平面図である。It is a top view of the component in case the number of parts is 7000 which shows the method to determine the division | segmentation number according to the number of components based on Example 5 of this embodiment.

10…図面データ処理装置、
20…CPU、
21…ROM、
22…RAM、
23…ハードディスクメモリ、
23a…図面データメモリ、
23b…図面要素テーブル、
23c…メッシュテーブル、
23d…線分データテーブル、
23e…円データテーブル、
23f…楕円データテーブル、
23g…処理済み図面要素テーブル、
24…プログラムメモリ、
30…バス、
31…キーボードインターフェース、
32…マウスインターフェース、
33…ディスプレイインターフェース、
34…プリンタインターフェース、
35a,35b…ドライブ装置インターフェース、
41…キーボード、
42…マウス、
43…CRTディスプレイ、
44…プリンタ、
45…CD−ROMドライブ装置、
45a…CD−ROM、
70…設備機器情報データベースサーバ装置、
80…インターネット、
D1〜D4…4分割領域、
R1〜R4…領域、
RR1,RR2…全部品の存在領域、
SR…選択矩形領域。
10. Drawing data processing device,
20 ... CPU,
21 ... ROM,
22 ... RAM,
23. Hard disk memory,
23a: Drawing data memory,
23b ... Drawing element table,
23c ... Mesh table,
23d: line segment data table,
23e ... yen data table,
23f ... Ellipse data table,
23g ... processed drawing element table,
24 ... Program memory,
30 ... Bus
31 ... Keyboard interface,
32 ... Mouse interface,
33 ... Display interface,
34 ... Printer interface,
35a, 35b ... drive device interface,
41 ... Keyboard,
42 ... mouse,
43 ... CRT display
44 ... Printer,
45 ... CD-ROM drive device,
45a ... CD-ROM,
70 ... Equipment information database server device,
80 ... Internet,
D1 to D4 ... 4 divided areas,
R1 to R4 region,
RR1, RR2 ... Existing areas of all parts,
SR: Selected rectangular area.

以下、本発明に係る実施形態について図面を参照して説明する。なお、以下の各実施形態において、同様の構成要素については同一の符号を付している。   Hereinafter, embodiments according to the present invention will be described with reference to the drawings. In addition, in each following embodiment, the same code | symbol is attached | subjected about the same component.

図1は、本発明の一実施形態に係る図面データ処理装置10の構成を示すブロック図である。図1の図面データ処理装置10は例えば情報処理装置であるディジタル計算機にてなり、図12〜図19の処理プログラムを実行することにより、コンピュータを利用して複数の図面要素により構成される図面を複数のメッシュに分割し、各図面要素を各図面要素と重なったすべてのメッシュに帰属させて記憶装置において管理する図面情報管理装置及び方法において、図面データ処理装置10は、予め定められたパターンに従って図面を分割した複数のメッシュのうち、所定数を超える図面要素を含むメッシュを再び上記パターンに従って複数のメッシュに分割することによって、すべてのメッシュに含まれる図面要素の数が上記所定数以下となるように最低限のメッシュ分割を行うことを特徴としている。   FIG. 1 is a block diagram showing a configuration of a drawing data processing apparatus 10 according to an embodiment of the present invention. The drawing data processing apparatus 10 in FIG. 1 is a digital computer which is an information processing apparatus, for example, and by executing the processing programs in FIGS. 12 to 19, a drawing composed of a plurality of drawing elements using a computer. In a drawing information management apparatus and method for dividing a plurality of meshes and assigning each drawing element to all meshes overlapping with each drawing element and managing them in the storage device, the drawing data processing apparatus 10 follows a predetermined pattern. Of the plurality of meshes obtained by dividing the drawing, a mesh including a predetermined number of drawing elements is again divided into a plurality of meshes according to the pattern, so that the number of drawing elements included in all the meshes is equal to or less than the predetermined number. As described above, the minimum mesh division is performed.

以下、本実施形態に係る図面データ処理装置10の構成及び処理について詳述する。   Hereinafter, the configuration and processing of the drawing data processing apparatus 10 according to the present embodiment will be described in detail.

図1において、図面データ処理装置10の通信インターフェース51は、インターネット80を介して、設備機器情報を予め格納して提供する設備機器情報データベースサーバ装置70に接続され、図面データ処理装置10は、設備機器情報データベースサーバ装置70にアクセスすることにより、所望する設備機器情報を取得してハードディスクメモリ23に格納する。また、図面データ処理装置10のドライブ装置インターフェース35bを介して、例えばハードディスクメモリであり設備機器情報を予め格納して提供する外部記憶装置60に接続され、図面データ処理装置10は、外部記憶装置60にアクセスすることにより、所望する設備機器情報を取得してハードディスクメモリ23に格納してもよい。   In FIG. 1, the communication interface 51 of the drawing data processing apparatus 10 is connected via the Internet 80 to an equipment information database server 70 that stores and provides equipment information in advance, and the drawing data processing apparatus 10 By accessing the equipment information database server device 70, desired equipment information is acquired and stored in the hard disk memory 23. Further, the drawing data processing apparatus 10 is connected to an external storage device 60 that is, for example, a hard disk memory and stores and provides equipment information in advance, via the drive device interface 35 b of the drawing data processing apparatus 10. The desired equipment information may be acquired and stored in the hard disk memory 23 by accessing.

図1において、図面データ処理装置10は、
(a)当該図面データ処理装置10の動作及び処理を演算及び制御するコンピュータのCPU(中央演算処理装置)20と、
(b)オペレーションプログラムなどの基本プログラム及びそれを実行するために必要なデータを格納するROM(読み出し専用メモリ)21と、
(c)CPU20のワーキングメモリとして動作し、当該図面データ処理で必要なパラメータやデータ(一時リストテーブル22aを含む。)を一時的に格納するRAM(ランダムアクセスメモリ)22と、
(d)当該図面データ処理において用いる各種データ(図2参照。)を格納するためのハードディスクメモリ23と、
(e)例えばハードディスクメモリで構成され、CD−ROMドライブ装置45を用いて読み込んだ、図12〜図19の処理プログラム(これらのプログラムはコンピュータにより実行可能なプログラムである。)を格納するプログラムメモリ24と、
(f)設備機器情報データベースサーバ装置70とインターネット80を介して接続され、設備機器情報データベースサーバ装置70とデータを送受信する通信インターフェース51と、
(g)所定のデータや指示コマンドを入力するためのキーボード41に接続され、キーボード41から入力されたデータや指示コマンドを受信して所定の信号変換などのインターフェース処理を行ってCPU20に伝送するキーボードインターフェース31と、
(h)CRTディスプレイ43上で指示コマンドを入力するためのマウス42に接続され、マウス42から入力されたデータや指示コマンドを受信して所定の信号変換などのインターフェース処理を行ってCPU20に伝送するマウスインターフェース32と、
(i)CPU20によって処理されたデータや設定指示画面、生成された機器表データや系統図データなどを表示するCRTディスプレイ43に接続され、表示すべき画像データをCRTディスプレイ43用の画像信号に変換してCRTディスプレイ43に出力して表示するディスプレイインターフェース33と、
(j)CPU20によって処理されたデータ及び所定の生成された機器表データや系統図データなどを印字するプリンタ44に接続され、印字すべき印字データの所定の信号変換などを行ってプリンタ44に出力して印字するプリンタインターフェース34と、
(k)図12〜図19の処理プログラムが記憶されたCD−ROM45aから当該プログラムのプログラムデータを読み出すCD−ROMドライブ装置45に接続され、読み出された画像処理プログラムのプログラムデータを所定の信号変換などを行ってプログラムメモリ24に転送するドライブ装置インターフェース35aと、
(l)例えば設備機器情報のデータを記憶する、例えばハードディスクメモリなどの外部記憶装置60に接続され、読み出されたデータを所定の信号変換などを行ってCPU20又はハードディスクメモリ23に転送するドライブ装置インターフェース35bとを備え、
これらの回路20〜24、31〜34、35a、35b及び51はバス30を介して接続される。
In FIG. 1, a drawing data processing apparatus 10
(A) a CPU (central processing unit) 20 of a computer that calculates and controls the operation and processing of the drawing data processing apparatus 10;
(B) a ROM (read only memory) 21 for storing a basic program such as an operation program and data necessary for executing the basic program;
(C) a RAM (random access memory) 22 that operates as a working memory of the CPU 20 and temporarily stores parameters and data (including the temporary list table 22a) necessary for the drawing data processing;
(D) a hard disk memory 23 for storing various data (see FIG. 2) used in the drawing data processing;
(E) A program memory that is composed of, for example, a hard disk memory and stores the processing programs of FIGS. 12 to 19 (these programs are programs that can be executed by a computer) read using the CD-ROM drive device 45. 24,
(F) a communication interface 51 that is connected to the equipment information database server device 70 via the Internet 80 and transmits / receives data to / from the equipment information database server device 70;
(G) A keyboard connected to a keyboard 41 for inputting predetermined data and instruction commands, receiving data and instruction commands input from the keyboard 41, performing predetermined interface processing such as signal conversion, and transmitting the data to the CPU 20 Interface 31;
(H) Connected to a mouse 42 for inputting instruction commands on the CRT display 43, receives data and instruction commands input from the mouse 42, performs predetermined signal conversion and other interface processing, and transmits them to the CPU 20. A mouse interface 32;
(I) Connected to a CRT display 43 that displays data processed by the CPU 20, a setting instruction screen, generated device table data, system diagram data, and the like, and converts image data to be displayed into an image signal for the CRT display 43. A display interface 33 for outputting and displaying on the CRT display 43;
(J) Connected to a printer 44 that prints data processed by the CPU 20 and predetermined generated device table data, system diagram data, etc., performs predetermined signal conversion of the print data to be printed, and outputs it to the printer 44 A printer interface 34 for printing,
(K) Connected to a CD-ROM drive device 45 that reads program data of the program from the CD-ROM 45a in which the processing programs of FIGS. 12 to 19 are stored, and the read program data of the image processing program is a predetermined signal. A drive device interface 35a for performing conversion and transferring to the program memory 24;
(L) A drive device that stores data of equipment information, for example, is connected to an external storage device 60 such as a hard disk memory and transfers the read data to the CPU 20 or the hard disk memory 23 by performing predetermined signal conversion or the like An interface 35b,
These circuits 20 to 24, 31 to 34, 35 a, 35 b and 51 are connected via a bus 30.

図2は図1のハードディスクメモリ23の構成を示すブロック図である。図2において、ハードディスクメモリ23は以下のデータファイルを格納する複数のメモリ23aを含む。
(a)図面データメモリ23a:建物内の空調設備などのダクト配線の図面データを格納するメモリである。
(b)上記図面データメモリ23aには以下のテーブルを格納する。
(b1)図面要素テーブル23b;
(b2)メッシュテーブル23c;
(b3)線分データテーブル23d;
(b4)円データテーブル23e;
(b5)楕円データテーブル23f;
(b6)処理済み図面要素テーブル23g。
FIG. 2 is a block diagram showing the configuration of the hard disk memory 23 of FIG. In FIG. 2, the hard disk memory 23 includes a plurality of memories 23a for storing the following data files.
(A) Drawing data memory 23a: A memory for storing drawing data of duct wiring such as air conditioning equipment in a building.
(B) The following table is stored in the drawing data memory 23a.
(B1) drawing element table 23b;
(B2) Mesh table 23c;
(B3) line segment data table 23d;
(B4) Yen data table 23e;
(B5) Ellipse data table 23f;
(B6) A processed drawing element table 23g.

図3は図20の実施例1における図2の図面要素テーブル23bの一例を示す図である。図面要素テーブル23bは、図3に示すように、図面要素である部品ID毎に、図面要素の名称、存在領域(XYZ座標で最大座標及び最小座標)及び部品を形成している図形(図形1〜図形n)の項目を有する。   FIG. 3 is a diagram showing an example of the drawing element table 23b of FIG. 2 in the first embodiment of FIG. As shown in FIG. 3, the drawing element table 23b has a drawing element name, an existing area (maximum coordinates and minimum coordinates in XYZ coordinates), and a figure forming a part (figure 1) for each part ID that is a drawing element. To figure n).

図4は図20の実施例1における図2のメッシュテーブル23cの一例を示す図である。メッシュテーブル23cは、図4に示すように、各領域毎に、存在領域(XYZ座標で最大座標及び最小座標)及び帰属している図面要素(各要素及び判定結果)の項目を有する。ここで、判定結果において、○は「完全に包含」を示し、△は「重なり有」を示す。以下、メッシュテーブル23cにおいて同様である。   FIG. 4 is a diagram illustrating an example of the mesh table 23c of FIG. 2 in the first embodiment of FIG. As shown in FIG. 4, the mesh table 23 c includes items of an existing region (maximum coordinates and minimum coordinates in XYZ coordinates) and belonging drawing elements (each element and determination result) for each region. Here, in the determination result, ◯ indicates “completely included”, and Δ indicates “overlapping”. The same applies to the mesh table 23c.

図5は図20の実施例1における図2の線分データテーブル23dの一例を示す図である。線分データテーブル23dは、図5に示すように、図面データの名称毎に、XYZ座標で示す始点と、XYZ座標で示す終点との項目を有する。   FIG. 5 is a diagram showing an example of the line segment data table 23d of FIG. 2 in the first embodiment of FIG. As shown in FIG. 5, the line segment data table 23d has items of a start point indicated by XYZ coordinates and an end point indicated by XYZ coordinates for each name of the drawing data.

図6は図20の実施例1における図2の円データテーブル23eの一例を示す図である。円データテーブル23eは、図6に示すように、図面データの名称毎に、XYZ座標で示す中心と、半径との項目を有する。   6 is a diagram showing an example of the circle data table 23e of FIG. 2 in the first embodiment of FIG. As shown in FIG. 6, the circle data table 23e has items of a center and a radius indicated by XYZ coordinates for each name of drawing data.

図7は図20の実施例1における図2の楕円データテーブル23fの一例を示す図である。楕円データテーブル23fは、図7に示すように、図面データの名称毎に、XYZ座標で示す中心と、半径と、扁平率と、傾きの項目を有する。   FIG. 7 is a diagram illustrating an example of the ellipse data table 23f of FIG. 2 in the first embodiment of FIG. As shown in FIG. 7, the ellipse data table 23 f has items of a center, a radius, a flatness ratio, and a slope indicated by XYZ coordinates for each drawing data name.

図8は図20の実施例1における図2の処理済み図面要素テーブル23gの一例を示す図である。図面要素テーブル23gは、図8に示すように、部品ID毎に、部品である図面要素の名称と、図面要素ID(アドレス等)の項目を有する。   FIG. 8 is a diagram showing an example of the processed drawing element table 23g of FIG. 2 in the embodiment 1 of FIG. As shown in FIG. 8, the drawing element table 23g has, for each part ID, an item of a drawing element name that is a part and a drawing element ID (address, etc.).

まず、図1の図面データ処理装置10によって実行される、4分割固定方式に係る隠線処理の処理フローについて以下に説明する。   First, a processing flow of hidden line processing according to the four-division fixed method executed by the drawing data processing apparatus 10 of FIG. 1 will be described below.

なお、本実施形態では、例えば、各部品の図形を線分に展開し個々の下部品の図形の線分(無限線、すなわち線分からの延長線を含む。)と上部品の全図形の交点を計算し、線分の端点より先に交点が存在したかどうかと、その線分の両端の状態の組み合わせによってどこまでが上図形と重なっているかを判定し、隠線を行うことで単純な計算で隠線判定処理を行い、ここで、「隠線判定」、「隠線の判定」又は「隠線を判定」とは、「線が表示されるのか消されるのかを判定する」ことをいい、当該明細書等で以下同様である。   In this embodiment, for example, the graphic of each part is expanded into a line segment, and the intersection of the line segment of each lower part graphic (including an infinite line, that is, an extended line from the line segment) and all the graphic of the upper part. And calculate whether or not there is an intersection before the end point of the line segment, and how far the line segment overlaps with the combination of the states at both ends of the line segment, and perform a hidden calculation by performing a hidden line Hidden line determination processing is performed, and “Hidden line determination”, “Hidden line determination” or “Hidden line determination” means “determine whether a line is displayed or erased” The same applies hereinafter in the description and the like.

図12は本実施形態に係る「隠線処理」(ステップS1)を示すフローチャートである。図12において、まず、ステップS11において、「処理済み図面要素テーブル23g」のデータを消去して初期化し、ステップS12において、「メッシュ分割及び判定処理」(S2)を実行する。ここで、事前に「メッシュ分割及び判定処理」(S2)を実行することで全体の処理を実行するうえで効果的である。次いで、ステップS13において得られた全メッシュで隠線処理をしたか否かが判断され、YESのときは当該処理を終了する一方、NOのときはステップS14に進む。ステップS14では、「メッシュ単位で隠線処理」(S3)を実行した後、ステップS13に戻る。ここで、「メッシュ単位で隠線処理」(S3)を実行することで、最大でメッシュの数と同じ倍数の高速化が可能である。   FIG. 12 is a flowchart showing “hidden line processing” (step S1) according to the present embodiment. In FIG. 12, first, in step S11, data in the “processed drawing element table 23g” is deleted and initialized, and in step S12, “mesh division and determination processing” (S2) is executed. Here, executing the “mesh division and determination process” (S2) in advance is effective in executing the entire process. Next, it is determined whether or not the hidden line processing has been performed on all the meshes obtained in step S13. If YES, the processing ends. If NO, the processing proceeds to step S14. In step S14, “hidden line processing in mesh units” (S3) is executed, and then the process returns to step S13. Here, by executing “hidden line processing in units of meshes” (S3), it is possible to increase the speed up to the same multiple as the number of meshes.

図13は本実施形態に係る「メッシュ分割及び判定処理」(ステップS2)を示すフローチャートである。   FIG. 13 is a flowchart showing the “mesh division and determination process” (step S2) according to the present embodiment.

図13において、まず、ステップS21でメッシュ内の部品の総数を算出し、ステップS22において部品総数は所定数Nよりも多いか否かが判断され、YESのときはステップS23に進む一方、NOのときは当該処理を終了して元の処理にリターンする。ステップS23では、メッシュ内の全部品の存在領域を算出し、ステップS24でメッシュを均等に4等分(縦横でそれぞれ2分割)し、ステップS25で分割したメッシュは予め決められた最小サイズよりも大きいか否かが判断され、YESのとき(すなわち、メッシュが予め決められた大きさ以下になったとき)はステップS26に進む一方、NOのときはステップS33に進む。ステップS26では、分割前のメッシュの全部品に対して領域判定したか否かが判断され、YESのときはステップS33に進む一方、NOのときはステップS27に進む。ステップS27では、分割した全てのメッシュに対して領域判定したか否かが判断され、YESのときはステップS26に戻る一方、NOのときはステップS28に進む。ステップS28では、判定中の部品の部品領域を算出し、ステップS29では、判定中の部品領域はメッシュにかかっているか否かが判断され、YESのときはステップS30に進む一方、NOのときはステップS27に戻る。ステップS30では、判定中の部品を当該メッシュに「重なり有」でメッシュテーブル23cに登録する。そして、ステップS31において判定中の部品領域のメッシュに完全に包含されているか否かが判断され、YESのときはステップS32に進む一方、NOのときはステップS27に戻る。ステップS32では、判定中の部品を当該メッシュに「完全に包含」でメッシュテーブル23cに登録する。そして、ステップS27に戻る。   In FIG. 13, first, in step S21, the total number of parts in the mesh is calculated. In step S22, it is determined whether the total number of parts is greater than a predetermined number N. If YES, the process proceeds to step S23, while NO. If so, the process is terminated and the process returns to the original process. In step S23, the existence area of all the parts in the mesh is calculated, and in step S24, the mesh is equally divided into four equal parts (each divided vertically and horizontally), and the mesh divided in step S25 is smaller than a predetermined minimum size. It is determined whether or not it is large. When the answer is YES (that is, when the mesh is equal to or smaller than the predetermined size), the process proceeds to step S26, and when the answer is NO, the process proceeds to step S33. In step S26, it is determined whether or not the region has been determined for all parts of the mesh before division. When YES, the process proceeds to step S33, and when NO, the process proceeds to step S27. In step S27, it is determined whether or not region determination has been performed for all divided meshes. If YES, the process returns to step S26, and if NO, the process proceeds to step S28. In step S28, the part area of the part under determination is calculated. In step S29, it is determined whether the part area under determination covers the mesh. If YES, the process proceeds to step S30. If NO, The process returns to step S27. In step S30, the part under determination is registered in the mesh table 23c as “overlapping” on the mesh. In step S31, it is determined whether or not it is completely included in the mesh of the component area being determined. If YES, the process proceeds to step S32. If NO, the process returns to step S27. In step S32, the part under determination is registered in the mesh table 23c as “completely included” in the mesh. Then, the process returns to step S27.

次いで、ステップS33では、分割した全メッシュの「重なり有」と「完全に包含」のそれぞれの数を計算し、ステップS34で各メッシュで「重なり有」の数≧「完全に包含」の数であるか否かが判断され、YESのとき(予め決められた終了条件を満たした場合)は当該処理を終了して元の処理にリターンする一方、NOのときはステップS35に進む。次いで、ステップS35で分割したすべてのメッシュに対して領域判定したか否かが判断され、YESのときはステップS35に進む一方、NOのときはステップS36に進む。ステップS36では、判定中の当該メッシュに対して「メッシュ分割及び判定処理」(S2)のサブルーチンを読み出してを実行しステップS35に戻る。   Next, in step S33, the numbers of “overlapping” and “completely included” of all the divided meshes are calculated, and in step S34, the number of “overlapping” in each mesh ≧ the number of “completely included”. It is determined whether or not there is, and when the answer is YES (when a predetermined end condition is satisfied), the process ends and the process returns to the original process. When the answer is NO, the process proceeds to step S35. Next, it is determined whether or not the region has been determined for all the meshes divided in step S35. If YES, the process proceeds to step S35, and if NO, the process proceeds to step S36. In step S36, the “mesh division and determination process” (S2) subroutine is read and executed for the mesh being determined, and the process returns to step S35.

図14は本実施形態に係る「メッシュ単位で隠線処理」(ステップS3)を示すフローチャートである。   FIG. 14 is a flowchart showing “hidden line processing in units of meshes” (step S3) according to the present embodiment.

図14において、まず、ステップS41でメッシュの全部品に対して隠線処理を実行したか否かが判断され、YESのときはステップS48に進む一方、NOのときはステップS42に進む。ステップS42では、隠線対象の上部品と下部品を取得し、ステップS43では、上部品は「重なり有」であるか否かが判断され、YESのときはステップS44に進む一方、NOのときはステップS47に進む。ステップS44では、上部品は「処理済み図面要素テーブル23g」に登録されているか否かが判断され、YESのときはステップS45に進む一方、NOのときはステップS47に進む。次いで、ステップS45で下部品は「重なり有」であるか否かが判断され、YESのときはステップS46に進む一方、NOのときはステップS47に進む。ステップS46で下部品は「処理済み図面要素テーブル23g」に登録されているか否かが判断され、YESのときはステップS41に戻る一方、NOのときはステップS47に進む。そして、ステップS47では、上部品と下部品との隠線処理を行い、ステップS41に戻る。   In FIG. 14, it is first determined in step S41 whether or not hidden line processing has been executed for all parts of the mesh. If YES, the process proceeds to step S48, and if NO, the process proceeds to step S42. In step S42, the upper part and the lower part to be hidden are acquired, and in step S43, it is determined whether or not the upper part is “overlapping”. If YES, the process proceeds to step S44, and if NO. Advances to step S47. In step S44, it is determined whether the upper part is registered in the “processed drawing element table 23g”. If YES, the process proceeds to step S45. If NO, the process proceeds to step S47. Next, in step S45, it is determined whether the lower part is “overlapping”. If YES, the process proceeds to step S46, and if NO, the process proceeds to step S47. In step S46, it is determined whether or not the lower part is registered in the “processed drawing element table 23g”. If YES, the process returns to step S41. If NO, the process proceeds to step S47. In step S47, hidden line processing is performed between the upper part and the lower part, and the process returns to step S41.

ステップS48では、メッシュの全部品に対してチェックしたか否かが判断され、YESのときは当該処理を終了する一方、NOのときはステップS49に進む。ステップS49では、部品は「重なり有」であるか否かが判断され、YESのときはステップS50に進む一方、NOのときはステップS48に戻る。そして、ステップS50では、「重なり有」の当該部品を「処理済み図面要素テーブル23g」に登録し、ステップS48に戻る。   In step S48, it is determined whether or not all parts of the mesh have been checked. If YES, the process ends. If NO, the process proceeds to step S49. In step S49, it is determined whether or not the part is “overlapping”. If YES, the process proceeds to step S50, and if NO, the process returns to step S48. In step S50, the part with “overlap” is registered in the “processed drawing element table 23g”, and the process returns to step S48.

次いで、図1の図面データ処理装置10によって実行される、図面要素の選択処理について以下に説明する。   Next, drawing element selection processing executed by the drawing data processing apparatus 10 of FIG. 1 will be described below.

図15は本実施形態に係る「図面要素の選択処理」(ステップS4)を示すフローチャートである。なお、事前に、図13のメッシュ分割及び判定処理(S2)を行っておく。図15において、まず、ステップS51において、全メッシュに対して領域判定したか否かが判断され、YESのときは当該処理を終了する一方、NOのときはステップS52に進む。次いで、ステップS52でメッシュ単位で選択領域との重なりをチェックし、ステップS53では、領域の重なりはあったか否かが判断され、YESのときはステップS54に進む一方、NOのときはステップS51に戻る。さらに、ステップS54においてメッシュ内の全部品に対して選択処理を実行し、ステップS51に戻る。すなわち、メッシュ単位で領域判定することで、最大でメッシュの数と同じ倍数の高速化を行うことができる。   FIG. 15 is a flowchart showing the “drawing element selection process” (step S4) according to the present embodiment. Note that the mesh division and determination process (S2) of FIG. 13 is performed in advance. In FIG. 15, first, in step S51, it is determined whether or not region determination has been performed for all meshes. If YES, the process ends. If NO, the process proceeds to step S52. Next, in step S52, the overlap with the selected area is checked in units of meshes. In step S53, it is determined whether or not there is an overlap of the areas. If YES, the process proceeds to step S54. If NO, the process returns to step S51. . Further, in step S54, selection processing is executed for all parts in the mesh, and the process returns to step S51. In other words, by determining the area in units of meshes, the speed can be increased up to the same multiple as the number of meshes.

さらに、図1の図面データ処理装置10によって実行される、図面要素の増加又は減少処理について以下に説明する。   Further, a drawing element increase or decrease process executed by the drawing data processing apparatus 10 of FIG. 1 will be described below.

図16は本実施形態に係る「図面読み込み処理」(ステップS5)を示すフローチャートである。図16において、まず、ステップS61で、図面要素テーブル23bから図面要素のデータを読み込み、ステップS62で増減した図面要素の数(保存値)を取得し、ステップS63で「図面要素の増減判定処理」(S8)のサブルーチンを読み出して実行し、当該処理を終了する。   FIG. 16 is a flowchart showing the “drawing reading process” (step S5) according to the present embodiment. In FIG. 16, first, in step S61, drawing element data is read from the drawing element table 23b, and the number (saved value) of the drawing elements increased / decreased in step S62 is acquired. In step S63, “drawing element increase / decrease determination processing”. The subroutine (S8) is read and executed, and the process is terminated.

図17は本実施形態に係る「複写処理」(ステップS6)を示すフローチャートである。図17において、まず、ステップS71で編集対象の図面要素のデータを複写し、ステップS72で複写した図面要素数を増減した図面要素数に加算し、ステップS73で「図面要素の増減判定処理」(S8)のサブルーチンを読み出して実行し、当該処理を終了する。   FIG. 17 is a flowchart showing the “copying process” (step S6) according to the present embodiment. In FIG. 17, first, the drawing element data to be edited is copied in step S71, and the number of drawing elements copied in step S72 is added to the increased or decreased drawing element number. In step S73, “drawing element increase / decrease determination process” ( The subroutine of S8) is read and executed, and the process is terminated.

図18は本実施形態に係る「削除処理」(ステップS7)を示すフローチャートである。図18において、まず、ステップS81で編集対象の図面要素のデータを削除し、ステップS82で、削除した図面要素数を増減した図面要素数から減算し、ステップS83で「図面要素の増減判定処理」(S8)のサブルーチンを読み出して実行し、当該処理を終了する。   FIG. 18 is a flowchart showing the “deleting process” (step S7) according to the present embodiment. 18, first, the drawing element data to be edited is deleted in step S81, and the deleted drawing element number is subtracted from the increased or decreased drawing element number in step S82. In step S83, “drawing element increase / decrease determination process” is performed. The subroutine (S8) is read and executed, and the process is terminated.

図19は本実施形態に係る「図面要素の増減判定処理」(ステップS8)を示すフローチャートである。図19において、まず、ステップS91で、増減した図面要素の数を取得し、ステップS92において増加した図面要素数は既定値を越えたか否かが判断され、YESのときはステップS94に進む一方、NOのときはステップS93に進む。次いで、ステップS93で減少した図面要素数は既定値を越えたか否かが判断され、YESのときはステップS94に進む一方、NOのときは当該処理を終了する。ステップS94では、「メッシュ分割及び判定処理」(S2)のサブルーチンを読み出して実行し、当該処理を終了する。   FIG. 19 is a flowchart showing “drawing element increase / decrease determination processing” (step S8) according to the present embodiment. In FIG. 19, first, in step S91, the number of increased / decreased drawing elements is acquired. In step S92, it is determined whether or not the increased number of drawing elements exceeds a predetermined value. If YES, the process proceeds to step S94. If NO, the process proceeds to step S93. Next, it is determined whether or not the number of drawing elements decreased in step S93 exceeds a predetermined value. If YES, the process proceeds to step S94. If NO, the process ends. In step S94, the subroutine “mesh division and determination process” (S2) is read and executed, and the process ends.

以上の実施形態において、図12〜図19の処理プログラムが記憶されたコンピュータにより読取可能なCD−ROM45aを用いて実行してもよいし、CD−R,CD−RW,DVD,DVD−R,DVD−RW,DVD−RAMなどのコンピュータにより読取可能な種々の記録媒体を用いてもよい。   In the above embodiment, it may be executed by using a CD-ROM 45a readable by a computer in which the processing programs of FIGS. 12 to 19 are stored, CD-R, CD-RW, DVD, DVD-R, Various recording media readable by a computer such as DVD-RW and DVD-RAM may be used.

図20は本実施形態に係る実施例1の4分割領域D1〜D4における部品A〜Fの配置を示す図面の平面図である。図3乃至図8は実施例1において用いるテーブル23b〜23gの一例である。すなわち、図20は、図面の平面を4つの領域D1〜D4に分割し、部品A〜Fの配置を示す。図20の実施例1に対して、図12及び図13の処理を実行することで、図8の処理済み図面要素テーブル23gを得ることができる。   FIG. 20 is a plan view of the drawing showing the arrangement of the parts A to F in the four divided regions D1 to D4 of Example 1 according to the present embodiment. 3 to 8 are examples of the tables 23b to 23g used in the first embodiment. That is, FIG. 20 shows the arrangement of the parts A to F by dividing the plane of the drawing into four regions D1 to D4. The processed drawing element table 23g of FIG. 8 can be obtained by executing the processing of FIGS. 12 and 13 on the first embodiment of FIG.

図21は本実施形態に係る実施例2の領域R1〜R4における部品A〜Gの配置を示す図面の平面図である。また、図9は図21の実施例2における図2のメッシュテーブル23c(帰属要素)の一例を示す図である。実施例2では、図15の選択処理を実行する。以下、当該選択処理の概要について以下に説明する。   FIG. 21 is a plan view of the drawing showing the arrangement of the parts A to G in the regions R1 to R4 of Example 2 according to the present embodiment. FIG. 9 is a diagram showing an example of the mesh table 23c (belonging element) of FIG. 2 in the second embodiment of FIG. In the second embodiment, the selection process of FIG. 15 is executed. Hereinafter, an outline of the selection process will be described below.

(1)図21において、選択矩形領域SRの範囲にて選択処理を実行する。
(2)領域R1と選択矩形領域SRとの重なりをチェックし、重なりがあるので、領域R1に帰属している部品(部品C、部品F、部品G)に対して選択処理を実行する。実施例では、結果として、部品C、部品Fが選択される。
(3)領域R2と選択矩形領域SRとの重なりをチェックし、重なりがないので、当該処理を省略する。
(4)領域R3と選択矩形領域SRとの重なりをチェックし、重なりがないので、当該処理を省略する。
(5)領域R4と選択矩形領域SRとの重なりをチェックし、重なりがあるので、領域R4に帰属している部品(部品C、部品D、部品E、部品F)に対して選択処理を実行する。ただし、選択処理の中で選択済み部品に対しては選択されていることがわかるので、処理を省略している。実施例2では、結果として、部品Dが追加で選択される。
(1) In FIG. 21, the selection process is executed within the range of the selected rectangular area SR.
(2) The overlap between the area R1 and the selected rectangular area SR is checked, and since there is an overlap, the selection process is executed for the parts (part C, part F, part G) belonging to the area R1. In the embodiment, as a result, the parts C and F are selected.
(3) The overlap between the region R2 and the selected rectangular region SR is checked, and the process is omitted because there is no overlap.
(4) The overlap between the region R3 and the selected rectangular region SR is checked. Since there is no overlap, this processing is omitted.
(5) Check the overlap between the area R4 and the selected rectangular area SR, and since there is an overlap, execute the selection process for the parts belonging to the area R4 (part C, part D, part E, part F). To do. However, since it is understood that the selected part is selected in the selection process, the process is omitted. In the second embodiment, as a result, the part D is additionally selected.

図22は本実施形態に係る実施例3の領域R1〜R4における部品A〜Gの配置を示す図面の平面図である。また、図10は図22の実施例3における図2のメッシュテーブル23c(帰属要素)の一例を示す図である。さらに、図11(a)は図22の実施例3における初期化状態の処理済み図面要素テーブル23gの一例を示す図であり、図11(b)は当該実施例3における領域R1を処理したときの処理済み図面要素テーブル23gの一例を示す図であり、図11(c)は当該実施例3における領域R2を処理したときの処理済み図面要素テーブル23gの一例を示す図であり、図11(d)は当該実施例3における領域R3を処理したときの処理済み図面要素テーブル23gの一例を示す図である。実施例3では、隠線処理を実行する。以下、当該隠線処理の概要について以下に説明する。   FIG. 22 is a plan view of the drawing showing the arrangement of the parts A to G in the regions R1 to R4 of Example 3 according to the present embodiment. FIG. 10 is a diagram showing an example of the mesh table 23c (belonging element) of FIG. 2 in the third embodiment of FIG. Further, FIG. 11A is a diagram showing an example of the processed drawing element table 23g in the initialized state in the third embodiment of FIG. 22, and FIG. 11B is a diagram when the region R1 in the third embodiment is processed. FIG. 11C is a diagram showing an example of the processed drawing element table 23g when the region R2 in the third embodiment is processed, and FIG. d) is a diagram showing an example of the processed drawing element table 23g when the region R3 in the third embodiment is processed. In the third embodiment, hidden line processing is executed. Hereinafter, an outline of the hidden line processing will be described below.

(1)図22において、全領域にて隠線処理を実行する。
(2)図面の領域を4分割してR1〜R4とする。
(3)領域R1に帰属している部品(部品C、部品F、部品G)の組み合わせが「処理済み図面要素テーブル23g」に登録されていないかをチェックし、登録部品はない(図11(a)の「処理済み図面要素テーブル23g(初期化状態)」を参照。)ので全部品に対して隠線処理を実行する。結果として、部品Cと部品Fとの間で隠線処理される。
(4)領域R1内の「重なり有」の部品(部品C、部品F)を「図11(a)の処理済み図面要素テーブル(初期化状態)」に登録し、図11(b)の「処理済み図面要素テーブル23g(領域R1を処理)」となる。
(5)領域R2に帰属している部品(部品A、部品B、部品F)の組み合わせが「処済み図面要素テーブル23g」に登録されていないかをチェックし、組み合わせはない(図11(a)の「処理済み図面要素テーブル(初期化状態)」を参照。)ので全部品に対して隠線処理を実行する。結果として、部品Aと部品Bとの間、部品Aと部品Fとの間で隠線処理される。
(1) In FIG. 22, hidden line processing is executed in the entire area.
(2) The region of the drawing is divided into four to be R1 to R4.
(3) It is checked whether a combination of parts (part C, part F, part G) belonging to the region R1 is registered in the “processed drawing element table 23g”, and there is no registered part (FIG. 11 ( (See “Processed drawing element table 23g (initialized state)” in a).) Therefore, hidden line processing is executed for all parts. As a result, hidden line processing is performed between the parts C and F.
(4) The “overlapping” parts (part C, part F) in the region R1 are registered in the “processed drawing element table (initialized state)” of FIG. 11A, and “parts” of FIG. Processed drawing element table 23g (process area R1) ".
(5) It is checked whether a combination of parts (part A, part B, part F) belonging to the region R2 is registered in the “processed drawing element table 23g”, and there is no combination (FIG. 11A (See “Processed Drawing Element Table (Initialized State)”).)) Execute hidden line processing for all parts. As a result, hidden lines are processed between the parts A and B and between the parts A and F.

(6)領域R2内の「重なり有」の部品(部品B)を「図11(b)の処理済み図面要素テーブル23g(領域R1を処理)」に追加登録し、図11(c)の「処理済み図面要素テーブル23g(領域R2を処理)」となる。
(7)領域R3に帰属している部品(部品B、部品F)の組み合わせが「処理済み図面要素テーブル23g」に登録されていないかをチェックし、組み合わせはある(図11(c)の「処理済み図面要素テーブル23g(領域R2を処理)」を参照。)ので隠線処理する部品はない。結果として、部品Aと部品Bとの間、部品Aと部品Fとの間で隠線処理される。
(8)領域R3内の「重なり有」の部品で追加すべき部品はないので、図11(c)の「処理済み図面要素テーブル(領域R2を処理)」に変化はないので、図11(d)の「処理済み図面要素テーブル(領域R3を処理)」となる。
(9)領域R4に帰属している部品(部品C、部品D、部品E、部品F)の組み合わせのうち、部品Cと部品Fとの組み合わせが「処理済み図面要素テーブル23g」に登録されている(図118d)の「処理済み図面要素テーブル23g(領域R3を処理)」を参照)ので、その組み合わせを除く組み合わせに対して隠線処理を実行する。結果として、部品Dと部品Fとの間、部品Dと部品Eとの間で隠線処理される。
(10)領域R4内の「重なり有」の部品で追加すべき部品はないので、図11(d)の「処理済み図面要素テーブル23g(領域R3を処理)」に変化はない。以上で隠線処理が終了する。
(6) The “overlapping” part (part B) in area R2 is additionally registered in “processed drawing element table 23g (process area R1)” of FIG. Processed drawing element table 23g (process area R2) ".
(7) It is checked whether a combination of parts (part B, part F) belonging to the region R3 is registered in the “processed drawing element table 23g”, and there is a combination (see “ (See “Processed drawing element table 23g (process area R2)”.) As a result, hidden lines are processed between the parts A and B and between the parts A and F.
(8) Since there is no part to be added in the “overlapping” part in the region R3, there is no change in the “processed drawing element table (process the region R2)” in FIG. d) “Processed drawing element table (process area R3)”.
(9) Of the combinations of parts belonging to the region R4 (part C, part D, part E, part F), the combination of the part C and the part F is registered in the “processed drawing element table 23g”. (See “Processed Drawing Element Table 23g (Process Region R3)” in FIG. 118d)), and hidden line processing is executed for combinations other than the combination. As a result, hidden lines are processed between the parts D and F and between the parts D and E.
(10) Since there is no part to be added in the “overlapping” part in the region R4, there is no change in the “processed drawing element table 23g (process the region R3)” in FIG. This completes the hidden line process.

図23は本実施形態の実施例4に係る、部品数に応じて分割数を決定する方法を示し、部品数3000個の場合の部品の平面図である。分割の基準例として、各メッシュの部品数が1000個以下となるように分割する(図13のS22:以下、処理Aという。)。図23において、部品数3000個の場合、存在するメッシュを4つに分割する、次いで、各メッシュにて、部品数が1000個を超えている場合はそのメッシュに対して同様に分割数を決定し分割していく(図13のステップS22:以下、処理Bという。)。さらに、各メッシュに対して、上記処理A及びBを繰り返して実行する(図13のステップS36)。   FIG. 23 shows a method for determining the number of divisions according to the number of components according to Example 4 of the present embodiment, and is a plan view of components in the case of 3000 components. As a reference example of division, division is performed so that the number of parts of each mesh is 1000 or less (S22 in FIG. 13: hereinafter referred to as process A). In FIG. 23, when the number of parts is 3000, the existing mesh is divided into four. Then, in each mesh, if the number of parts exceeds 1000, the number of divisions is similarly determined for that mesh. Then, it is divided (step S22 in FIG. 13: hereinafter referred to as process B). Further, the processes A and B are repeatedly executed for each mesh (step S36 in FIG. 13).

図24は本実施形態の実施例5に係る、部品数に応じて分割数を決定する方法を示し、部品数7000個の場合の部品の平面図である。実施例5の部品数7000個の場合は、処理Aにより、存在するメッシュを9つに分割する(図13のステップS22)。次いで、実施例4と同様に、処理Bを実行し(図13のステップS22)、さらに、各メッシュに対して、上記処理A及びBを繰り返して実行する(図13のステップS36)。   FIG. 24 shows a method for determining the number of divisions according to the number of components according to Example 5 of the present embodiment, and is a plan view of components in the case of 7000 components. When the number of parts is 7000 in the fifth embodiment, the existing mesh is divided into nine by process A (step S22 in FIG. 13). Next, as in the fourth embodiment, the process B is executed (step S22 in FIG. 13), and the processes A and B are repeatedly executed for each mesh (step S36 in FIG. 13).

実施例6では、図面の領域を2分割(固定数分割)し、各メッシュに属する部品数に応じて分割を終了する方法を用いる。
(1)各メッシュの部品数が1000個上の場合、そのメッシュを2分割(固定数分割)する(図13のステップS24)。
(2)各メッシュにて、部品数が1000個を超えている場合はそのメッシュに対して同様に2分割(個定数分割)してゆく(図13のステップS24)。
(3)各メッシュに対して、上記(1)及び(2)の処理を繰り返してゆく(図13のステップS36)。
In the sixth embodiment, a method is used in which an area of the drawing is divided into two (fixed number division), and the division is finished according to the number of parts belonging to each mesh.
(1) When the number of parts of each mesh is 1000, the mesh is divided into two (fixed number division) (step S24 in FIG. 13).
(2) If the number of parts exceeds 1000 in each mesh, the mesh is similarly divided into two (individual constant division) (step S24 in FIG. 13).
(3) The above processes (1) and (2) are repeated for each mesh (step S36 in FIG. 13).

上記実施例5及び6の処理について効果の検証を以下で行う。ここで、部品がN個あった場合、領域を判定する回数Njは次式で表される。   Verification of the effects of the processing of Examples 5 and 6 is performed as follows. Here, when there are N parts, the number Nj of determining the area is expressed by the following equation.

[数1]
Nj==N×(N−1)/2 (1)
[Equation 1]
Nj == N × (N−1) / 2 (1)

従って、部品数N=10万個の場合、領域判定する回数Nj=49億9995万回となり、約50億回数の領域判定が必要となる。ここで、分割数をDとし、各メッシュに均等に部品が配置されていた場合について検証する。この場合、各メッシュ内の部品数はN/D個となる。そして、領域を判定する回数Njは次式で表される。   Therefore, when the number N of parts is 100,000, the number of times of area determination is Nj = 4,999,550,000 times, and about 5 billion area determinations are required. Here, a case where the number of divisions is D and parts are evenly arranged on each mesh will be verified. In this case, the number of parts in each mesh is N / D. The number of times Nj for determining the area is expressed by the following equation.

[数2]
Nj
=D×N+(N/D×(N/D−1))/2×D
=D×N+N×(N/D−1)/2
=D×N+(N×(N−D)/2)/D
=D×N+N(D−1)/2D+(N×(N−1)/2)/D (2)
[Equation 2]
Nj
= D * N + (N / D * (N / D-1)) / 2 * D
= D * N + N * (N / D-1) / 2
= D * N + (N * (ND) / 2) / D
= D * N + N (D-1) / 2D + (N * (N-1) / 2) / D (2)

ここで、部品数Nが十分に大きい場合において、部品数Nを(N×(N−1)/2)/Dに比べると、D×N+N(D−1)/2Dは圧倒的に小さいので、式(2)の最終式の右辺の第1項及び第2項を無視できるので次式を得る。   Here, when the number N of parts is sufficiently large, when the number N of parts is compared to (N × (N−1) / 2) / D, D × N + N (D−1) / 2D is overwhelmingly small. Since the first term and the second term on the right side of the final formula of formula (2) can be ignored, the following formula is obtained.

[数3]
Nj≒(N×(N−1)/2)/D (3)
[Equation 3]
Nj≈ (N × (N−1) / 2) / D (3)

従って、領域を判定する回数Njは、分割数と同じ倍数で処理時間が小さくなることがわかる。例えば、部品総数N=10万個で、1000個以下となるように分割する場合、各分割領域に均等に部品が配置されていた場合について検証すると、分割数D=100分割となるので、その場合は、従来例に係る処理に比べて100倍の高速化(処理時間は1/100となる。)が図れることになる。   Therefore, it can be seen that the number of times Nj for determining the region is the same multiple as the number of divisions and the processing time is reduced. For example, when dividing the total number of parts N = 100,000 so that the number of parts is equal to or less than 1000, when the case where the parts are evenly arranged in each divided area is verified, the division number D = 100 divisions. In this case, the processing speed can be increased 100 times (processing time is 1/100) as compared with the processing according to the conventional example.

以上詳述したように、本発明によれば、従来例に比較して図面情報の管理が簡単であって、しかも処理速度を大幅に向上することができる情報処理装置及び方法等を提供できる。具体的には、本発明は以下の特有の効果を奏して産業上の利用可能性を有する。   As described above in detail, according to the present invention, it is possible to provide an information processing apparatus, method, and the like that can easily manage drawing information as compared with the conventional example and can greatly improve the processing speed. Specifically, the present invention has the following specific effects and has industrial applicability.

(1)同じ位置では、1つのメッシュのみ存在するので他のメッシュとの重なりを意識する必要がなく、図面情報の管理が簡単である。
(2)3次元図面等に対する多層メッシュの処理時に、例えば隠線処理又は隠面処理を行ったり、干渉をチェックしたりする場合に、各メッシュに帰属している図面要素のみを処理対象とできるので、他のメッシュとの処理を行う必要がなく、非常に短時間で処理を行うことができる。例えば、隠線処理又は隠面処理、干渉チェックを行う場合、各々のメッシュ内の部品間で総当りの領域判定を行えばよいので、メッシュの分割数をDとすると最大で従来のD倍の処理が実現できる。分割数Dが10の場合、最大10倍(すなわち、処理時間で1/10になる。)、分割数Dが100の場合、最大100倍(処理時間:1/100)の効果が得られる。同様に選択操作を行う場合、選択範囲と重なりのあるメッシュ内の図面要素のみを対象とすればいいので、最大では前述のように、内容等の処理速度向上の効果が得られる。
(3)毎回の図面要素減少を検知するためのオーバーヘッドが大幅に減少する。
(4)特殊なケースで分割が無限に続いてしまうようなことがなくなり、適切な分割数にて速やかに分割が終了する。
(5)複数のメッシュが処理対象となった場合、隠線・隠面、干渉チェック等は図面要素同士の関連をチェックし処理するので、メッシュ内に完全には包含されていない図面要素同士のチェックと処理が1回のみとなり、処理の無駄がなくなる。
(1) Since only one mesh exists at the same position, there is no need to be aware of overlap with other meshes, and the management of drawing information is simple.
(2) When processing a multi-layer mesh for a three-dimensional drawing or the like, for example, when performing hidden line processing or hidden surface processing, or checking for interference, only drawing elements belonging to each mesh can be processed. Therefore, it is not necessary to perform processing with other meshes, and processing can be performed in a very short time. For example, when performing hidden line processing, hidden surface processing, or interference check, it is only necessary to determine the brute force area between parts in each mesh. Processing can be realized. When the division number D is 10, an effect of up to 10 times (that is, 1/10 in processing time) is obtained, and when the division number D is 100, an effect of up to 100 times (processing time: 1/100) is obtained. Similarly, when performing the selection operation, it is only necessary to target drawing elements in the mesh that overlap the selection range. Therefore, as described above, the effect of improving the processing speed of the contents and the like can be obtained at the maximum.
(3) The overhead for detecting the reduction of each drawing element is greatly reduced.
(4) The division does not continue indefinitely in a special case, and the division ends quickly with an appropriate number of divisions.
(5) When multiple meshes are processed, hidden lines / hidden surfaces, interference check, etc. check and process the relationship between drawing elements. Checking and processing are performed only once, and processing is not wasted.

Claims (14)

コンピュータを利用して複数の図面要素により構成される図面を複数のメッシュに分割し、各図面要素を各図面要素と重なったすべてのメッシュに帰属させて記憶装置において管理する図面情報管理装置であって、
予め定められたパターンに従って図面を分割した複数のメッシュのうち、所定数を超える図面要素を含むメッシュを再び上記パターンに従って複数のメッシュに分割することによって、すべてのメッシュに含まれる図面要素の数が上記所定数以下となるように最低限のメッシュ分割を行う制御手段を備えたことを特徴とする情報処理装置。
A drawing information management device that uses a computer to divide a drawing composed of a plurality of drawing elements into a plurality of meshes, and assigns each drawing element to all meshes that overlap each drawing element and manages them in a storage device. And
By dividing a mesh including a predetermined number of drawing elements into a plurality of meshes according to the above pattern among a plurality of meshes obtained by dividing the drawing according to a predetermined pattern, the number of drawing elements included in all meshes can be reduced. An information processing apparatus comprising control means for performing minimum mesh division so as to be equal to or less than the predetermined number.
上記制御手段は、上記最低限のメッシュ分割を行うステップを、すべてのメッシュに含まれる図面要素の数が上記所定数以下となるように反復することを特徴とする請求項1記載の情報処理装置。   2. The information processing apparatus according to claim 1, wherein the control means repeats the step of performing the minimum mesh division so that the number of drawing elements included in all meshes is equal to or less than the predetermined number. . 上記制御手段は、図形要素の減少時にはメッシュの統合を行わず、図面要素の増加時のみに、すべてのメッシュに含まれる図面要素の数が既定の数以下となる上記最低限のメッシュ分割の条件が満たされなくなったとき、もしくは、予め決められた数又は予め定められたパターンに従って算出された数より小さい場合、上記条件が満たされるようにメッシュの分割を行うことを特徴とする請求項1又は2記載の情報処理装置。   The above control means does not perform mesh integration when the graphic elements are reduced, and only when the number of drawing elements is increased, the minimum number of mesh division conditions in which the number of drawing elements included in all meshes is equal to or less than the predetermined number. The mesh division is performed so that the above condition is satisfied when the value is not satisfied or is smaller than a predetermined number or a number calculated according to a predetermined pattern. 2. The information processing apparatus according to 2. 上記制御手段は、図面の読み込み時、もしくは移動処理、複写処理、又は削除処理において、所定数を越える図面要素の編集が行われた場合、メッシュの再分割を実行することを特徴とする請求項1乃至3のうちのいずれか1つに記載の情報処理装置。   The control means executes re-division of the mesh when a drawing is read, or when a drawing element exceeding a predetermined number is edited in a moving process, a copying process, or a deleting process. The information processing apparatus according to any one of 1 to 3. 上記制御手段は、メッシュ分割時において、メッシュの大きさが所定の大きさ、もしくは予め定められたパターンに従って算出された大きさより小さい場合、もしくは予め決められた終了条件を満たした場合、メッシュ分割を終了することを特徴とする請求項1乃至4のうちのいずれか1つに記載の情報処理装置。   When the mesh size is smaller than a predetermined size or a size calculated according to a predetermined pattern, or when a predetermined termination condition is satisfied, the control means performs mesh division. The information processing apparatus according to claim 1, wherein the information processing apparatus is terminated. 上記制御手段は、図面要素同士の関連をチェック又は処理する場合、処理対象のメッシュと少なくとも一部分のみ重なりがある図面要素に関しては、当該処理対象のメッシュ内での全チェック又は処理が終了したら図面要素毎に処理されたことを上記記憶装置に記憶し、次の処理対象のメッシュの全チェック又は処理時に対象の図面要素同士がチェック又は処理されたか否かを上記記憶装置に記憶した情報に基づいて判定し、処理済みであれば当該処理を省略することを特徴とする請求項1乃至5のうちのいずれか1つに記載の情報処理装置。   When checking or processing the relationship between drawing elements, the above control means, for drawing elements that overlap at least partly with the mesh to be processed, after all checks or processing within the mesh to be processed have been completed, Based on the information stored in the storage device, whether or not the target drawing elements have been checked or processed at the time of all checks of the next processing target mesh or processing is stored in the storage device. The information processing apparatus according to claim 1, wherein the processing is omitted if it is determined and processed. コンピュータを利用して複数の図面要素により構成される図面を複数のメッシュに分割し、各図面要素を各図面要素と重なったすべてのメッシュに帰属させて記憶装置において管理する図面情報管理方法であって、
予め定められたパターンに従って図面を分割した複数のメッシュのうち、所定数を超える図面要素を含むメッシュを再び上記パターンに従って複数のメッシュに分割することによって、すべてのメッシュに含まれる図面要素の数が上記所定数以下となるように最低限のメッシュ分割を行うステップを含むことを特徴とする情報処理方法。
A drawing information management method in which a drawing composed of a plurality of drawing elements is divided into a plurality of meshes using a computer, and each drawing element is attributed to all meshes overlapping each drawing element and managed in a storage device. And
By dividing a mesh including a predetermined number of drawing elements into a plurality of meshes according to the above pattern among a plurality of meshes obtained by dividing the drawing according to a predetermined pattern, the number of drawing elements included in all meshes can be reduced. An information processing method comprising a step of performing minimum mesh division so as to be equal to or less than the predetermined number.
上記最低限のメッシュ分割を行うステップを、すべてのメッシュに含まれる図面要素の数が上記所定数以下となるように反復することを特徴とする請求項7記載の情報処理方法。   8. The information processing method according to claim 7, wherein the step of performing the minimum mesh division is repeated so that the number of drawing elements included in all meshes is equal to or less than the predetermined number. 図形要素の減少時にはメッシュの統合を行わず、図面要素の増加時のみに、すべてのメッシュに含まれる図面要素の数が既定の数以下となる上記最低限のメッシュ分割の条件が満たされなくなったとき、もしくは、予め決められた数又は予め定められたパターンに従って算出された数より小さい場合、上記条件が満たされるようにメッシュの分割を行うステップをさらに含むことを特徴とする請求項7又は8記載の情報処理方法。   Mesh integration is not performed when the number of figure elements decreases, and the above minimum mesh division condition that the number of drawing elements included in all meshes is less than the predetermined number is not satisfied only when the number of drawing elements increases The method further includes a step of dividing the mesh so that the above condition is satisfied when the predetermined number or the number calculated according to the predetermined pattern is smaller than the predetermined number. The information processing method described. 図面の読み込み時、もしくは移動処理、複写処理、又は削除処理において、所定数を越える図面要素の編集が行われた場合、メッシュの再分割を実行するステップをさらに含むことを特徴とする請求項7乃至9のうちのいずれか1つに記載の情報処理方法。   8. The method of claim 7, further comprising a step of re-dividing the mesh when a drawing is read, or when a predetermined number of drawing elements have been edited in a move process, a copy process, or a delete process. The information processing method as described in any one of thru | or 9. メッシュ分割時において、メッシュの大きさが所定の大きさ、もしくは予め定められたパターンに従って算出された大きさより小さい場合、もしくは予め決められた終了条件を満たした場合、メッシュ分割を終了するステップをさらに含むことを特徴とする請求項7乃至10のうちのいずれか1つに記載の情報処理方法。   In mesh division, if the size of the mesh is smaller than a predetermined size or a size calculated according to a predetermined pattern, or if a predetermined termination condition is satisfied, the step of terminating the mesh division is further performed The information processing method according to claim 7, wherein the information processing method is included. 図面要素同士の関連をチェック又は処理する場合、処理対象のメッシュと少なくとも一部分のみ重なりがある図面要素に関しては、当該処理対象のメッシュ内での全チェック又は処理が終了したら図面要素毎に処理されたことを上記記憶装置に記憶し、次の処理対象のメッシュの全チェック又は処理時に対象の図面要素同士がチェック又は処理されたか否かを上記記憶装置に記憶した情報に基づいて判定し、処理済みであれば当該処理を省略するステップをさらに含むことを特徴とする請求項7乃至11のうちのいずれか1つに記載の情報処理方法。   When checking or processing the relationship between drawing elements, drawing elements that overlap at least partly with the processing target mesh are processed for each drawing element after all checks or processing in the processing target mesh is completed. This is stored in the storage device, and whether all the drawing elements to be processed are checked or processed at the time of all checks or processing of the next mesh to be processed is determined based on the information stored in the storage device and processed. The information processing method according to claim 7, further comprising a step of omitting the process. 請求項7乃至12のうちのいずれか1つに記載の情報処理方法に含まれるステップを含むことを特徴とするコンピュータにより実行可能なプログラム。   A computer-executable program comprising steps included in the information processing method according to any one of claims 7 to 12. 請求項13記載のプログラムを格納したことを特徴とするコンピュータにより読取可能な記録媒体。   A computer-readable recording medium storing the program according to claim 13.
JP2009098587A 2009-04-15 2009-04-15 Information processing apparatus and method, program, and recording medium Active JP5423116B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009098587A JP5423116B2 (en) 2009-04-15 2009-04-15 Information processing apparatus and method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009098587A JP5423116B2 (en) 2009-04-15 2009-04-15 Information processing apparatus and method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2010250518A true JP2010250518A (en) 2010-11-04
JP5423116B2 JP5423116B2 (en) 2014-02-19

Family

ID=43312776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009098587A Active JP5423116B2 (en) 2009-04-15 2009-04-15 Information processing apparatus and method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP5423116B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101642392B1 (en) * 2015-05-20 2016-08-10 서울시립대학교 산학협력단 Apparatus for managing drawings and divided drawings, method thereof, and computer recordable medium storing the method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05197790A (en) * 1992-01-21 1993-08-06 Nippon Telegr & Teleph Corp <Ntt> Map graphic data managing system
JPH05298416A (en) * 1992-04-15 1993-11-12 Matsushita Electric Ind Co Ltd Interference checking device
JPH06325114A (en) * 1993-05-13 1994-11-25 Mitsubishi Electric Corp Data management device and graphic data managing method
JPH08171573A (en) * 1994-12-20 1996-07-02 Mitsubishi Electric Corp Distributed arrangement device for drawing data
JP2001005953A (en) * 1999-06-25 2001-01-12 Hitachi Software Eng Co Ltd Drawing information managing method and computer- readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05197790A (en) * 1992-01-21 1993-08-06 Nippon Telegr & Teleph Corp <Ntt> Map graphic data managing system
JPH05298416A (en) * 1992-04-15 1993-11-12 Matsushita Electric Ind Co Ltd Interference checking device
JPH06325114A (en) * 1993-05-13 1994-11-25 Mitsubishi Electric Corp Data management device and graphic data managing method
JPH08171573A (en) * 1994-12-20 1996-07-02 Mitsubishi Electric Corp Distributed arrangement device for drawing data
JP2001005953A (en) * 1999-06-25 2001-01-12 Hitachi Software Eng Co Ltd Drawing information managing method and computer- readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101642392B1 (en) * 2015-05-20 2016-08-10 서울시립대학교 산학협력단 Apparatus for managing drawings and divided drawings, method thereof, and computer recordable medium storing the method

Also Published As

Publication number Publication date
JP5423116B2 (en) 2014-02-19

Similar Documents

Publication Publication Date Title
US8365102B2 (en) Method for checking and fixing double-patterning layout
JP5219928B2 (en) Editing apparatus, editing method, and program
CN103208225A (en) Tile map manufacturing method and system
JP6168756B2 (en) Information processing apparatus, control method thereof, and program
CN104321752A (en) Virtual surface allocation
JP2018073228A (en) Cable wiring program, information processing device, and cable wiring method
JP5423116B2 (en) Information processing apparatus and method, program, and recording medium
JP7192953B2 (en) Information processing device, information processing method and program
US11551391B2 (en) Digital image dynamic shadow generation
US10331837B1 (en) Device graphics rendering for electronic designs
JP2019197246A (en) Device management apparatus
US8549451B2 (en) Verification apparatus
JP4944434B2 (en) Layout method and program
CN107103209A (en) 3D digital contents are interacted and controlled
JP2008197451A (en) Extraction method, extraction device, and program
JP2002211099A (en) Method and apparatus for generating trapping region as well as trapping region generating program, and trapping region generating program storage medium
US8570610B2 (en) Information processing apparatus, information processing method and computer readable medium for designating a region of reduced document on display and creating image corresponding to the designated region
JP2010072857A (en) Image processing apparatus, information processing apparatus, printing system, and image processing program
JP5309560B2 (en) Drawing data management device
JP5278002B2 (en) Information processing apparatus and method, program, and recording medium
JP7059165B2 (en) Program generator and program generation method
JP5563385B2 (en) Layout pattern generation apparatus and layout pattern generation method
JP2009187168A (en) Information processor and information processing program
US10423712B2 (en) Creating and managing chattels to control design asset behaviors
JP2005018545A (en) Design data generating device and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121105

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130416

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130426

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: 20131029

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131111

R151 Written notification of patent or utility model registration

Ref document number: 5423116

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151