JP4583476B2 - Design drawing processing apparatus and computer program - Google Patents
Design drawing processing apparatus and computer program Download PDFInfo
- Publication number
- JP4583476B2 JP4583476B2 JP2008125428A JP2008125428A JP4583476B2 JP 4583476 B2 JP4583476 B2 JP 4583476B2 JP 2008125428 A JP2008125428 A JP 2008125428A JP 2008125428 A JP2008125428 A JP 2008125428A JP 4583476 B2 JP4583476 B2 JP 4583476B2
- Authority
- JP
- Japan
- Prior art keywords
- dimension
- line
- design drawing
- dimension value
- core
- 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 design drawing processing apparatus and computer program thereof for processing design drawing data for architecture, and more particularly to a design drawing processing apparatus and computer program thereof capable of handling design drawing data in a plurality of data formats.
2次元の設計図面を表す2次元CADデータから設計対象物の3次元モデルを生成する装置(特許文献1参照)及びCAD(Computer Aided Design)システム等のような設計図面処理装置の多くは、DXF形式、DWG形式、JWC形式等の複数のデータ形式の2次元CADデータの読み取りに対応している。 Many of design drawing processing apparatuses such as a device (see Patent Document 1) that generates a three-dimensional model of a design object from two-dimensional CAD data representing a two-dimensional design drawing, a CAD (Computer Aided Design) system, and the like are DXF. It supports reading of two-dimensional CAD data in a plurality of data formats such as a format, DWG format, and JWC format.
2次元CADデータでは、1又は複数の文字からなる文字列と線とが区別可能な形式で保持され、このため設計図面処理装置は読み込んだ2次元CADデータに含まれる文字データと線データとを区別して認識し、文字列及び線からなる設計図面を画面等に出力することができる。
しかしながら、設計図面には、寸法値及び部材符号等のように、意味及び役割の異なる複数種類の文字列が含まれており、設計図面の処理によっては、いずれの文字列が寸法値であるのかを認識しておく必要がある。特に、2次元CADデータから設計対象物の3次元モデルを生成するためには、構成部材のサイズ及び構成部材間の相対的位置関係を特定する必要があり、そのためには寸法値を寸法値として認識しておく必要がある。 However, the design drawing includes a plurality of types of character strings having different meanings and roles, such as dimension values and member codes, and which character string is a dimension value depending on the process of the design drawing. It is necessary to recognize. In particular, in order to generate a three-dimensional model of a design object from two-dimensional CAD data, it is necessary to specify the size of the constituent members and the relative positional relationship between the constituent members. It is necessary to recognize it.
本発明は斯かる事情に鑑みてなされたものであり、その目的は設計図面データに含まれる寸法値を認識することが可能な設計図面処理装置及びコンピュータプログラムを提供することにある。 The present invention has been made in view of such circumstances, and an object thereof is to provide a design drawing processing apparatus and a computer program capable of recognizing a dimension value included in design drawing data.
上述した課題を解決するために、本発明の設計図面処理装置は、建築物の構成部材の形状を表す図形並びに前記構成部材に関する寸法線及び寸法値を含み、1又は複数の文字からなる文字列と線とを区別可能に構成された設計図面データと、設計図面データに含まれる文字列のうち、寸法値を除く文字列に含まれる1又は複数の特定の文字を示す辞書データとを記憶する記憶手段と、前記設計図面データに含まれる文字列中の文字と、前記辞書データが示す文字とを比較して、前記設計図面データに含まれる文字列のうち、寸法値を除く文字列を特定し、前記設計図面データに含まれる文字列のうち、特定された文字列以外の文字列を寸法値として認識する寸法値認識手段と、前記寸法値認識手段によって認識された寸法値に基づいて、前記設計図面データに含まれる線の中から前記寸法値に対応する寸法線を認識する寸法線認識手段とを備える。 In order to solve the above-described problems, a design drawing processing apparatus according to the present invention includes a figure representing a shape of a structural member of a building, a dimensional line and a dimensional value related to the structural member, and a character string including one or more characters. Design drawing data configured to be distinguishable from lines, and dictionary data indicating one or more specific characters included in a character string excluding dimension values among character strings included in the design drawing data. A character string excluding dimension values is specified from the character string included in the design drawing data by comparing the storage means with the character in the character string included in the design drawing data and the character indicated by the dictionary data. Then, based on the dimension value recognized by the dimension value recognizing means, the dimension value recognizing means for recognizing a character string other than the specified character string among the character strings included in the design drawing data, Above From the lines included in the total drawing data and a dimension line recognition means for recognizing a dimension line corresponding to the dimension value.
上記発明においては、前記寸法線認識手段が、前記寸法値認識手段によって認識された寸法値の位置及び向きと、前記設計図面データに含まれる線の位置及び方向とに基づいて、前記設計図面データに含まれる線の中から前記寸法値に対応する寸法線を認識するように構成されていることが好ましい。 In the above invention, the dimension line recognizing means is based on the position and direction of the dimension value recognized by the dimension value recognizing means and the position and direction of the line included in the design drawing data. It is preferable that a dimension line corresponding to the dimension value is recognized from among the lines included in.
上記発明においては、前記記憶手段が、建築物の構成部材を特定するために用いられる部材符号に含まれる文字を示す前記辞書データを記憶しており、前記寸法値認識手段が、前記設計図面データに含まれる文字列中の文字と、前記辞書データが示す文字とを比較して、前記設計図面データに含まれる文字列のうち、前記部材符号を特定し、前記設計図面データに含まれる文字列のうち、特定された部材符号以外の文字列を寸法値として認識するように構成されていることが好ましい。 In the said invention, the said memory | storage means has memorize | stored the said dictionary data which shows the character contained in the member code | symbol used in order to specify the structural member of a building, The said dimension value recognition means has said design drawing data A character string included in the design drawing data is identified by comparing the character in the character string included in the character string and the character indicated by the dictionary data to identify the member code among the character strings included in the design drawing data. Among these, it is preferable that a character string other than the specified member code is recognized as a dimension value.
上記発明においては、前記設計図面処理装置が、前記寸法値認識手段によって認識された寸法値の中から、寸法線と対応づけるべき寸法値を選定する寸法値選定手段を更に備え、前記寸法線認識手段が、前記寸法値選定手段によって選定された寸法値に対応する寸法線を認識するように構成されていることが好ましい。 In the above invention, the design drawing processing apparatus further comprises dimension value selection means for selecting a dimension value to be associated with the dimension line from the dimension values recognized by the dimension value recognition means, and the dimension line recognition It is preferable that the means is configured to recognize a dimension line corresponding to the dimension value selected by the dimension value selecting means.
この場合においては、前記記憶手段が、寸法線と対応づけられない寸法値に含まれる特定の文字を記憶しており、前記寸法値選定手段が、寸法値に含まれる文字と前記記憶手段に記憶されている前記特定の文字とを比較することにより、前記特定の文字を含む寸法値を認識し、当該寸法値を、寸法線と対応づけるべき寸法値から除外するように構成されていることが好ましい。 In this case, the storage means stores a specific character included in a dimension value that is not associated with a dimension line, and the dimension value selection means stores the character included in the dimension value and the storage means. It is configured to recognize a dimension value including the specific character by comparing with the specific character, and to exclude the dimension value from the dimension value to be associated with the dimension line. preferable.
上記発明においては、前記設計図面処理装置が、前記寸法線認識手段によって認識された寸法線に基づいて、当該寸法線が指示する対象を特定する対象特定手段を更に備えることが好ましい。 In the said invention, it is preferable that the said design drawing processing apparatus is further provided with the object specific | specification means which specifies the object which the said dimension line points out based on the dimension line recognized by the said dimension line recognition means.
この場合においては、前記設計図面処理装置が、前記設計図面データに含まれる線のうち、通り芯を認識する通り芯認識手段を更に備え、前記対象特定手段が、2つの通り芯で終端している寸法線の対象として、前記2つの通り芯の間を特定するように構成されていることが好ましい。 In this case, the design drawing processing apparatus further includes a street recognizing unit for recognizing a street core among the lines included in the design drawing data, and the target specifying unit is terminated with two street cores. It is preferable that it is comprised so that between the said two cores may be specified as the object of the dimension line which exists.
この場合においては、前記通り芯認識手段が、柱の通り芯である第1の通り芯を認識する第1の通り芯認識手段と、2つの平行な前記第1の通り芯の間に配置される第2の取り芯を認識する第2の通り芯認識手段とを備えることが好ましい。 In this case, the core recognizing means is disposed between the first core recognizing means for recognizing the first core that is the core of the column and the two parallel first cores. It is preferable to include a second core recognizing unit that recognizes the second core.
また、この場合においては、前記第2の通り芯認識手段が、第1の通り芯及び寸法線とは異なる線を選択し、選択された線が寸法線と交差するように配置されているか否かを判定することにより、第2の通り芯を認識するように構成されていることが好ましい。 Further, in this case, whether or not the second core recognition means selects a line different from the first core and the dimension line, and is arranged so that the selected line intersects the dimension line. It is preferable that the second core is recognized by determining whether or not.
本発明のコンピュータプログラムは、建築物の設計図面を表しており、1又は複数の文字からなる文字列と線とを区別可能に構成された設計図面データに含まれる文字列のうち、寸法値を除く文字列に含まれる1又は複数の特定の文字を示す辞書データを記憶する記憶手段を備えるコンピュータを、設計図面データに含まれる文字列中の文字と、前記辞書データが示す文字とを比較して、前記設計図面データに含まれる文字列のうち、寸法値を除く文字列を特定し、前記設計図面データに含まれる文字列のうち、特定された文字列以外の文字列を寸法値として認識する寸法値認識手段と、前記寸法値認識手段によって認識された寸法値に基づいて、前記設計図面データから前記寸法値に対応する寸法線を認識する寸法線認識手段として機能させる。 The computer program of the present invention represents a design drawing of a building, and a dimension value is selected from character strings included in design drawing data configured to be able to distinguish a character string composed of one or more characters and a line. A computer comprising storage means for storing dictionary data indicating one or more specific characters included in a character string to be excluded is compared with a character in the character string included in the design drawing data and a character indicated by the dictionary data. The character string excluding the dimension value is specified from the character string included in the design drawing data, and the character string other than the specified character string is recognized as the dimension value among the character strings included in the design drawing data. And a dimension line recognition means for recognizing a dimension line corresponding to the dimension value from the design drawing data based on the dimension value recognized by the dimension value recognition means. That.
本発明の設計図面処理装置及びコンピュータプログラムによれば、設計図面データに含まれる寸法値を効率よく認識することができる。 According to the design drawing processing apparatus and the computer program of the present invention, it is possible to efficiently recognize the dimension values included in the design drawing data.
以下、本発明の好ましい実施の形態を、図面を参照しながら説明する。 Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
(実施の形態)
本実施の形態は、建築物の2次元CADデータを読み出し、その2次元CADデータに含まれる文字列(文字データ(ASCIIコード、JISコード、Shift−JISコード、EUC、又はUnicode等の文字コードによって表された文字及び記号のデータ)の集合)から、建築物の構成部材を特定するために用いられる部材符号に該当する文字列を特定し、特定した文字列以外の文字列を寸法値データとして認識する設計図面処理装置である。
(Embodiment)
In the present embodiment, two-dimensional CAD data of a building is read, and character strings (character data (ASCII code, JIS code, Shift-JIS code, EUC, Unicode, etc.) included in the two-dimensional CAD data are read. The character string corresponding to the member code used to identify the structural member of the building is identified from the set of the character and symbol data represented), and the character string other than the identified character string is used as dimension value data. It is a design drawing processing apparatus to be recognized.
[設計図面処理装置の構成]
図1は、本発明の実施の形態に係る設計図面処理装置の構成を示すブロック図である。図1に示すように、コンピュータ1aは、本体11と、画像表示部12と、入力部13とを備えている。本体11は、CPU11aと、ROM11b、RAM11c、ハードディスク11d、読出装置11e、入出力インタフェース11f、及び画像出力インタフェース11hを備えており、CPU11a、ROM11b、RAM11c、ハードディスク11d、読出装置11e、入出力インタフェース11f、および画像出力インタフェース11hは、バス11iによって接続されている。
[Configuration of design drawing processing device]
FIG. 1 is a block diagram showing a configuration of a design drawing processing apparatus according to an embodiment of the present invention. As shown in FIG. 1, the
CPU11aは、RAM11cにロードされたコンピュータプログラムを実行することが可能である。そして、後述するような設計図面処理プログラム14aを当該CPU11aが実行することにより、コンピュータ1aが設計図面処理装置1として機能する。
The
ROM11bは、マスクROM、PROM、EPROM、又はEEPROM等によって構成されており、CPU11aに実行されるコンピュータプログラムおよびこれに用いるデータ等が記録されている。
The
RAM11cは、SRAMまたはDRAM等によって構成されている。RAM11cは、ハードディスク11dに記録されている設計図面処理プログラム14aの読み出しに用いられる。また、CPU11aがコンピュータプログラムを実行するときに、CPU11aの作業領域として利用される。
The
ハードディスク11dは、オペレーティングシステムおよびアプリケーションプログラム等、CPU11aに実行させるための種々のコンピュータプログラムおよび当該コンピュータプログラムの実行に用いられるデータがインストールされている。後述する設計図面処理プログラム14aも、このハードディスク11dにインストールされている。また、ハードディスク11dは、DXF形式、DWG形式、JWC形式等の2次元CADデータ2を記憶している。
The
ハードディスク11dは、部材符号認識用辞書3を記憶している。部材符号認識用辞書3には、建築物の設計図面にて用いられる部材符号が登録されている。図2は、部材符号認識用辞書3の構成を模式的に示す図である。図2に示すように、部材符号認識用辞書3には、柱の符号を認識するための柱符号認識用辞書31、梁の符号を認識するための梁符号認識用辞書32、スラブの符号を認識するためのスラブ符号認識用辞書33、壁の符号を認識するための壁符号認識用辞書34、ベース(基礎)の符号を認識するためのベース符号認識用辞書35、杭の符号を認識するための杭符号認識用辞書36等、部材の種類に応じた複数の辞書が含まれている。部材符号の認識は、設計図面データに含まれる文字列が、これらの部材符号認識用辞書3に登録されている文字で始まっている場合に、その文字が登録されている辞書に対応する部材の種類の符号であると認識することにより行われる。例えば、柱符号認識用辞書31には、「C」、「P」の文字データが登録されている。したがって、設計図面データに含まれている文字列のうち最初の文字が「C」又は「P」で始まるものは、柱符号であると認識される。同様に、梁符号認識用辞書32は、「G」、「B」、「CG」、「CB」、「FG」、「FB」、「FCG」、及び「FCB」の各文字データが登録されており、設計図面データに含まれる文字列のうち、最初が上記の登録されている文字データの何れかで始まるものは、梁符号として認識される。なお、1つの文字列の最初の1文字又は数文字が、辞書3に登録されている複数の文字データと一致している場合には、文字数の多い方の文字データに一致していると判断される。つまり、「CB」で始まる文字列は、最初の1文字「C」が、柱符号認識用辞書31に登録されている文字である「C」と一致し、また、最初の2文字「CB」が、梁符号認識用辞書32に登録されている文字である「CB」と一致している。この場合には、文字数が多い「CB」と一致していると判断され、当該文字列は梁符号を示しているものと認識される。
The
読出装置11eは、フレキシブルディスクドライブ、CD−ROMドライブ、またはDVD−ROMドライブ等によって構成されており、可搬型記録媒体14に記録されたコンピュータプログラムまたはデータを読み出すことができる。また、可搬型記録媒体14には、コンピュータを設計図面処理装置として機能させるための設計図面処理プログラム14aが格納されており、コンピュータ1aが当該可搬型記録媒体14から設計図面処理プログラム14aを読み出し、当該設計図面処理プログラム14aをハードディスク11dにインストールすることが可能である。
The
なお、前記設計図面処理プログラム14aは、可搬型記録媒体14によって提供されるのみならず、電気通信回線(有線、無線を問わない)によってコンピュータ1aと通信可能に接続された外部の機器から前記電気通信回線を通じて提供することも可能である。例えば、前記設計図面処理プログラム14aがインターネット上のサーバコンピュータのハードディスク内に格納されており、このサーバコンピュータにコンピュータ1aがアクセスして、当該コンピュータプログラムをダウンロードし、これをハードディスク11dにインストールすることも可能である。
The design
また、ハードディスク11dには、例えば米マイクロソフト社が製造販売するWindows(登録商標)等のマルチタスクオペレーティングシステムがインストールされている。以下の説明においては、本実施の形態に係る設計図面処理プログラム14aは当該オペレーティングシステム上で動作するものとしている。
The
入出力インタフェース11fは、例えばUSB,IEEE1394,又はRS-232C等のシリアルインタフェース、SCSI,IDE,又はIEEE1284等のパラレルインタフェース、およびD/A変換器、A/D変換器等からなるアナログインタフェース等から構成されている。入出力インタフェース11fには、キーボードおよびマウスからなる入力部13が接続されており、ユーザが当該入力部13を使用することにより、コンピュータ1aにデータを入力することが可能である。
The input /
画像出力インタフェース11hは、LCDまたはCRT等で構成された画像表示部12に接続されており、CPU11aから与えられた画像データに応じた映像信号を画像表示部12に出力するようになっている。画像表示部12は、入力された映像信号にしたがって、画像(画面)を表示する。
The
[設計図面処理装置の動作]
次に、本実施の形態に係る設計図面処理装置の動作について説明する。図3は、本実施の形態に係る設計図面処理プログラムの処理の流れを示すフローチャートである。コンピュータ1aは、設計図面処理プログラム14aを実行することにより、以下のように動作する。まず、CPU11aは、2次元CADデータをハードディスク11dから読み出す(ステップS1)。この2次元CADデータは、DXF形式、DWG形式、又はJWC形式等の設計図面処理プログラム14aが対応しているフォーマットのデータである。CPU11aは、ファイル名に付加された拡張子等からこのデータのフォーマットを判別し、そのフォーマットに応じたルールにしたがって当該2次元CADデータの内容を認識し、RAM11c上にデータを展開する。この展開されたデータには、設計図面中の線を示す線データ(線の位置、線の方向、長さ、線種(実線、破線等)、線の太さ、線の色等を示すデータ)及び文字列を示す文字列データ(文字コード、文字列の位置、文字列の向き、文字の大きさ、文字の太さ、文字の色等を示すデータ)を含んでいる。なお、ここでは2次元CADデータが事前に外部から入力され、ハードディスク11dに記憶されているものとしている。また、これに限られるものではなく、例えば、フレキシブルディスク、CD−R、又はDVD−R等の書き込み可能なメディアに記録された2次元CADデータを、これらのメディアの読出装置11eによって当該メディアから読み出すことも可能である。CPU11aは、このようにして読み出した2次元CADデータにしたがって、当該2次元CADデータが表す設計図面を画像表示部12に表示する(ステップS2)。なお、このときの設計図面の表示では、背景(設計図面の紙面)が白色であり、線及び文字が黒色である。
[Operation of design drawing processing device]
Next, the operation of the design drawing processing apparatus according to the present embodiment will be described. FIG. 3 is a flowchart showing a processing flow of the design drawing processing program according to the present embodiment. The
次に、CPU11aは、当該2次元CADデータによって表される設計図面における作画領域を検出する(ステップS3)。ここで、作画領域とは、設計図面の図面枠の内部領域であって、表題欄を除いた部分をいう。
Next, the
次に、CPU11aは、寸法値認識処理を実行し(ステップS4)、作画領域内に存在する全ての文字列について、寸法値を示す文字列か否かを認識する。この寸法値認識処理について更に詳しく説明する。図4は、寸法値認識処理の流れを示すフローチャートであり、図5は、設計図面の一例を示す図である。CPU11aは、まず、作画領域内に存在する文字列データを1つ選択し(ステップS401)、その文字列が部材符号であるか否かを判定する(ステップS402)。このステップS402の処理においては、ハードディスク11dに記憶されている部材符号認識用辞書3が読み出され、処理対象の文字列データが、部材符号認識用辞書3に登録されている文字で始まっているか否かを判定することにより、この文字列データが部材符号を表すものであるか否か、また部材符号を表している場合には、柱、梁、スラブ、壁、ベース、杭等のうち何れの種類の部材の符号であるかが判定される。図5を用いて具体的に説明する。例えば、図5中の文字列41が選択された場合には、この文字列41の最初の文字「G」は梁符号認識用辞書32に登録されている文字データ「G」と一致している。したがって、「G1」という文字列41は、梁符号として判定される。また、図5中の文字列42が選択された場合には、この文字列42の最初の文字「3」は部材符号認識用辞書3に含まれる何れの辞書の登録文字にも一致しない。よって、「3000」という文字列42は、部材符号ではないと判定される。
Next, the
CPU11aは、文字列データが部材符号を示すデータである場合には(ステップS402においてYES)、認識された種類の部材符号を示す情報を含む当該文字列の属性データをRAM11cに記憶する(ステップS403)。また、CPU11aは、部材符号を囲む枠(部材符号枠)が存在するか否か判定し(ステップS404)、部材符号枠が検出された場合には(ステップS404においてYES)、枠内の文字列及び線を検出する(ステップS405)。ステップS404において、その部材符号を囲む部材符号枠が存在しない場合には(ステップS404においてNO)、CPU11aは、処理をステップS406へと移す。次に、CPU11aは、部材符号を所定の色(本実施の形態では青色)により描画する(ステップS406)。このステップS406の処理では、枠が存在する場合には部材符号、部材符号枠、検出された枠内の文字列及び線が青色で描画され、枠が検出されなかった場合には、部材符号のみが青色で描画される。その後、CPU11aは、ステップS408へ処理を移す。
If the character string data is data indicating a member code (YES in step S402), the
ステップS403〜S406の処理を図5の例を用いて説明する。文字列41が選択されている場合、ステップS403において、梁符号を示す情報を含む文字列41の属性データがRAM11cに記憶される。そして、ステップS404においてG1の周囲の符号枠41aが検出され、ステップS405において枠内の文字列41b,41c,41d及び枠内の線41e,41fが検出される。次いで、ステップS406において、文字列41、符号枠41a、文字列41b,41c,41d、及び線41e,41fが青色で描画される。また、文字列43が選択されている場合には、ステップS403において、柱符号を示す情報を含む文字列43の属性データがRAM11cに記憶される。そして、ステップS404において、周囲の符号枠が存在しないと判定され、ステップS406において、「C6」の文字列43が青色で描画される。
The processing of steps S403 to S406 will be described using the example of FIG. When the
ステップS402において、文字列データが部材符号を示すデータでない場合には(ステップS402においてNO)、CPU11aは、寸法値であることを示す情報を含むその文字列の属性データをRAM11cに記憶する(ステップS407)。上記の例で説明すると、文字列42が選択されている場合には、「3000」という文字列42の属性データが、寸法値であることを示す情報を含むものとしてRAM11cに記憶される。次に、CPU11aは、作画領域内の全ての文字列データについて上記の処理を行ったか否かを判定し(ステップS408)、未処理の文字列データが存在する場合には(ステップS408においてNO)、作画領域内に存在する未処理の文字列データを1つ選択し(ステップS409)、ステップS402へ処理を戻す。また、ステップS408において、作画領域内の全ての文字列データについて処理が終了した場合には(ステップS408においてYES)、CPU11aは、メインルーチンにおける寸法値認識処理の呼出アドレスに処理をリターンする。
In step S402, when the character string data is not data indicating a member code (NO in step S402), the
次に、CPU11aは、寸法線認識処理を実行する(ステップS5)。この寸法線認識処理について更に詳しく説明する。図6は、寸法線認識処理の流れを示すフローチャートである。CPU11aは、まず、寸法値データを1つ選択し(ステップS501)、当該寸法値データが寸法線と関連づけるべき寸法値を示すものであるか否かを判定する(ステップS502)。ここで、寸法線と関連づけるべき寸法値とは、関連づけるべき寸法線が存在する寸法値のことをいい、部材符号枠の内部に位置する寸法値等は除外される。具体的には、ハードディスク11dの設計図面処理プログラム14aのプログラムコード内に、寸法線と対応づけられない寸法値に含まれる文字として、「+」、「−」、「±」が記憶されており、選択された寸法値と「+」、「−」、及び「±」とを比較することにより、選択された寸法値が、「+」、「−」、又は「±」で始まっていると判定された場合には、寸法線と関連づけるべき寸法値ではないものとされる。また、部材符号枠の内部に位置している寸法値は、寸法線と関連づけるべき寸法値ではないものとされる。このように、選択された寸法値が、寸法線と関連づけるべき寸法値でないと判定された場合には(ステップS502においてNO)、CPU11aは、処理をステップS506へと移す。
Next, the
一方、ステップS502において、選択された寸法値が寸法線と関連づけるべき寸法値であると判定された場合には(ステップS502においてYES)、CPU11aは、その寸法値に対して、予め記憶された位置関係のルールに適合する線を寸法線として検出する(ステップS503)。この処理をさらに具体的に説明する。ハードディスク11dには、以下のような位置関係のルールが記憶されている。
(1)寸法値が横向き(文字が図中左右方向に並んでいる)の場合、寸法値よりも下に存在する線であって、寸法値から所定の距離範囲にある横長の線が寸法線である。
(2)寸法値が横向きであり、(1)の条件に合致する線が存在しない場合、寸法値よりも上に存在する線であって、寸法値から所定の距離範囲にある横長の線が寸法線である。
(3)寸法値が縦向き(文字が図中上下方向に並んでいる)の場合、寸法値よりも右に存在する線であって、寸法値から所定の距離範囲にある縦長の線が寸法線である。
(4)寸法値が縦向きであり、(3)の条件に合致する線が存在しない場合、寸法値よりも左に存在する線であって、寸法値から所定の距離範囲にある縦長の線が寸法線である。
CPU11aは、寸法値に対して上記の位置関係ルールに合致する線を検出する。つまり、寸法値が横向きの場合には、長手方向が横方向の線であって、寸法値よりも下に存在する線が優先的に検出され、寸法値が縦向きの場合には、長手方向が縦方向の線であって、寸法値よりも右に存在する線が優先的に検出される。優先的に検出する方向において寸法値の近傍(所定の距離範囲内)に長手方向が一致する線が存在しない場合には、その反対側の方向(寸法値が横向きの場合には寸法値よりも上方、寸法値が縦向きの場合には寸法値よりも左方)に存在する寸法値の近傍の線を検出する。例えば、図5に示す設計図面において、42の寸法値が選択されている場合には、この寸法値が縦向き(文字が図中上下方向に並んでいる)であるため、縦方向(図において上下方向)を長手方向とし、最も文字列42に近く、文字列42の右方に存在する線42aが検出される。また、寸法値44が選択されている場合には、この寸法値が横向き(文字が図中左右方向に並んでいる)であるため、横方向(図において左右方向)を長手方向とし、最も寸法値44に近く、文字列44の下方に存在する線44aが検出される。
On the other hand, when it is determined in step S502 that the selected dimension value is a dimension value to be associated with the dimension line (YES in step S502), the
(1) When the dimension value is horizontal (characters are lined up in the horizontal direction in the figure), a line existing below the dimension value and a horizontally long line within a predetermined distance from the dimension value is a dimension line. It is.
(2) When the dimension value is in the horizontal direction and there is no line that satisfies the condition of (1), a line that exists above the dimension value, and a horizontally long line within a predetermined distance range from the dimension value It is a dimension line.
(3) When the dimension value is in the vertical direction (characters are arranged in the vertical direction in the figure), a line that exists to the right of the dimension value, and a vertically long line within a predetermined distance from the dimension value is the dimension. Is a line.
(4) When the dimension value is in the vertical direction and there is no line that matches the condition of (3), the line is present on the left side of the dimension value, and is a vertically long line within a predetermined distance range from the dimension value. Is a dimension line.
The
次に、CPU11aは、このようにして検出された線の属性データをRAM11cに記憶する(ステップS504)。このとき、その寸法線の属性データは、寸法値であることを示す情報を含んでおり、その寸法線の検出に用いられた寸法値と関連づけられて記憶される。上記の例で説明すると、線42aの属性データは、寸法値42と関連づけられて記憶され、線44aの属性データは、寸法値44と関連づけられて記憶される。
Next, the
次に、CPU11aは、関連づけた寸法値と寸法線とを所定の色(赤色)により描画する(ステップS505)。上記の例で説明すると、線42aと寸法値42とが赤色で描画され、線44aと寸法値44とが赤色で描画される。更に、CPU11aは、全ての寸法値データに対して上記の処理を行ったか否かを判定し(ステップS506)、未処理の寸法値データが存在する場合には(ステップS506においてNO)、未処理の寸法値データを1つ選択し(ステップS507)、ステップS502へと処理を戻す。ステップS506において全ての寸法値データについて処理を実施した場合には(ステップS506においてYES)、メインルーチンにおける寸法線認識処理の呼出アドレスに処理をリターンする。
Next, the
次に、CPU11aは、通り芯認識処理を実行する(ステップS6)。この通り芯認識処理は、第1通り芯認識処理(ステップS61)と第2通り芯認識処理(ステップS62)とを含んでいる。第1通り芯認識処理(ステップS61)では、設計図面中の線の中から、寸法の定義の基準となる柱通り芯(以下、第1通り芯という)及び高さ方向基準線が認識される。第1通り芯には、通り芯図において、通り芯記号(「X1」、「Y1」等の文字列が一点鎖線で丸囲みされた記号として記載される。)が付されている。図5においても、第1通り芯45は、通り芯図において、通り芯記号45aによって特定される。また、高さ方向基準線は、軸組図において、階層記号(1階の場合には「1FL」、2階の場合には「2FL」等のように記載される。)が付されている。したがって、ステップS6の処理においては、CPU11aが設計図面中で通り芯記号及び階層記号を検出し、その通り芯記号・階層記号に対応する線を検出することにより、第1通り芯及び高さ方向基準線を認識する。また、ステップS6の処理では、第1通り芯及び高さ方向基準線と認識された線の属性データとして、第1通り芯又は高さ方向基準線であることを示す情報を含む属性データがRAM11cに保存され、これらの第1通り芯及び高さ方向基準線と、それぞれに対応する通り芯記号及び階層記号とを、所定の色(本実施の形態では緑色)で描画される。
Next, the
第1通り芯認識処理を終了した後、CPU11aは、第2通り芯認識処理を実行し(ステップS62)、第1通り芯とは異なる通り芯であって、2本の平行な第1通り芯の間に存在し、それらの第1通り芯と平行な通り芯である第2通り芯を設計図面から認識する。第2通り芯は、第1通り芯を基準として位置が定義される。そのため、設計図面には通常2種類の第2通り芯が存在する。第1の種類の第2通り芯は、第1通り芯から直接に位置が定義される第2通り芯、つまり第1通り芯から寸法が指定される第2通り芯であり、第2の種類の第2通り芯は、第1通り芯から間接的に位置が定義される第2通り芯、つまり、平行な2本の第2通り芯間に存在しており、第2通り芯から寸法が指定される第2通り芯である。図7は、第2通り芯の存在する設計図面の一部の例を示す図である。図7に示す例では、2本の互いに平行な第1通り芯51及び52の間に、これらの第1通り芯51,52に平行な3本の第2通り芯53,54,55が存在する。第2通り芯53は、第1通り芯51から寸法が指定されている。これと同様に第2通り芯55は、第1通り芯52から寸法が指定されている。したがって、第2通り芯53及び55は、第1の種類の第2通り芯である。一方、第2通り芯54は、第1通り芯51,52から寸法指定されているものではなく、第2通り芯53、55から寸法指定されている。したがって、第2通り芯54は、第2の種類の第2通り芯ということになる。
After completing the first core recognition process, the
また、第2通り芯は部材の通り芯であることから、その部材の寸法が第2通り芯を基準として定義されているという特徴を有している。このため、第2通り芯の条件として、部材の幅を示す寸法線と直交していること、及び、その線からの振分寸法(その線から部材の両端までの距離を示す寸法)が存在すること、が挙げられる。このことを図7を用いて説明する。第2通り芯53は、壁56の通り芯である。したがって、第2通り芯53は、壁56の幅寸法線56aに直交しており、第2通り芯53からの振分寸法56b,56cが第2通り芯53の両側に存在する。第2通り芯54及び55も同様に、壁の幅寸法線にそれぞれ直交しており、それぞれの両側に振分寸法線が存在している。
In addition, since the second core is a core of the member, the dimension of the member is defined based on the second core. For this reason, the condition of the second core is that it is orthogonal to the dimension line indicating the width of the member and the distribution dimension from that line (the dimension indicating the distance from the line to both ends of the member). To do. This will be described with reference to FIG. The
以上のような第2通り芯の特徴に基づいて、ステップS62においては第2通り芯が以下のようにして認識される。図8A及び図8Bは、第2通り芯認識処理の流れを示すフローチャートである。CPU11aは、まず、第1通り芯を一つ選択し(ステップS621)、この第1通り芯と平行な線であって、この第1通り芯から寸法指定されている線を検出する(ステップS622)。このステップS622の処理を具体的に説明すると、まず第1通り芯上、又は第1通り芯から延長された線(この線は寸法補助線と考えられる。)上に一方の端末記号(図7では黒丸)がある寸法線が検出され、その寸法線の他方の端末記号が存在する線が検出される。CPU11aは、RAM11cの属性データを参照して、このようにして検出された線が第1通り芯又は第2通り芯であるか否かを判定する(ステップS623)。
Based on the characteristics of the second lead as described above, the second lead is recognized as follows in step S62. 8A and 8B are flowcharts showing the flow of the second core recognition process. First, the
ステップS623において、検出された線が第1通り芯でなかった場合には(ステップS623においてNO)、CPU11aは、その線(以下、第2通り芯候補という)が、部材幅寸法線と直交しているか否かを判定する(ステップS624)。第2通り芯候補が部材幅寸法線と直交している場合には(ステップS624においてYES)、第2通り芯候補を基端とする一対の振分寸法線が存在するか否かを判定する(ステップS625)。このステップS625の処理においては、具体的には、一方の端末記号が第2通り芯候補の線又はその延長線上にある寸法線であって、ステップS624において交差が検出された部材幅寸法線が指示する線と同じ線(すなわち、その部材の形状を示す線の1つ)又はその延長線を他方の端末記号が指示している寸法線が、第2通り芯の両側にそれぞれ存在するか否かが判定される。ステップS625において、第2通り芯候補を基端とする一対の振分寸法線が存在する場合には(ステップS625においてYES)、この第2通り芯候補の線の属性データとして、第2通り芯であることを示す情報を含む属性データをRAM11cに記憶する(ステップS626)。次に、CPU11aは、以上のようにして第2通り芯として認識された線を所定の色(本実施の形態では緑色)により描画する(ステップS627)。
If the detected line is not the first core in step S623 (NO in step S623), the
一方、ステップS623において第2通り芯候補が第1通り芯又は第2通り芯であった場合(ステップS623においてYES)、ステップS624において第2通り芯候補と直交する部材幅寸法線が存在しない場合(ステップS624においてNO)、又はステップS625において第2通り芯候補を基端とする一対の振分寸法線が存在しない場合(ステップS625においてNO)には、CPU11aは、選択されている第1通り芯から寸法指定されている全ての線が検出されたか否かを判定し(ステップS628)、未検出の線が存在する場合には(ステップS628においてNO)、既に検出された線を除き、選択されている第1通り芯から寸法指定されている、前記第1通り芯と平行な線を検出し(ステップS629)、処理をステップS623へと戻す。また、ステップS628において、選択されている第1通り芯から寸法指定された、この第1通り芯と平行な全ての線について上記の処理が完了している場合には(ステップS628においてYES)、この設計図面中の全ての第1通り芯について上記の処理を行ったか否かを判定し(ステップS630)、未処理の第1通り芯が存在する場合には(ステップS630においてNO)、未処理の第1通り芯の一つを選択し(ステップS631)、ステップS622へ処理を戻す。
On the other hand, when the second core candidate is the first core or the second core in step S623 (YES in step S623), there is no member width dimension line orthogonal to the second core candidate in step S624. (No in step S624) Or, in step S625, if there is no pair of distribution dimension lines with the second core candidate as the base (NO in step S625), the
また、CPU11aは、ステップS630において、この設計図面中の全ての第1通り芯について上記の処理を完了している場合には(ステップS630においてYES)、CPU11aは、第2通り芯を一つ選択し(ステップS632)、この第2通り芯と平行な線であって、この第1通り芯から寸法指定されている線を検出する(ステップS633)。ステップS634〜S638の処理は、ステップS623〜S627の処理と同様であるので、その説明を省略する。
In addition, when the
ステップS634において第2通り芯候補が第1通り芯であった場合(ステップS634においてNO)、ステップS635において第2通り芯候補と直交する部材幅寸法線が存在しない場合(ステップS635においてNO)、又はステップS636において第2通り芯候補を基端とする一対の振分寸法線が存在しない場合(ステップS636においてNO)には、CPU11aは、選択されている第2通り芯から寸法指定されている全ての線について上記の処理が行われたか否かを判定し(ステップS639)、未処理の線が存在する場合には(ステップS639においてNO)、未処理の線を検出し(ステップS640)、処理をステップS634へと戻す。また、ステップS639において、選択されている第2通り芯から寸法指定された、この第2通り芯と平行な全ての線について上記の処理が完了している場合には(ステップS639においてYES)、このRAM11cに属性データが記憶されている全ての第2通り芯について上記の処理を行ったか否かを判定し(ステップS641)、未処理の第2通り芯が存在する場合には(ステップS641においてNO)、未処理の第2通り芯の一つを選択し(ステップS642)、ステップS633へ処理を戻す。
If the second core candidate is the first core in step S634 (NO in step S634), or if there is no member width dimension line orthogonal to the second core candidate in step S635 (NO in step S635), Alternatively, in step S636, when there is no pair of distribution dimension lines having the second core candidate as the base end (NO in step S636), the
また、CPU11aは、ステップS641において、このRAM11cに属性データが記憶されている全ての第2通り芯について上記の処理を完了している場合には(ステップS641においてYES)、メインルーチンにおける第2通り芯認識処理の呼出アドレスに処理をリターンする。
If the
次に、CPU11aは、通り芯間寸法・高さ方向基準線間寸法認識処理を実行する(ステップS7)。この処理では、通り芯の間を指示する寸法線(2つの通り芯上又はその延長線上に端末記号が存在する寸法線)、及び高さ方向基準線間を指示する寸法線が認識され、その寸法線の属性データとして、通り芯間の寸法線又は高さ方向基準線間の寸法線であることを示す属性データがRAM11cに記憶される。
Next, the
次に、CPU11aは、寸法補助線認識処理を実行する(ステップS8)。この処理では、寸法線の端末記号と重なっている線(つまり、その線上に寸法線の端末記号が存在している)が検出され、その線の線種が実線であること、及びその線の延長上に当該線と平行な別の線が存在していることを判定することにより、当該線が寸法補助線であるか否かが判定される。認識された寸法補助線は、その寸法線と関連づけられるべく、寸法補助線であることを示す属性データが前記寸法線と関連づけられて(例えば、属性データに当該寸法線を特定する情報を含める)RAM11cに記憶される。
Next, the
次に、CPU11aは、認識された寸法補助線の向きを認識する(ステップS9)。この処理では、寸法線の端末記号の位置から、寸法補助線の両端のどちらが離れているかが判断され、その寸法補助線の向きが、端末記号から、その端末記号から離れている方の端点へ向かう方向であると認識される。更に、CPU11aは、対象物認識処理を実行する(ステップS10)。この対象物認識処理では、関連する寸法補助線を有する寸法線の場合には、寸法線補助線の向き、及び寸法補助線の延長上に存在する線に基づいて、寸法補助線のない寸法線の場合には、寸法線の端末記号に重なっている線に基づいて、その寸法と対応する対象物(部材)が認識される。また、この処理では、寸法値の属性データに、対応する認識された対象物を特定する情報を付加する等により、寸法値とその対象物との関連づけが行われる。その後、CPU11aは、処理を終了する。
Next, the
以上のようにして設計図面データが処理された結果、画像表示部12の表示画面には、寸法値及び寸法線が赤色で描画され、部材符号が青色で描画され、通り芯及び高さ方向基準線が緑色で描画された設計図面が表示される。したがって、作業者はいずれの文字列が寸法値であるか、また部材符号であるかを容易に区別することが可能であり、また通り芯と寸法線とを容易に区別することが可能である。また、寸法値を認識し、その寸法値を他の文字と区別可能に表示するため、寸法値を記載すべき箇所に寸法値の記載漏れがないか、寸法値間での矛盾がないかを作業者が容易にチェックすることができる。
As a result of processing the design drawing data as described above, on the display screen of the
(その他の実施の形態)
以上のようにして処理された設計図面は、寸法値と部材符号とが区別されており、また、寸法値が指示する対象が特定されている。したがって、設計図面処理装置1は、以上の処理を行った後に、寸法値とその対象との関係から、建築物の仮想的な3次元モデルをCPU11aの演算により生成する構成とすることもできる。また、作業者が部材の位置や形状を修正又は変更するような操作を行った場合には、その部材の位置又は形状を規定する寸法値を自動的に修正するように設計図面処理装置1を構成することにより、設計図面処理装置1を2次元CADシステムとして利用可能としてもよい。
(Other embodiments)
In the design drawing processed as described above, the dimension value and the member code are distinguished, and the target indicated by the dimension value is specified. Therefore, the design
また、上述した実施の形態においては、ステップS62の第2通り芯認識処理において、第1通り芯又は第2通り芯を1つ選択し、第1通り芯又は第2通り芯から寸法指定されている線を第2通り芯候補とし、第2通り芯候補の中から第2通り芯の要件を満たすものを検出する構成としたが、これに限定されるものではなく、隣り合う平行な2本の第1通り芯を一組選択し、これらの2本の第1通り芯と平行な線であって、2本の第1通り芯の間にある線を第2通り芯候補とし、第2通り芯候補の中から第2通り芯の要件を満たすものを検出する構成としてもよい。 In the above-described embodiment, in the second core recognition process in step S62, one first or second core is selected, and the dimension is designated from the first core or the second core. The second line core candidate is used as the second line core candidate, and the second line core candidate that satisfies the requirements for the second line core is detected. However, the present invention is not limited to this. A set of the first street cores is selected, and a line parallel to the two first street cores and between the two first street cores is set as a second street core candidate, It is good also as a structure which detects what satisfy | fills the requirements of a 2nd street core from the street core candidates.
また、上述した実施の形態においては、1つのコンピュータ1aのCPU11aに設計図面処理プログラム14aを実行させることにより、このコンピュータ1aを設計図面処理装置1として機能させる構成について述べたが、これに限定されるものではなく、設計図面処理プログラム14aと実質的に同一の処理を実行するための専用のハードウェア回路により設計図面処理装置を構成することもできる。
In the above-described embodiment, the configuration in which the
また、上述した実施の形態においては、単一の設計図面処理装置1により設計図面処理プログラムの全ての処理を実行する構成について述べたが、これに限定されるものではなく、上述した設計図面処理プログラムと同様の処理を、複数の装置(コンピュータ)により分散して実行する分散システムとすることも可能である。
In the above-described embodiment, the configuration in which all the processes of the design drawing processing program are executed by the single design
上記の実施の形態においては、2次元CADデータ2と部材符号認識用辞書3とをハードディスク11dに記憶する構成としたが、これに限定されるものではない。他の実施形態として、ハードディスクを装置に複数設け、2次元CADデータ2と部材符号認識用辞書3とを異なるハードディスクに別個に記憶する構成としてもよい。また、インターネット等の通信ネットワークを通じて設計図面処理装置1を他の装置に接続し、2次元CADデータ2及び部材符号認識用辞書3の何れか又は両方を前記他の装置のハードディスク等の記憶装置に記憶し、他の装置が設計図面処理装置1の要求に応じて、2次元CADデータ2及び部材符号認識用辞書3の何れか又は両方を設計図面処理装置1に送信する構成としてもよい。
In the above embodiment, the two-
上述の設計図面処理装置によれば、2次元CADデータに含まれる寸法値以外の文字列、すなわち、部材符号を認識し、その部材符号を除いた文字列を寸法値として認識する。部材符号は、部材の種類を特定するための文字(柱の場合は「C」、梁の場合は「G]、「B」等)から始まるため、最初の1〜数文字が部材符号特有の文字に一致しているか否かを判定することによって容易に部材符号であるか否かを判別することが可能である。したがって、このように容易に認識することが可能な部材符号を認識することで、効率的且つ正確に寸法値を認識することが可能である。 According to the above-described design drawing processing apparatus, the character string other than the dimension value included in the two-dimensional CAD data, that is, the member code is recognized, and the character string excluding the member code is recognized as the dimension value. Since the member code starts with a letter for specifying the type of member ("C" for a column, "G", "B", etc. for a beam), the first one to several letters are unique to the member code. It is possible to easily determine whether or not it is a member code by determining whether or not it matches the character. Therefore, it is possible to recognize the dimension value efficiently and accurately by recognizing the member code that can be easily recognized in this way.
上記の実施の形態では、2次元CADデータに含まれる寸法値以外の文字列を部材符号とし、2次元CADデータに含まれる文字列のうち、部材符号を特定し、部材符号と特定された文字列以外の文字列を、寸法値として認識する構成について述べたが、これに限定されるものではない。他の実施の形態として、2次元CADデータに含まれる寸法値以外の文字列に、設計図面内の凡例中の文字列、及び/又は、設計図面内の特記事項中の文字列を含めてもよい。この場合は、凡例の文字列を認識するための辞書データ及び/又は特記事項中の文字列を認識するための辞書データをハードディスク11dに記憶しておき、2次元CADデータに含まれる文字列中の文字と辞書データに登録されている文字とが比較され、これによって部材符号、凡例中の文字列及び/又は特記事項中の文字列が認識される。そして、このような部材符号、凡例中の文字列及び/又は特記事項中の文字列以外の文字列が寸法値として認識される。また、設計図面においては、建築物の部屋に対して割り当てられた部屋名を、対応する部屋の領域内に記載する場合がある。このような場合には、2次元CADデータに含まれる寸法値以外の文字列に、設計図面内の部屋名の文字列を含めてもよい。また、設計図面中の日本語を含む文字列は、寸法値ではない。このため、2次元CADデータに含まれる文字列中に日本語の文字(漢字、平仮名、及び片仮名の少なくとも1つ)が含まれている場合には、その文字列は寸法値以外の文字列として特定し、それ以外の文字列を寸法値として認識する構成とすることも可能である。また、日本語だけではなく、アルファベットを含む文字列も寸法値以外の文字列として特定し、それ以外の文字列を寸法値として認識する構成としてもよい。
In the above embodiment, a character string other than the dimension value included in the two-dimensional CAD data is used as the member code, and the member code is specified among the character strings included in the two-dimensional CAD data. Although a configuration has been described in which character strings other than columns are recognized as dimension values, the present invention is not limited to this. As another embodiment, the character string other than the dimension value included in the two-dimensional CAD data may include the character string in the legend in the design drawing and / or the character string in the remarks in the design drawing. Good. In this case, dictionary data for recognizing the character string of the legend and / or dictionary data for recognizing the character string in the special notes are stored in the
また、設計図面中において、寸法値の近傍の位置には、その寸法値に対応する寸法線が存在する。更に、寸法値の向き(縦向き又は横向き)と、寸法線の長手方向(縦方向又は横方向)とは一致するという関係、及び寸法値の下側(横向きの寸法値の場合には下側、縦向きの寸法値の場合には右側)に対応する寸法線が存在するという関係がある。したがって、このような寸法値とその寸法値に対応する寸法線との関係を利用することにより、寸法値の向き及び位置から、対応する寸法線を容易に選定することが可能となる。 In the design drawing, a dimension line corresponding to the dimension value exists at a position near the dimension value. In addition, the relationship between the direction of the dimension value (vertical or horizontal) and the longitudinal direction of the dimension line (vertical or horizontal), and the lower side of the dimension value (lower side in the case of horizontal dimension values) In the case of the vertical dimension value, there is a relationship that a dimension line corresponding to the right side) exists. Therefore, by utilizing the relationship between such a dimension value and the dimension line corresponding to the dimension value, the corresponding dimension line can be easily selected from the direction and position of the dimension value.
また、他の寸法との関係で、寸法値及び寸法線の組み合わせに間違いがないかどうかを判断し、間違いがないと判断された場合にはその寸法値及び寸法線の組み合わせを確定する構成としてもよい。例えば、図5における寸法値44は、通り芯45及び46の間の寸法線47aを、壁の通り芯48によって分割した一方の寸法線44aに対応する寸法値である。そのため、寸法線44aと分割した他方の寸法線49aとを合わせた長さは通り芯間の寸法線47aの長さと等しく、寸法値49(「1500」)と、この寸法値44(1500)との和が、下側の通り芯間の寸法値47(「6000」)と等しくなくてはならない。図5の場合では、この条件を満たしている。したがって、通り芯間寸法線47aと、寸法値47との組み合わせが確定しており、寸法線49aと寸法値49との組み合わせが確定している場合には、寸法値44に対応する寸法線を検出するときに、寸法線44aで上記の条件を満たすかどうか検証され、条件を満たす場合には、寸法線44aと寸法値44との組み合わせが確定される。このようにすることによって、寸法値又は寸法線の記載ミスを検出することができ、また、寸法線と寸法値との組み合わせに間違いが生じることを防止することができる。
In addition, it is judged whether there is no mistake in the combination of the dimension value and the dimension line in relation to other dimensions, and when it is judged that there is no mistake, the combination of the dimension value and the dimension line is determined. Also good. For example, the
また、設計図面中に含まれる寸法値には、「+」、「−」、「±」の正負符号から始まる寸法値、及び部材符号枠の内部の寸法値のように、対応する寸法線が存在しないものもある。本実施の形態では、上述したように、対応する寸法線が存在しない寸法値の特徴を利用して、寸法線と対応づけるべきでない寸法値を認識し、これら以外の寸法値を寸法線と対応づけるべき寸法値として認識する構成としている。これにより、寸法線と対応づけるべきでない寸法値を、寸法線ではない線と対応していると認識するような誤認識を防止することができる。 In addition, dimension values included in the design drawing include corresponding dimension lines such as dimension values starting from “+”, “−”, and “±” signs, and dimension values inside the member code frame. Some do not exist. In this embodiment, as described above, the feature of the dimension value that does not have the corresponding dimension line is used to recognize the dimension value that should not be associated with the dimension line, and other dimension values are associated with the dimension line. It is configured to be recognized as a dimension value to be attached. Accordingly, it is possible to prevent erroneous recognition such that a dimension value that should not be associated with a dimension line is associated with a line that is not a dimension line.
また、寸法線が寸法補助線を有する場合には、寸法線の延長線上には、通り芯、高さ方向基準線、又は対象物の外形線が存在する。寸法線が寸法補助線を有しない場合には、寸法線の両端(両方の端末記号)は、その寸法線の指示する対象(通り芯、高さ方向基準線、又は部材等の外形線)上に存在する。本実施の形態では、このような寸法線の性質を利用することにより、通り芯間の寸法線、高さ方向基準線間の寸法線を認識し、また寸法線が指示する対象物を認識する構成とした。これにより、寸法線が指示する対象を容易に特定することが可能となる。 Further, when the dimension line has a dimension extension line, the core, the height direction reference line, or the outline of the object exists on the extension line of the dimension line. If the dimension line does not have a dimension extension line, both ends of the dimension line (both terminal symbols) are on the target indicated by the dimension line (contour line, height direction reference line, or outline of member, etc.) Exists. In the present embodiment, by utilizing such a property of the dimension line, the dimension line between the cores and the dimension line between the height direction reference lines are recognized, and the object indicated by the dimension line is recognized. The configuration. Thereby, it becomes possible to easily specify the target indicated by the dimension line.
本発明の設計図面処理装置及びコンピュータプログラムは、複数のデータ形式の設計図面データを取り扱うことができる設計図面処理装置及びそのコンピュータプログラムなどとして有用である。 The design drawing processing apparatus and computer program of the present invention are useful as a design drawing processing apparatus capable of handling design drawing data in a plurality of data formats, a computer program thereof, and the like.
1 設計図面処理装置
1a コンピュータ
11 本体
11a CPU
11c RAM
11d ハードディスク
11e 読出装置
12 画像表示部
13 入力部
14a 設計図面処理プログラム
2 2次元CADデータ
3 部材符号認識用辞書
31 柱符号認識用辞書
32 梁符号認識用辞書
33 スラブ符号認識用辞書
34 壁符号認識用辞書
35 ベース符号認識用辞書
36 杭符号認識用辞書
41 部材符号
41a 符号枠
41b,41c,41d, 文字列
41e,41f 線
42 寸法値
42a 寸法線
51,52 第1通り芯
53,54,55 第2通り芯
56a 幅寸法線
56b,56c 振分寸法
DESCRIPTION OF
11c RAM
Claims (10)
前記設計図面データに含まれる文字列中の文字と、前記辞書データが示す文字とを比較して、前記設計図面データに含まれる文字列のうち、寸法値を除く文字列を特定し、前記設計図面データに含まれる文字列のうち、特定された文字列以外の文字列を寸法値として認識する寸法値認識手段と、
前記寸法値認識手段によって認識された寸法値に基づいて、前記設計図面データに含まれる線の中から前記寸法値に対応する寸法線を認識する寸法線認識手段と
を備える、設計図面処理装置。 Design drawing data including a figure representing the shape of a component of a building, a dimension line and a dimension value related to the component, and configured to be able to distinguish a character string consisting of one or more characters and a line, and design drawing data Storage means for storing dictionary data indicating one or more specific characters included in the character string excluding the dimension value among the character strings included in
The character in the character string included in the design drawing data is compared with the character indicated by the dictionary data, and the character string excluding the dimension value is specified from the character string included in the design drawing data, and the design Dimension value recognition means for recognizing a character string other than the specified character string as a dimension value among the character strings included in the drawing data;
A design drawing processing apparatus comprising: dimension line recognition means for recognizing a dimension line corresponding to the dimension value from lines included in the design drawing data based on the dimension value recognized by the dimension value recognition means.
前記寸法値認識手段は、前記設計図面データに含まれる文字列中の文字と、前記辞書データが示す文字とを比較して、前記設計図面データに含まれる文字列のうち、前記部材符号を特定し、前記設計図面データに含まれる文字列のうち、特定された部材符号以外の文字列を寸法値として認識するように構成されている、請求項1又は2に記載の設計図面処理装置。 The storage means stores the dictionary data indicating characters included in a member code used for specifying a structural member of a building,
The dimension value recognizing means compares the character in the character string included in the design drawing data with the character indicated by the dictionary data, and identifies the member code in the character string included in the design drawing data. And the design drawing processing apparatus of Claim 1 or 2 comprised so that character strings other than the specified member code | symbol may be recognized as a dimension value among the character strings contained in the said design drawing data.
前記寸法線認識手段は、前記寸法値選定手段によって選定された寸法値に対応する寸法線を認識するように構成されている、請求項1乃至3の何れかに記載の設計図面処理装置。 A dimension value selecting means for selecting a dimension value to be associated with the dimension line from the dimension values recognized by the dimension value recognizing means;
4. The design drawing processing apparatus according to claim 1, wherein the dimension line recognizing unit is configured to recognize a dimension line corresponding to the dimension value selected by the dimension value selecting unit.
前記寸法値選定手段は、寸法値に含まれる文字と前記記憶手段に記憶されている前記特定の文字とを比較することにより、前記特定の文字を含む寸法値を認識し、当該寸法値を、寸法線と対応づけるべき寸法値から除外するように構成されている請求項4に記載の設計図面処理装置。 The storage means stores a specific character included in a dimension value that is not associated with a dimension line,
The dimension value selection unit recognizes a dimension value including the specific character by comparing the character included in the dimension value with the specific character stored in the storage unit, The design drawing processing apparatus according to claim 4, configured to be excluded from a dimension value to be associated with a dimension line.
前記対象特定手段は、2つの通り芯で終端している寸法線の対象として、前記2つの通り芯の間を特定するように構成されている、請求項6に記載の設計図面処理装置。 Of the lines included in the design drawing data, further comprising a street recognition means for recognizing a street core,
The design drawing processing apparatus according to claim 6, wherein the target specifying unit is configured to specify a space between the two cores as a target of a dimension line terminated at the two cores.
柱の通り芯である第1の通り芯を認識する第1の通り芯認識手段と、
2つの平行な前記第1の通り芯の間に配置される第2の取り芯を認識する第2の通り芯認識手段と
を備える、請求項7に記載の設計図面処理装置。 The core recognizing means is
First core recognizing means for recognizing a first core that is a column core;
The design drawing processing apparatus according to claim 7, further comprising: a second core recognizing unit that recognizes a second core disposed between the two parallel first cores.
設計図面データに含まれる文字列中の文字と、前記辞書データが示す文字とを比較して、前記設計図面データに含まれる文字列のうち、寸法値を除く文字列を特定し、前記設計図面データに含まれる文字列のうち、特定された文字列以外の文字列を寸法値として認識する寸法値認識手段と、
前記寸法値認識手段によって認識された寸法値に基づいて、前記設計図面データから前記寸法値に対応する寸法線を認識する寸法線認識手段として機能させるためのコンピュータプログラム。 1 represents a design drawing of a building and is included in a character string excluding a dimension value among character strings included in design drawing data configured to be able to distinguish a character string composed of one or a plurality of characters and a line. Or a computer comprising storage means for storing dictionary data indicating a plurality of specific characters,
The character in the character string included in the design drawing data is compared with the character indicated by the dictionary data, and the character string excluding the dimension value is specified among the character strings included in the design drawing data. Dimension value recognition means for recognizing a character string other than the specified character string as a dimension value among character strings included in the data,
A computer program for functioning as dimension line recognition means for recognizing a dimension line corresponding to the dimension value from the design drawing data based on the dimension value recognized by the dimension value recognition means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008125428A JP4583476B2 (en) | 2008-05-13 | 2008-05-13 | Design drawing processing apparatus and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008125428A JP4583476B2 (en) | 2008-05-13 | 2008-05-13 | Design drawing processing apparatus and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009276869A JP2009276869A (en) | 2009-11-26 |
| JP4583476B2 true JP4583476B2 (en) | 2010-11-17 |
Family
ID=41442273
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008125428A Active JP4583476B2 (en) | 2008-05-13 | 2008-05-13 | Design drawing processing apparatus and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4583476B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6847541B2 (en) * | 2018-05-29 | 2021-03-24 | 株式会社日立プラントコンストラクション | Building structure totalization system and totalization method |
| JP6639008B1 (en) * | 2019-08-01 | 2020-02-05 | アンドール株式会社 | Pseudo dimension acquisition device and pseudo dimension acquisition method |
| JP7503085B2 (en) * | 2022-03-08 | 2024-06-19 | キャディ株式会社 | Apparatus, method and program for managing drawing data including raster data |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005190094A (en) * | 2003-12-25 | 2005-07-14 | Hitachi Ltd | Drawing editing method and apparatus |
| JP4166251B2 (en) * | 2006-03-20 | 2008-10-15 | システム明星株式会社 | Design drawing inspection program and design drawing inspection device |
-
2008
- 2008-05-13 JP JP2008125428A patent/JP4583476B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009276869A (en) | 2009-11-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3167500B2 (en) | Handwritten information input processing method | |
| JP4079387B2 (en) | Name input method | |
| JP4583476B2 (en) | Design drawing processing apparatus and computer program | |
| CN114550188A (en) | Table analysis method and device and electronic equipment | |
| JP2006079445A (en) | Peripheral device type determination device, peripheral device type determination program, and peripheral device type determination method | |
| JP2000200143A (en) | Handwritten character input device and its program recording medium | |
| JP4583484B2 (en) | Design drawing processing apparatus and computer program | |
| JP2005115431A (en) | Item retrieval apparatus and item retrieving method | |
| JPH11312215A (en) | Two-dimensional code decoding device and storage medium | |
| JP5947451B2 (en) | Drawing editor device, program | |
| JP4693167B2 (en) | Form search device, form search method, program, and computer-readable storage medium | |
| JP7358838B2 (en) | Information processing device and information processing program | |
| JP2006209179A (en) | Model difference detection tool | |
| JP2008141496A (en) | Document editing apparatus and program | |
| CN113869199A (en) | An image detection method, device, computer equipment and storage medium | |
| JP3067083B2 (en) | Document input device | |
| JP2593975B2 (en) | Character string extraction method and character string extraction device in electronic typesetting device | |
| JP2005182167A (en) | Drawing creation method, drawing creation apparatus, and drawing creation program | |
| JP6241070B2 (en) | Detection apparatus and program | |
| JP3345142B2 (en) | Document processing device with ruled line display function | |
| JPH11328428A (en) | Document processor | |
| JP2008262368A (en) | Image processor and program | |
| JPS61153776A (en) | Displaying device | |
| JP2004086630A (en) | Difference display program and device | |
| JPH0883273A (en) | Document processing apparatus and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100707 |
|
| A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20100707 |
|
| A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20100728 |
|
| 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: 20100824 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100831 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4583476 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130910 Year of fee payment: 3 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313114 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130910 Year of fee payment: 3 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
| R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |