JP2009230698A - Device and program for creating connection path - Google Patents

Device and program for creating connection path Download PDF

Info

Publication number
JP2009230698A
JP2009230698A JP2008078554A JP2008078554A JP2009230698A JP 2009230698 A JP2009230698 A JP 2009230698A JP 2008078554 A JP2008078554 A JP 2008078554A JP 2008078554 A JP2008078554 A JP 2008078554A JP 2009230698 A JP2009230698 A JP 2009230698A
Authority
JP
Japan
Prior art keywords
line segment
point position
connection
information
connection path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008078554A
Other languages
Japanese (ja)
Inventor
Yasushi Tsunekawa
裕史 恒川
Masataka Banba
正敬 番場
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.)
Takenaka Komuten Co Ltd
Original Assignee
Takenaka Komuten Co 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 Takenaka Komuten Co Ltd filed Critical Takenaka Komuten Co Ltd
Priority to JP2008078554A priority Critical patent/JP2009230698A/en
Publication of JP2009230698A publication Critical patent/JP2009230698A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a device and a program for creating a connection path capable of exactly creating the connection path. <P>SOLUTION: A segment passing through a starting point position is generated by a CPU 22, the segment is swept over until it contacts an obstacle to form a rectangle area, when an end point position does not exist in the rectangle area, a new segment is generated on the perimeter of the rectangle area, a first evaluation value is calculated by a first evaluation formula considered as the one for determining the next search location for the segment, a second evaluation value is calculated by a second evaluation formula considered as the one for determining superiority or inferiority of the connection path for the connection path from the starting point position to an object segment considered as an object for calculation of the first evaluation, specification information capable of specifying the segment considered as a connection source of the object segment of the connection path whose evaluation value is the highest one is stored in a hard disk 28, meanwhile, a rectangle area is formed again by the segment whose first evaluation value is the highest one, and when the end point position exists in the rectangle area, track-back is performed so as to go via the segment to be specified by the specification information to obtain the connection path. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、接続経路作成装置及び接続経路作成プログラムに係り、より詳しくは、建物における浴槽、空調機器等の各種機器間の配管、ダクト等の接続経路を作成する接続経路作成装置及び接続経路作成プログラムに関する。   The present invention relates to a connection route creation device and a connection route creation program. More specifically, the present invention relates to a connection route creation device and connection route creation for creating connection routes such as pipes and ducts between various devices such as bathtubs and air conditioners in buildings. Regarding the program.

従来、集合住宅においては、一つの建物に対して精々10種類程度の間取りを用意するのが通例であった。しかし、近年、特に大規模な物件において、顧客の多様なニーズに応えるために多種類の間取りを揃えるのが一般的となっている。こうした流れに伴い、従来は10種類程度しか検討しなくてもよかった間取りを、100種類、200種類という桁違いのオーダーで検討しなければならなくなり、設計業務の増大が問題になっている。   Conventionally, in collective housing, it is customary to prepare about 10 kinds of floor plans for one building. However, in recent years, it has become common to arrange a wide variety of floor plans to meet the diverse needs of customers, particularly in large-scale properties. Along with such a flow, the floor plan, which conventionally had only been considered about 10 types, has to be examined with orders of orders of 100 types and 200 types, increasing the design work.

集合住宅の設計業務においては、建物の形状や仕上げの仕様決定を担当する意匠設計者と、上下水道や空調の設計を担当する設備設計者とが共同して設計作業を行っている。   In the design work for apartment buildings, design designers in charge of determining the shape and finish specifications of buildings and facility designers in charge of water and sewage and air conditioning design work together.

両者の業務は、例えば、意匠設計者が浴室の位置を変更した場合、浴室の排水を下階に流すためのパイプスペースまでの配管は設備設計者が検討を行う、といったように相互に関連している。もし、ここで、浴室からパイプスペースまでの距離が長すぎて水を流すための適正な勾配がとれなくなると、浴室の位置を再検討しなければならなくなる。このため、意匠設計者と設備設計者とは緊密に連携することが必要だが、実際には相互のやり取りは或る程度の期間をおいてバッチ処理的に行われるため、手戻りが発生したり、最悪の場合、チェック漏れが発生して、後工程で不具合が発生したりする。   Both of these tasks are related to each other, for example, when the design designer changes the position of the bathroom, the equipment designer examines the piping up to the pipe space for flowing the bathroom drainage to the lower floor. ing. Here, if the distance from the bathroom to the pipe space is too long to get the proper gradient for flowing water, the location of the bathroom will have to be reviewed. For this reason, it is necessary for design designers and equipment designers to work closely together, but in reality, mutual exchange is performed in a batch process after a certain period of time, so rework may occur. In the worst case, a check omission occurs, and a defect occurs in a later process.

すなわち、従来は、意匠設計者が意匠設計用のCAD(Computer Aided Design)システムで入力した建物図面を電子データとして設備設計者に渡し、そこにダクトや配管をレイアウトしながら排水配管の勾配が取れるか、ダクトを通すために天井を下げないといけない部分はどこになるのかなどを検討し、図面に記入していた。   In other words, conventionally, a building drawing entered by a design designer using a CAD (Computer Aided Design) system for design design is handed over to the equipment designer as electronic data, and the slope of the drainage pipe can be taken while laying out the ducts and piping there I studied where the ceiling had to be lowered in order to pass through the duct, and filled in the drawings.

間取り設計の効率化のためには意匠設計と共にダクト・配管設計の専門的知識を有する設備設計者が同時に作業をするのが理想的だが、設備設計者がそうした時間を取ることは実際には難しい。このため、意匠設計者が間取りを検討する際には、意匠設計者自身がダクトや配管の設計を或る程度行い、設備設計者が最終的なチェックを行うという体制が好ましい。   It is ideal for equipment designers who have specialized knowledge of duct and piping design to work together with design design to improve the efficiency of floor plan design, but it is actually difficult for equipment designers to take such time . For this reason, when the design designer considers the floor plan, it is preferable that the design designer himself designs the duct and piping to some extent, and the equipment designer performs a final check.

設備施工業者では、意匠設計者が入力した2次元CADデータから3次元CADデータを作成して、その中にダクトや配管を入力することで同様のチェックを、より効率的に行える仕組みを有しているところもあるが、2次元CADデータから3次元CADデータへの変換作業が発生してしまい、これ自体時間のかかる作業である。   Equipment contractors have a mechanism that enables the same checks to be performed more efficiently by creating 3D CAD data from 2D CAD data entered by the design designer and entering ducts and piping into it. In some cases, however, the conversion work from the two-dimensional CAD data to the three-dimensional CAD data occurs, which is a time-consuming work.

これに対し、建築用3次元CADシステムが普及していくにしたがって、上記のように2次元CADデータから3次元CADデータに変換する手間はなくなっていくと考えられるが、3次元CADシステムでダクトや配管を設計する作業は専門的知識を要し、依然として時間のかかる作業であり、意匠設計者がこれを代替するのは難しい。   On the other hand, as the 3D CAD system for architecture becomes widespread, it is considered that there is no need to convert 2D CAD data to 3D CAD data as described above. The work of designing pipes and pipes requires specialized knowledge and is still a time-consuming work, and it is difficult for a design designer to replace it.

これに対し、非特許文献1には、VLSI(Very Large Scale Integrated Circuit)やプリント基板の配線経路探索手法として、Heynsの線分展開法を改良し、始点を通る線分を発生させ、この線分を垂直方向に障害物にあたるまで掃引(展開)することによって配線領域を探索し、探索した長方形領域に終点がなければ、この長方形の外周上に線分を発生させ、同様の領域探索を行い、この探索を繰り返してゆき、終点に到達したなら逆追跡によって配線経路を求める技術が開示されている。   On the other hand, Non-Patent Document 1 improves the Heyns line segment expansion method as a VLSI (Very Large Scale Integrated Circuit) or printed circuit board wiring route search method to generate a line segment passing through the start point. The wiring area is searched by sweeping (expanding) the minute part until it hits an obstacle, and if there is no end point in the searched rectangular area, a line segment is generated on the outer periphery of this rectangle and a similar area search is performed. A technique is disclosed in which this search is repeated and the wiring route is obtained by reverse tracking when the end point is reached.

この技術を、配線経路に代えてダクト・配管等の接続経路を作成するものとして適用することにより、当該接続経路を容易に作成できるようになる。
小島 直仁、佐藤 政生、大附 辰夫,「線分展開法の改良とその評価」,研究報告 「設計自動化」,1989年7月11日,No.048−6
By applying this technique as a method for creating a connection route such as a duct or a pipe instead of a wiring route, the connection route can be easily created.
Naoto Kojima, Masao Sato, Ikuo Otsuki, “Improvement and Evaluation of Line Expansion Method”, Research Report “Design Automation”, July 11, 1989, No. 048-6

しかしながら、上記非特許文献1に開示されている技術では、上記逆追跡を行う際に用いる評価値(コスト)を、上記探索を行う際の次の探索場所を決めるものとして予め定められた評価式によって得ているので、必ずしも的確な接続経路を作成することができるとは限らない、という問題点があった。   However, in the technique disclosed in Non-Patent Document 1, the evaluation value (cost) used when performing the reverse tracking is an evaluation formula that is determined in advance as determining the next search location when performing the search. Therefore, there is a problem that an accurate connection path cannot always be created.

すなわち、上記非特許文献1において採用されている評価式Gは、次の(1)式で示されるものである。   That is, the evaluation formula G employed in the non-patent document 1 is expressed by the following formula (1).

G=aB+bD+cZ (1)
なお、(1)式において、Bは曲がりの有無(曲がりあり:1,曲がりなし:0)を表し、Dは評価値の算出対象とする対象線分と当該対象線分の接続元となる線分との間の距離を表し、Zは上記対象線分から終点位置までのマンハッタン距離を表す。
G = aB + bD + cZ (1)
In equation (1), B represents the presence / absence of a bend (with bend: 1, no bend: 0), and D is a target line segment for which an evaluation value is calculated and a line that is a connection source of the target line segment. Z represents the distance from the minute, and Z represents the Manhattan distance from the target line segment to the end point position.

また、(1)式におけるa,b,cは、対応するパラメータに対する重み付け値であり、aの値を大きくすると曲がりの少ない経路が求まる傾向が強くなり、bの値を大きくすると短い経路が求まる傾向が強くなる一方、cは終点に近づく方向の探索を優先させるものである。   Further, a, b, and c in the equation (1) are weighting values for the corresponding parameters. Increasing the value of a increases the tendency to obtain a route with few bends, and increasing the value of b finds a short route. While the tendency becomes stronger, c gives priority to the search in the direction approaching the end point.

ここで、係数aと係数bは、接続経路の長さや折れ曲がりに関するものであり、接続経路自体の性質に関連した重み付け値であるが、係数cは、探索する場所を決めるための重み付け値であり、性質が異なるものである。従って、この線分展開法では、異質の物理量が入り混じった状態で評価値が算出される結果、必ずしも的確な接続経路を作成することができるとは限らないのである。   Here, the coefficient a and the coefficient b relate to the length and bending of the connection path, and are weight values related to the nature of the connection path itself, whereas the coefficient c is a weight value for determining a search place. , The nature is different. Therefore, in this line segment expansion method, as a result of calculating the evaluation value in a state where different physical quantities are mixed, an accurate connection path cannot always be created.

本発明は上記問題点を解消するためになされたものであり、より的確に接続経路を作成することができる接続経路作成装置及び接続経路作成プログラムを提供することを目的とする。   The present invention has been made to solve the above problems, and an object of the present invention is to provide a connection route creation device and a connection route creation program that can create a connection route more accurately.

上記目的を達成するために、請求項1記載の接続経路作成装置は、建物内における接続経路の作成対象となる機器間の当該接続経路の始点位置を示す始点位置情報、前記接続経路の終点位置を示す終点位置情報、及び前記接続経路に対する障害物の位置を示す障害物位置情報が予め記憶された記憶手段と、前記接続経路を作成するとき、前記記憶手段から前記始点位置情報、前記終点位置情報、及び前記障害物位置情報を読み出し、前記始点位置情報により示される始点位置を通る線分を発生し、当該線分を前記障害物位置情報により示される障害物にあたるまで当該線分の垂直方向に掃引することによって矩形領域を形成し、形成した矩形領域に前記終点位置情報により示される終点位置が存在しない場合は、当該矩形領域の外周上に新たな線分を発生し、発生した線分の各々について、次の探索場所を決めるものとして予め定められた第1の評価式により第1の評価値を算出し、当該第1の評価値が最も評価の高い値となっている線分を用いて前記矩形領域の形成を再び行い、形成した矩形領域に前記終点位置が存在した時点で、それまでに前記矩形領域を形成する際に掃引した線分を前記終点位置から前記始点位置に至るまで逆追跡する線分展開法により最終的な接続経路を導出する導出手段と、前記導出手段による導出結果を示す結果情報を用いて予め定められた処理を実行する処理実行手段と、を備え、前記導出手段は、前記第1の評価値を算出する際に、前記始点位置から前記第1の評価値の算出対象とする対象線分に至る各接続経路の各々について、接続経路の優劣を決めるものとして予め定められた第2の評価式により第2の評価値を算出し、当該第2の評価値が最も評価の高い値となった接続経路における前記対象線分の接続元とされている線分が最適な接続元線分であるものとして当該線分を特定できる特定情報を前記記憶手段に記憶しておき、前記逆追跡を行う際に、前記特定情報を前記記憶手段から読み出し、当該特定情報により特定される線分を経由するように逆追跡を行うことを特徴とする。   In order to achieve the above object, the connection route creation device according to claim 1 is characterized in that start point position information indicating a start point position of the connection route between devices for which a connection route is to be created in a building, and an end point position of the connection route. And storage means in which obstacle position information indicating the position of an obstacle with respect to the connection route is stored in advance, and when creating the connection route, the start point position information and the end point position are stored from the storage means. Information and the obstacle position information are read out, a line segment passing through the start point position indicated by the start point position information is generated, and the line segment is perpendicular to the obstacle indicated by the obstacle position information. When the end point position indicated by the end point position information does not exist in the formed rectangular region, a new rectangular region is created on the outer periphery of the rectangular region. A line segment is generated, and for each line segment generated, a first evaluation value is calculated using a first evaluation formula that is predetermined to determine the next search location, and the first evaluation value is the most evaluated. The rectangular region is formed again using a line segment having a high value, and when the end point position exists in the formed rectangular region, the line segment that has been swept before forming the rectangular region Deriving means for deriving a final connection path by a line segment expansion method for backtracking from the end point position to the start point position, and a predetermined process using result information indicating the deriving result by the deriving means Each of the connection paths from the start point position to the target line segment for calculation of the first evaluation value, when calculating the first evaluation value. Connection path superiority or inferiority A second evaluation value is calculated using a second evaluation formula that is determined in advance, and is determined as a connection source of the target line segment in the connection route that has the highest evaluation value. The storage unit stores specific information that can identify the line segment as an optimal connection source line segment, and when the reverse tracking is performed, the specific information is read from the storage unit, The reverse tracking is performed so as to pass through the line segment specified by the specific information.

請求項1記載の接続経路作成装置によれば、建物内における接続経路の作成対象となる機器間の当該接続経路の始点位置を示す始点位置情報、前記接続経路の終点位置を示す終点位置情報、及び前記接続経路に対する障害物の位置を示す障害物位置情報が記憶手段によって予め記憶される。なお、上記記憶手段には、RAM(Random Access Memory)、EEPROM(Electrically Erasable and Programmable Read Only Memory)、フラッシュEEPROM(Flash EEPROM)等の半導体記憶素子、スマート・メディア(SmartMedia(登録商標))、フレキシブル・ディスク等の可搬記録媒体やハードディスク等の固定記録媒体、或いはネットワークに接続されたサーバ・コンピュータ等に設けられた外部記憶装置が含まれる。   According to the connection route creation device according to claim 1, start point position information indicating a start point position of the connection route between devices for which a connection route is to be created in a building, end point position information indicating an end point position of the connection route, The obstacle position information indicating the position of the obstacle with respect to the connection path is stored in advance by the storage means. The storage means includes a RAM (Random Access Memory), an EEPROM (Electrically Erasable and Programmable Read Only Memory), a semiconductor storage element such as a flash EEPROM (Flash EEPROM), a smart media (SmartMedia (registered trademark)), a flexible A portable recording medium such as a disk, a fixed recording medium such as a hard disk, or an external storage device provided in a server computer connected to a network is included.

また、本発明では、導出手段により、前記接続経路が作成されるとき、前記記憶手段から前記始点位置情報、前記終点位置情報、及び前記障害物位置情報が読み出され、前記始点位置情報により示される始点位置を通る線分を発生し、当該線分を前記障害物位置情報により示される障害物にあたるまで当該線分の垂直方向に掃引することによって矩形領域を形成し、形成した矩形領域に前記終点位置情報により示される終点位置が存在しない場合は、当該矩形領域の外周上に新たな線分を発生し、発生した線分の各々について、次の探索場所を決めるものとして予め定められた第1の評価式により第1の評価値を算出し、当該第1の評価値が最も評価の高い値となっている線分を用いて前記矩形領域の形成を再び行い、形成した矩形領域に前記終点位置が存在した時点で、それまでに前記矩形領域を形成する際に掃引した線分を前記終点位置から前記始点位置に至るまで逆追跡する線分展開法により最終的な接続経路が導出される。   In the present invention, when the connection route is created by the derivation unit, the start point position information, the end point position information, and the obstacle position information are read from the storage unit and indicated by the start point position information. Generating a line segment that passes through the starting point position and sweeping the line segment in the vertical direction until the line segment hits the obstacle indicated by the obstacle position information, and forming the rectangular area in the formed rectangular area When the end point position indicated by the end point position information does not exist, a new line segment is generated on the outer periphery of the rectangular area, and a predetermined search position is determined for determining the next search location for each generated line segment. The first evaluation value is calculated by the evaluation formula 1, and the rectangular area is formed again using the line segment having the highest evaluation value. When the end point position exists, the final connection path is derived by the line segment expansion method that backtracks the line segment that has been swept up to the formation of the rectangular area from the end point position to the start point position. The

そして、本発明では、処理実行手段により、前記導出手段による導出結果を示す結果情報が用いられて予め定められた処理が実行される。なお、上記予め定められた処理には、上記結果情報の記憶手段に対する記憶処理、及び上記結果情報の表示手段による表示処理が含まれる。ここで、上記表示手段による表示には、ディスプレイ装置による可視表示、画像形成装置による永久可視表示、音発生装置による可聴表示が含まれる。   In the present invention, the processing execution means executes a predetermined process using the result information indicating the derivation result by the derivation means. The predetermined process includes a storage process for the result information storage means and a display process for the result information display means. Here, the display by the display means includes visible display by a display device, permanent visible display by an image forming device, and audible display by a sound generator.

ここで、本発明では、前記導出手段により、前記第1の評価値が算出される際に、前記始点位置から前記第1の評価値の算出対象とする対象線分に至る各接続経路の各々について、接続経路の優劣を決めるものとして予め定められた第2の評価式により第2の評価値が算出され、当該第2の評価値が最も評価の高い値となった接続経路における前記対象線分の接続元とされている線分が最適な接続元線分であるものとして当該線分を特定できる特定情報が前記記憶手段に記憶される一方、前記逆追跡が行われる際に、前記特定情報が前記記憶手段から読み出され、当該特定情報により特定される線分を経由するように逆追跡が行われる。   Here, in the present invention, when the first evaluation value is calculated by the derivation unit, each connection path from the start point position to the target line segment that is the calculation target of the first evaluation value. , The second evaluation value is calculated by a second evaluation formula determined in advance to determine the superiority or inferiority of the connection route, and the target line in the connection route in which the second evaluation value becomes the highest evaluation value. Specific information that can identify the line segment as the connection line segment that is the optimal connection source line segment is stored in the storage unit, while the reverse tracking is performed, the identification Information is read from the storage means, and backtracking is performed so as to pass through the line segment specified by the specific information.

すなわち、本発明では、始点位置から終点位置に向かって探索を行う際には、前述した非特許文献1に開示されている線分展開法を利用して線分を発生しているのに対し、逆追跡を行う際には、上記探索を行う際に、接続経路の優劣を決めるものとして予め定められた第2の評価式に基づいて最適な接続元線分であるものとして得られた線分を経由するように逆追跡を行う点で非特許文献1に開示されている線分展開法と相違している。   That is, in the present invention, when searching from the start point position to the end point position, the line segment is generated using the line segment expansion method disclosed in Non-Patent Document 1 described above. When performing the reverse tracking, the line obtained as the optimal connection source line segment based on the second evaluation formula previously determined as determining the superiority or inferiority of the connection path when performing the above search This is different from the line segment expansion method disclosed in Non-Patent Document 1 in that reverse tracking is performed so as to pass through the minutes.

このように、請求項1記載の接続経路作成装置によれば、始点位置を通る線分を発生し、当該線分を障害物にあたるまで当該線分の垂直方向に掃引することによって矩形領域を形成し、形成した矩形領域に終点位置が存在しない場合に、当該矩形領域の外周上に新たな線分を発生し、発生した線分の各々について、次の探索場所を決めるものとして予め定められた第1の評価式により第1の評価値を算出すると共に、前記始点位置から前記第1の評価値の算出対象とする対象線分に至る各接続経路の各々について、接続経路の優劣を決めるものとして予め定められた第2の評価式により第2の評価値を算出し、算出した第2の評価値が最も評価の高い値となった接続経路における前記対象線分の接続元とされている線分が最適な接続元線分であるものとして当該線分を特定できる特定情報を記憶手段に記憶する一方、算出した第1の評価値が最も評価の高い値となっている線分を用いて前記矩形領域の形成を再び行い、形成した矩形領域に前記終点位置が存在する場合に、前記特定情報を前記記憶手段から読み出し、当該特定情報により特定される線分を経由するように前記終点位置から前記始点位置に至るまで逆追跡することにより最終的な接続経路を導出しているので、本発明を適用しない場合に比較して、より的確に接続経路を作成することができる。   In this way, according to the connection path creation device of claim 1, a rectangular region is formed by generating a line segment passing through the starting point position and sweeping the line segment in the vertical direction until it hits an obstacle. In the case where the end point position does not exist in the formed rectangular area, a new line segment is generated on the outer periphery of the rectangular area, and a predetermined next search location is determined for each generated line segment. The first evaluation value is calculated by the first evaluation formula, and the superiority or inferiority of the connection route is determined for each connection route from the starting point position to the target line segment that is the calculation target of the first evaluation value. The second evaluation value is calculated by a predetermined second evaluation formula as follows, and the calculated second evaluation value is the connection source of the target line segment in the connection route having the highest evaluation value. The line segment is the optimal connection source line While storing the specific information that can identify the line segment as a storage means, the formation of the rectangular region is performed again using the line segment for which the calculated first evaluation value is the highest value, When the end point position exists in the formed rectangular area, the specific information is read from the storage unit, and is traced back from the end point position to the start point position via a line segment specified by the specific information. Thus, since the final connection route is derived, the connection route can be created more accurately as compared with the case where the present invention is not applied.

なお、本発明は、請求項2に記載の発明のように、前記第1の評価式が、前記対象線分と当該対象線分の接続元となる線分の間の曲がりの有無、前記対象線分と当該対象線分の接続元となる線分の間の距離、前記対象線分を設けることにより前記建物に生じる下がり天井の面積、及び前記接続経路を設ける部屋の種類の少なくとも1つに基づいて得られる値の、前記始点位置から前記対象線分に至る線分による累積値に、前記対象線分から前記終点位置までのマンハッタン距離に応じた値を加算する演算式であり、前記第2の評価式が、前記累積値を算出する演算式であるものとしてもよい。これにより、適用したパラメータに応じた的確な接続経路を作成することができる。   In the present invention, as in the invention described in claim 2, the first evaluation formula indicates whether or not there is a bend between the target line segment and a line segment that is a connection source of the target line segment, and the target At least one of the distance between the line segment and the line segment that is the connection source of the target line segment, the area of the falling ceiling generated in the building by providing the target line segment, and the type of room in which the connection path is provided An arithmetic expression for adding a value corresponding to a Manhattan distance from the target line segment to the end point position to a cumulative value of a line segment extending from the start point position to the target line segment. The evaluation formula may be an arithmetic formula for calculating the cumulative value. This makes it possible to create an accurate connection path according to the applied parameter.

特に、請求項2に記載の発明は、請求項3に記載の発明のように、前記第1の評価式及び前記第2の評価式に用いられるパラメータに対する重み付け値を受け付ける受付手段を更に備え、前記導出手段が、前記第1の評価値及び前記第2の評価値を、前記受付手段によって受け付けられた重み付け値により対応するパラメータが重み付けされた値として算出するものとしてもよい。これにより、用途に応じた評価値を求めることができる結果、より的確に接続経路を作成することができる。なお、上記受付手段による受け付けには、キーボード、タッチパネル、タブレット、デジタイザ、マウス等の入力装置を介した受け付けの他、インターネット、ローカル・エリア・ネットワーク等の通信回線を介した外部装置からの受け付けが含まれる。   In particular, the invention according to claim 2 further includes accepting means for accepting weighting values for parameters used in the first evaluation formula and the second evaluation formula, as in the invention according to claim 3, The deriving unit may calculate the first evaluation value and the second evaluation value as values obtained by weighting the corresponding parameters by the weighting values received by the receiving unit. Thereby, as a result of obtaining the evaluation value according to the application, the connection path can be created more accurately. In addition, the acceptance by the accepting means includes acceptance from an input device such as a keyboard, a touch panel, a tablet, a digitizer, and a mouse, as well as acceptance from an external device via a communication line such as the Internet or a local area network. included.

また、本発明は、請求項4に記載の発明のように、前記記憶手段が、前記障害物が前記接続経路を貫通させることができるか否かを示す貫通可否情報を更に予め記憶し、前記導出手段が、前記貫通可否情報により前記接続経路を貫通させることができることが示される障害物を、前記矩形領域を形成する際の前記線分を掃引する範囲を制限する障害物から除外するものとしてもよい。これにより、より的確に接続経路を作成することができる。   Further, according to the present invention, as in the invention described in claim 4, the storage means further stores in advance penetration availability information indicating whether or not the obstacle can penetrate the connection path, The derivation means excludes obstacles that can be penetrated through the connection path by the penetration permission information from obstacles that limit the range of sweeping the line segment when forming the rectangular region. Also good. Thereby, a connection path can be created more accurately.

また、本発明は、請求項5に記載の発明のように、前記導出手段が、複数組の機器間の接続経路を作成する場合、それまでに作成した接続経路を前記障害物として適用するものとしてもよい。これにより、複数組の機器間の接続経路を作成することができる。   Further, according to the present invention, as in the invention described in claim 5, when the derivation unit creates a connection route between a plurality of sets of devices, the connection route created so far is applied as the obstacle. It is good. Thereby, the connection path | route between several sets of apparatuses can be created.

また、本発明は、請求項6に記載の発明のように、前記記憶手段が、前記接続経路を構成する部材の屈曲半径の最小値を示す最小回転半径情報を更に予め記憶し、前記始点位置及び前記終点位置が、対応する前記機器から前記最小回転半径情報により示される最小回転半径に対応する距離だけ離間された位置であるものとしてもよい。これにより、より的確に接続経路を作成することができる。   Further, according to the present invention, as in the invention described in claim 6, the storage means further stores in advance minimum turning radius information indicating a minimum value of a bending radius of a member constituting the connection path, and the starting position The end point position may be a position separated from the corresponding device by a distance corresponding to the minimum turning radius indicated by the minimum turning radius information. Thereby, a connection path can be created more accurately.

更に、本発明は、請求項7に記載の発明のように、前記記憶手段が、前記接続経路と前記障害物の間の最小許容距離を示す最小許容距離情報を更に予め記憶し、前記導出手段が、前記障害物から前記最小許容距離情報により示される距離以上離間させるように前記接続経路を導出するものとしてもよい。これにより、より的確に接続経路を作成することができる。   Further, according to the present invention, as in the invention described in claim 7, the storage means further stores in advance minimum allowable distance information indicating a minimum allowable distance between the connection path and the obstacle, and the derivation means. However, the connection route may be derived so as to be separated from the obstacle by a distance indicated by the minimum allowable distance information. Thereby, a connection path can be created more accurately.

一方、上記目的を達成するために、請求項8記載の接続経路作成プログラムは、建物内における接続経路を作成するとき、当該接続経路の作成対象となる機器間の当該接続経路の始点位置を示す始点位置情報、前記接続経路の終点位置を示す終点位置情報、及び前記接続経路に対する障害物の位置を示す障害物位置情報が予め記憶された記憶手段から前記始点位置情報、前記終点位置情報、及び前記障害物位置情報を読み出す読出ステップと、前記始点位置情報により示される始点位置を通る線分を発生し、当該線分を前記障害物位置情報により示される障害物にあたるまで当該線分の垂直方向に掃引することによって矩形領域を形成する形成ステップと、前記形成ステップによって形成された矩形領域に前記終点位置情報により示される終点位置が存在しない場合に、当該矩形領域の外周上に新たな線分を発生し、発生した線分の各々について、次の探索場所を決めるものとして予め定められた第1の評価式により第1の評価値を算出すると共に、前記始点位置から前記第1の評価値の算出対象とする対象線分に至る各接続経路の各々について、接続経路の優劣を決めるものとして予め定められた第2の評価式により第2の評価値を算出する算出ステップと、前記算出ステップによって算出された第2の評価値が最も評価の高い値となった接続経路における前記対象線分の接続元とされている線分が最適な接続元線分であるものとして当該線分を特定できる特定情報を前記記憶手段に記憶する記憶ステップと、前記算出ステップによって算出された第1の評価値が最も評価の高い値となっている線分を用いて前記矩形領域の形成を前記形成ステップにより再び行わせる再形成ステップと、前記形成ステップによって形成された矩形領域に前記終点位置が存在する場合に、前記特定情報を前記記憶手段から読み出し、当該特定情報により特定される線分を経由するように前記終点位置から前記始点位置に至るまで逆追跡することにより最終的な接続経路を導出する導出ステップと、前記導出ステップによる導出結果を示す結果情報を用いて予め定められた処理を実行する処理実行ステップと、をコンピュータに実行させるものである。   On the other hand, in order to achieve the above object, when creating a connection route in a building, the connection route creation program according to claim 8 indicates a starting point position of the connection route between devices for which the connection route is to be created. Starting point position information, end point position information indicating the end point position of the connection path, and obstacle position information indicating the position of the obstacle with respect to the connection path from the storage means stored in advance, the start point position information, the end point position information, and A reading step of reading out the obstacle position information, and generating a line segment that passes through the start point position indicated by the start point position information, and the vertical direction of the line segment until the line segment hits the obstacle indicated by the obstacle position information Forming a rectangular area by sweeping to a rectangular area, and a final area indicated by the end point position information in the rectangular area formed by the forming step. When the position does not exist, a new line segment is generated on the outer periphery of the rectangular area, and the first evaluation formula that is predetermined to determine the next search location for each of the generated line segments is And a second predetermined value that determines the superiority or inferiority of the connection route for each connection route from the starting point position to the target line segment for which the first evaluation value is calculated. The calculation step of calculating the second evaluation value by the evaluation formula, and the connection source of the target line segment in the connection route where the second evaluation value calculated by the calculation step has the highest evaluation value A storage step of storing in the storage means specific information that can identify the line segment as an optimal connection source line segment, and the first evaluation value calculated by the calculation step has the highest evaluation. The re-forming step for re-forming the rectangular region using the line segment, and the end point position in the rectangular region formed by the forming step. A derivation step of deriving a final connection path by reading back from the storage means and backtracking from the end point position to the start point position so as to pass through the line segment specified by the specific information, and the derivation step And a process execution step of executing a predetermined process using the result information indicating the derivation result of the above.

従って、請求項8に記載の接続経路作成プログラムによれば、コンピュータに対して請求項1記載の発明と同様に作用させることができるので、請求項1記載の発明と同様に、本発明を適用しない場合に比較して、より的確に接続経路を作成することができる。   Therefore, according to the connection route creation program described in claim 8, the computer can be operated in the same manner as in the invention described in claim 1. Therefore, the present invention is applied as in the invention described in claim 1. Compared with the case where it does not, a connection path can be created more accurately.

本発明によれば、始点位置を通る線分を発生し、当該線分を障害物にあたるまで当該線分の垂直方向に掃引することによって矩形領域を形成し、形成した矩形領域に終点位置が存在しない場合に、当該矩形領域の外周上に新たな線分を発生し、発生した線分の各々について、次の探索場所を決めるものとして予め定められた第1の評価式により第1の評価値を算出すると共に、前記始点位置から前記第1の評価値の算出対象とする対象線分に至る各接続経路の各々について、接続経路の優劣を決めるものとして予め定められた第2の評価式により第2の評価値を算出し、算出した第2の評価値が最も評価の高い値となった接続経路における前記対象線分の接続元とされている線分が最適な接続元線分であるものとして当該線分を特定できる特定情報を記憶手段に記憶する一方、算出した第1の評価値が最も評価の高い値となっている線分を用いて前記矩形領域の形成を再び行い、形成した矩形領域に前記終点位置が存在する場合に、前記特定情報を前記記憶手段から読み出し、当該特定情報により特定される線分を経由するように前記終点位置から前記始点位置に至るまで逆追跡することにより最終的な接続経路を導出しているので、本発明を適用しない場合に比較して、より的確に接続経路を作成することができる、という効果が得られる。   According to the present invention, a line segment passing through the start point position is generated, and the line segment is swept in the vertical direction until it hits an obstacle, thereby forming a rectangular area, and the end point position exists in the formed rectangular area If not, a new line segment is generated on the outer periphery of the rectangular area, and the first evaluation value is determined by a first evaluation formula that is predetermined to determine the next search location for each generated line segment. , And for each of the connection routes from the start point position to the target line segment for which the first evaluation value is to be calculated, a second evaluation formula that is determined in advance as determining the superiority or inferiority of the connection route The second evaluation value is calculated, and the line segment that is the connection source of the target line segment in the connection route in which the calculated second evaluation value has the highest evaluation value is the optimal connection source line segment. That can identify the line segment While the information is stored in the storage means, the rectangular area is formed again using the line segment whose calculated first evaluation value has the highest evaluation value, and the end point position exists in the formed rectangular area In this case, the final connection path is derived by reading the specific information from the storage unit and backtracking from the end point position to the start point position so as to pass through the line segment specified by the specific information. Therefore, the effect that the connection path can be created more accurately is obtained as compared with the case where the present invention is not applied.

以下、図面を参照して、本発明を実施するための最良の形態について詳細に説明する。なお、ここでは、本発明を、配管及びダクトの接続経路を作成する接続経路作成装置に適用した場合について説明する。   The best mode for carrying out the present invention will be described below in detail with reference to the drawings. Here, a case where the present invention is applied to a connection path creation device that creates connection paths for pipes and ducts will be described.

[第1の実施の形態]
まず、図1及び図2を参照して、本発明が適用された接続経路作成装置10の構成を説明する。
[First Embodiment]
First, with reference to FIG. 1 and FIG. 2, the configuration of a connection path creation device 10 to which the present invention is applied will be described.

図1に示すように、本実施の形態に係る接続経路作成装置10は、本装置の全体的な動作を制御する制御部12と、ユーザからの各種情報等の入力に使用するキーボード14及びマウス16と、本装置による処理結果や各種メニュー画面、メッセージ等を表示するディスプレイ18と、を含んで構成されている。すなわち、本実施の形態に係る接続経路作成装置10は、汎用のパーソナル・コンピュータにより構成されている。   As shown in FIG. 1, a connection path creation device 10 according to the present embodiment includes a control unit 12 that controls the overall operation of the device, a keyboard 14 and a mouse that are used to input various information from the user. 16 and a display 18 for displaying processing results by this apparatus, various menu screens, messages, and the like. That is, the connection path creation device 10 according to the present embodiment is configured by a general-purpose personal computer.

次に、図2を参照して、本実施の形態に係る接続経路作成装置10の電気系の要部構成を説明する。   Next, with reference to FIG. 2, the principal part structure of the electric system of the connection path | route creation apparatus 10 which concerns on this Embodiment is demonstrated.

同図に示すように、接続経路作成装置10は、接続経路作成装置10全体の動作を司るCPU(中央処理装置)22と、CPU22による各種プログラムの実行時のワークエリア等として用いられるRAM24と、各種制御プログラムや各種パラメータ等が予め記憶されたROM26と、各種情報を記憶するために用いられる記憶手段としてのハードディスク28と、前述のキーボード14、マウス16、及びディスプレイ18と、外部に接続された装置との間の各種情報の授受を司る外部インタフェース30と、を含んで構成されており、これら各部はシステムバスBUSにより相互に接続されている。なお、外部インタフェース30にはプリンタ50(図1では図示省略。)が接続されている。   As shown in the figure, the connection path creation device 10 includes a CPU (central processing unit) 22 that controls the operation of the connection path creation device 10 as a whole, a RAM 24 that is used as a work area when the CPU 22 executes various programs, and the like. A ROM 26 in which various control programs and various parameters are stored in advance, a hard disk 28 as a storage means used for storing various types of information, the keyboard 14, mouse 16, and display 18 described above are connected to the outside. And an external interface 30 that controls transmission and reception of various types of information to and from the apparatus. These units are connected to each other by a system bus BUS. A printer 50 (not shown in FIG. 1) is connected to the external interface 30.

従って、CPU22は、RAM24、ROM26、及びハードディスク28に対するアクセス、キーボード14及びマウス16を介した各種情報の取得、ディスプレイ18に対する各種情報の表示、及び外部インタフェース30を介したプリンタ50による各種情報の印刷を各々行うことができる。   Therefore, the CPU 22 accesses the RAM 24, ROM 26 and hard disk 28, acquires various information via the keyboard 14 and mouse 16, displays various information on the display 18, and prints various information using the printer 50 via the external interface 30. Can be performed respectively.

図3には、接続経路作成装置10に備えられたハードディスク28の主な記憶内容が模式的に示されている。同図に示すように、ハードディスク28には、各種データベースを記憶するためのデータベース領域DBと、各種処理を行うためのプログラムを記憶するためのプログラム領域PGと、が設けられている。   FIG. 3 schematically shows main storage contents of the hard disk 28 provided in the connection path creation device 10. As shown in the figure, the hard disk 28 is provided with a database area DB for storing various databases and a program area PG for storing programs for performing various processes.

また、データベース領域DBには、後述する接続経路作成プログラムの実行時に用いられる機器間接続情報データベースDB1、配管・ダクト仕様情報データベースDB2、建物CAD情報データベースDB3、線分情報データベースDB4、及び線分リンク情報データベースDB5が含まれている。   Further, the database area DB includes an inter-device connection information database DB1, a piping / duct specification information database DB2, a building CAD information database DB3, a line segment information database DB4, and a line segment link that are used when a connection route creation program to be described later is executed. An information database DB5 is included.

上記機器間接続情報データベースDB1は、対象としている建物における配管やダクトにより接続される機器間の接続経路に関する前提条件を示す情報をデータベース化したものである。本実施の形態に係る機器間接続情報データベースDB1は、一例として図4に示すように、経路番号、用途ID(Identification)、呼び径、始点座標、始点ベクトル、終点座標、及び終点ベクトルの各情報を接続経路毎にデータベース化したものとして構成されている。   The inter-device connection information database DB1 is a database of information indicating preconditions regarding connection paths between devices connected by piping or ducts in a target building. As shown in FIG. 4 as an example, the inter-device connection information database DB1 according to the present embodiment includes information on a route number, usage ID (Identification), nominal diameter, start point coordinates, start point vector, end point coordinates, and end point vector. Is configured as a database for each connection path.

なお、上記経路番号は、対応する接続経路を識別するために各接続経路別に個別に割り振られた番号である。このように、本実施の形態に係る接続経路作成装置10では、各接続経路を識別するための情報として数値情報を適用しているが、これに限らず、例えば、アルファベット、記号等の他の文字情報及び上記数値情報を単独、又は組み合わせて適用する形態等、接続経路を個別に識別できる情報であれば如何なる情報も適用できることは言うまでもない。   The route number is a number assigned individually for each connection route in order to identify the corresponding connection route. As described above, in the connection route creation device 10 according to the present embodiment, numerical information is applied as information for identifying each connection route. It goes without saying that any information can be applied as long as the information can individually identify the connection path, such as a form in which the character information and the numerical information are applied individually or in combination.

また、上記用途IDは、対応する接続経路の用途を特定するために、接続経路作成装置10において適用対象としている各用途に対して個別に割り振られた情報である。なお、図4に示されるように、本実施の形態に係る接続経路作成装置10では、上記用途IDとして数値情報を適用しているが、これに限らず、上記文字情報及び数値情報を単独、又は組み合わせて適用する形態等、接続経路の用途を個別に特定できる情報であれば如何なる情報も適用できることも言うまでもない。   Further, the usage ID is information individually assigned to each usage to be applied in the connection route creating apparatus 10 in order to specify the usage of the corresponding connection route. As shown in FIG. 4, in the connection route creation device 10 according to the present embodiment, numerical information is applied as the application ID, but not limited thereto, the character information and numerical information are independently used. It goes without saying that any information can be applied as long as it is information that can individually specify the use of the connection route, such as a form applied in combination.

また、上記呼び径は、対応する接続経路を構成する部材(本実施の形態では、配管又はダクト)の呼び径を示す情報である。   Moreover, the said nominal diameter is information which shows the nominal diameter of the member (In this Embodiment, piping or a duct) which comprises a corresponding connection path | route.

一方、上記始点座標は、一例として図9(A)に示されるように、対応する接続経路の始点の位置を示す情報であり、図4に示されるように、本実施の形態に係る接続経路作成装置10では、対象としている建物に対して予め定められた基点位置の座標を原点(0,0,0)とした3次元座標を適用しているが、これに限るものでないことも言うまでもない。また、上記始点ベクトルは、一例として図9(A)に示されるように、対応する接続経路の始点における当該接続経路の敷設方向を示す情報である。なお、図4に示されるように、本実施の形態に係る接続経路作成装置10では、上記始点ベクトルを、3次元座標系におけるX座標方向(本実施の形態では、対象とする建物の正面視幅方向)に対する正の方向及び負の方向、Y座標方向(本実施の形態では、対象とする建物の正面視前後方向)に対する正の方向及び負の方向、及びZ座標方向(本実施の形態では、対象とする建物の上下方向)に対する正の方向及び負の方向の各方向の組み合わせで表している。例えば、図4に示される経路番号として‘100’が付与された接続経路の始点ベクトルは(0,1,0)とされており、当該接続経路は始点位置においてX座標方向やZ座標方向に向けて敷設されるものではなく、Y座標方向の正の方向(本実施の形態では、建物の奥行き方向)に向けて敷設されるものであることが示されている。   On the other hand, the start point coordinates are information indicating the position of the start point of the corresponding connection route, as shown in FIG. 9A as an example, and as shown in FIG. 4, the connection route according to the present embodiment. In the creation device 10, the three-dimensional coordinates with the origin (0, 0, 0) as the origin (0, 0, 0) are applied to the target building, but it goes without saying that the present invention is not limited to this. . The start point vector is information indicating the laying direction of the connection route at the start point of the corresponding connection route, as shown in FIG. 9A as an example. As shown in FIG. 4, in the connection route creation device 10 according to the present embodiment, the start point vector is set in the X coordinate direction in the three-dimensional coordinate system (in the present embodiment, the front view of the target building). Positive and negative directions with respect to the width direction), positive and negative directions with respect to the Y coordinate direction (in this embodiment, the front-rear direction of the front view of the target building), and Z coordinate direction (this embodiment) In FIG. 2, the vertical direction of the target building) is represented by a combination of positive and negative directions. For example, the start point vector of the connection route given “100” as the route number shown in FIG. 4 is (0, 1, 0), and the connection route is in the X coordinate direction or the Z coordinate direction at the start point position. It is shown that it is not laid down toward the positive direction of the Y coordinate direction (in this embodiment, the depth direction of the building).

同様に、上記終点座標は、一例として図9(A)に示されるように、対応する接続経路の終点の位置を示す情報であり、図4に示されるように、本実施の形態に係る接続経路作成装置10では、上記基点位置の座標を原点とした3次元座標を適用しているが、これに限るものでないことも言うまでもない。また、上記終点ベクトルは、一例として図9(A)に示されるように、対応する接続経路の終点における当該接続経路の敷設方向を示す情報である。なお、図4に示されるように、本実施の形態に係る接続経路作成装置10では、上記終点ベクトルも、上記3次元座標系におけるX座標方向に対する正の方向及び負の方向、Y座標方向に対する正の方向及び負の方向、及びZ座標方向に対する正の方向及び負の方向の各方向の組み合わせで表している。例えば、図4に示される経路番号として‘101’が付与された接続経路の終点ベクトルは(1,0,0)とされており、当該接続経路は終点位置においてY座標方向やZ座標方向に向けて敷設されるものではなく、X座標方向の正の方向(本実施の形態では、建物の正面視右方向)に向けて敷設されるものであることが示されている。   Similarly, the end point coordinates are information indicating the position of the end point of the corresponding connection route, as shown in FIG. 9A as an example, and as shown in FIG. 4, the connection according to the present embodiment. In the route creation device 10, the three-dimensional coordinates with the origin point coordinates as the origin are applied, but it goes without saying that the present invention is not limited to this. The end point vector is information indicating the laying direction of the connection route at the end point of the corresponding connection route, as shown in FIG. 9A as an example. As shown in FIG. 4, in the connection route creation device 10 according to the present embodiment, the end point vector is also in the positive and negative directions with respect to the X coordinate direction and the Y coordinate direction in the three-dimensional coordinate system. A positive direction, a negative direction, and a combination of a positive direction and a negative direction with respect to the Z coordinate direction are represented. For example, the end point vector of the connection route given “101” as the route number shown in FIG. 4 is (1, 0, 0), and the connection route is in the Y coordinate direction or Z coordinate direction at the end point position. It is shown that it is not laid in the direction, but is laid in the positive direction of the X coordinate direction (in the present embodiment, the right direction in the front view of the building).

一方、上記配管・ダクト仕様情報データベースDB2は、本実施の形態に係る接続経路作成装置10において適用対象としている、接続経路を構成する部材である配管及びダクトの仕様を示す情報をデータベース化したものである。本実施の形態に係る配管・ダクト仕様情報データベースDB2は、一例として図5に示すように、用途ID、用途名、呼び径、外径、勾配、及び最小回転半径の各情報を用途毎にデータベース化したものとして構成されている。   On the other hand, the above-mentioned piping / duct specification information database DB2 is a database of information indicating the specifications of pipes and ducts, which are members constituting the connection route, which are the application targets in the connection route creation device 10 according to the present embodiment. It is. As shown in FIG. 5 as an example, the piping / duct specification information database DB2 according to the present embodiment is a database for each information of application ID, application name, nominal diameter, outer diameter, gradient, and minimum turning radius. It is configured as a.

なお、上記用途ID及び上記呼び径は、機器間接続情報データベースDB1における同名の情報と同一の情報であり、上記用途名は、対応する用途の名称を示す情報である。また、上記外径は、対応する用途で適用される配管又はダクトの外径を示す情報であり、上記勾配は、対応する用途で適用される配管又はダクトの勾配を示す情報であり、更に、上記最小回転半径は、一例として図9(B)に示されるように、対応する用途で適用される配管又はダクトの屈曲半径の最小値を示す情報である。   The use ID and the nominal diameter are the same information as the information of the same name in the inter-device connection information database DB1, and the use name is information indicating the name of the corresponding use. The outer diameter is information indicating the outer diameter of a pipe or duct applied in the corresponding application, and the gradient is information indicating the gradient of the pipe or duct applied in the corresponding application. As shown in FIG. 9B as an example, the minimum turning radius is information indicating the minimum value of the bending radius of the pipe or duct applied in the corresponding application.

一方、上記建物CAD情報データベースDB3は、3次元CADシステムを用いて構築された、対象とする建物の3次元CAD情報をデータベース化したものである。本実施の形態に係る建物CAD情報データベースDB3は、一例として図6に示すように、部材ID、部材名、詳細、基準点座標、ベクトル、頂点数、及び頂点座標リストの各情報を、対象とする建物を構成する部材毎にデータベース化したものとして構成されている。   On the other hand, the building CAD information database DB3 is a database of 3D CAD information of a target building constructed using a 3D CAD system. As shown in FIG. 6 as an example, the building CAD information database DB3 according to the present embodiment includes information on a member ID, a member name, details, reference point coordinates, a vector, the number of vertices, and a vertex coordinate list. It is configured as a database for each member constituting the building.

なお、上記部材IDは、対象とする建物を構成する部材を特定するために、接続経路作成装置10において適用対象としている各部材に対して個別に割り振られた情報である。図6に示されるように、本実施の形態に係る接続経路作成装置10では、上記部材IDとして数値情報を適用しているが、これに限らず、上記文字情報及び数値情報を単独、又は組み合わせて適用する形態等、各部材を個別に特定できる情報であれば如何なる情報も適用できることも言うまでもない。   The member ID is information individually assigned to each member to be applied in the connection route creation device 10 in order to specify a member constituting the target building. As shown in FIG. 6, in the connection route creation device 10 according to the present embodiment, numerical information is applied as the member ID. However, the present invention is not limited to this, and the character information and numerical information are used alone or in combination. It goes without saying that any information can be applied as long as it is information that can individually identify each member, such as a form to be applied.

また、上記部材名は、対応する部材の名称を示す情報であり、上記詳細は、対応する部材の構造を示す情報である。図6に示される建物CAD情報データベースDB3では、例えば、部材IDとして‘10001’が付与された部材は、木軸構造とされた間仕切壁であることが示されている。   Moreover, the said member name is information which shows the name of a corresponding member, and the said detail is information which shows the structure of a corresponding member. In the building CAD information database DB3 illustrated in FIG. 6, for example, it is indicated that the member assigned “10001” as the member ID is a partition wall having a wooden shaft structure.

また、上記基準点座標は、対応する部材の予め定められた基準点の位置を示す情報であり、上記ベクトルは、対応する部材の基準方向を示す情報であり、上記頂点数は、対応する部材の頂点の数を示す情報であり、更に、上記頂点座標リストは、対応する部材の各頂点の位置を示す情報である。なお、本実施の形態に係る接続経路作成装置10では、上記基準点座標及び頂点座標リストの各情報もまた、上記基点位置の座標を原点とした3次元座標を適用しているが、これに限るものでないことも言うまでもない。   The reference point coordinates are information indicating the position of a predetermined reference point of the corresponding member, the vector is information indicating the reference direction of the corresponding member, and the number of vertices is the corresponding member. The vertex coordinate list is information indicating the position of each vertex of the corresponding member. In the connection route creation device 10 according to the present embodiment, each information of the reference point coordinates and the vertex coordinate list also applies three-dimensional coordinates with the origin position coordinates as the origin, It goes without saying that it is not limited.

一方、上記線分情報データベースDB4は、後述する接続経路作成プログラムの実行により生成される接続経路を構成する線分に関する情報をデータベース化したものである。本実施の形態に係る線分情報データベースDB4は、一例として図7に示すように、線分ID、線分名、第1線分コスト、第2線分コスト、最適リンク元線分名、始端座標、及び終端座標の各情報を上記各線分毎にデータベース化したものとして構成される。   On the other hand, the line segment information database DB4 is a database of information related to line segments constituting connection paths generated by execution of a connection path creation program described later. As shown in FIG. 7 as an example, the line segment information database DB4 according to the present embodiment includes a line segment ID, a line segment name, a first line segment cost, a second line segment cost, an optimum link source line segment name, and a start end. Each information of the coordinates and the end coordinates is configured as a database for each line segment.

なお、上記線分IDは、対応する線分を特定するために上記各線分に対して個別に割り振られた情報である。なお、図7に示されるように、本実施の形態に係る接続経路作成装置10では、上記線分IDとして数値情報を適用しているが、これに限らず、上記文字情報及び数値情報を単独、又は組み合わせて適用する形態等、上記各線分を個別に特定できる情報であれば如何なる情報も適用できることも言うまでもない。   The line segment ID is information individually assigned to each line segment in order to specify the corresponding line segment. As shown in FIG. 7, in the connection route creation device 10 according to the present embodiment, numerical information is applied as the line segment ID. However, the present invention is not limited to this, and the character information and numerical information are independently used. Needless to say, any information can be applied as long as it is information that can individually identify each of the line segments, such as a form applied in combination.

また、上記線分名は、対応する線分の名称を示す情報であり、本実施の形態に係る接続経路作成装置10では、図7に示されるようにアルファベット等を適用しているが、これに限らず、対応する線分を特定できる情報であれば如何なる情報も適用できることも言うまでもない。   In addition, the line segment name is information indicating the name of the corresponding line segment, and the connection path creation device 10 according to the present embodiment applies alphabets or the like as shown in FIG. It goes without saying that any information can be applied as long as the information can identify the corresponding line segment.

また、上記第1線分コスト及び上記第2線分コストは、対応する線分の評価値を示す情報である。   Moreover, the said 1st line segment cost and the said 2nd line segment cost are information which shows the evaluation value of a corresponding line segment.

なお、本実施の形態に係る接続経路作成装置10では、上記第1線分コストEを算出するための評価式として次の(2)式が適用されており、上記第2線分コストE’を算出するための評価式として次の(3)式が適用されている。   In the connection route creation device 10 according to the present embodiment, the following equation (2) is applied as an evaluation equation for calculating the first line segment cost E, and the second line segment cost E ′. The following formula (3) is applied as an evaluation formula for calculating.

E=Σ(aB+bD) (2)
E’=E+cZ (3)
なお、(2)式において、Bは評価値の算出対象とする対象線分と当該対象線分の接続元となる線分との間の曲がりの有無(曲がりあり:1,曲がりなし:0)を表し、Dは評価値の算出対象とする対象線分と当該対象線分の接続元となる線分との間の距離を表す。また、(2)式におけるa及びbは対応するパラメータに対する重み付け値であり、aの値を大きくすると曲がりの少ない経路が求まる傾向が強くなり、bの値を大きくすると短い経路が求まる傾向が強くなる。
E = Σ (aB + bD) (2)
E ′ = E + cZ (3)
In equation (2), B is the presence or absence of a bend between the target line segment for which the evaluation value is calculated and the line segment that is the connection source of the target line segment (with bend: 1, without bend: 0). D represents the distance between the target line segment for which the evaluation value is calculated and the line segment that is the connection source of the target line segment. In addition, a and b in equation (2) are weighting values for the corresponding parameters. Increasing the value of a increases the tendency to obtain a route with few bends, and increasing the value of b increases the tendency to obtain a short route. Become.

本実施の形態に係る接続経路作成装置10では、上記Bを次のように導出している。   In the connection route creation apparatus 10 according to the present embodiment, the above B is derived as follows.

まず、対象とする2つの線分のそれぞれの始端座標と終端座標とから線分のベクトルを算出する。一方の線分の始端P1sの座標を(X1s,Y1s,Z1s)、終端P1eの座標を(X1e,Y1e,Z1e)とし、他方の線分の始端P2sの座標を(X2s,Y2s,Z2s)、終端P2eの座標を(X2e,Y2e,Z2e)とすると、各線分のベクトルは次のようになる。   First, a line segment vector is calculated from the start and end coordinates of two target line segments. The coordinates of the start end P1s of one line segment are (X1s, Y1s, Z1s), the coordinates of the end point P1e are (X1e, Y1e, Z1e), and the coordinates of the start end P2s of the other line segment are (X2s, Y2s, Z2s), If the coordinates of the end P2e are (X2e, Y2e, Z2e), the vector of each line segment is as follows.

一方の線分のベクトル=(X1e−X1s,Y1e−Y1s,Z1e−Z1s)
他方の線分のベクトル=(X2e−X2s,Y2e−Y2s,Z2e−Z2s)
次に、次の条件式により上記Bの値を算出する。なお、次式における‘・’は内積を表し、εは、1未満の予め定められた閾値を表す。
One line segment vector = (X1e-X1s, Y1e-Y1s, Z1e-Z1s)
Vector of the other line segment = (X2e−X2s, Y2e−Y2s, Z2e−Z2s)
Next, the value B is calculated according to the following conditional expression. In the following expression, “·” represents an inner product, and ε represents a predetermined threshold value less than 1.

B=0;1−|一方の線分のベクトル・他方の線分のベクトル|<εの場合
B=1;上記以外
すなわち、本実施の形態に係る接続経路作成装置10では、一方の線分のベクトル及び他方の線分のベクトルの内積の絶対値が‘1’に近ければ曲がっていないとしてBを‘0’とし、そうでなければ曲がっているとしてBを‘1’とする。
B = 0; 1- | in the case of one line segment vector / the other line segment vector | <ε B = 1; other than the above In other words, in the connection path creation device 10 according to the present embodiment, one line segment If the absolute value of the inner product of the vector of the vector and the vector of the other line segment is close to “1”, B is set as “0” if it is not bent, and otherwise B is set as “1”.

一方、本実施の形態に係る接続経路作成装置10では、上記Dを次のように導出している。   On the other hand, in the connection route creation apparatus 10 according to the present embodiment, the above D is derived as follows.

まず、対象とする2つの線分のそれぞれの始端位置と終端位置とから線分の中点を算出する。上記と同様に一方の線分の始端P1sの座標を(X1s,Y1s,Z1s)、終端P1eの座標を(X1e,Y1e,Z1e)とし、他方の線分の始端P2sの座標を(X2s,Y2s,Z2s)、終端P2eの座標を(X2e,Y2e,Z2e)とすると、各線分の中点は次のようになる。   First, the midpoint of the line segment is calculated from the start end position and the end position of each of the two target line segments. Similarly to the above, the coordinates of the start end P1s of one line segment are (X1s, Y1s, Z1s), the coordinates of the end point P1e are (X1e, Y1e, Z1e), and the coordinates of the start end P2s of the other line segment are (X2s, Y2s). , Z2s) and the coordinates of the end P2e are (X2e, Y2e, Z2e), the midpoint of each line segment is as follows.

一方の線分の中点=((X1e+X1s)/2,(Y1e+Y1s)/2,(Z1e+Z1s)/2)
他方の線分の中点=((X2e+X2s)/2,(Y2e+Y2s)/2,(Z2e+Z2s)/2)
次に、一方の線分の中点の座標を(X1c,Y1c,Z1c)とし、他方の線分の中点の座標を(X2c,Y2c,Z2c)として、次式により上記Dの値を算出する。
Midpoint of one line segment = ((X1e + X1s) / 2, (Y1e + Y1s) / 2, (Z1e + Z1s) / 2)
Midpoint of the other line segment = ((X2e + X2s) / 2, (Y2e + Y2s) / 2, (Z2e + Z2s) / 2)
Next, assuming that the coordinates of the midpoint of one line segment are (X1c, Y1c, Z1c) and the coordinates of the midpoint of the other line segment are (X2c, Y2c, Z2c), the value of D is calculated by the following equation: To do.

これに対し、(3)式において、Zは上記対象線分から終点位置までのマンハッタン距離を表す一方、cはマンハッタン距離に対する重み付け値であり、終点に近づく方向の探索を優先させるものである。 On the other hand, in the expression (3), Z represents the Manhattan distance from the target line segment to the end point position, while c is a weighting value for the Manhattan distance, and gives priority to the search in the direction approaching the end point.

本実施の形態に係る接続経路作成装置10では、上記Zを次のように導出している。   In the connection path creation device 10 according to the present embodiment, the above Z is derived as follows.

まず、対象とする線分の始端座標と終端座標とから上記Dと同様に線分の中点を算出する。   First, the midpoint of a line segment is calculated from the start and end coordinates of the target line segment in the same manner as D described above.

次に、線分の中点座標を(X2c,Y2c,Z2c)とし、終点座標を(Xt,Yt,Zt)として、次式により上記Zを算出する。   Next, Z is calculated by the following equation, where the midpoint coordinates of the line segment are (X2c, Y2c, Z2c) and the end point coordinates are (Xt, Yt, Zt).

Z=|X2c−Xt|+|Y2c−Yt|+|Z2c−Zt|
また、上記最適リンク元線分名は、対応する線分の始点側の端点に接続するのに最適な線分の名称を示す情報である。更に、上記始端座標は、対応する線分の始点側端点の位置を示す情報であり、上記終端座標は、対応する線分の終点側端点の位置を示す情報である。なお、本実施の形態に係る接続経路作成装置10では、上記始端座標及び終端座標もまた、上記基点位置の座標を原点とした3次元座標を適用しているが、これに限るものでないことも言うまでもない。
Z = | X2c-Xt | + | Y2c-Yt | + | Z2c-Zt |
The optimum link source line segment name is information indicating the name of the optimum line segment to be connected to the end point on the start point side of the corresponding line segment. Furthermore, the start coordinate is information indicating the position of the start point side end point of the corresponding line segment, and the end coordinate is information indicating the position of the end point side end point of the corresponding line segment. In the connection path creation device 10 according to the present embodiment, the start end coordinates and the end coordinates also apply the three-dimensional coordinates with the origin position coordinates as the origin. However, the present invention is not limited to this. Needless to say.

一方、上記線分リンク情報データベースDB5は、後述する接続経路作成プログラムの実行により生成される接続経路を構成する線分と隣接する線分との間の接続状態に関する情報をデータベース化したものである。本実施の形態に係る線分リンク情報データベースDB5は、一例として図8に示すように、リンクID、リンク元線分名、リンク先線分名、及びリンクコストの各情報を隣接する線分毎にデータベース化したものとして構成される。   On the other hand, the line segment link information database DB5 is a database of information relating to the connection state between a line segment constituting a connection path generated by execution of a connection path creation program described later and an adjacent line segment. . As shown in FIG. 8 as an example, the line segment link information database DB5 according to the present embodiment stores link ID, link source line segment name, link destination line segment name, and link cost information for each adjacent line segment. It is configured as a database.

なお、上記リンクIDは、上記隣接する線分を特定するために、当該隣接する線分に対して個別に割り振られた情報である。なお、図8に示されるように、本実施の形態に係る接続経路作成装置10では、上記リンクIDとして数値情報を適用しているが、これに限らず、上記文字情報及び数値情報を単独、又は組み合わせて適用する形態等、上記隣接する線分を個別に特定できる情報であれば如何なる情報も適用できることも言うまでもない。   The link ID is information individually assigned to the adjacent line segment in order to specify the adjacent line segment. In addition, as shown in FIG. 8, in the connection route creation device 10 according to the present embodiment, numerical information is applied as the link ID. However, the present invention is not limited to this, and the character information and numerical information are independently used. It goes without saying that any information can be applied as long as it is information that can individually identify the adjacent line segments, such as a form applied in combination.

また、上記リンク元線分名は、対応する上記隣接する線分の始点側に位置される線分の名称を示す情報であり、上記リンク先線分名は、対応する上記隣接する線分の終点側に位置される線分の名称を示す情報であり、更に、上記リンクコストは、対応する上記隣接する線分の評価値を示す情報である。   The link source line segment name is information indicating the name of the line segment located on the start point side of the corresponding adjacent line segment, and the link destination line segment name is the corresponding adjacent line segment name. It is information indicating the name of the line segment located on the end point side, and the link cost is information indicating the evaluation value of the corresponding adjacent line segment.

なお、本実施の形態に係る接続経路作成装置10では、上記リンクコストeを算出するための評価式として次の(4)式が適用されている。   In the connection route creation device 10 according to the present embodiment, the following equation (4) is applied as an evaluation equation for calculating the link cost e.

e=aB+bD (4)
次に、図10を参照して、本実施の形態に係る接続経路作成装置10の作用を説明する。なお、図10は、ユーザによりキーボード14、マウス16の操作によって接続経路の作成の実行指示が入力された際にCPU22により実行される接続経路作成プログラムの処理の流れを示すフローチャートであり、該プログラムはハードディスク28のプログラム領域PGに予め記憶されている。
e = aB + bD (4)
Next, with reference to FIG. 10, the operation of the connection path creation device 10 according to the present embodiment will be described. FIG. 10 is a flowchart showing the flow of processing of a connection route creation program executed by the CPU 22 when a user inputs an instruction to create a connection route by operating the keyboard 14 and mouse 16. Are stored in advance in the program area PG of the hard disk 28.

まず、同図のステップ100では、上記係数a,b,c(重み付け値)の各値の入力を受け付ける。なお、本実施の形態に係る接続経路作成プログラムでは、上記各値の入力の受け付けを、係数a,b,cを入力させるものとして予め定められた入力画面をディスプレイ18により表示させ、当該入力画面に対して、キーボード14及びマウス16を介して入力された値を受け付けることにより行っているが、これに限るものではなく、例えば、音声による入力、外部装置からの通信による入力等、他の入力形態により入力された値を受け付ける形態とすることもできることは言うまでもない。   First, in step 100 of the figure, input of each value of the coefficients a, b, and c (weighting values) is accepted. In the connection route creation program according to the present embodiment, the input screen, which is determined in advance as input of the coefficients a, b, and c, is displayed on the display 18 to accept the input of each value. On the other hand, it is performed by accepting values input via the keyboard 14 and the mouse 16, but the present invention is not limited to this. For example, other inputs such as an input by voice and an input by communication from an external device are used. Needless to say, it is possible to accept a value input according to the form.

次のステップ102では、機器間接続情報データベースDB1、配管・ダクト仕様情報データベースDB2、及び建物CAD情報データベースDB3から、接続経路の作成対象とする建物に係る全ての情報を読み出し、次のステップ104では、読み出した情報を用いて配管・ダクトレイアウト処理ルーチン・プログラムを実行する。   In the next step 102, all information relating to the building for which the connection route is to be created is read from the inter-device connection information database DB1, the piping / duct specification information database DB2, and the building CAD information database DB3. In the next step 104, The piping / duct layout processing routine / program is executed using the read information.

以下、図11を参照して、配管・ダクトレイアウト処理ルーチン・プログラムについて説明する。なお、図11は、当該配管・ダクトレイアウト処理ルーチン・プログラムの処理の流れを示すフローチャートであり、該プログラムもハードディスク28のプログラム領域PGに予め記憶されている。   The piping / duct layout processing routine / program will be described below with reference to FIG. FIG. 11 is a flowchart showing the processing flow of the piping / duct layout processing routine / program. The program is also stored in the program area PG of the hard disk 28 in advance.

同図のステップ200では、上記ステップ102の処理によって読み出した情報から、何れか1つ分の接続経路(以下、「処理対象接続経路」という。)に対応する始点座標、終点座標、始点ベクトル、終点ベクトル、外径、勾配、及び最小回転半径の各情報を抽出する。なお、上記外径、勾配、及び最小回転半径の各情報は、機器間接続情報データベースDB1から読み出した情報における処理対象接続経路の用途ID及び呼び径に対応する外径、勾配、及び最小回転半径を、配管・ダクト仕様情報データベースDB2から読み出した情報から抽出することにより得ることができる。   In step 200 of the figure, from the information read out in the process of step 102, the start point coordinates, end point coordinates, start point vector corresponding to any one connection path (hereinafter referred to as “processing target connection path”), Information on the end point vector, outer diameter, gradient, and minimum turning radius is extracted. The information on the outer diameter, the gradient, and the minimum turning radius are the outer diameter, the gradient, and the minimum turning radius corresponding to the use ID and the nominal diameter of the processing target connection path in the information read from the inter-device connection information database DB1. Can be obtained by extracting from the information read from the piping / duct specification information database DB2.

次のステップ202では、一例として図9(A)に示すように、上記ステップ200の処理によって得られた始点座標の位置から始点ベクトル方向に最小回転半径の距離だけ離れた点を開始点とし、当該開始点と始点座標の位置とを結ぶ線分を開始線分として仮想的に発生し、発生した開始線分について、線分ID及び線分名(ここでは、「開始線分」)の作成と、第1線分コストE及び第2線分コストE’の各値の上記(2)式及び(3)式による算出と、始端座標及び終端座標の導出とを行う。なお、ここでは、上記(2)式において適用されるB及びDの値として0(零)を適用しており、第1線分コストEとして0が、第2線分コストE’としてマンハッタン距離Zに係数cにより示される重み付け値が乗算された値が算出される。また、ここでは、上記始端座標として処理対象接続経路の始点座標を、上記終端座標として上記開始点の位置を示す座標を各々適用する。   In the next step 202, as shown in FIG. 9A as an example, the start point is a point separated from the position of the start point coordinate obtained by the process of step 200 in the start point vector direction by the distance of the minimum turning radius, A line segment connecting the start point and the position of the start point coordinate is virtually generated as a start line segment, and a line segment ID and a line segment name (here, “start line segment”) are created for the generated start line segment Then, calculation of each value of the first line segment cost E and the second line segment cost E ′ by the above formulas (2) and (3), and derivation of the start end coordinates and the end coordinates are performed. Here, 0 (zero) is applied as the values of B and D applied in the above equation (2), and 0 is used as the first line segment cost E, and Manhattan distance as the second line segment cost E ′. A value obtained by multiplying Z by a weighting value indicated by a coefficient c is calculated. Also, here, the start point coordinates of the processing target connection path are applied as the start end coordinates, and the coordinates indicating the position of the start point are applied as the end coordinates.

同様に、ステップ202では、上記ステップ200の処理によって得られた終点座標の位置から終点ベクトル方向に最小回転半径の距離だけ離れた点を終了点とし、当該終了点と終点座標の位置とを結ぶ線分を終了線分として仮想的に発生し、発生した終了線分について、線分ID及び線分名(ここでは、「終了線分」)の作成と、始端座標及び終端座標の導出とを行う。なお、ここでは、上記始端座標として上記終了点の位置を示す座標を、上記終端座標として処理対象接続経路の終点座標を各々適用する。   Similarly, in step 202, a point that is separated from the position of the end point coordinate obtained by the process of step 200 in the direction of the end point vector by the distance of the minimum rotation radius is set as the end point, and the end point is connected to the position of the end point coordinate. A line segment is virtually generated as an end line segment, and for the generated end line segment, creation of a line segment ID and a line segment name (here, “end line segment”), and derivation of the start and end coordinates are performed. Do. Here, the coordinates indicating the position of the end point are applied as the start end coordinates, and the end point coordinates of the processing target connection path are applied as the end coordinates.

次のステップ204では、上記ステップ202の処理によって得られた開始線分及び終了線分に関する各情報を線分情報データベースDB4に登録する。   In the next step 204, each piece of information related to the start line segment and the end line segment obtained by the process in step 202 is registered in the line segment information database DB4.

次のステップ206では、一例として図12(A)に示すように、上記開始点から始点ベクトル方向に障害物にぶつかるまで伸ばした線分を仮想的に発生し、発生した線分について、線分ID及び線分名の作成と、始端座標及び終端座標の導出とを行う。ここで、上記障害物の位置は、上記ステップ102の処理によって建物CAD情報データベースDB3から読み出した頂点座標リストによって示される各部材の位置として特定することができる。また、ここでは、上記始端座標として上記開始点の位置を示す座標を適用する。   In the next step 206, as shown in FIG. 12A as an example, a line segment extending from the start point to the start point vector direction until it hits an obstacle is virtually generated. Creation of IDs and line segment names, and derivation of start and end coordinates are performed. Here, the position of the obstacle can be specified as the position of each member indicated by the vertex coordinate list read from the building CAD information database DB3 by the processing of step 102. Also, here, coordinates indicating the position of the start point are applied as the start end coordinates.

ところで、本実施の形態に係る接続経路作成装置10では、一例として図9(B)に示されるように、配管又はダクトと障害物との間を、予め定められた最小許容距離だけセットバックするものとされている。このため、ハードディスク28の所定領域には、上記最小許容距離を示す最小許容距離情報が予め記憶されており、上記ステップ206では、当該最小許容距離情報をハードディスク28から読み出し、上記開始点から始点ベクトル方向に障害物にぶつかるまで伸ばした線分を、当該最小許容距離情報により示される最小許容距離に、対応する配管又はダクトの外径の2分の1を加算して得られた距離(以下、「セットバック距離」という。)だけ戻す(セットバックする)ようにしている。従って、本ステップ206において導出する終端座標は、このセットバックした位置を示す座標を適用する。   By the way, in the connection route creation device 10 according to the present exemplary embodiment, as shown in FIG. 9B as an example, a setback is performed between a pipe or duct and an obstacle by a predetermined minimum allowable distance. It is supposed to be. For this reason, the minimum allowable distance information indicating the minimum allowable distance is stored in advance in a predetermined area of the hard disk 28. In step 206, the minimum allowable distance information is read from the hard disk 28, and the start point vector is determined from the start point. A distance obtained by adding a half of the outer diameter of the corresponding pipe or duct to the minimum allowable distance indicated by the minimum allowable distance information, and extending the line segment extended until it hits the obstacle in the direction (hereinafter, It is called “setback distance”). Therefore, the coordinates indicating the set back position are applied to the end coordinates derived in this step 206.

なお、この形態に限らず、上記最小許容距離情報に代えて、セットバックする距離を示す情報を予め用意しておき、当該情報により示される距離をセットバックするものとしてもよい。   It should be noted that the present invention is not limited to this configuration, and instead of the minimum allowable distance information, information indicating the distance to be set back may be prepared in advance, and the distance indicated by the information may be set back.

次のステップ208では、上記ステップ206の処理によって得られた線分の線分ID、線分名、始端座標、終端座標の各情報を線分情報データベースDB4に登録する。   In the next step 208, the line segment ID, line segment name, start end coordinate, and end coordinate information obtained by the process in step 206 are registered in the line segment information database DB4.

次のステップ210では、上記ステップ206の処理によって発生した線分と当該線分の始端に接続される線分(接続元とされている線分)とにより構成される線分群のリンクIDの作成と、リンクコストeの上記(4)式による算出と、上記ステップ206の処理によって発生した線分についての第1線分コストE及び第2線分コストE’の各値の上記(2)式及び(3)式による算出とを行う。   In the next step 210, creation of a link ID of a line segment group constituted by the line segment generated by the processing of step 206 and the line segment connected to the start end of the line segment (the line segment that is the connection source). The calculation of the link cost e by the above equation (4), and the above equation (2) of each value of the first line segment cost E and the second line segment cost E ′ for the line segment generated by the processing of step 206 above. And the calculation by (3) Formula is performed.

次のステップ212では、上記ステップ210の処理によって得られたリンクID及びリンクコストeと、リンク元線分名及びリンク先線分名とを線分リンク情報データベースDB5に登録する。なお、ここでは、上記リンク元線分名として上記開始線分を適用し、上記リンク先線分名として、上記ステップ206の処理によって得られた線分名を適用する。   In the next step 212, the link ID and link cost e obtained by the processing in step 210, and the link source line segment name and link destination line segment name are registered in the line segment link information database DB5. Here, the start line segment is applied as the link source line segment name, and the line segment name obtained by the process of step 206 is applied as the link destination line segment name.

また、ステップ212では、上記ステップ210の処理によって得られた第1線分コストE及び第2線分コストE’を、上記ステップ208の処理によって登録した線分に対応する情報として線分情報データベースDB4に登録する。   In step 212, the first segment cost E and the second segment cost E ′ obtained by the process in step 210 are used as information corresponding to the segment registered by the process in step 208, as a segment information database. Register in DB4.

次のステップ214では、一例として図12(B)に示すように、上記ステップ206の処理によって発生した線分を当該線分の垂直方向に対して障害物か、又は終了線分にぶつかるまで仮想的に伸ばし、次のステップ216では、上記ステップ214の処理において線分がぶつかったのが障害物か否かを判定して、否定判定となった場合は後述するステップ236に移行する一方、肯定判定となった場合にはステップ218に移行する。   In the next step 214, as shown in FIG. 12B as an example, the line segment generated by the process in step 206 is assumed to be an obstacle in the vertical direction of the line segment until it hits an end line segment. In the next step 216, it is determined whether or not the line segment hit in the process of step 214 is an obstacle. If the determination is negative, the process proceeds to step 236 described later. If it is determined, the process proceeds to step 218.

ステップ218では、一例として図12(C)に示すように、上記ステップ214の処理によって仮想的に伸ばした線分を上記セットバック距離だけセットバックし、このセットバックした線分を障害物にあたるまで当該線分の垂直方向に掃引(展開)することによって矩形領域を仮想的に形成する。   In step 218, as shown in FIG. 12C as an example, the line segment virtually extended by the process in step 214 is set back by the set back distance until the set line segment hits an obstacle. A rectangular region is virtually formed by sweeping (developing) the line segment in the vertical direction.

次のステップ220では、一例として図12(C)に示すように、上記ステップ218の処理によって仮想的に形成した矩形領域の各辺上(外周上)に線分を仮想的に発生し、発生した線分(以下、「発生線分」という。)について、線分ID及び線分名の作成と、第1線分コストE及び第2線分コストE’の各値の上記(2)式及び(3)式による算出と、始端座標及び終端座標の導出とを行う。   In the next step 220, as shown in FIG. 12C as an example, a line segment is virtually generated on each side (outer periphery) of the rectangular area virtually formed by the processing in step 218. For the line segment (hereinafter referred to as “occurrence line segment”), creation of the line segment ID and line segment name, and the above equation (2) for each value of the first line segment cost E and the second line segment cost E ′ And the calculation by (3) Formula and derivation | leading-out of a start end coordinate and a terminal coordinate are performed.

次のステップ222では、上記ステップ220の処理によって得られた発生線分の線分ID、線分名、第1線分コストE、第2線分コストE’、始端座標、終端座標の各情報を線分情報データベースDB4に登録する。   In the next step 222, the line segment ID, the line segment name, the first line segment cost E, the second line segment cost E ′, the start end coordinate, and the end point coordinate information obtained by the process of step 220 above. Is registered in the line segment information database DB4.

次のステップ224では、上記発生線分における隣接する線分について、リンクIDの作成と、リンクコストeの値の上記(4)式による算出とを行い、次のステップ226にて、上記隣接する線分毎に、上記ステップ224の処理によって得られたリンクID及びリンクコストeと、リンク元線分名及びリンク先線分名とを線分リンク情報データベースDB5に登録する。なお、ここで登録するリンク元線分名は対応する隣接する線分の始点側の線分を示す線分名であり、リンク先線分名は対応する隣接する線分の終点側の線分を示す線分名である。   In the next step 224, for the adjacent line segment in the generated line segment, the link ID is created and the value of the link cost e is calculated by the above equation (4). In the next step 226, the adjacent line segment is adjacent. For each line segment, the link ID and link cost e obtained by the processing in step 224, and the link source line segment name and link destination line segment name are registered in the line segment link information database DB5. The link source line segment name registered here is the line segment name indicating the line segment on the start point side of the corresponding adjacent line segment, and the link destination line segment name is the line segment on the end point side of the corresponding adjacent line segment. Is the line segment name.

次のステップ228では、上記ステップ226の処理によって線分リンク情報データベースDB5に登録した情報において、リンク先線分名が複数存在する線分、すなわち、始点側の端部に接続される線分が複数存在する線分(以下、「分岐あり線分」という。)については、当該線分に対応するリンク元線分名により示される複数の線分の第1線分コストEを線分情報データベースDB4から読み出し、読み出した第1線分コストEが最も低い線分の線分名を、分岐あり線分に対応する最適リンク元線分名として線分情報データベースDB4に登録する。   In the next step 228, in the information registered in the line segment link information database DB5 by the process of step 226, a line segment having a plurality of link destination line segment names, that is, a line segment connected to the end on the start point side is displayed. For a plurality of line segments (hereinafter referred to as “branched line segments”), the first line segment costs E indicated by the link source line segment names corresponding to the line segments are used as the line segment information database. The line segment name that has been read from DB4 and has the lowest first line segment cost E is registered in the line segment information database DB4 as the optimal link source line segment name corresponding to the branched line segment.

これに対し、上記ステップ226の処理によって線分リンク情報データベースDB5に登録した情報において、リンク先線分名が1つのみ存在する線分、すなわち、始点側の端部に接続される線分が1つのみの線分(以下、「分岐なし線分」という。)については、当該線分に対応するリンク元線分名を、分岐なし線分に対応する最適リンク元線分名として線分情報データベースDB4に登録する。   On the other hand, in the information registered in the line segment link information database DB5 by the process of step 226, a line segment having only one link destination line segment name, that is, a line segment connected to the end on the start point side is displayed. For only one line segment (hereinafter referred to as “no branch line”), the link source line name corresponding to the line segment is used as the optimal link source line name corresponding to the non-branch line segment. Register in the information database DB4.

例えば、図8に示される線分リンク情報データベースDB5において、上記ステップ226の処理によって線分リンク情報データベースDB5に新たに登録した情報が、リンクIDとして‘102’、‘103’、‘104’、‘105’が付与された情報である場合、リンク先線分名として‘O’が複数(ここでは、2つ)存在するため、これに対応するリンク元線分名により示される線分M及び線分Nの第1線分コストEが線分情報データベースDB4から読み出され、このうち第1線分コストEが低い側の線分の線分名Nが、線分名Oの線分の最適リンク元線分名として登録されることになる。   For example, in the line segment link information database DB5 shown in FIG. 8, the information newly registered in the line segment link information database DB5 by the process of step 226 is “102”, “103”, “104”, In the case of the information to which “105” is assigned, since there are a plurality of (“2” in this case) “O” as the link destination line segment names, the line segment M indicated by the link source line segment names corresponding thereto and The first line segment cost E of the line segment N is read from the line segment information database DB4. Among these, the line segment name N on the side where the first line segment cost E is lower is the line segment name O. It will be registered as the optimal link source line segment name.

また、この場合、リンク先線分名として‘M’及び‘N’が1つのみ存在するため、これらに対応するリンク元線分名により示される線分の線分名Lが、線分名M及び線分名Nの各線分の最適リンク元線分名に登録されることになる。   In this case, since there is only one “M” and “N” as the link destination line segment name, the line segment name L indicated by the link source line segment name corresponding thereto is the line segment name. It is registered in the optimum link source line segment name of each line segment of M and line segment name N.

次のステップ230では、上記発生線分の何れかの線分上に上記終了点が存在するか否かを判定し、肯定判定となった場合は後述するステップ240に移行する一方、否定判定となった場合にはステップ232に移行して、上記発生線分に対応する第2線分コストE’を線分情報データベースDB4から読み出し、第2線分コストE’が最も低い線分を抽出した後、次のステップ234にて、抽出した線分を、一例として図12(C)に示すように、その時点までに上記矩形領域を形成していない方向に対して障害物か、又は終了線分にぶつかるまで仮想的に伸ばした後、上記ステップ216に戻る。   In the next step 230, it is determined whether or not the end point exists on any line segment of the generated line segment. If the determination is affirmative, the process proceeds to step 240 described later, If YES, the process proceeds to step 232, where the second line segment cost E ′ corresponding to the generated line segment is read from the line segment information database DB4, and the line segment having the lowest second line segment cost E ′ is extracted. After that, in the next step 234, as shown in FIG. 12C as an example, the extracted line segment is an obstacle with respect to the direction in which the rectangular area is not formed up to that point, or the end line. After virtually extending until it hits the minute, the process returns to step 216.

以上のステップ216〜ステップ234の繰り返し処理によって、一例として図12(D)〜(E)に示すように、上記矩形領域の形成、及び当該矩形領域の外周上に対する線分の発生が繰り返し行われ、発生した線分上に終了点又は終了線分が存在した時点で当該繰り返し処理が終了される。   By repeating the above steps 216 to 234, as shown in FIGS. 12D to 12E as an example, the formation of the rectangular area and the generation of line segments on the outer periphery of the rectangular area are repeatedly performed. When the end point or the end line segment exists on the generated line segment, the repetitive processing is ended.

ステップ236では、上記ステップ214又はステップ234の処理において伸ばして終了線分にぶつかった線分(以下、「終点接続線分」という。)について、線分ID及び線分名の作成と、第1線分コストE及び第2線分コストE’の各値の上記(2)式及び(3)式による算出と、始端座標及び終端座標の導出とを行い、これらの各情報を線分情報データベースDB4に登録する。   In step 236, the line segment ID and the line segment name are created for the line segment extended in the process of step 214 or step 234 and hitting the end line segment (hereinafter referred to as “end point connection line segment”); Calculation of each value of the line segment cost E and the second line segment cost E ′ by the above formulas (2) and (3) and derivation of the start end coordinates and the end coordinates are performed, and these pieces of information are stored in the line segment information database. Register in DB4.

次のステップ238では、上記終点接続線分と当該終点接続線分の始点側の端部に接続される線分について、リンクIDの作成と、リンクコストeの値の上記(4)式による算出とを行い、これらのリンクID及びリンクコストeと、リンク元線分名及びリンク先線分名とを線分リンク情報データベースDB5に登録する。なお、ここで登録するリンク元線分名は終点接続線分の始点側の端部に接続される線分を示す線分名であり、リンク先線分名は終点接続線分を示す線分名である。   In the next step 238, for the line connected to the end point connection line segment and the start point side end of the end point connection line segment, creation of a link ID and calculation of the value of the link cost e by the above equation (4) The link ID and link cost e, and the link source line segment name and link destination line segment name are registered in the line segment link information database DB5. The link source line segment name registered here is the line segment name indicating the line segment connected to the end of the end point connection line segment, and the link destination line segment name is the line segment indicating the end point connection line segment. Name.

次のステップ240では、線分情報データベースDB4に対し、上記終了線分に対応する最適リンク元線分名を登録する。なお、ここで登録する最適リンク元線分名は、上記ステップ236及びステップ238を経て本ステップ240が実行されている場合は、上記終点接続線分に対応する線分名であり、上記ステップ230から本ステップ240に直接移行された場合には、上記ステップ230において上記終了点が存在するものと判定された線分に対応する線分名である。   In the next step 240, the optimum link source line segment name corresponding to the end line segment is registered in the line segment information database DB4. Note that the optimum link source line segment name registered here is a line segment name corresponding to the end point connection line segment when the step 240 is executed through the step 236 and the step 238, and the step 230. When the process directly moves from step 240 to step 240, the line segment name corresponds to the line segment determined to have the end point in step 230.

次のステップ242では、線分リンク情報データベースDB5に対し、上記終了線分と当該終了線分の始点側に接続される線分について、リンクIDの作成と、リンクコストeの値の上記(4)式による算出とを行い、この処理によって得られたリンクID及びリンクコストeと、リンク元線分名及びリンク先線分名とを線分リンク情報データベースDB5に登録する。なお、ここで登録するリンク元線分名は、上記終了線分の始点側に接続される線分を示す線分名であり、リンク先線分名は上記終了線分を示す線分名である。   In the next step 242, with respect to the line segment link information database DB5, for the line segment connected to the end line segment and the start point side of the end line segment, the link ID is created and the link cost e value (4 The link ID and link cost e obtained by this processing, and the link source line segment name and link destination line segment name are registered in the line segment link information database DB5. The link source line name registered here is the line name indicating the line segment connected to the start point side of the end line segment, and the link destination line name is the line name indicating the end line segment. is there.

以上の処理の結果、一例として図12(G)の太線で示されるように、始点座標から終点座標に至る接続経路の候補が得られる。   As a result of the above processing, connection route candidates from the start point coordinates to the end point coordinates are obtained as shown by a thick line in FIG.

そこで、次のステップ244では、上記終了線分に関する情報を線分情報データベースDB4から読み出し、次のステップ246では、読み出した情報における最適リンク元線分名に対応する線分を、最終的な接続経路を構成するものとしてハードディスク28の所定領域に記憶し、次のステップ248では、読み出した情報における最適リンク元線分名が上記開始線分に対応する線分名と一致するか否かを判定し、肯定判定となった場合は後述するステップ252に移行する一方、否定判定となった場合にはステップ250に移行して、線分名が読み出した情報における最適リンク元線分名である線分に関する情報を線分情報データベースDB4から読み出した後、上記ステップ246に移行する。   Therefore, in the next step 244, information on the end line segment is read from the line segment information database DB4, and in the next step 246, the line segment corresponding to the optimum link source line segment name in the read information is finally connected. The path is stored in a predetermined area of the hard disk 28. In the next step 248, it is determined whether or not the optimum link source line segment name in the read information matches the line segment name corresponding to the start line segment. If the determination is affirmative, the process proceeds to step 252 described later. If the determination is negative, the process proceeds to step 250, and the line that is the optimum link source line segment name in the read information is the line name. After the information regarding the minutes is read from the line segment information database DB4, the process proceeds to step 246.

上記ステップ246〜ステップ250の繰り返し処理により、始点位置から終点位置に至るまでの接続経路の探索の際に記憶しておいた最適リンク元線分名を用いて、それまでに上記矩形領域を形成する際に掃引(展開)した線分を終点位置から始点位置に至るまで逆追跡することにより最終的な接続経路を構成する線分を導出して、当該線分を示す情報をハードディスク28の所定領域に記憶している。   By repeating the processing from step 246 to step 250, the rectangular area is formed by using the optimum link source line segment name stored when searching for the connection route from the start point position to the end point position. When the line segment swept (developed) is traced back from the end point position to the start point position, a line segment constituting the final connection path is derived, and information indicating the line segment is stored on the hard disk 28 in a predetermined manner. It is memorized in the area.

そこで、ステップ252では、以上の処理によって記憶した最終的な接続経路を構成する線分を示す情報をハードディスク28から読み出し、一例として図12(H)に示されるように、読み出した情報により示される各線分を繋いだ状態を示す情報(以下、「接続経路情報」という。)を作成してハードディスク28の所定領域に記憶し、その後に本配管・ダクトレイアウト処理ルーチン・プログラムを終了する。   In step 252, information indicating the line segment constituting the final connection path stored by the above processing is read from the hard disk 28, and is indicated by the read information as shown in FIG. 12H as an example. Information indicating the state in which each line segment is connected (hereinafter referred to as “connection route information”) is created and stored in a predetermined area of the hard disk 28, and then the piping / duct layout processing routine / program is terminated.

配管・ダクトレイアウト処理ルーチン・プログラムが終了すると、接続経路作成プログラムのステップ106に移行し、配管・ダクトレイアウト処理ルーチン・プログラムのステップ200の処理によって抽出した勾配が0(零)以外の値であるか否かを判定することにより、処理対象接続経路に勾配を設ける必要があるか否かを判定し、肯定判定となった場合はステップ108に移行して、配管・ダクトレイアウト処理ルーチン・プログラムのステップ252の処理によって記憶した接続経路情報をハードディスク28から読み出し、当該接続経路情報を、当該接続経路情報により示される接続経路に対して上記勾配を有するように更新し、その後にステップ110に移行する。なお、上記ステップ106において否定判定となった場合には、上記ステップ108の処理を実行することなく、ステップ110に移行する。   When the piping / duct layout processing routine / program ends, the process proceeds to step 106 of the connection route creation program, and the gradient extracted by the processing of step 200 of the piping / duct layout processing routine / program is a value other than 0 (zero). It is determined whether or not it is necessary to provide a gradient in the connection path to be processed. If the determination is affirmative, the process proceeds to step 108, and the piping / duct layout processing routine / program is executed. The connection route information stored by the processing of step 252 is read from the hard disk 28, the connection route information is updated so as to have the above gradient with respect to the connection route indicated by the connection route information, and then the process proceeds to step 110. . If the determination at step 106 is negative, the process proceeds to step 110 without executing the process at step 108.

ステップ110では、上記ステップ102の処理によって読み出した全ての情報について、上記ステップ104〜ステップ108の処理が終了したか否かを判定し、否定判定となった場合は上記ステップ104に戻る一方、肯定判定となった時点で本接続経路作成プログラムを終了する。   In step 110, it is determined whether or not the processing in steps 104 to 108 has been completed for all the information read out in the processing in step 102. If the determination is negative, the processing returns to step 104. When this determination is made, this connection route creation program is terminated.

なお、上記ステップ104〜ステップ110の処理を繰り返し実行する際には、それまでに処理対象としなかった接続経路を処理対象とすると共に、それまでに記憶した接続経路情報により示される接続経路も障害物であるものと見なすようにする。   When repeatedly executing the processing of step 104 to step 110, the connection route that has not been processed until then is processed, and the connection route indicated by the connection route information stored so far is also faulty. Think of it as a thing.

以上詳細に説明したように、本実施の形態では、始点位置を通る線分を発生し、当該線分を障害物にあたるまで当該線分の垂直方向に掃引することによって矩形領域を形成し、形成した矩形領域に終点位置が存在しない場合に、当該矩形領域の外周上に新たな線分を発生し、発生した線分の各々について、次の探索場所を決めるものとして予め定められた第1の評価式(ここでは、(3)式)により第1の評価値(ここでは、第2線分コストE’)を算出すると共に、前記始点位置から前記第1の評価値の算出対象とする対象線分に至る各接続経路の各々について、接続経路の優劣を決めるものとして予め定められた第2の評価式(ここでは、(2)式)により第2の評価値(ここでは、第1線分コストE)を算出し、算出した第2の評価値が最も評価の高い値となった接続経路における前記対象線分の接続元とされている線分が最適な接続元線分であるものとして当該線分を特定できる特定情報(ここでは、最適リンク元線分名を示す情報)を記憶手段(ここでは、ハードディスク28)に記憶する一方、算出した第1の評価値が最も評価の高い値となっている線分を用いて前記矩形領域の形成を再び行い、形成した矩形領域に前記終点位置が存在する場合に、前記特定情報を前記記憶手段から読み出し、当該特定情報により特定される線分を経由するように前記終点位置から前記始点位置に至るまで逆追跡することにより最終的な接続経路を導出しているので、本発明を適用しない場合に比較して、より的確に接続経路を作成することができる。   As described above in detail, in the present embodiment, a line segment that passes through the start point position is generated, and a rectangular area is formed by sweeping the line segment in the vertical direction until it hits an obstacle. When the end point position does not exist in the rectangular area, a new line segment is generated on the outer periphery of the rectangular area, and a first search is made in advance, which determines the next search location for each generated line segment. The first evaluation value (here, the second line segment cost E ′) is calculated by an evaluation formula (here, formula (3)), and the first evaluation value is calculated from the starting point position. For each connection route leading to the line segment, the second evaluation value (here, the first line) is determined by a second evaluation equation (here, equation (2)) that is determined in advance as determining the superiority or inferiority of the connection route. The second evaluation value calculated by calculating the minute cost E) Specific information that identifies the line segment that is the connection source of the target line segment in the connection route that has the highest evaluation value as the optimal connection source line segment (here, the optimal link source) The information indicating the line segment name) is stored in the storage means (here, the hard disk 28), while the rectangular area is formed using the line segment whose calculated first evaluation value is the highest evaluation value. When the end point position exists in the formed rectangular area, the specific information is read from the storage unit, and the end point position is reached from the start point position via the line segment specified by the specific information. Since the final connection route is derived by tracing back to the end, the connection route can be created more accurately as compared with the case where the present invention is not applied.

また、本実施の形態では、前記第1の評価式が、前記対象線分と当該対象線分の接続元となる線分の間の曲がりの有無、及び前記対象線分と当該対象線分の接続元となる線分の間の距離に基づいて得られる値の、前記始点位置から前記対象線分に至る線分による累積値に、前記対象線分から前記終点位置までのマンハッタン距離に応じた値を加算する演算式であり、前記第2の評価式が、前記累積値を算出する演算式であるものとしているので、これらのパラメータに応じた的確な接続経路を作成することができる。   Further, in the present embodiment, the first evaluation formula is determined by whether or not there is a bend between the target line segment and the line segment that is the connection source of the target line segment, and the target line segment and the target line segment. The value obtained based on the distance between the line segments as the connection source, the accumulated value by the line segment from the start point position to the target line segment, and the value corresponding to the Manhattan distance from the target line segment to the end point position Since the second evaluation expression is an arithmetic expression for calculating the cumulative value, an accurate connection path according to these parameters can be created.

特に、本実施の形態では、前記第1の評価式及び前記第2の評価式に用いられるパラメータに対する重み付け値を受け付け、前記第1の評価値及び前記第2の評価値を、受け付けた重み付け値により対応するパラメータが重み付けされた値として算出しているので、用途に応じた評価値を求めることができる結果、より的確に接続経路を作成することができる。   In particular, in the present embodiment, weight values for parameters used in the first evaluation formula and the second evaluation formula are received, and the first evaluation value and the second evaluation value are received as weight values. Since the corresponding parameter is calculated as a weighted value, the evaluation value corresponding to the application can be obtained, and as a result, the connection route can be created more accurately.

また、本実施の形態では、それまでに作成した接続経路を前記障害物として適用しているので、複数組の機器間の接続経路を作成することができる。   Moreover, in this Embodiment, since the connection path | route created until then is applied as the said obstruction, the connection path | route between several sets of apparatuses can be created.

また、本実施の形態では、前記記憶手段によって、前記接続経路を構成する部材の屈曲半径の最小値を示す最小回転半径情報を予め記憶しておき、前記始点位置及び前記終点位置が、対応する前記機器から前記最小回転半径情報により示される最小回転半径に対応する距離だけ離間された位置としているので、より的確に接続経路を作成することができる。   In the present embodiment, the storage means stores in advance minimum turning radius information indicating the minimum value of the bending radius of the members constituting the connection path, and the start position and the end position correspond to each other. Since the position is separated from the device by a distance corresponding to the minimum turning radius indicated by the minimum turning radius information, the connection path can be created more accurately.

更に、本実施の形態では、前記記憶手段によって、前記接続経路と前記障害物の間の最小許容距離を示す最小許容距離情報を予め記憶しておき、前記障害物から前記最小許容距離情報により示される距離以上離間させるように前記接続経路を導出しているので、より的確に接続経路を作成することができる。   Furthermore, in the present embodiment, the storage means stores in advance minimum allowable distance information indicating the minimum allowable distance between the connection path and the obstacle, and indicates the minimum allowable distance information from the obstacle. Since the connection path is derived so as to be separated by more than a predetermined distance, the connection path can be created more accurately.

[第2の実施の形態]
本第2の実施の形態では、障害物として接続経路を貫通可能なものを有する場合の形態例について説明する。
[Second Embodiment]
In the second embodiment, a description will be given of a form example in the case of having an obstacle that can penetrate the connection path.

なお、本第2の実施の形態に係る接続経路作成装置10の構成は、上記第1の実施の形態に係るもの(図1〜図3参照。)と同様であるので、ここでの説明は省略する。   The configuration of the connection path creation device 10 according to the second embodiment is the same as that according to the first embodiment (see FIGS. 1 to 3). Omitted.

本第2の実施の形態に係る接続経路作成装置10では、ハードディスク28のデータベース領域DBに、上記第1の実施の形態に係る機器間接続情報データベースDB1、配管・ダクト仕様情報データベースDB2、建物CAD情報データベースDB3、線分情報データベースDB4、及び線分リンク情報データベースDB5に加えて、建築部材仕様情報データベースDB6が含まれている。   In the connection route creation apparatus 10 according to the second embodiment, the inter-device connection information database DB1, the piping / duct specification information database DB2, the building CAD according to the first embodiment are stored in the database area DB of the hard disk 28. In addition to the information database DB3, line segment information database DB4, and line segment link information database DB5, a building member specification information database DB6 is included.

上記建築部材仕様情報データベースDB6は、接続経路作成装置10において適用対象としている部材毎の、上記接続経路の貫通の可否を示す情報をデータベース化したものである。本実施の形態に係る建築部材仕様情報データベースDB6は、一例として図13に示すように、部材名、詳細、及び壁貫通許可フラグの各情報を、処理対象とする建物を構成する部材毎にデータベース化したものとして構成されている。   The building member specification information database DB6 is a database of information indicating whether or not the connection route can be penetrated for each member to be applied in the connection route creation device 10. As shown in FIG. 13 as an example, the building member specification information database DB6 according to the present embodiment is a database for each member constituting the building to be processed with each information of the member name, details, and wall penetration permission flag. It is configured as

なお、上記部材名及び詳細は、建物CAD情報データベースDB3における同名の情報と同一の情報であり、上記壁貫通許可フラグは、対応する部材を接続経路が貫通することを許可するか否かを示す情報である。同図に示されるように、本実施の形態に係る接続経路作成装置10では、上記壁貫通許可フラグとして、貫通を許可する場合に‘○’を示す情報が用いられ、貫通を許可しない場合に‘×’を示す情報が用いられているが、これに限らないことも言うまでもない。   In addition, the said member name and the details are the same information as the information of the same name in building CAD information database DB3, and the said wall penetration permission flag shows whether a connection path | route is permitted to penetrate a corresponding member. Information. As shown in the figure, in the connection route creation device 10 according to the present embodiment, as the wall penetration permission flag, information indicating '◯' is used when allowing penetration, and when penetration is not permitted. Needless to say, the information indicating “x” is used, but not limited thereto.

本第2の実施の形態に係る接続経路作成装置10では、処理対象とする建物に設けられている間仕切壁、外壁等の障害物が接続経路を貫通させることができるか否かを、当該障害物に対応する‘部材名’及び‘詳細’を建物CAD情報データベースDB3から読み出し、これらの情報に対応する建築部材仕様情報データベースDB6の壁貫通許可フラグを参照することによって把握することができる。例えば、建物CAD情報データベースDB3が図6に示されるものであり、建築部材仕様情報データベースDB6が図13に示されるものである場合、部材IDとして‘10001’が付与された障害物は、部材名が‘間仕切壁’であり、詳細が‘木軸’であり、これらの情報に対応する壁貫通許可フラグは‘○’を示す情報とされているため、一例として図14に模式的に示すように、当該障害物は接続経路を貫通させることができることを把握できる。   In the connection route creation device 10 according to the second exemplary embodiment, it is determined whether or not obstacles such as partition walls and outer walls provided in a building to be processed can penetrate the connection route. The “member name” and “detail” corresponding to the object can be grasped by reading from the building CAD information database DB3 and referring to the wall penetration permission flag of the building member specification information database DB6 corresponding to these pieces of information. For example, when the building CAD information database DB3 is as shown in FIG. 6 and the building member specification information database DB6 is as shown in FIG. 13, the obstacle given “10001” as the member ID is the member name. Is “partition wall”, the details are “wood shaft”, and the wall penetration permission flag corresponding to these pieces of information is information indicating “◯”, and therefore, as schematically shown in FIG. In addition, it can be understood that the obstacle can penetrate the connection path.

次に、本第2の実施の形態に係る接続経路作成装置10の作用を説明する。   Next, the operation of the connection path creation device 10 according to the second exemplary embodiment will be described.

本第2の実施の形態に係る接続経路作成装置10においても、ユーザによりキーボード14、マウス16の操作によって接続経路の作成の実行指示が入力された際に、CPU22によって、上記第1の実施の形態に係る接続経路作成プログラム及び配管・ダクトレイアウト処理ルーチン・プログラム(図10〜図11参照。)と略同様のプログラムが実行される。以下、図10〜図11に示されるプログラムと本第2の実施の形態に係る接続経路作成装置10で実行されるプログラムとの差異の部分について、図15を参照しつつ説明する。   Also in the connection path creation device 10 according to the second exemplary embodiment, when the user inputs a creation instruction for creating a connection path by operating the keyboard 14 and the mouse 16, the CPU 22 performs the above first embodiment. A program substantially similar to the connection route creation program and the piping / duct layout processing routine program (see FIGS. 10 to 11) according to the embodiment is executed. In the following, differences between the program shown in FIGS. 10 to 11 and the program executed by the connection route creation apparatus 10 according to the second embodiment will be described with reference to FIG.

本第2の実施の形態に係る接続経路作成装置10では、配管・ダクトレイアウト処理ルーチン・プログラムにおいて適用される障害物が接続経路を貫通させることができるか否かを、前述したように、建物CAD情報データベースDB3及び建築部材仕様情報データベースDB6を参照することにより特定する。   In the connection route creation device 10 according to the second exemplary embodiment, as described above, whether or not an obstacle applied in the piping / duct layout processing routine / program can penetrate the connection route is It specifies by referring CAD information database DB3 and building member specification information database DB6.

そして、線分を掃引(展開)する際に、接続経路を貫通させることができる障害物については、当該障害物にぶつかっても掃引を停止させずに、当該障害物を跨いで反対側まで掃引する。例えば、図15(A)において、探索領域内の中央部に設けられている障害物が接続経路を貫通させることができるものである場合、一例として図15(B)に示されるように、線分名Mの線分を掃引する際に当該障害物を跨いだ掃引を行う。   When the line segment is swept (deployed), the obstacle that can penetrate the connection path is swept to the opposite side across the obstacle without stopping the sweep even if it hits the obstacle. To do. For example, in FIG. 15A, when an obstacle provided in the central portion in the search area can penetrate the connection path, as shown in FIG. When sweeping the line segment of the segment name M, the sweep across the obstacle is performed.

これに対し、障害物が接続経路を貫通させることができない場合には、一例として図15(C)〜図15(E)に示すように、上記第1の実施の形態に係る配管・ダクトレイアウト処理ルーチン・プログラムと同一の処理を行う。   On the other hand, when the obstacle cannot penetrate the connection path, as shown in FIGS. 15C to 15E as an example, the piping / duct layout according to the first embodiment is used. Performs the same processing as the processing routine program.

また、本第2の実施の形態に係る接続経路作成装置10では、第1線分コストEを算出するための評価式として次の(5)式が適用されており、第2線分コストE’を算出するための評価式として次の(6)式が適用されており、リンクコストeを算出するための評価式として次の(7)式が適用されている。   Further, in the connection route creation device 10 according to the second exemplary embodiment, the following equation (5) is applied as an evaluation equation for calculating the first line segment cost E, and the second line segment cost E The following expression (6) is applied as an evaluation expression for calculating ', and the following expression (7) is applied as an evaluation expression for calculating the link cost e.

E=Σ(aB+bD+W) (5)
E’=E+cZ (6)
e=aB+bD+W (7)
上記(5)式及び(7)式において、Wは障害物を貫通させることに対するコストの増分であり、その他のパラメータは上記第1の実施の形態に係る(2)式〜(4)式と同様である。なお、本第2の実施の形態に係る接続経路作成装置10では、増分Wをユーザによりキーボード14、マウス16等を介して入力しているが、これに限らず、例えば、ハードディスク28に予め記憶しておき、これを読み出して適用する形態等とすることもできることは言うまでない。
E = Σ (aB + bD + W) (5)
E ′ = E + cZ (6)
e = aB + bD + W (7)
In the above formulas (5) and (7), W is an increase in cost for penetrating the obstacle, and other parameters are the formulas (2) to (4) according to the first embodiment. It is the same. In the connection route creation device 10 according to the second exemplary embodiment, the user inputs the increment W via the keyboard 14, the mouse 16, and the like. Needless to say, this can be read and applied.

これにより、障害物を貫通する線分は、障害物を貫通しない線分に比較してコストが高くなる結果、できるだけ障害物の貫通を避けた経路探索を行うことができる。   As a result, the line segment that passes through the obstacle is higher in cost than the line segment that does not pass through the obstacle. As a result, a route search that avoids the penetration of the obstacle as much as possible can be performed.

以上詳細に説明したように、本第2の実施の形態では、上記第1の実施の形態と同様の効果を奏することができると共に、記憶手段(ここでは、ハードディスク28)によって障害物が接続経路を貫通させることができるか否かを示す貫通可否情報(ここでは、壁貫通許可フラグ)を予め記憶しておき、前記貫通可否情報により前記接続経路を貫通させることができることが示される障害物を、前記矩形領域を形成する際の前記線分を掃引する範囲を制限する障害物から除外しているので、より的確に接続経路を作成することができる。   As described above in detail, in the second embodiment, the same effect as that of the first embodiment can be obtained, and an obstacle is connected to the connection path by the storage means (here, the hard disk 28). The penetrability information (in this case, the wall penetration permission flag) indicating whether or not it can be penetrated is stored in advance, and the obstacle indicated by the penetrability information that the connection path can be penetrated is stored. Since it excludes from the obstacle which restricts the range which sweeps the line segment at the time of forming the rectangular area, a connection path can be created more accurately.

なお、本第2の実施の形態では、障害物が接続経路を貫通させることができる場合に、無条件に当該障害物を貫通させる場合について説明したが、本発明はこれに限らず、一例として図16に示すように、障害物の内部に木軸等の接続経路を貫通させることのできない非貫通部材が用いられている場合には、当該非貫通部材を避けるように貫通させるようにする形態とすることもできる。この場合、上記非貫通部材の位置を示す情報を、ハードディスク28等に予め記憶しておき、当該情報を用いて、接続経路を貫通させることのできる位置を特定することになる。この場合、本第2の実施の形態に比較して、より的確に接続経路を作成することができる。   In the second embodiment, the case where the obstacle can pass through the connection path unconditionally when the obstacle can penetrate the connection path has been described. However, the present invention is not limited to this, and is only an example. As shown in FIG. 16, when a non-penetrating member that cannot pass through a connection path such as a wooden shaft is used inside an obstacle, the form is made to penetrate so as to avoid the non-penetrating member. It can also be. In this case, information indicating the position of the non-penetrating member is stored in advance in the hard disk 28 or the like, and a position where the connection path can be penetrated is specified using the information. In this case, the connection path can be created more accurately as compared to the second embodiment.

[第3の実施の形態]
本第3の実施の形態では、接続経路作成装置10によって作成した接続経路により配管又はダクトを設けた場合に下がり天井が必要となるとき、当該下がり天井の面積をコストの算出に加味する場合の形態例について説明する。
[Third Embodiment]
In the third embodiment, when a down ceiling is required when a pipe or duct is provided by a connection path created by the connection path creation device 10, the area of the falling ceiling is taken into account in calculating the cost. A form example will be described.

なお、本第3の実施の形態に係る接続経路作成装置10の構成は、上記第1、第2の実施の形態に係るもの(図1〜図3参照。)と同様であるので、ここでの説明は省略する。   The configuration of the connection path creation device 10 according to the third embodiment is the same as that according to the first and second embodiments (see FIGS. 1 to 3). Description of is omitted.

本第3の実施の形態に係る接続経路作成装置10では、ハードディスク28のデータベース領域DBに、上記第2の実施の形態に係る機器間接続情報データベースDB1、配管・ダクト仕様情報データベースDB2、建物CAD情報データベースDB3、線分情報データベースDB4、線分リンク情報データベースDB5、及び建築部材仕様情報データベースDB6に加えて、部屋情報データベースDB7、及び部屋重み情報データベースDB8が含まれている。   In the connection route creating apparatus 10 according to the third embodiment, the inter-device connection information database DB1, the piping / duct specification information database DB2, the building CAD according to the second embodiment are stored in the database area DB of the hard disk 28. In addition to the information database DB3, line segment information database DB4, line segment link information database DB5, and building member specification information database DB6, a room information database DB7 and a room weight information database DB8 are included.

上記部屋情報データベースDB7は、処理対象とする建物に設けられる部屋に関する情報をデータベース化したものである。本実施の形態に係る部屋情報データベースDB7は、一例として図17に示すように、部屋ID、部屋種別、最低天井高さ、頂点数、及び頂点座標リストの各情報を、処理対象とする建物に設けられる部屋毎にデータベース化したものとして構成されている。   The room information database DB7 is a database of information about rooms provided in a building to be processed. As shown in FIG. 17 as an example, the room information database DB7 according to the present embodiment stores information on a room ID, a room type, a minimum ceiling height, the number of vertices, and a vertex coordinate list in a building to be processed. It is configured as a database for each room provided.

なお、上記部屋IDは、処理対象とする建物に設けられる部屋を特定するために、当該部屋に対して個別に割り振られた情報である。図17に示されるように、本実施の形態に係る接続経路作成装置10では、上記部屋IDとして数値情報を適用しているが、これに限らず、上記文字情報及び数値情報を単独、又は組み合わせて適用する形態等、各部屋を個別に特定できる情報であれば如何なる情報も適用できることも言うまでもない。   The room ID is information individually assigned to the room in order to specify the room provided in the building to be processed. As shown in FIG. 17, in the connection route creation device 10 according to the present embodiment, numerical information is applied as the room ID. However, the present invention is not limited to this, and the character information and numerical information are used alone or in combination. It goes without saying that any information can be applied as long as it is information that can individually identify each room, such as a form to be applied.

また、上記部屋種別は、対応する部屋の居間、廊下といった種別を示す情報であり、上記最低天井高さは、対応する部屋に許容される天井の高さの最低値を示す情報であり、上記頂点数は、対応する部屋の頂点の数を示す情報であり、更に、上記頂点座標リストは、対応する部屋の頂点の位置を示す情報である。なお、本実施の形態に係る接続経路作成装置10では、上記頂点座標リストもまた、上記基点位置の座標を原点とした3次元座標を適用しているが、これに限るものでないことも言うまでもない。   The room type is information indicating the type of living room or hallway of the corresponding room, and the minimum ceiling height is information indicating the minimum ceiling height allowed for the corresponding room. The number of vertices is information indicating the number of vertices of the corresponding room, and the vertex coordinate list is information indicating the positions of the vertices of the corresponding room. In the connection path creation device 10 according to the present embodiment, the vertex coordinate list also uses three-dimensional coordinates with the origin position coordinates as the origin, but it is needless to say that the present invention is not limited to this. .

一方、上記部屋重み情報データベースDB8は、本第3の実施の形態に係る接続経路作成装置10において適用対象としている部屋の種別毎の、後述する第1線分コストE、第2線分コストE’、及びリンクコストeの算出に用いる下がり天井に関する情報をデータベース化したものである。本実施の形態に係る部屋重み情報データベースDB8は、一例として図18に示すように、部屋種別、下がり天井重み、及び特別コストの各情報を、上記部屋の種別毎にデータベース化したものとして構成されている。   On the other hand, the room weight information database DB8 has a first line segment cost E and a second line segment cost E to be described later for each room type to be applied in the connection route creation apparatus 10 according to the third embodiment. 'And information on the falling ceiling used for calculating the link cost e are stored in a database. As shown in FIG. 18 as an example, the room weight information database DB8 according to the present embodiment is configured as a database of room type information, falling ceiling weight information, and special cost information for each room type. ing.

なお、上記部屋種別は、部屋情報データベースDB7における同名の情報と同一の情報であり、上記下がり天井重みは、対応する部屋種別の部屋に適用する、下がり天井とした場合の重み付け値を示す情報であり、更に、上記特別コストは、対応する部屋種別に特定の配管又はダクトを設ける場合にコストに特別に加算する値を示す情報である。   The room type is the same information as the information of the same name in the room information database DB7, and the falling ceiling weight is information indicating a weighting value in the case of the falling ceiling applied to the room of the corresponding room type. Further, the special cost is information indicating a value to be added to the cost when a specific pipe or duct is provided for the corresponding room type.

次に、本第3の実施の形態に係る接続経路作成装置10の作用を説明する。   Next, the operation of the connection path creation device 10 according to the third exemplary embodiment will be described.

本第3の実施の形態に係る接続経路作成装置10においても、ユーザによりキーボード14、マウス16の操作によって接続経路の作成の実行指示が入力された際に、CPU22によって、上記第1の実施の形態に係る接続経路作成プログラム及び配管・ダクトレイアウト処理ルーチン・プログラム(図10〜図11参照。)と略同様のプログラムが実行される。以下、図10〜図11に示されるプログラムと本第3の実施の形態に係る接続経路作成装置10で実行されるプログラムとの差異の部分について説明する。   Also in the connection route creation device 10 according to the third exemplary embodiment, when the user inputs a creation instruction for creating a connection route by operating the keyboard 14 and the mouse 16, the CPU 22 performs the above first embodiment. A program substantially similar to the connection route creation program and the piping / duct layout processing routine program (see FIGS. 10 to 11) according to the embodiment is executed. In the following, differences between the program shown in FIGS. 10 to 11 and the program executed by the connection path creation device 10 according to the third embodiment will be described.

本第3の実施の形態に係る接続経路作成装置10では、第1線分コストEを算出するための評価式として次の(8)式が適用されており、第2線分コストE’を算出するための評価式として次の(9)式が適用されており、リンクコストeを算出するための評価式として次の(10)式が適用されている。   In the connection path creation device 10 according to the third exemplary embodiment, the following equation (8) is applied as an evaluation equation for calculating the first line segment cost E, and the second line segment cost E ′ is The following formula (9) is applied as an evaluation formula for calculating, and the following formula (10) is applied as an evaluation formula for calculating the link cost e.

E=Σ(aB+bD+W+dA+T) (8)
E’=E+cZ (9)
e=aB+bD+W+dA+T (10)
上記(8)式及び(10)式において、Aは接続経路を構成する部材を設けることによって発生する下がり天井の面積を示す情報であり、dは当該下がり天井の面積に対する重み付け値であり、Tは上記特別コストであり、その他のパラメータは上記第2の実施の形態に係る(5)式〜(7)式と同様である。なお、本第3の実施の形態に係る接続経路作成装置10では、係数dをユーザによりキーボード14、マウス16等を介して入力しているが、これに限らず、例えば、ハードディスク28に予め記憶しておき、これを読み出して適用する形態等とすることもできることは言うまでない。
E = Σ (aB + bD + W + dA + T) (8)
E ′ = E + cZ (9)
e = aB + bD + W + dA + T (10)
In the above equations (8) and (10), A is information indicating the area of the falling ceiling generated by providing the members constituting the connection path, d is a weighting value for the area of the falling ceiling, and T Is the special cost, and other parameters are the same as those in the equations (5) to (7) according to the second embodiment. Note that in the connection path creation device 10 according to the third exemplary embodiment, the coefficient d is input by the user via the keyboard 14, the mouse 16, and the like. Needless to say, this can be read and applied.

すなわち、本第3の実施の形態に係る接続経路作成装置10では、配管又はダクトを設けることにより処理対象とする建物の躯体スラブと天井の間に空間が不足する場合は、その不足する部分に下がり天井を設け、当該下がり天井の面積をコストとして加える。   That is, in the connection route creation device 10 according to the third exemplary embodiment, if there is a shortage of space between the building slab and the ceiling of the building to be processed by providing piping or ducts, A falling ceiling is provided, and the area of the falling ceiling is added as a cost.

具体的には、躯体スラブの下端の高さ(躯体スラブのZ座標のうち、最も小さなZ座標)から天井の高さ(天井のZ座標のうち、最も大きなZ座標)を減算して得られた値が、対応する配管又はダクトの外径に上記最小許容距離の2倍の値を加算することにより得られた値を下回る場合は下がり天井を設ける。   Specifically, it is obtained by subtracting the ceiling height (the largest Z coordinate among the Z coordinates of the ceiling) from the height of the lower end of the frame slab (the smallest Z coordinate among the Z coordinates of the housing slab). If the value is less than the value obtained by adding twice the minimum allowable distance to the outer diameter of the corresponding pipe or duct, a falling ceiling is provided.

ここで、下がり天井の面積は、線分の長さに下がり天井の幅をかけて算出する。このとき、線分の長さは、当該線分の始端Psの座標を(Xs,Ys,Zs)とし、終端Peの座標を(Xe,Ye,Ze)とすると、次式によって算出される。   Here, the area of the descending ceiling is calculated by multiplying the length of the line segment by the width of the descending ceiling. At this time, the length of the line segment is calculated by the following equation, where the coordinate of the start point Ps of the line segment is (Xs, Ys, Zs) and the coordinate of the end point Pe is (Xe, Ye, Ze).

また、下がり天井の幅は、例えば、壁に沿っている場合には当該壁から線分までの距離の2倍、他の場合には外径の2倍、といった値に設定する。なお、下がり天井の高さは、(線分のY座標−対応する配管又はダクトの外径の2分の1−上記最小許容距離)とする。 In addition, the width of the falling ceiling is set to a value such as twice the distance from the wall to the line segment along the wall, and twice the outer diameter in other cases. Note that the height of the falling ceiling is (Y coordinate of line segment-1/2 of the outer diameter of the corresponding pipe or duct-the above-mentioned minimum allowable distance).

また、本第3の実施の形態に係る接続経路作成装置10では、例えば、居間は便所や廊下に比較して重み付け値を大きくする、というように、下がり天井となった部屋の種別に応じて重み付け値dを変化させる。   Further, in the connection route creation device 10 according to the third exemplary embodiment, for example, the living room increases the weighting value compared to the toilet or the corridor, depending on the type of the room that has become the falling ceiling. The weight value d is changed.

すなわち、部屋情報データベースDB7を参照して、下がり天井となった部屋の部屋IDから部屋種別を特定し、部屋重み情報データベースDB8から、特定した部屋種別に対応する下がり天井重みを読み出して、この値を重み付け値dとして適用する。   That is, referring to the room information database DB7, the room type is specified from the room ID of the room that has become the falling ceiling, and the falling ceiling weight corresponding to the specified room type is read from the room weight information database DB8. Is applied as the weighting value d.

また、本第3の実施の形態に係る接続経路作成装置10では、下がり天井が所定の高さより低くなる場合は、当該下がり天井に関するコストを無限大とする。   Further, in the connection path creation device 10 according to the third exemplary embodiment, when the falling ceiling is lower than a predetermined height, the cost related to the falling ceiling is set to infinity.

すなわち、算出した下がり天井の高さと、部屋情報データベースDB7に登録されている、対応する部屋種別の最低天井高さとを比較し、算出した下がり天井の高さの方が低い場合には、下がり天井に関するコストを無限大とする。   That is, the calculated height of the falling ceiling is compared with the minimum ceiling height of the corresponding room type registered in the room information database DB7, and if the calculated height of the falling ceiling is lower, the falling ceiling The cost regarding is infinite.

また、本第3の実施の形態に係る接続経路作成装置10では、下がり天井が壁に沿わず、部屋の中央を横切る場合は、下がり天井に関するコストを、下がり天井が壁に沿う場合に比較して大きくする。   Further, in the connection path creation device 10 according to the third exemplary embodiment, when the falling ceiling does not follow the wall and crosses the center of the room, the cost related to the falling ceiling is compared with the case where the falling ceiling follows the wall. Make it bigger.

すなわち、まず、曲がりの有無を表す上記Bの算出手順と同様に線分のベクトルを算出する。次に、算出したベクトルと壁のベクトルとで内積をとり、その絶対値が‘1’に近いもの(線分と平行又は略平行の壁)に対して、線分と壁との距離を算出する。   That is, first, a line segment vector is calculated in the same manner as the calculation procedure B described above indicating the presence or absence of bending. Next, the inner product of the calculated vector and the wall vector is taken, and the distance between the line segment and the wall is calculated for an absolute value close to '1' (a wall parallel or substantially parallel to the line segment) To do.

ここで、上記距離を算出する場合、まず、線分の方程式を次のように求める。線分の始端Psの座標を(Xs,Ys,Zs)とし、終端Peの座標を(Xe,Ye,Ze)とすると、X−Y平面上の線分(直線)の方程式は、次式のように与えられる。   Here, when calculating the said distance, first, the equation of a line segment is calculated | required as follows. If the coordinates of the start point Ps of the line segment are (Xs, Ys, Zs) and the coordinates of the end point Pe are (Xe, Ye, Ze), the equation of the line segment (straight line) on the XY plane is As given.

ax+by+c=0
但し、a=Ys−Ye,b=Xe−Xs,c=(Xs×Ye)−(Xe×Ys)
一方、壁の各頂点から上記直線までの距離は、頂点座標を(Vx,Vy,Vz)とすると、次式により算出される。
ax + by + c = 0
However, a = Ys−Ye, b = Xe−Xs, c = (Xs × Ye) − (Xe × Ys)
On the other hand, the distance from each vertex of the wall to the straight line is calculated by the following equation where the vertex coordinates are (Vx, Vy, Vz).

そして、ここで算出した距離のうち、最も近い頂点との距離を、その壁との距離とする。 Of the distances calculated here, the distance to the nearest vertex is taken as the distance to the wall.

このようにして算出した壁との距離のうち、最も近い壁との距離が所定の距離、例えば、対応する配管又はダクトの外径の3倍より大きければ、当該配管又はダクトが部屋の中央を通っているものと見なして、他の場合に比較してコストを大きくするべく、適切な一定の値をコストに加えるか、又は、例えば配管又はダクトの外径をコストに加える。   Of the distances calculated in this way, if the distance to the nearest wall is greater than a predetermined distance, for example, three times the outer diameter of the corresponding pipe or duct, the pipe or duct will pass through the center of the room. Assuming that it passes, add an appropriate constant value to the cost to increase the cost compared to other cases, or add the outer diameter of, for example, a pipe or duct to the cost.

一方、本第3の実施の形態に係る接続経路作成装置10では、汚水を排水するための配管等の特定の配管が居間等の特定の部屋を通る場合には、通らない場合に比較してコストを大きくする。   On the other hand, in the connection path creation device 10 according to the third embodiment, when a specific pipe such as a pipe for draining sewage passes through a specific room such as a living room, it does not pass. Increase costs.

すなわち、部屋情報データベースDB7を参照して、下がり天井となった部屋の部屋IDから部屋種別を特定し、特定した部屋種別に対応する特別コストTを部屋重み情報データベースDB8から読み出し、当該特別コストTを加算するようにする。   That is, referring to the room information database DB7, the room type is specified from the room ID of the room that has become the falling ceiling, the special cost T corresponding to the specified room type is read from the room weight information database DB8, and the special cost T To be added.

以上詳細に説明したように、本第3の実施の形態では、上記第2の実施の形態と同様の効果を奏することができると共に、算出する評価値に、下がり天井の面積に関するコストや、配管又はダクトを設ける部屋の種別に応じたコスト(特別コスト)を加味しているので、より的確に接続経路を作成することができる。   As described above in detail, in the third embodiment, the same effects as in the second embodiment can be obtained, and the evaluation value to be calculated includes the cost related to the area of the falling ceiling and the piping. Alternatively, since a cost (special cost) according to the type of room in which the duct is provided is taken into account, the connection path can be created more accurately.

すなわち、本第3の実施の形態では、躯体スラブと天井の間に空間が不足する場合は、不足する部分に下がり天井を設定し、その下がり天井の面積を評価値に反映させているので、下がり天井をできるだけ少なくしたい、といった要求に応えることができる。   That is, in this third embodiment, when the space between the housing slab and the ceiling is insufficient, the falling ceiling is set in the insufficient portion, and the area of the falling ceiling is reflected in the evaluation value. It is possible to meet the demands of reducing the falling ceiling as much as possible.

また、下がり天井となった部屋の種別によって下がり天井の面積に対する重み付け値を変化させているので、例えば、居間等の重要な居室は高い天井を確保したいが、それ以外は天井を下げてもよい、といった要望に応えることができる。   Also, since the weighting value for the area of the falling ceiling is changed according to the type of the room that has become the falling ceiling, for example, an important living room such as a living room wants to secure a high ceiling, but otherwise the ceiling may be lowered It is possible to respond to the request.

また、下がり天井が所定の高さより低くなる場合はコストを無限大としているので、天井の高さの最低値に対する要求に応えることができる。   Further, since the cost is infinite when the falling ceiling is lower than a predetermined height, it is possible to meet the requirement for the minimum ceiling height.

また、下がり天井が壁に沿わず、部屋の中央を横切る場合は、他の場合に比較してコストを大きくしているので、下がり天井が部屋の中央に設けられるよりも部屋の隅にあった方がよい、といった要求に応えることができる。   Also, if the falling ceiling does not follow the wall and crosses the center of the room, the cost is higher than in other cases, so the falling ceiling was in the corner of the room rather than being provided in the center of the room It is possible to meet the demand of better.

更に、汚水を排水する配管等の特定の配管が居間等の特定の部屋を通る場合は、他の場合に比較してコストを大きくしているので、汚水等、漏水した場合の影響が大きい配管が居間等の重要な居室に影響を与えないようにしたい、といった要求に応えることができる。   Furthermore, when a specific pipe such as a pipe that drains sewage passes through a specific room such as a living room, the cost is higher than in other cases. Can respond to requests such as not wanting to affect important living rooms such as living rooms.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。本発明の要旨を逸脱しない範囲で上記実施の形態に多様な変更または改良を加えることができ、そのような変更または改良を加えた形態も本発明の技術的範囲に含まれる。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. Various changes or improvements can be added to the above-described embodiment without departing from the gist of the present invention, and embodiments to which such changes or improvements are added are also included in the technical scope of the present invention.

また、上記の実施の形態は、クレーム(請求項)にかかる発明を限定するものではなく、また実施の形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。上記の実施の形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜の組み合わせにより種々の発明を抽出できる。上記の実施の形態に示される全構成要件から幾つかの構成要件が削除されても、効果が得られる限りにおいて、この幾つかの構成要件が削除された構成が発明として抽出され得る。   The above embodiments do not limit the invention according to the claims (claims), and all the combinations of features described in the embodiments are essential for the solution means of the invention. Is not limited. The above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. Even if some constituent requirements are deleted from all the constituent requirements shown in the above-described embodiment, as long as an effect is obtained, a configuration from which these several constituent requirements are deleted can be extracted as an invention.

例えば、上記各実施の形態では、逆追跡を行う際に辿る線分を、矩形領域を形成する際に掃引した線分のみとした場合について説明したが、本発明はこれに限定されるものではなく、例えば、一例として図19に示すように、始点位置から終点位置に向けて探索する際に接続経路を配置することのできる領域を示す情報(以下、「経路配置可能領域情報」という。)をハードディスク28に登録しておき、逆追跡を行う際には当該経路配置可能領域情報を参照して、一例として図20に示すように、線分で囲まれた領域を認識して接続経路を作成することで、斜め方向等の線分上には存在しない接続経路を求める形態とすることもできる。この場合、接続経路を、より短距離とすることができる結果、より的確に接続経路を作成することができる。   For example, in each of the above-described embodiments, the case has been described where the line segment to be traced when performing reverse tracking is only the line segment that has been swept when forming the rectangular region, but the present invention is not limited to this. For example, as shown in FIG. 19 as an example, information indicating an area in which a connection route can be arranged when searching from the start point position toward the end point position (hereinafter referred to as “route arrangement possible area information”). Is registered in the hard disk 28, and when performing the reverse tracking, referring to the route arrangement possible region information, as shown in FIG. 20 as an example, the region surrounded by the line segment is recognized and the connection route is determined. By creating, it is possible to obtain a connection route that does not exist on a line segment in an oblique direction or the like. In this case, since the connection path can be made shorter, the connection path can be created more accurately.

また、上記各実施の形態では、始点位置から終点位置に向けて探索する際に、全ての線分の最適リンク元線分名を登録しておき、これを拠り所として逆追跡を行う場合について説明したが、本発明はこれに限定されるものではなく、例えば、始点位置から終点位置に向けて探索する際に、逆追跡を行う際に線分が分岐する部分のみについて最適リンク元線分名を登録しておき、逆追跡を行う際には、線分が分岐する場合のみ、対応する最適リンク元線分名を参照して追跡を行い、分岐しない場合には線分リンク情報データベースDB5のリンク元線分名を参照して追跡を行う形態とすることもできる。   Also, in each of the above embodiments, when searching from the start point position toward the end point position, the optimal link source line segment names of all line segments are registered, and the case of performing reverse tracking based on this is described. However, the present invention is not limited to this. For example, when searching from the start point position toward the end point position, the optimal link source line segment name is only used for the part where the line segment branches when performing reverse tracking. When the reverse tracking is performed, tracking is performed with reference to the corresponding optimum link source line segment name only when the line segment branches, and when the line segment does not branch, the line segment link information database DB5 It can also be set as the form which tracks with reference to a link former line segment name.

また、例えば、始点位置から終点位置に向けて探索する際には最適リンク元線分名の登録を行わず、逆追跡を行う際には、線分が分岐する場合に線分情報データベースDB4の対応する第1線分コストEを参照して当該値が低い方の線分を適用し、線分が分岐しない場合には線分リンク情報データベースDB5のリンク元線分名を参照して追跡を行う形態とすることもできる。   In addition, for example, when searching from the start point position toward the end point position, the optimum link source line segment name is not registered, and when performing reverse tracking, the line segment information database DB4 is used when the line segment branches. If the line segment with the lower value is applied with reference to the corresponding first line segment cost E and the line segment does not branch, tracking is performed with reference to the link source line segment name in the line segment link information database DB5. It can also be set as the form to perform.

これらの場合も、上記各実施の形態と同様の効果を奏することができる。   In these cases, the same effects as those of the above embodiments can be obtained.

また、上記各実施の形態に係る各評価式において適用したパラメータの全てが必須ではなく、適用したパラメータのうちの1つ、又は複数の組み合わせを適用する形態とすることもできる。この場合も、上記各実施の形態と略同様の効果を奏することができる。   In addition, not all of the parameters applied in each evaluation formula according to each of the above embodiments are essential, and one or a plurality of combinations of the applied parameters may be applied. Also in this case, substantially the same effects as those of the above embodiments can be obtained.

また、上記各実施の形態では、本発明の第1の評価値及び第2の評価値としてコストを適用した場合について説明したが、本発明はこれに限定されるものではなく、接続経路を構成する線分としての評価の高さを示す物理量であり、第1の評価値としては次の探索場所を決める物理量であり、第2の評価値としては接続経路の優劣を決める物理量であれば、如何なる物理量も適用することができる。   In each of the above embodiments, the case where the cost is applied as the first evaluation value and the second evaluation value of the present invention has been described. However, the present invention is not limited to this, and the connection path is configured. Is a physical quantity that indicates the height of evaluation as a line segment, the first evaluation value is a physical quantity that determines the next search location, and the second evaluation value is a physical quantity that determines the superiority or inferiority of the connection path, Any physical quantity can be applied.

その他、上記各実施の形態で説明した接続経路作成装置10の構成(図1〜図3参照。)は一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。   In addition, the configuration (see FIGS. 1 to 3) of the connection route creation device 10 described in the above embodiments is merely an example, and it is needless to say that the configuration can be appropriately changed without departing from the gist of the present invention. .

例えば、上記各実施の形態では、本発明を単体のパーソナル・コンピュータで実現した場合について説明したが、当該パーソナル・コンピュータをサーバ装置としてインターネットに接続し、上記入力画面をアクセス元のクライアント装置に設けられたディスプレイ装置に表示させる構成とすることにより、インターネットを介したシステムとして構成することもできる。   For example, in each of the above embodiments, the case where the present invention is realized by a single personal computer has been described. However, the personal computer is connected to the Internet as a server device, and the input screen is provided in the client device of the access source. By adopting a configuration for displaying on a display device, a system via the Internet can also be configured.

また、上記各実施の形態では、本発明の処理実行手段による処理として、導出した接続経路を示す情報をハードディスク28に記憶する処理を適用した場合について説明したが、本発明はこれに限定されるものではなく、例えば、導出した接続経路を示す情報を表示手段により表示する処理を適用する形態とすることもできる。なお、ここでいう表示手段による表示には、ディスプレイ装置による可視表示、画像形成装置による永久可視表示、音発生装置による可聴表示が含まれる。この場合も、上記各実施の形態と同様の効果を奏することができる。   In each of the above embodiments, the case where the process of storing the information indicating the derived connection path in the hard disk 28 is applied as the process performed by the process execution unit of the present invention. However, the present invention is not limited to this. For example, it is possible to adopt a form in which a process of displaying information indicating the derived connection route by the display unit is applied. Here, the display by the display means includes visible display by a display device, permanent visible display by an image forming apparatus, and audible display by a sound generator. Also in this case, the same effects as those of the above embodiments can be obtained.

また、上記各実施の形態で示した各種プログラムの処理の流れ(図10〜図11参照。)も一例であり、本発明の主旨を逸脱しない範囲内において、不要なステップを削除したり、新たなステップを追加したり、処理順序を入れ換えたりすることができることも言うまでもない。   Further, the flow of processing of various programs shown in the above embodiments (see FIGS. 10 to 11) is also an example, and unnecessary steps can be deleted or newly added without departing from the gist of the present invention. It goes without saying that various steps can be added and the processing order can be changed.

また、上記各実施の形態で示した各種演算式も一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。   Also, the various arithmetic expressions shown in the above embodiments are examples, and it goes without saying that they can be changed as appropriate without departing from the gist of the present invention.

更に、上記各実施の形態で示した各種データベースの構成(図4〜図8,図13,図17,図18参照。)も一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。   Furthermore, the configurations of the various databases shown in the above embodiments (see FIGS. 4 to 8, 13, 13, and 18) are examples, and can be appropriately changed without departing from the gist of the present invention. Needless to say.

実施の形態に係る接続経路作成装置の外観を示す斜視図である。It is a perspective view which shows the external appearance of the connection path | route production apparatus which concerns on embodiment. 実施の形態に係る接続経路作成装置の電気系の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the electric system of the connection path | route production apparatus which concerns on embodiment. 実施の形態に係る接続経路作成装置に備えられたハードディスクの主な記憶内容を示す模式図である。It is a schematic diagram which shows the main memory content of the hard disk with which the connection path | route production apparatus which concerns on embodiment was equipped. 実施の形態に係る機器間接続情報データベースの構成を示す模式図である。It is a schematic diagram which shows the structure of the apparatus connection information database which concerns on embodiment. 実施の形態に係る配管・ダクト仕様情報データベースの構成を示す模式図である。It is a schematic diagram which shows the structure of the piping and duct specification information database which concerns on embodiment. 実施の形態に係る建物CAD情報データベースの構成を示す模式図である。It is a schematic diagram which shows the structure of the building CAD information database which concerns on embodiment. 実施の形態に係る線分情報データベースの構成を示す模式図である。It is a schematic diagram which shows the structure of the line segment information database which concerns on embodiment. 実施の形態に係る線分リンク情報データベースの構成を示す模式図である。It is a schematic diagram which shows the structure of the line segment link information database which concerns on embodiment. 実施の形態に係る始点座標、始点ベクトル、開始点、開始線分、終点座標、終点ベクトル、終了点、終了線分、最小回転半径、最小許容距離の具体例を示す概略平面図である。It is a schematic plan view which shows the specific example of the start point coordinate which concerns on embodiment, a start point vector, a start point, a start line segment, an end point coordinate, an end point vector, an end point, an end line segment, the minimum rotation radius, and the minimum allowable distance. 実施の形態に係る接続経路作成プログラムの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of the connection route creation program which concerns on embodiment. 実施の形態に係る配管・ダクトレイアウト処理ルーチン・プログラムの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of the piping and duct layout process routine program which concern on embodiment. 第1の実施の形態に係る接続経路作成プログラムの処理の流れの説明に供する概略平面図である。It is a schematic plan view with which it uses for description of the flow of a process of the connection route creation program which concerns on 1st Embodiment. 第2の実施の形態に係る建築部材仕様情報データベースの構成を示す模式図である。It is a schematic diagram which shows the structure of the building member specification information database which concerns on 2nd Embodiment. 第2の実施の形態に係る建築部材仕様情報データベースの説明に供する概略平面図である。It is a schematic plan view with which it uses for description of the building member specification information database which concerns on 2nd Embodiment. 第2の実施の形態に係る接続経路作成装置の作用の説明に供する概略平面図である。It is a schematic plan view with which it uses for description of an effect | action of the connection path | route production apparatus which concerns on 2nd Embodiment. 第2の実施の形態の変形例の説明に供する概略平面図である。It is a schematic plan view with which it uses for description of the modification of 2nd Embodiment. 第3の実施の形態に係る部屋情報データベースの構成を示す模式図である。It is a schematic diagram which shows the structure of the room information database which concerns on 3rd Embodiment. 第3の実施の形態に係る部屋重み情報データベースの構成を示す模式図である。It is a schematic diagram which shows the structure of the room weight information database which concerns on 3rd Embodiment. 実施の形態の変形例の説明に供する経路配置可能領域情報の構成を示す模式図である。It is a schematic diagram which shows the structure of the path | route arrangement | positioning area | region information with which it uses for description of the modification of embodiment. 実施の形態の変形例の説明に供する概略平面図である。It is a schematic plan view with which it uses for description of the modification of embodiment.

符号の説明Explanation of symbols

10 接続経路作成装置
14 キーボード(受付手段)
16 マウス(受付手段)
18 ディスプレイ
22 CPU(導出手段、処理実行手段)
28 ハードディスク(記憶手段)
10 Connection path creation device 14 Keyboard (reception means)
16 Mouse (reception means)
18 display 22 CPU (derivation means, processing execution means)
28 Hard disk (storage means)

Claims (8)

建物内における接続経路の作成対象となる機器間の当該接続経路の始点位置を示す始点位置情報、前記接続経路の終点位置を示す終点位置情報、及び前記接続経路に対する障害物の位置を示す障害物位置情報が予め記憶された記憶手段と、
前記接続経路を作成するとき、前記記憶手段から前記始点位置情報、前記終点位置情報、及び前記障害物位置情報を読み出し、前記始点位置情報により示される始点位置を通る線分を発生し、当該線分を前記障害物位置情報により示される障害物にあたるまで当該線分の垂直方向に掃引することによって矩形領域を形成し、形成した矩形領域に前記終点位置情報により示される終点位置が存在しない場合は、当該矩形領域の外周上に新たな線分を発生し、発生した線分の各々について、次の探索場所を決めるものとして予め定められた第1の評価式により第1の評価値を算出し、当該第1の評価値が最も評価の高い値となっている線分を用いて前記矩形領域の形成を再び行い、形成した矩形領域に前記終点位置が存在した時点で、それまでに前記矩形領域を形成する際に掃引した線分を前記終点位置から前記始点位置に至るまで逆追跡する線分展開法により最終的な接続経路を導出する導出手段と、
前記導出手段による導出結果を示す結果情報を用いて予め定められた処理を実行する処理実行手段と、
を備え、
前記導出手段は、前記第1の評価値を算出する際に、前記始点位置から前記第1の評価値の算出対象とする対象線分に至る各接続経路の各々について、接続経路の優劣を決めるものとして予め定められた第2の評価式により第2の評価値を算出し、当該第2の評価値が最も評価の高い値となった接続経路における前記対象線分の接続元とされている線分が最適な接続元線分であるものとして当該線分を特定できる特定情報を前記記憶手段に記憶しておき、前記逆追跡を行う際に、前記特定情報を前記記憶手段から読み出し、当該特定情報により特定される線分を経由するように逆追跡を行う
ことを特徴とする接続経路作成装置。
Start point position information indicating the start point position of the connection path between devices for which a connection path is to be created in the building, end point position information indicating the end point position of the connection path, and an obstacle indicating the position of the obstacle with respect to the connection path Storage means for storing location information in advance;
When creating the connection path, the start point position information, the end point position information, and the obstacle position information are read from the storage unit, and a line segment passing through the start point position indicated by the start point position information is generated. When a rectangular area is formed by sweeping a minute in the vertical direction of the line segment until it hits the obstacle indicated by the obstacle position information, and the end point position indicated by the end point position information does not exist in the formed rectangular area A new line segment is generated on the outer periphery of the rectangular area, and a first evaluation value is calculated for each of the generated line segments using a first evaluation formula that is predetermined to determine the next search location. The rectangular area is formed again using the line segment having the highest evaluation value for the first evaluation value, and when the end point position exists in the formed rectangular area, And deriving means for deriving a final connection path by line expansion method for tracing back the segment is swept when forming the serial rectangular area from the end position up to the start position,
Processing execution means for executing a predetermined process using result information indicating a derivation result by the derivation means;
With
When calculating the first evaluation value, the derivation means determines the superiority or inferiority of the connection route for each connection route from the start point position to the target line segment that is the calculation target of the first evaluation value. The second evaluation value is calculated by a second evaluation formula determined in advance, and the second evaluation value is the connection source of the target line segment in the connection route having the highest evaluation value. The storage unit stores specific information that can identify the line segment as an optimal connection source line segment, and reads the specific information from the storage unit when performing the reverse tracking, A connection path creation device characterized by performing reverse tracing so as to pass through a line segment specified by specific information.
前記第1の評価式は、前記対象線分と当該対象線分の接続元となる線分の間の曲がりの有無、前記対象線分と当該対象線分の接続元となる線分の間の距離、前記対象線分を設けることにより前記建物に生じる下がり天井の面積、及び前記接続経路を設ける部屋の種類の少なくとも1つに基づいて得られる値の、前記始点位置から前記対象線分に至る線分による累積値に、前記対象線分から前記終点位置までのマンハッタン距離に応じた値を加算する演算式であり、
前記第2の評価式は、前記累積値を算出する演算式である
請求項1記載の接続経路作成装置。
The first evaluation formula is the presence or absence of a bend between the target line segment and the line segment that is the connection source of the target line segment, and between the target line segment and the line segment that is the connection source of the target line segment. A value obtained based on at least one of a distance, an area of a falling ceiling generated in the building by providing the target line segment, and a type of room in which the connection path is provided reaches from the start point position to the target line segment. It is an arithmetic expression for adding a value corresponding to the Manhattan distance from the target line segment to the end point position to the accumulated value by the line segment,
The connection path creation device according to claim 1, wherein the second evaluation formula is an arithmetic formula for calculating the cumulative value.
前記第1の評価式及び前記第2の評価式に用いられるパラメータに対する重み付け値を受け付ける受付手段を更に備え、
前記導出手段は、前記第1の評価値及び前記第2の評価値を、前記受付手段によって受け付けられた重み付け値により対応するパラメータが重み付けされた値として算出する
請求項2記載の接続経路作成装置。
A receiving means for receiving weight values for parameters used in the first evaluation formula and the second evaluation formula;
The connection route creation device according to claim 2, wherein the derivation unit calculates the first evaluation value and the second evaluation value as values obtained by weighting corresponding parameters by the weighting values received by the receiving unit. .
前記記憶手段は、前記障害物が前記接続経路を貫通させることができるか否かを示す貫通可否情報を更に予め記憶し、
前記導出手段は、前記貫通可否情報により前記接続経路を貫通させることができることが示される障害物を、前記矩形領域を形成する際の前記線分を掃引する範囲を制限する障害物から除外する
請求項1〜請求項3の何れか1項記載の接続経路作成装置。
The storage means further stores in advance penetrability information indicating whether or not the obstacle can penetrate the connection path,
The derivation means excludes an obstacle, which indicates that the connection path can be penetrated by the penetration availability information, from an obstacle that limits a range of sweeping the line segment when forming the rectangular region. The connection path creation device according to any one of claims 1 to 3.
前記導出手段は、複数組の機器間の接続経路を作成する場合、それまでに作成した接続経路を前記障害物として適用する
請求項1〜請求項4の何れか1項記載の接続経路作成装置。
The connection route creation device according to any one of claims 1 to 4, wherein the derivation unit applies a connection route created so far as the obstacle when creating a connection route between a plurality of sets of devices. .
前記記憶手段は、前記接続経路を構成する部材の屈曲半径の最小値を示す最小回転半径情報を更に予め記憶し、
前記始点位置及び前記終点位置は、対応する前記機器から前記最小回転半径情報により示される最小回転半径に対応する距離だけ離間された位置である
請求項1〜請求項5の何れか1項記載の接続経路作成装置。
The storage means further stores in advance minimum turning radius information indicating a minimum value of a bending radius of a member constituting the connection path,
The start point position and the end point position are positions that are separated from the corresponding device by a distance corresponding to the minimum rotation radius indicated by the minimum rotation radius information. Connection path creation device.
前記記憶手段は、前記接続経路と前記障害物の間の最小許容距離を示す最小許容距離情報を更に予め記憶し、
前記導出手段は、前記障害物から前記最小許容距離情報により示される距離以上離間させるように前記接続経路を導出する
請求項1〜請求項6の何れか1項記載の接続経路作成装置。
The storage means further stores in advance minimum allowable distance information indicating a minimum allowable distance between the connection path and the obstacle,
The connection route creation device according to any one of claims 1 to 6, wherein the deriving unit derives the connection route so as to be separated from the obstacle by a distance indicated by the minimum allowable distance information.
建物内における接続経路を作成するとき、当該接続経路の作成対象となる機器間の当該接続経路の始点位置を示す始点位置情報、前記接続経路の終点位置を示す終点位置情報、及び前記接続経路に対する障害物の位置を示す障害物位置情報が予め記憶された記憶手段から前記始点位置情報、前記終点位置情報、及び前記障害物位置情報を読み出す読出ステップと、
前記始点位置情報により示される始点位置を通る線分を発生し、当該線分を前記障害物位置情報により示される障害物にあたるまで当該線分の垂直方向に掃引することによって矩形領域を形成する形成ステップと、
前記形成ステップによって形成された矩形領域に前記終点位置情報により示される終点位置が存在しない場合に、当該矩形領域の外周上に新たな線分を発生し、発生した線分の各々について、次の探索場所を決めるものとして予め定められた第1の評価式により第1の評価値を算出すると共に、前記始点位置から前記第1の評価値の算出対象とする対象線分に至る各接続経路の各々について、接続経路の優劣を決めるものとして予め定められた第2の評価式により第2の評価値を算出する算出ステップと、
前記算出ステップによって算出された第2の評価値が最も評価の高い値となった接続経路における前記対象線分の接続元とされている線分が最適な接続元線分であるものとして当該線分を特定できる特定情報を前記記憶手段に記憶する記憶ステップと、
前記算出ステップによって算出された第1の評価値が最も評価の高い値となっている線分を用いて前記矩形領域の形成を前記形成ステップにより再び行わせる再形成ステップと、
前記形成ステップによって形成された矩形領域に前記終点位置が存在する場合に、前記特定情報を前記記憶手段から読み出し、当該特定情報により特定される線分を経由するように前記終点位置から前記始点位置に至るまで逆追跡することにより最終的な接続経路を導出する導出ステップと、
前記導出ステップによる導出結果を示す結果情報を用いて予め定められた処理を実行する処理実行ステップと、
をコンピュータに実行させる接続経路作成プログラム。
When creating a connection route in a building, start point position information indicating the start point position of the connection route between devices for which the connection route is to be created, end point position information indicating the end point position of the connection route, and the connection route A step of reading out the start point position information, the end point position information, and the obstacle position information from storage means in which obstacle position information indicating the position of the obstacle is stored in advance;
Formation of forming a rectangular region by generating a line segment passing through the start point position indicated by the start point position information and sweeping the line segment in the vertical direction until the line segment hits the obstacle indicated by the obstacle position information Steps,
When the end point position indicated by the end point position information does not exist in the rectangular area formed by the forming step, a new line segment is generated on the outer periphery of the rectangular area. A first evaluation value is calculated using a first evaluation formula that is determined in advance to determine a search location, and each connection route from the start point position to a target line segment that is a calculation target of the first evaluation value is calculated. For each, a calculation step of calculating a second evaluation value by a second evaluation formula determined in advance as determining the superiority or inferiority of the connection path;
Assuming that the line segment that is the connection source of the target line segment in the connection route in which the second evaluation value calculated in the calculation step has the highest evaluation value is the optimal connection source line segment A storage step of storing specific information capable of specifying a minute in the storage means;
A re-forming step in which the formation of the rectangular region is performed again by the forming step using a line segment in which the first evaluation value calculated by the calculating step is the highest value;
When the end point position is present in the rectangular region formed by the forming step, the specific information is read from the storage unit, and the start point position from the end point position passes through the line segment specified by the specific information. A derivation step for deriving the final connection path by tracing back to
A process execution step of executing a predetermined process using result information indicating a derivation result of the derivation step;
A connection route creation program that causes a computer to execute.
JP2008078554A 2008-03-25 2008-03-25 Device and program for creating connection path Pending JP2009230698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008078554A JP2009230698A (en) 2008-03-25 2008-03-25 Device and program for creating connection path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008078554A JP2009230698A (en) 2008-03-25 2008-03-25 Device and program for creating connection path

Publications (1)

Publication Number Publication Date
JP2009230698A true JP2009230698A (en) 2009-10-08

Family

ID=41245959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008078554A Pending JP2009230698A (en) 2008-03-25 2008-03-25 Device and program for creating connection path

Country Status (1)

Country Link
JP (1) JP2009230698A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013516007A (en) * 2009-12-23 2013-05-09 エーイーエー インテグレーション System and method for automatic building equipment design

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013516007A (en) * 2009-12-23 2013-05-09 エーイーエー インテグレーション System and method for automatic building equipment design
US10346768B2 (en) 2009-12-23 2019-07-09 Aea Integration, Inc. System and method for automated building services design

Similar Documents

Publication Publication Date Title
US10891405B2 (en) Method, computer program product and apparatus for providing a building options configurator
US10748311B1 (en) Generating technical drawings from building information models
JP4905210B2 (en) Three-dimensional internal space model generation method, apparatus, and program
US20230368431A1 (en) Pattern Matching Tool
US20070285424A1 (en) Generating annotation graphics in 2D form to model 3D elements
CN104346830A (en) Design of a path connecting a first point to a second point in a three-dimensional scene
JP2008083112A (en) Network data generating device, network data generating program, mobile terminal, and data structure
US11841924B2 (en) Drawing matching tool
JP7131067B2 (en) Design support device and design support model learning device
US20230185984A1 (en) Generating Technical Drawings From Building Information Models
CN108319751B (en) Automatic generation method of pipeline model of three-dimensional equipment of subway station pipeline
Singh et al. Automating the generation of 3D multiple pipe layout design using BIM and heuristic search methods
JP6312949B2 (en) Pressure loss determination device, pressure loss determination program, and pressure loss determination method
JP7240846B2 (en) support equipment
JP7448312B2 (en) Automatic routing method and device
JP2009230698A (en) Device and program for creating connection path
JP7230288B1 (en) learning model
JP5154602B2 (en) Design drawing system, program and information storage medium
Liang et al. Realization of rule-based automated design for HVAC duct layout
KR100984087B1 (en) Lightning rate analysis system and analysis method of the same
Cheng et al. Automated Generation and Layout Design of Fabrication Drawings for Building Façade Mullions Using BIM
CN115455748A (en) Residential water supply arrangement method, device, equipment and storage medium
JP5001811B2 (en) Estimating device and estimating program
JP2023156966A (en) Construction support method, construction support program and construction support device
JP2022141269A (en) Design support device and design support program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120321

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120717