JP5210744B2 - Equipment design support apparatus, method, and program - Google Patents

Equipment design support apparatus, method, and program Download PDF

Info

Publication number
JP5210744B2
JP5210744B2 JP2008184975A JP2008184975A JP5210744B2 JP 5210744 B2 JP5210744 B2 JP 5210744B2 JP 2008184975 A JP2008184975 A JP 2008184975A JP 2008184975 A JP2008184975 A JP 2008184975A JP 5210744 B2 JP5210744 B2 JP 5210744B2
Authority
JP
Japan
Prior art keywords
pipe
connection
vector
point
plane
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008184975A
Other languages
Japanese (ja)
Other versions
JP2010026645A (en
Inventor
一富 今野
享 河村
玲 野下
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.)
Takasago Thermal Engineering Co Ltd
Original Assignee
Takasago Thermal Engineering 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 Takasago Thermal Engineering Co Ltd filed Critical Takasago Thermal Engineering Co Ltd
Priority to JP2008184975A priority Critical patent/JP5210744B2/en
Publication of JP2010026645A publication Critical patent/JP2010026645A/en
Application granted granted Critical
Publication of JP5210744B2 publication Critical patent/JP5210744B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、設備の設計支援技術に関する。   The present invention relates to equipment design support technology.

ビル、建物、工場等の設備の施工に際しては、以下のような問題がある。例えば、受注から施工までの段階では、設備に含まれる機器のメーカが確定していない場合がある。そして、設備の設計図の作成の着手後に機器の具体的な施工情報が確定することがある。この場合、着手時には、特定のメーカの機器を念頭に作図を進め、後の段階になって、他のメーカの機器に入れ替える必要が生じる。また、大規模な機器については、メーカ・容量等が決まってからも、配管取り出し位置・配管のサイズ等の変更が発生する場合がある。   When constructing facilities such as buildings, buildings and factories, there are the following problems. For example, the manufacturer of the equipment included in the facility may not be determined at the stage from order receipt to construction. Then, after starting the creation of the facility design drawing, the specific construction information of the equipment may be determined. In this case, when starting, it is necessary to proceed with drawing with a device of a specific manufacturer in mind and to replace it with a device of another manufacturer at a later stage. In addition, for a large-scale device, there may be a case where the pipe take-out position, the pipe size, and the like are changed even after the manufacturer and capacity are determined.

このような機器の入れ替え、あるいは配管接続位置の変更が発生した場合、従来の施工図の作成工程では、施工事業者、あるいは、設備設計者が、配管のつなぎ替え作業を手作業で行っていた。そのため、機器入れ替え前に接続個所を設計済みの配管の一部削除・変更や、新たな機器配置後の配管の接続設計作業に多くの時間を要していた。
特開2006−215731号公報
When such a change of equipment or a change in the piping connection position occurs, in the conventional construction drawing creation process, the construction company or the equipment designer has manually changed the pipes. . For this reason, it takes a lot of time to delete or change a part of the pipe whose connection point has been designed before replacing the equipment, and to design the connection of the pipe after the new equipment is arranged.
JP 2006-215731 A

本発明の目的は、配管との接続を要する機器の作図が進行した後、その機器が変更されたときに、その変更に合わせて、作図済みの配管接続情報を利用し、配管のつなぎ替え作業を支援する機能を実現することにある。   The purpose of the present invention is to change pipes using the pipe connection information that has already been drawn when the equipment is changed after drawing of the equipment that needs to be connected to the pipe. It is to realize a function that supports

本発明は前記課題を解決するために、以下の手段を採用した。すなわち、本発明は、設備内の機器に配管が接続される接続部の位置座標と接続される配管の配置方向とを記憶する設備内機器情報記憶手段と、設備にて第1の機器を第2の機器に変更する指定を受け付ける入力手段と、第1の機器を第2の機器に変更したときに第2の機器において配管が接続されるべき接続部の位置座標と接続される配管の配置方向とを算出する接続位置算出手段と、変更前に第1の機器の接続部に接続されていた配管末端または配管末端から配管をさかのぼる方向に一部を削除して形成された配管末端から、第2の機器の接続部までの配管の経路を設定する経路設定手段と、を備える設備の設計支援装置として例示できる。本設計支援装置によれば、入れ替え前後の接続部の位置座標と接続される配管の配置方向とを基に、入れ替え後の第2の機器に配管を接続できる。   The present invention employs the following means in order to solve the above problems. That is, the present invention relates to in-facility equipment information storage means for storing the position coordinates of the connecting portion where the pipe is connected to the equipment in the equipment and the arrangement direction of the connected pipe, and the first equipment is the first in the equipment. Input means for accepting designation to change to the second device, and the arrangement of the pipes connected to the position coordinates of the connecting portion to which the pipe should be connected in the second device when the first device is changed to the second device From the connection position calculation means for calculating the direction, and the pipe end formed by deleting a part in the direction going back from the pipe end or the pipe end connected to the connection part of the first device before the change, It can be illustrated as an equipment design support device comprising a route setting means for setting a route of piping to the connection part of the second device. According to the present design support device, the pipe can be connected to the second device after the replacement based on the position coordinates of the connecting portion before and after the replacement and the arrangement direction of the connected pipe.

さらに、本設計支援装置は、機器内の第1の座標系での接続部の位置座標と接続される配管の配置方向とを機器ごとに記憶する機器接続位置記憶手段と、設備内の第2の座標系で機器を設置するときの設備内配置点、第1の座標系と第2の座標系との相対角度、および機器を設備内配置点に位置付けるときの基準点を記憶する設置状態記憶手段と、をさらに備えるようにしてもよい。そして、接続位置算出手段は、設備内配置点に第2の機器の基準点を位置付け、第2の座標系に対して第1の座標系を相対角度で設定したときの第2の機器の接続部の位置座標と接続される配管の配置方向とを算出すればよい。本設計支援装置によれば、機器入れ替え後の接続部の位置座標と配管の配置方向とを提示できる。   Furthermore, the design support apparatus includes a device connection position storage unit that stores, for each device, the position coordinates of the connection portion in the first coordinate system in the device and the arrangement direction of the pipe to be connected, and the second in the facility. Installation state memory for storing equipment placement points when equipment is installed in the coordinate system, the relative angle between the first coordinate system and the second coordinate system, and a reference point when equipment is placed at the equipment placement points And a means. The connection position calculation means positions the reference point of the second device at the arrangement point in the facility, and connects the second device when the first coordinate system is set at a relative angle with respect to the second coordinate system. What is necessary is just to calculate the position direction of the piping connected to the position coordinate of a part. According to the present design support device, it is possible to present the position coordinates of the connection part and the arrangement direction of the pipe after the device replacement.

また、本設計支援装置は、機器ごとに接続部に接続される配管の用途を含む接続属性情報を記憶する機器属性記憶手段と、第1の機器の接続部と第2の機器の接続部との間で接続属性情報を比較する属性比較手段と、をさらに備えてもよい。そして、経路設定手段は
、比較の結果、第1の機器の接続部と第2の機器の接続部との間で接続属性情報が一致しない場合に、前記第1の機器の接続部と第2の機器の接続部との間の経路設定のための対応関係の入力を促す手段を備えてもよい。本設計支援装置によれば、接続属性情報が一致しない場合に、第2の機器の接続口に対応すべき第1の機器の接続口の入力を促し、接続すべき配管末端を特定できる。
In addition, the design support apparatus includes a device attribute storage unit that stores connection attribute information including a use of a pipe connected to the connection unit for each device, a connection unit of the first device, and a connection unit of the second device. And attribute comparison means for comparing the connection attribute information. Then, as a result of the comparison, if the connection attribute information does not match between the connection unit of the first device and the connection unit of the second device, the path setting unit and the connection unit of the first device There may be provided means for prompting input of a correspondence relationship for setting a route with the connection unit of the other device. According to this design support apparatus, when the connection attribute information does not match, it is possible to prompt the input of the connection port of the first device that should correspond to the connection port of the second device, and specify the pipe end to be connected.

本設計支援装置は、配管末端を接続部として第2の機器に至る配管の配置方向を示す起点ベクトルと第2の機器の接続部における配管の配置方向を示す終点ベクトルとが同一平面上にあるか否か、および起点ベクトルと終点ベクトルとが互いに平行な異なる平面にあるか否かを判定する平行平面判定手段と、起点ベクトルのある平面と終点ベクトルある平面との間で経路を設定する第1のレベル間接続手段と、をさらに備えるようにしてもよい。すなわち、2つのベクトルが、同一平面上にある場合には、同一平面上の条件を応じて、接続処理を実行すればよい。一方、2つのベクトルが互いに平行な異なる平面にある場合に、それぞれの平面を互いに接続する経路を設定することで、同一平面上の関係に帰着できる。   In this design support apparatus, the starting point vector indicating the arrangement direction of the pipe reaching the second device with the end of the pipe as the connection portion and the end point vector indicating the arrangement direction of the pipe in the connection portion of the second device are on the same plane. A parallel plane determining means for determining whether or not the starting point vector and the ending point vector are on different planes parallel to each other, and a path is set between the plane having the starting point vector and the plane having the end point vector. One level connection means may be further provided. That is, when the two vectors are on the same plane, the connection process may be executed according to the conditions on the same plane. On the other hand, when the two vectors are on different planes parallel to each other, a path connecting the respective planes can be set to result in a relationship on the same plane.

本設計支援装置は、起点ベクトルと終点ベクトルとが同一平面上および互いに平行な異なる平面上のいずれにもなく、かつ、起点ベクトルと終点ベクトルのうちの一方のベクトルが、XY平面、YZ平面、またはZX平面と平行な第1の目標平面上にあるときに、第1の目標平面上にない他方のベクトルの示す接続部から90度継手、45度継手、他方のベクトル方向の直管と90度継手との組み合わせ、または、他方のベクトル方向の直管と45度継手との組み合わせによって第1の目標平面に平行な第2の目標平面上の直管に接続する単一目標平面経路設定手段と、第2の目標平面の直管から第1の目標平面への経路を設定する第2のレベル間接続手段と、をさらに備えるようにしてもよい。本設計支援装置によれば、起点ベクトルと終点ベクトルの一方が、XY平面、YZ平面、またはZX平面と平行な平面上にある場合、そのベクトルが存在するXY平面、YZ平面、またはZX平面と平行な平面を第1の目標平面とする。そして、第1の目標平面上にない他方のベクトルの近傍に、第2の目標平面を設定する。そして、他方のベクトルの示す接続部から、第2の目標平面への経路、第2の目標平面から第1の目標平面への経路を設定することで、平面を共有する起点ベクトルと終点ベクトルの関係に帰着し、処理を実行する。   In this design support apparatus, the starting point vector and the ending point vector are not on the same plane or on different planes parallel to each other, and one of the starting point vector and the ending point vector is an XY plane, a YZ plane, Or, when it is on the first target plane parallel to the ZX plane, the 90 degree joint, the 45 degree joint, the straight pipe in the other vector direction from the connecting portion indicated by the other vector not on the first target plane, and 90 Single target plane path setting means connected to a straight pipe on a second target plane parallel to the first target plane by a combination with a degree joint, or a combination of a straight pipe in the other vector direction and a 45 degree joint And a second interlevel connecting means for setting a route from the straight pipe of the second target plane to the first target plane. According to the present design support apparatus, when one of the start point vector and the end point vector is on a plane parallel to the XY plane, the YZ plane, or the ZX plane, the XY plane, the YZ plane, or the ZX plane in which the vector exists A parallel plane is defined as a first target plane. Then, the second target plane is set in the vicinity of the other vector that is not on the first target plane. Then, by setting a path from the connecting portion indicated by the other vector to the second target plane and a path from the second target plane to the first target plane, the origin vector and end point vector sharing the plane are set. Return to the relationship and execute the process.

また、本設計支援装置は、第1の目標平面にない他方のベクトルが第1の目標平面と平行な段違い平面にあるか否かを判定する手段をさらに備え、第1のレベル間接続手段は、第1の目標平面と段違い平面との間で経路を設定するようにしてもよい。本設計支援装置によれば、2つの平行な段違いの平面上にある起点ベクトルと終点ベクトルとの処理をそれぞれの平面上での処理に帰着できる。   The design support apparatus further includes means for determining whether the other vector that is not on the first target plane is on a stepped plane parallel to the first target plane, and the first inter-level connection means includes The route may be set between the first target plane and the uneven plane. According to this design support apparatus, the processing of the starting point vector and the ending point vector on two parallel uneven planes can be reduced to the processing on each plane.

また、本設計支援装置は、起点ベクトルと終点ベクトルとが同一平面上および互いに平行な異なる平面上のいずれにもなく、かつ、起点ベクトルと終点ベクトルとがいずれもXY平面、YZ平面、およびZX平面のいずれとも平行でないときに、2つの座標軸に平行な第3の目標平面上の経路であって、起点ベクトルの示す接続部から90度継手、45度継手、起点ベクトル方向への直管と90度継手との組み合わせに、または、前記起点ベクトル方向への直管と45度継手との組み合わせによって接続可能な第1の直管の経路を設定するとともに、第3の目標平面に平行な第4の目標平面上の経路であって、終点ベクトルの示す接続部から90度継手、45度継手、終点ベクトル方向への直管と90度継手との組み合わせ、または、前記他方のベクトル方向の直管と45度継手との組み合わせによって接続可能な第2の直管の経路を設定する複数目標平面経路設定手段と、第1の直管と第2の直管との間の経路を設定する第3のレベル間接続手段と、をさらに備える。このような処理によって、同一平面上になく、かつ、起点ベクトルと終点ベクトルとがいずれもXY平面、YZ平面、またはZX平面と平行な平面上にない起点ベクトルと終点ベクトル
の関係を、平面を共有する関係に帰着し、処理を実行する。
In addition, the present design support apparatus is such that the starting point vector and the ending point vector are not on the same plane or on different planes parallel to each other, and the starting point vector and the ending point vector are both XY plane, YZ plane, and ZX. A path on a third target plane parallel to the two coordinate axes, when not parallel to any of the planes, from the connection point indicated by the origin vector to a 90 degree joint, a 45 degree joint, and a straight pipe in the direction of the origin vector; A path of the first straight pipe that can be connected to the combination with the 90 degree joint or by the combination of the straight pipe and the 45 degree joint in the direction of the starting vector is set, and the first parallel pipe parallel to the third target plane is set. 4 on the target plane, 90 degree joint, 45 degree joint from the connection point indicated by the end point vector, combination of straight pipe and 90 degree joint in the direction of the end point vector, or other A plurality of target plane path setting means for setting a path of a second straight pipe connectable by a combination of a straight pipe in the vector direction and a 45 degree joint, and between the first straight pipe and the second straight pipe And a third inter-level connecting means for setting a route. By such processing, the relationship between the start point vector and the end point vector that are not on the same plane, and the start point vector and the end point vector are not on the XY plane, the YZ plane, or the plane parallel to the ZX plane, Reduce to the shared relationship and execute the process.

また、複数目標平面経路設定手段は、起点ベクトルに対して垂直な平面と第3目標平面との交線方向に第1の直管を設定するとともに、起点ベクトルの示す接続部から第1の直管に90度継手、45度継手、起点ベクトル方向への直管と90度継手との組み合わせ、または、起点ベクトル方向への直管と45度継手との組み合わせによって経路を設定する手段と、終点ベクトルに対して垂直な平面と第4の目標平面との交線方向に第2の直管を設定するとともに、終点ベクトルの示す接続部から第2の直管に90度継手、45度継手、終点ベクトル方向への直管と90度継手との組み合わせ、または、終点ベクトル方向への直管と45度継手との組み合わせによって経路を設定する手段と、を有してもよい。さらに、第3のレベル間接続手段は、第1の直管と第2の直管とを両端に90度継手または45度継手を設けた配管を含む経路で接続する手段、を有してもよい。このような構成によって、起点ベクトルに垂直な第1の直管の経路を、第3の目標平面に設定できる。また、終点ベクトルに垂直な第2の直管の経路を、第4の目標平面に設定できる。そして、第1の直管と第2の直管との間でレベル差を解消する配管を設けることで、平面を共有する処理に帰着できる。   The multiple target plane path setting means sets the first straight pipe in the direction of the intersection of the plane perpendicular to the starting point vector and the third target plane, and the first straight line from the connecting portion indicated by the starting point vector. Means for setting a path by a 90-degree joint, a 45-degree joint, a combination of a straight pipe and a 90-degree joint in the starting vector direction, or a combination of a straight pipe and a 45-degree joint in the starting vector direction; and an end point A second straight pipe is set in the direction of the intersection of the plane perpendicular to the vector and the fourth target plane, and a 90-degree joint, a 45-degree joint is connected to the second straight pipe from the connecting portion indicated by the end point vector, There may be provided means for setting a route by a combination of a straight pipe in the direction of the end point vector and a 90 degree joint, or a combination of a straight pipe in the direction of the end point vector and a 45 degree joint. Further, the third inter-level connecting means may include means for connecting the first straight pipe and the second straight pipe through a route including a pipe provided with 90 degree joints or 45 degree joints at both ends. Good. With such a configuration, the path of the first straight pipe perpendicular to the starting point vector can be set as the third target plane. Also, the second straight pipe path perpendicular to the end point vector can be set as the fourth target plane. And it can be reduced to the process which shares a plane by providing piping which eliminates a level difference between the 1st straight pipe and the 2nd straight pipe.

本発明によれば、配管との接続を要する機器の作図が進行した後、その機器が変更されたときに、その変更に合わせて、作図済みの配管接続情報を利用し、配管のつなぎ替え作業を支援することができる。   According to the present invention, when drawing of a device requiring connection with piping proceeds, when the device is changed, the piping connection information is changed using the drawn piping connection information in accordance with the change. Can help.

以下、図面を参照して本発明を実施するための最良の形態(以下、実施形態という)に係る設計支援装置について説明する。以下の実施形態の構成は例示であり、本発明は実施形態の構成には限定されない。
<機能概要>
図1により、本設計支援装置の機能概要を例示する。本設計支援装置は、配管を含む様々な設備、具体的には配管の接続される熱源機器や空調機器、例えば、冷凍機を含む温度制御設備の設計を支援する。このような設備では、冷凍機等の機器の据え付けの他、機器への配管の取り付けが必要である。
A design support apparatus according to the best mode for carrying out the present invention (hereinafter referred to as an embodiment) will be described below with reference to the drawings. The configuration of the following embodiment is an exemplification, and the present invention is not limited to the configuration of the embodiment.
<Function overview>
FIG. 1 exemplifies a functional outline of the design support apparatus. This design support apparatus supports the design of various equipment including piping, specifically, heat source equipment and air conditioning equipment to which the pipe is connected, for example, temperature control equipment including a refrigerator. In such facilities, it is necessary to install piping such as refrigerators as well as equipment.

図1は、そのような設備の設計を支援する本設計支援装置の画面の一例を示している。図1には、設備および配管を含む設備の設計図(斜視図および平面図)が例示されている。図1で、平面図は、斜視図中のA矢印方向から見た図である。この例では、例えば、ターボ冷凍機100と、ターボ冷凍機100に、冷水・冷却水等を供給する配管に接続されるバルブ101−104が示されている。   FIG. 1 shows an example of the screen of the present design support apparatus that supports the design of such equipment. FIG. 1 illustrates a design drawing (perspective view and plan view) of equipment including equipment and piping. In FIG. 1, the plan view is a view seen from the direction of arrow A in the perspective view. In this example, for example, a turbo chiller 100 and valves 101-104 connected to piping for supplying cold water, cooling water, and the like to the turbo chiller 100 are shown.

このような施工のための設計図の作成が進行中または設計図が完成した後に、機器が変更になる場合について考える。図2は、図1の図面に対して、例えば、ターボ冷凍機100に代えて、吸収式冷凍機110を導入した場合の施工用の設計図(斜視図および正面図)の例である。この例では、機器が、ターボ冷凍機100から吸収式冷凍機110に変更されたことに伴い、バルブ101−104がバルブ111−114に変更され、および、各種配管への接続口の位置が変更されている。この場合には、機器の変更に伴って、それぞれの配管への接続口の位置が変更となり、配管を作図し直す必要がある。本設計支援装置は、このような場合、図1にて、作図済みの配管情報を基に、新たな接続口の位置に対して可能な限り自動接続を実行し、接続先を変更する作業を支援する。したがって、ユーザが、例えば、バルブ111−114のような配管の節点あるいは機器の接続口に逐一、配管を接続するマニュアル操作を極力低減して、機器入れ替えに伴う作図を可能にする。   Consider a case in which equipment is changed during the creation of a blueprint for such construction or after the blueprint is completed. FIG. 2 is an example of a design diagram (perspective view and front view) for construction when an absorption chiller 110 is introduced instead of the turbo chiller 100, for example, with respect to the drawing of FIG. In this example, as the equipment is changed from the turbo refrigerator 100 to the absorption refrigerator 110, the valves 101-104 are changed to valves 111-114, and the positions of the connection ports to various pipes are changed. Has been. In this case, with the change of the equipment, the position of the connection port to each pipe is changed, and it is necessary to redraw the pipe. In this case, the design support apparatus performs an automatic connection as much as possible to the position of the new connection port based on the drawn piping information in FIG. 1 and changes the connection destination. Support. Therefore, for example, the manual operation of connecting the pipes one by one to the nodes of the pipes such as the valves 111 to 114 or the connection ports of the equipment is reduced as much as possible, thereby enabling the drawing accompanying the equipment replacement.

図3、図4に、本設計支援装置が表示する画面例を示す。図3では、画面の上段に、設備としての熱交換器の平面図が示され、画面左側の機器120(シェルアンドチューブ型熱交換器)から画面右側の機器130(プレート式熱交換器)に変更された設備の例が示されている。また、図3では、中段にそれぞれの設備の正面図が示されている。さらに、下段左側に入れ替え前の機器120の接続口接続情報、下段中央に、その各接続口に接続されていた配管の情報、そして、下段右側に入れ替え後の機器130の接続口情報が示されている。   3 and 4 show examples of screens displayed by the design support apparatus. In FIG. 3, the top view of the screen shows a plan view of the heat exchanger as equipment, from the device 120 (shell and tube type heat exchanger) on the left side of the screen to the device 130 (plate type heat exchanger) on the right side of the screen. An example of modified equipment is shown. Moreover, in FIG. 3, the front view of each installation is shown by the middle stage. Furthermore, the connection port connection information of the device 120 before replacement is shown on the lower left side, the information on the pipe connected to each connection port is shown in the lower center, and the connection port information of the device 130 after replacement is shown on the lower right side. ing.

ここで、接続口情報とは、それぞれの接続口の属性を定義した情報である。これらの属性は、機器ごとの属性を格納する機器マスタに格納されている。以下に接続口情報の例を示す。
(1)接続位置
接続位置は、本設計支援装置では、例えば、機器ごとの原点に対する相対座標(U,V,W)で指定され機器マスタに格納され、その接続位置に対応して、画面上では例えば、機器120に対する接続位置が、A1からE1の記号で示されている。また、本設計支援装置は、一旦、機器が設備内に配置されると、設備内の座標系(X,Y,Z)で接続位置を保持する。
(2)方向
方向とは、該当機器から見た配管中の流体の出入りの方向であり、流れ方向ともいう。流れ方向は、出または入りが指定される。
(3)接続口の用途分類
接続口の用途分類は、その機器の各接続口から流入または流出される流体の用途である。用途は、本設計支援装置の用途マスタに定義されている。用途は、例えば、温水(送り)、温水(帰り)、蒸気、蒸気還水、水抜き等が記号で指定される。
(4)系統
系統とは一次側、二次側等である。系統も、本設計支援装置の系統マスタに記号で定義されている。
(5)サイズ
サイズとは、配管の断面寸法(呼び径)である。
Here, the connection port information is information defining attributes of each connection port. These attributes are stored in a device master that stores attributes for each device. An example of connection port information is shown below.
(1) Connection position In this design support apparatus, for example, the connection position is specified by relative coordinates (U, V, W) with respect to the origin for each device and stored in the device master. For example, the connection positions with respect to the device 120 are indicated by symbols A1 to E1. In addition, once the device is placed in the facility, the design support apparatus holds the connection position in the coordinate system (X, Y, Z) in the facility.
(2) Direction The direction is the direction in which the fluid in the pipe enters and exits as viewed from the corresponding device, and is also referred to as the flow direction. The flow direction is designated as exit or entry.
(3) Application classification of connection port The application classification of the connection port is an application of the fluid flowing in or out from each connection port of the device. The usage is defined in the usage master of this design support apparatus. As the use, for example, warm water (feed), warm water (return), steam, steam return water, drainage, etc. are designated by symbols.
(4) System The system is the primary side, secondary side, etc. The system is also defined by a symbol in the system master of this design support apparatus.
(5) Size Size is the sectional dimension (nominal diameter) of piping.

本設計支援装置は、画面上で機器の入れ替えが指定されると、入れ替え前の機器と、入れ替え後の機器との間で、配管が接続される接続口を再接続する必要があるか否かを判定する。その場合に、本設計支援装置は、まず、入れ替え前の機器と入れ替え後の機器との間で、接続口情報性の違いを判定し、接続口情報の不整合があるか否かを判定する。   Whether or not it is necessary to reconnect the connection port to which the pipe is connected between the device before replacement and the device after replacement when the replacement of the device is specified on the screen. Determine. In this case, the design support apparatus first determines a difference in connection port information between the device before replacement and the device after replacement, and determines whether there is a mismatch in connection port information. .

接続口の属性が不整合か否かの判定は、例えば、上記接続口情報(2)から(5)に対して行う。判定は、接続口情報(2)から(5)の順に判定し、いずれか1つでも合致しないものがあると、不整合とする。また、機器入れ替え前後で、ともに未設定の項目については、判定対象としない。また、(3)接続口の用途分類の判定で、「送り」と「帰り」の違いは無視する。   The determination as to whether or not the connection port attribute is inconsistent is made, for example, with respect to the connection port information (2) to (5). Judgment is made in the order of connection port information (2) to (5), and if any one does not match, it is regarded as inconsistent. Also, items that are not set before and after device replacement are not determined. Also, (3) in the use classification determination of the connection port, the difference between “feed” and “return” is ignored.

そして、上記接続口情報(2)から(5)に不整合があった場合、本設計支援装置は、図3、図4に示すような画面を表示し、ユーザに、入れ替え前後の接続口の対応関係確認と新たな対応関係の決定とを促す。なお、機器入れ替えをする場合でも、入れ替え前後の機器について、同一種類(例.冷凍機)で同じ型式(例.ターボ式)・能力でメーカが異なる場合や、同一メーカで型式のみが異なる場合(ターボ式をスクリュー式に変更)では、接続口情報が一致する。図3の例では、接続口情報のうち、A1とA2、B1とB2が一致し、それ以外の接続口では、一致しない例を示している。   If there is a mismatch in the connection port information (2) to (5), the design support apparatus displays a screen as shown in FIGS. 3 and 4, and prompts the user of the connection port before and after the replacement. Encourage confirmation of correspondence and determination of new correspondence. Even when equipment is replaced, the equipment before and after replacement may be the same type (eg, refrigeration machine) with the same type (eg, turbo type) / capacity, or the manufacturer may differ only in type ( In the case of changing the turbo type to the screw type), the connection port information matches. In the example of FIG. 3, A1 and A2 and B1 and B2 in the connection port information match, and the other connection ports do not match.

図4に、熱交換器の入れ替えの例で機器の入れ替え前後で、接続位置以外に、接続口情
報が不一致の例を示す。この例では、接続位置C1の蒸気管の接続口、接続口D1の蒸気還水の接続口、および接続口E1の水抜きの接続口が消滅し、新たに接続位置C2に温水(送り)の接続口、接続位置D2に温水(帰り)の接続口が設けられている。この例では、温水供給用の熱媒として蒸気を使用する予定であったものが取り止めとなり、温水によって二次側に温水を供給することになった例である(一次側機器も例えば、蒸気ボイラから温水ボイラに変更される)。熱媒の変更により、熱交換器も適した型式に変更され流体の接続口の仕様が変更されている。また、図4は、例えば、メーカの変更に伴い、当初のA社の機器の入口位置が変更後のB社の機器の出口位置となったように、接続口が反転した例を示している。
FIG. 4 shows an example in which the connection port information is inconsistent in addition to the connection position before and after the device replacement in the example of the heat exchanger replacement. In this example, the connection port of the steam pipe at the connection position C1, the connection port of the steam return water at the connection port D1, and the connection port for draining the connection port E1 disappear, and hot water (feed) is newly supplied to the connection position C2. A connection port for warm water (return) is provided at the connection port and the connection position D2. In this example, what was scheduled to use steam as a heating medium for supplying hot water was canceled, and hot water was supplied to the secondary side by hot water (the primary side equipment is also a steam boiler, for example) To a hot water boiler). By changing the heat medium, the heat exchanger is also changed to a suitable type, and the specifications of the fluid connection port are changed. Moreover, FIG. 4 shows an example in which the connection port is reversed so that, for example, with the change of manufacturer, the entrance position of the device of company A at the beginning becomes the exit position of the device of company B after the change. .

なお、図4の例では、蒸気管接続口(C1,D1)を温水管接続管(C2,D2)に接続する結果となるので、接続の後、ユーザは、別途配管の用途を蒸気管から温水管に変更する。ただし、このような機器入れ替えに連動して、配管属性の用途が接続口の属性に合わせて自動的に変更されるようにしてもよい。   In the example of FIG. 4, since the steam pipe connection port (C1, D1) is connected to the hot water pipe connection pipe (C2, D2), after the connection, the user separately uses the piping from the steam pipe. Change to a hot water tube. However, the usage of the piping attribute may be automatically changed according to the attribute of the connection port in conjunction with such device replacement.

この場合に、接続口情報だけでは、機器入れ替えの前後で対応関係を決定することはできないので、本設計支援装置は、ユーザに接続口間の関連づけを求める。関連づけは、例えば、ポインティングデバイス(例えば、マウス)の操作によって、ポイント指定オブジェクト140、141間を接続することによって行う。ユーザが、ポインティングデバイスで機器入れ替え前のポイント指定オブジェクト140のいずれかをクリックし、続いて、機器入れ替え後のポイント指定オブジェクト141のいずれかをクリックすることで、2つの接続口情報が関連で付けされる。このような接続口情報の関連づけの後、本設計支援装置は、入れ替え後の機器の接続口に、入れ替え前の機器の接続口に接続されていた配管の自動接続を実行する。   In this case, since the correspondence cannot be determined before and after the device replacement only by the connection port information, the design support apparatus requests the user to associate the connection ports. The association is performed, for example, by connecting the point designation objects 140 and 141 by operating a pointing device (for example, a mouse). When the user clicks one of the point designation objects 140 before the device replacement with the pointing device, and then clicks one of the point designation objects 141 after the device replacement, the two connection port information is associated with each other. Is done. After associating such connection port information, the present design support device automatically connects the pipe connected to the connection port of the device before replacement to the connection port of the device after replacement.

すなわち、入れ替え前の接続口に接続される配管の開口を起点P1とし、入れ替え後の接続口を終点P2として、起点P1から終点P2の間で自動接続を実行する。   That is, the automatic connection is executed between the starting point P1 and the ending point P2, with the opening of the pipe connected to the connecting port before replacement as the starting point P1, and the connecting port after replacement as the end point P2.

なお、起点P1から終点P2への距離が短く、わずかにずれている場合で、起点P1が元々直管上にある場合には、起点P1から直管の長さ方向にさかのぼった位置まで起点P1を移動して、接続に必要な距離を確保してもよい。そして、さかのぼった位置までの直管を削除し、新たな配管末端を形成すればよい。   When the distance from the starting point P1 to the ending point P2 is short and slightly shifted, and the starting point P1 is originally on the straight pipe, the starting point P1 extends from the starting point P1 to a position that goes back in the length direction of the straight pipe. May be moved to secure a necessary distance for connection. Then, the straight pipe up to the retroactive position may be deleted to form a new pipe end.

この場合の削除する直管の長さは、例えば、接続のために挿入すべき継手の最小寸法から、設定すればよい。また、例えば、1回当たりの削除量を設定しておき(例えば、10cm)、必要な距離が確保できるまで、段階的に削除し、接続可能か否かを判定する処理を繰り返してもよい。   What is necessary is just to set the length of the straight pipe to delete in this case from the minimum dimension of the joint which should be inserted for a connection, for example. Further, for example, a deletion amount per time may be set (for example, 10 cm), and the process of deleting stepwise and determining whether or not connection is possible may be repeated until a necessary distance can be secured.

直管の一部を削除する場合には、起点P1の配管の延伸方向に変更はない。また、直管の範囲を超えて削除する場合、例えば、90度、45度等の継手を越えて配管を削除する場合には、さかのぼった位置での配管の延伸方向を求め直す必要がある。また、起点P1が、直管以外の部材、例えば、90度、45度等の継手等に位置する場合も、さかのぼった位置での配管の延伸方向を求め直す必要がある。これらの処理については、実施例2で説明する。   When a part of the straight pipe is deleted, there is no change in the extending direction of the pipe at the starting point P1. Further, when deleting beyond the range of the straight pipe, for example, when deleting the pipe beyond the joint of 90 degrees, 45 degrees, etc., it is necessary to recalculate the extending direction of the pipe at the retroactive position. In addition, when the starting point P1 is located on a member other than a straight pipe, for example, a joint of 90 degrees, 45 degrees, or the like, it is necessary to re-determine the extending direction of the pipe at the retroactive position. These processes will be described in the second embodiment.

図5に、機器の配置から配管接続までの制御フローを例示する。この制御フローは、ユーザ操作に応答して実行される。このフローで、SQ1からSQ4は、本実施形態の設計支援装置が前提としている、従来のフローを示している。また、SQ5からSQ9は、本実施形態の設計支援装置にて新たに追加したフローを示している。   FIG. 5 illustrates a control flow from device arrangement to pipe connection. This control flow is executed in response to a user operation. In this flow, SQ1 to SQ4 indicate the conventional flow assumed by the design support apparatus of the present embodiment. SQ5 to SQ9 indicate flows newly added by the design support apparatus of the present embodiment.

まず、本設計支援装置は、配置する機器の指定を受け付ける(SQ1)。機器の指定は、例えば、画面上の機器一覧からの機器の選択操作である。機器の指定を受けると、本設計支援装置は、その機器についての属性情報、例えば、接続口情報を機器マスタから読み出す。接続口情報には、機器内座標系(ローカル座標系、U,V,W)における、機器の外形形状、接続口の位置、座標軸上での方向(ベクトル)、サイズ、用途の情報が含まれる。外形形状は、通常の機械CAD(computer Aided Design)と同様、機器内座標での
直線形状、曲面と平面と組み合わせで定義される。ただし、立体形状、例えば、直方体、所定断面の押し出し(スイープ)形状等を組み合わせて定義することもできる。
First, the design support apparatus receives designation of a device to be arranged (SQ1). The designation of the device is, for example, a device selection operation from a device list on the screen. Upon receiving the designation of the device, the design support apparatus reads attribute information about the device, for example, connection port information from the device master. The connection port information includes information on the external shape of the device, the position of the connection port, the direction (vector) on the coordinate axis, the size, and the use in the in-device coordinate system (local coordinate system, U, V, W). . The external shape is defined by a combination of a linear shape, a curved surface, and a plane in the in-device coordinates, as in a normal machine CAD (computer Aided Design). However, it can also be defined by combining three-dimensional shapes, for example, a rectangular parallelepiped, an extruded (sweep) shape of a predetermined cross section, and the like.

次に、本設計支援装置は、ユーザからの機器の配置位置(配置基準点ともいう)の指定を受け付ける(SQ2)。配置基準点とは、機器の原点を設定すべき設備内の位置をいう。設備内の位置は、作図画面で定義された原点に対して、(X、Y,Z)の座標値が指定される。なお、平面図を示す画面上で、(X,Y)を指定し、Z軸すなわち高さ方向の位置は、他のオペレーションで指定するようにしてもよい。   Next, the design support apparatus accepts designation of an arrangement position (also referred to as an arrangement reference point) of the device from the user (SQ2). The arrangement reference point is a position in the facility where the origin of the device is to be set. For the position in the facility, the coordinate values (X, Y, Z) are designated with respect to the origin defined on the drawing screen. Note that (X, Y) may be designated on the screen showing the plan view, and the Z-axis, that is, the position in the height direction may be designated by another operation.

さらに本設計支援装置は、機器を配置する向きの指定を受け付ける(SQ3)。機器の向きは、機器内の座標軸と、作図画面上の座標軸との関係の指定である。例えば、作図画面上の座標軸X、Yに対して、機器内の座標軸U,Vが対応付けられる。通常、機器は、水平面内に設置されるからである。ただし、座標軸X,Y,Zに対する座標軸U,V,Wの関係を指定できるようにしてもよい。その場合には、機器を傾けて設置する指定が可能になる。以上のように、配置点に、機器の原点が指定され、かつ、機器の配置向きが指示されると、作図画面上の座標軸での接続口の座標と、その接続口に接続される配管の配置方向が確定する。配管の配置方向は、接続口の方向で決まる。必要により、機器の形状が、ソリッドモデル、あるいは、サーフェイスモデルで記述される場合には、ソリッド表面の法線ベクトル方向、あるいは、サーフェイスの法線ベクトル方向としてもよい。   Further, the design support apparatus accepts designation of the direction in which the device is arranged (SQ3). The orientation of the device is a designation of the relationship between the coordinate axes in the device and the coordinate axes on the drawing screen. For example, the coordinate axes U and V in the device are associated with the coordinate axes X and Y on the drawing screen. This is because the equipment is usually installed in a horizontal plane. However, the relationship of the coordinate axes U, V, and W with respect to the coordinate axes X, Y, and Z may be designated. In that case, it is possible to specify the device to be installed at an angle. As described above, when the origin of the device is specified as the placement point and the placement orientation of the device is instructed, the coordinates of the connection port on the coordinate axis on the drawing screen and the piping connected to the connection port The arrangement direction is fixed. The arrangement direction of the piping is determined by the direction of the connection port. If necessary, when the shape of the device is described by a solid model or a surface model, the normal vector direction of the solid surface or the normal vector direction of the surface may be used.

次に、本設計支援装置は、機器のそれぞれの接続口に配管を自動接続する。本実施形態では、ユーザが、配管の起点P1と、配管の終点P2とを指定し、2点間での自動接続を実行する。この自動接続の処理は、機器入れ替え後の自動接続と同様の処理である。そして、機器のすべての接続口が自動接続されると機器の配置が確定する(SQ4)。このようにして、一旦、機器配置が完了する。   Next, this design support apparatus automatically connects a pipe to each connection port of the device. In the present embodiment, the user designates the starting point P1 of the pipe and the end point P2 of the pipe, and executes automatic connection between the two points. This automatic connection process is the same as the automatic connection after device replacement. When all the connection ports of the device are automatically connected, the arrangement of the devices is determined (SQ4). In this way, the device arrangement is once completed.

本設計支援装置では、さらに、機器の入れ替えの指定が可能である(SQ5)。本設計支援装置は、作図画面上で、ポインティングデバイス等を通じて入れ替え対象の機器の指定を受け付ける。さらに、その機器と入れ替えるべき機器の指定を受け付ける。そして、このとき、入れ替えるべき機器の原点を作図画面上の配置点に一致させる。また、機器の向きは、SQ2と同様の手順でユーザから指定を受け付ける。   In this design support apparatus, it is further possible to specify replacement of devices (SQ5). The design support apparatus accepts designation of a device to be exchanged on a drawing screen through a pointing device or the like. Furthermore, the designation of a device to be replaced with that device is accepted. At this time, the origin of the device to be replaced is matched with the arrangement point on the drawing screen. Also, the device orientation is designated by the user in the same procedure as in SQ2.

次に、本設計支援装置は、機器入れ替えの前後で、接続口情報が整合するか否かを判定する(SQ6)。整合しない場合、本設計支援装置は、接続確認ウィンドウ(本発明の対応関係の入力を促す手段)を表示する(SQ7)。接続確認ウィンドウは、図3、あるいは、図4上部に示した画面である。なお、図4の下部は、接続確認ウィンドウでのグラフィクスオブジェクト(ポイント指定オブジェクトという)の概念的なイメージを示している。   Next, this design support apparatus determines whether or not the connection port information is consistent before and after the device replacement (SQ6). If they do not match, the design support apparatus displays a connection confirmation window (means for prompting input of the correspondence relationship of the present invention) (SQ7). The connection confirmation window is the screen shown in the upper part of FIG. 3 or FIG. The lower part of FIG. 4 shows a conceptual image of a graphics object (referred to as a point designation object) in the connection confirmation window.

そして、本設計支援装置は、ユーザによる接続先の指定を受け付ける(SQ8)。接続先の指定は、図4に示したように、機器入れ替え前の接続口を示すポイント指定オブジェクト140と、機器入れ替え後の接続口を示すポイント指定オブジェクト141とを関係付ける指定である。   Then, the design support apparatus accepts designation of the connection destination by the user (SQ8). As shown in FIG. 4, the designation of the connection destination is a designation that associates the point designation object 140 that indicates the connection port before the device replacement with the point designation object 141 that indicates the connection port after the device replacement.

そして、本設計支援装置は、自動配管接続を実行する(SQ9)。   And this design support apparatus performs automatic piping connection (SQ9).


(ハードウェア構成)
図6に、本設計支援装置のハードウェア構成を例示する。この設計支援装置は、例えば、パーソナルコンピュータと、パーソナルコンピュータで実行されるコンピュータプログラムによって実現される。また、この設計支援装置は、複数のパーソナルコンピュータにサービスを提供するサーバ上のプログラムとして実現してもよい。また、本設計支援装置は、複数のコンピュータが連携して機能を提供するコンピュータシステムとして実現してもよい。例えば、1以上のデータベースサーバと、1以上のシミュレータと、1以上のウェブサーバとによって、設計支援装置を実現してもよい。

(Hardware configuration)
FIG. 6 illustrates a hardware configuration of this design support apparatus. This design support apparatus is realized by, for example, a personal computer and a computer program executed on the personal computer. The design support apparatus may be realized as a program on a server that provides services to a plurality of personal computers. The design support apparatus may be realized as a computer system in which a plurality of computers cooperate to provide functions. For example, the design support apparatus may be realized by one or more database servers, one or more simulators, and one or more web servers.

図6は、本設計支援装置を構成するコンピュータの一例である。本設計支援装置は、CPU1と、メモリ2と、各種インターフェース3、5、7、9、11と、これらのインターフェースを通じてCPU1に接続される周辺装置とを含む。図2では、周辺装置の例として、ハードディスク4,入力装置6、表示装置8、ネットワークインターフェース10、および着脱可能記憶媒体駆動装置12が示されている。   FIG. 6 is an example of a computer constituting the design support apparatus. The design support apparatus includes a CPU 1, a memory 2, various interfaces 3, 5, 7, 9, and 11, and peripheral devices connected to the CPU 1 through these interfaces. In FIG. 2, a hard disk 4, an input device 6, a display device 8, a network interface 10, and a removable storage medium driving device 12 are shown as examples of peripheral devices.

CPU1は、メモリ2に展開されたプログラムを実行し、設計支援装置の機能を提供する。メモリ2は、CPU1が実行可能な形式でプログラムを保持する。また、メモリ2は、CPU1が処理するデータを保持する。メモリ2は、DRAM(ダイナミックランダムアクセスメモリ)、ROM(リードオンリーメモリ)等である。ただし、メモリ2として、フラッシュメモリを用いてもよい。   The CPU 1 executes a program developed in the memory 2 and provides a function of the design support apparatus. The memory 2 holds a program in a format that can be executed by the CPU 1. The memory 2 holds data processed by the CPU 1. The memory 2 is a DRAM (Dynamic Random Access Memory), a ROM (Read Only Memory) or the like. However, a flash memory may be used as the memory 2.

ハードディスク駆動装置4は、ハードディスクにアクセスし、CPU1が処理したデータ、CPU1で実行されるプログラム等を記憶する。入力装置6は、例えば、キーボード等の文字入力装置、マウス等のポインティングデバイスなどである。表示装置8は、例えば、液晶ディスプレイ、エレクトロルミネッセンスパネル等である。   The hard disk drive 4 accesses the hard disk and stores data processed by the CPU 1, programs executed by the CPU 1, and the like. The input device 6 is, for example, a character input device such as a keyboard or a pointing device such as a mouse. The display device 8 is, for example, a liquid crystal display, an electroluminescence panel, or the like.

ネットワークインターフェース10は、例えば、LAN(ローカルエリアネットワーク)基板である。着脱可能媒体駆動装置12は、例えば、CD−ROM、DVD、フラッシュメモリカード等の駆動装置である。なお、CPU1で実行されるプログラムは、通常、ネットワークインターフェース10、あるいは、着脱可能記憶媒体駆動装置12を通じて、ハードディスクに保存され、メモリ2に展開される。
(機能ブロック)
図7に、本設計支援装置の機能ブロック図を例示する。図7のように、本設計支援装置の機能ブロックは、表示装置8および入力装置6を制御し、設計支援装置の機能を提供する制御部20によって実現される。制御部20は、例えば、図2に示したCPU1、メモリ2等の構成と、図6のメモリ2に展開され、CPU1で実行されるコンピュータプログラムとによって実現される。このプログラムは、コンピュータが読み取り可能で、コンピュータから着脱可能な記憶媒体に格納し、コンピュータにインストールするようにしてもよい。また、ネットワーク上のサーバからコンピュータにダウンロードし、インストールするようにしてよい。また、プログラム自体は、ネットワーク上のサーバにインストールしておき、プログラムの機能だけをコンピュータを利用するユーザに提供してもよい。
The network interface 10 is, for example, a LAN (local area network) board. The removable medium drive device 12 is a drive device such as a CD-ROM, a DVD, or a flash memory card. Note that the program executed by the CPU 1 is normally stored in the hard disk and expanded in the memory 2 through the network interface 10 or the removable storage medium driving device 12.
(Function block)
FIG. 7 illustrates a functional block diagram of the present design support apparatus. As shown in FIG. 7, the functional blocks of the present design support apparatus are realized by the control unit 20 that controls the display device 8 and the input device 6 and provides the functions of the design support apparatus. The control unit 20 is realized by, for example, the configuration of the CPU 1 and the memory 2 shown in FIG. 2 and a computer program that is expanded in the memory 2 of FIG. This program may be stored in a storage medium readable by a computer and removable from the computer, and installed in the computer. Alternatively, it may be downloaded from a server on the network and installed on a computer. Further, the program itself may be installed on a server on the network, and only the function of the program may be provided to a user who uses the computer.

図7のように、本設計支援装置の制御部20は、表示制御手段21、入力手段22、経路記憶手段23、接続位置算出手段24、経路設定手段25、機器接続位置記憶手段26、設置状態記憶手段35、設備内機器情報記憶手段27、属性比較手段28、機器属性記憶手段29、平面判定手段30、単一目標平面経路設定手段31、複数目標平面経路設定
手段32、第1のレベル間接続手段33、および第2のレベル間接続手段34を有している。
As shown in FIG. 7, the control unit 20 of the present design support apparatus includes a display control unit 21, an input unit 22, a path storage unit 23, a connection position calculation unit 24, a path setting unit 25, a device connection position storage unit 26, and an installation state. Storage means 35, equipment information storage means 27 in equipment, attribute comparison means 28, equipment attribute storage means 29, plane determination means 30, single target plane path setting means 31, multiple target plane path setting means 32, between the first levels Connection means 33 and second level connection means 34 are provided.

このうち、表示制御手段21は、CPU1からの指令にしたがって、CPU1が処理した情報を表示装置8に表示する。また、入力手段22は、入力装置6に対するユーザ操作を検知し、CPU1に伝達する。表示装置8、入力装置6、表示制御手段21、および入力手段22は、例えば、画面上のGUI(グラフィックスユーザインターフェース)部品の表示と、GUI部品に対する操作を検知し、ユーザインターフェースを構成する。   Among these, the display control means 21 displays information processed by the CPU 1 on the display device 8 in accordance with a command from the CPU 1. The input unit 22 detects a user operation on the input device 6 and transmits it to the CPU 1. The display device 8, the input device 6, the display control means 21, and the input means 22 detect, for example, display of GUI (graphics user interface) parts on the screen and operations on the GUI parts, and configure a user interface.

経路記憶手段23は、設備内の配管の経路を記憶する。接続位置算出手段24は、GUIに対する操作によってユーザが設備内の機器を第1の機器から第2の機器に変更したときに第2の機器において配管が接続されるべき接続部の位置座標と接続される配管の配置方向とを算出する。より具体的には、制御部20は、機器内の第1の座標系での接続部の位置座標と接続される配管の配置方向とを機器ごとに記憶する機器接続位置記憶手段26と、設備内の第2の座標系で機器を設置するときの設備内配置点、第1の座標系と前記第2の座標系との相対角度、および機器を設備内配置点に位置付けるときの基準点を記憶する設置状態記憶手段35と、を有している。そして、接続位置算出手段24は設備内配置点に第2の機器の基準点を位置付け、第2の座標系に対して第1の座標系を相対角度で設定したときの第2の機器の接続部の位置座標と接続される配管の配置方向とを算出する。設備内機器情報記憶手段27は、算出された第2の機器の接続部の位置座標と接続される配管の配置方向とを記憶する。そして、経路設定手段25は、算出された第2の機器の接続部の位置に、算出された配置方向で、第1の機器に接続済みであった配管末端を接続する。   The route storage means 23 stores the route of the piping in the facility. The connection position calculation means 24 is connected to the position coordinates of the connection portion to which the pipe should be connected in the second device when the user changes the device in the facility from the first device to the second device by an operation on the GUI. The direction of arrangement of the pipes to be calculated is calculated. More specifically, the control unit 20 includes a device connection position storage unit 26 that stores, for each device, the position coordinates of the connection portion in the first coordinate system in the device and the arrangement direction of the pipe to be connected, and the equipment. In-equipment placement points when equipment is installed in the second coordinate system, relative angles between the first coordinate system and the second coordinate system, and reference points for positioning the equipment at the equipment placement points And installation state storage means 35 for storing. Then, the connection position calculation means 24 positions the reference point of the second device at the arrangement point in the facility, and connects the second device when the first coordinate system is set at a relative angle with respect to the second coordinate system. The position coordinates of the part and the arrangement direction of the pipe to be connected are calculated. The in-facility device information storage means 27 stores the calculated position coordinates of the connection portion of the second device and the arrangement direction of the pipe to be connected. Then, the route setting unit 25 connects the end of the pipe that has been connected to the first device in the calculated arrangement direction to the calculated position of the connection portion of the second device.

また、制御部20は、機器ごとに接続部に接続される配管の用途を含む接続属性情報を記憶する機器属性記憶手段29を備える。そして、属性比較手段28は、第1の機器の接続部と第2の機器の接続部との間で接続属性情報を比較する。そして、制御部20は、接続位置算出手段は、属性比較手段28による比較の結果、第1の機器の接続部と第2の機器の接続部との間で接続属性情報が一致しない場合に、第1の機器の接続部と第2の機器の接続部の間の経路設定のための対応関係の入力を促す。   Moreover, the control part 20 is provided with the apparatus attribute memory | storage means 29 which memorize | stores the connection attribute information including the use of the piping connected to a connection part for every apparatus. And the attribute comparison means 28 compares connection attribute information between the connection part of a 1st apparatus, and the connection part of a 2nd apparatus. Then, the control unit 20 determines that the connection position calculation unit does not match the connection attribute information between the connection unit of the first device and the connection unit of the second device as a result of the comparison by the attribute comparison unit 28. The user is prompted to input a correspondence relationship for setting a route between the connection unit of the first device and the connection unit of the second device.

平面判定手段30は、平行平面判定手段30Aと、ベクトル平面判定手段30Bとを含む。平行平面判定手段30Aは、第1の機器の接続部における配管の配置方向を示す起点ベクトルと第2の機器の接続部における配管の配置方向を示す終点ベクトルとが同一平面上にあるか否か、および起点ベクトルと終点ベクトルとが互いに平行な異なる平面にあるか否かを判定する。また、ベクトル平面判定手段30Bは、起点ベクトルと終点ベクトルの一方が、XY平面、YZ平面、またはZX平面と平行な平面上にあるか、否かを判定する。   The plane determination unit 30 includes a parallel plane determination unit 30A and a vector plane determination unit 30B. The parallel plane determining means 30A determines whether or not the starting point vector indicating the arrangement direction of the pipe in the connection part of the first device and the end point vector indicating the arrangement direction of the pipe in the connection part of the second device are on the same plane. And whether the starting point vector and the ending point vector are on different planes parallel to each other. The vector plane determination unit 30B determines whether one of the start vector and the end vector is on an XY plane, a YZ plane, or a plane parallel to the ZX plane.

そして、起点ベクトルと終点ベクトルとが同一平面上になく、かつ、起点ベクトルと終点ベクトルのうち一方のベクトルが、XY平面、YZ平面、またはZX平面と平行な第1の目標平面上にあるときに、単一目標平面経路設定31は、手段第1の目標平面上にない他方のベクトルの示す接続部から90度継手、45度継手、他方のベクトル方向の直管と90度継手との組み合わせ、または、前記他方のベクトル方向の直管と45度継手との組み合わせによって第1の目標平面に平行な第2の目標平面上の直管に接続する。このとき、第1のレベル間接続手段33は、第2の目標平面の直管から第1の目標平面への経路を設定する。   When the starting point vector and the ending point vector are not on the same plane, and one of the starting point vector and the ending point vector is on the first target plane parallel to the XY plane, the YZ plane, or the ZX plane. In addition, the single target plane path setting 31 is a combination of a 90 degree joint, a 45 degree joint, and a straight pipe in the other vector direction and a 90 degree joint from the connecting portion indicated by the other vector that is not on the first target plane. Alternatively, a straight pipe on a second target plane parallel to the first target plane is connected by a combination of the straight pipe in the other vector direction and a 45-degree joint. At this time, the first inter-level connecting means 33 sets a route from the straight pipe of the second target plane to the first target plane.

また、起点ベクトルと終点ベクトルとが同一平面上になく、かつ、起点ベクトルと終点ベクトルとがいずれもXY平面、YZ平面、またはZX平面と平行な平面上にないときに
、複数目標平面経路設定手段32は、2つの座標軸に平行な第3の目標平面上の経路であって、起点ベクトルの示す接続部から90度継手、45度継手、起点ベクトル方向への直管と90度継手との組み合わせ、または、前記他方のベクトル方向の直管と45度継手との組み合わせによって接続可能な第1の直管の経路を設定する。その設定とともに、複数目標平面経路設定手段32は、2つの座標軸に平行な第4の目標平面上の経路であって、終点ベクトルの示す接続部から90度継手、45度継手、終点ベクトル方向への直管と90度継手との組み合わせ、または、前記他方のベクトル方向の直管と45度継手との組み合わせによって接続可能な第2の直管の経路を設定する。このとき、第2のレベル間接続手段34は、第2の直管から第1の直管への配管の経路を設定する。
(データ構造)
図8から図11に、本設計支援装置が処理する主要なデータの構造を示す。これらのデータ構造で示す情報はメモリ2またはハードディスク上のファイルに、作図に際し確定ボタンが押されるなどして確定の信号を受けたときに格納される。図8は、節点情報ファイルのデータ構造例を示す図である。節点情報ファイルは、配管の経路を記録するファイルである。節点情報ファイルは、節点識別情報と、座標X、座標Y、座標Z、および属性を有する。節点識別情報は、節点を個々に識別する識別情報である。座標X、座標Y、および座標Zは、節点の座標である。また、属性は、節点の属性であり、例えば、接続口、バルブ、45度継手、90度継手、45度の整数倍の角度以外の角度で経路を替える継手(任意角継手という)等が設定される。なお、節点の属性は、節点属性マスタに記号で定義されており、節点情報ファイルの属性には、その定義された記号が設定される。
Multiple target plane paths are set when the starting point vector and the ending point vector are not on the same plane, and neither the starting point vector nor the ending point vector is on the XY plane, YZ plane, or plane parallel to the ZX plane. The means 32 is a path on a third target plane parallel to the two coordinate axes, and includes a 90 degree joint, a 45 degree joint, and a straight pipe and a 90 degree joint in the direction of the origin vector from the connection portion indicated by the origin vector. A path of the first straight pipe that can be connected is set by a combination or a combination of the straight pipe in the other vector direction and a 45-degree joint. Along with the setting, the plurality of target plane path setting means 32 is a path on the fourth target plane parallel to the two coordinate axes, and is directed from the connecting portion indicated by the end point vector to the 90 ° joint, the 45 ° joint, and the end vector direction. A path of a second straight pipe that can be connected is set by a combination of the straight pipe and the 90-degree joint, or a combination of the straight pipe in the other vector direction and the 45-degree joint. At this time, the second inter-level connecting means 34 sets a route for piping from the second straight pipe to the first straight pipe.
(data structure)
8 to 11 show the structure of main data processed by the design support apparatus. Information indicated by these data structures is stored in a file on the memory 2 or the hard disk when a confirmation signal is received, for example, when a confirmation button is pressed during drawing. FIG. 8 is a diagram showing an example of the data structure of the node information file. The node information file is a file for recording a piping route. The node information file has node identification information, coordinates X, coordinates Y, coordinates Z, and attributes. The node identification information is identification information for individually identifying the nodes. Coordinate X, coordinate Y, and coordinate Z are the coordinates of the node. Also, the attribute is an attribute of a node, for example, a connection port, a valve, a 45-degree joint, a 90-degree joint, a joint that changes the path at an angle other than an integer multiple of 45 degrees (referred to as an arbitrary angle joint), etc. Is done. The node attribute is defined by a symbol in the node attribute master, and the defined symbol is set as the attribute of the node information file.

図9に、配管の経路を記述するルート情報のデータ構造例を示す図である。ルート情報は、単一のデータファイルに、ルート情報を格納してもよいし、個々の節点ごとに異なるファイルに情報を格納し、複数のファイルの集合によってルート情報を構成してもよい。ルート情報を記憶するメモリ2、あるいは、ハードディスクのファイルが、経路記憶手段23に相当する。   FIG. 9 is a diagram illustrating a data structure example of route information describing a route of piping. As the route information, the route information may be stored in a single data file, or the information may be stored in a different file for each individual node, and the route information may be configured by a set of a plurality of files. The memory 2 for storing route information or a file on the hard disk corresponds to the route storage means 23.

ルート情報は、節点と節点との接続関係を示すリスト構造200と、先頭節点へのポインタを示す先頭指示情報201とで構成される。先頭指示情報201は、ルート識別情報と、先頭節点へのポインタとを含む。ルート識別情報は、個々の経路をユニークに識別する情報である。   The route information is composed of a list structure 200 indicating the connection relationship between nodes and head instruction information 201 indicating a pointer to the head node. The head instruction information 201 includes route identification information and a pointer to the head node. The route identification information is information that uniquely identifies each route.

先頭節点へのポインタは、先頭の節点の要素情報202を指す情報であり、例えば、先頭節点の情報を有する要素情報202のアドレスである。また、要素情報202は、次の節点へのポインタ、上流へのポインタ、枝分かれ節点へのポインタ、および節点識別情報を含む。   The pointer to the head node is information indicating the element information 202 of the head node, and is, for example, the address of the element information 202 having the information of the head node. The element information 202 includes a pointer to the next node, a pointer to the upstream, a pointer to the branching node, and node identification information.

このうち、次の節点へのポインタは、当該節点に隣接する次の節点の要素情報を指すポインタである。また、上流へのポインタは、リスト構造をさかのぼる方向、すなわち、逆方向へのポインタである。また、枝分かれ節点へのポインタは、当該節点が分岐しているときに、分岐経路の先頭を示すポインタである。また、節点識別情報は、図8の節点情報ファイルで定義された節点の識別情報である。この節点識別情報をキーに節点情報ファイルを検索することで、当該節点の属性を読み出すことができる。   Among these, the pointer to the next node is a pointer indicating element information of the next node adjacent to the node. Further, the upstream pointer is a pointer that goes back in the list structure, that is, in the reverse direction. Further, the pointer to the branching node is a pointer indicating the head of the branch path when the node is branched. The node identification information is node identification information defined in the node information file of FIG. By searching the node information file using the node identification information as a key, the attribute of the node can be read out.

本設計支援装置は、このようなデータ構造で定義される配管のルートに対して、その末端部分で機器の接続口に接続される個所を、入れ替え後の新たな機器の接続口に接続する。   This design support apparatus connects the part connected to the connection port of the device at the end portion of the piping route defined by such a data structure to the connection port of the new device after replacement.

図10に、機器マスタのデータ構造例を示す。機器マスタは、個々の機器ごとにその機器の属性を記録した情報である。機器マスタは、機器固有の情報が登録され、機器が設置
される設置現場、設置建物等によって影響を受ける情報は登録されない。また、機器マスタの情報は、新たな機器の追加にしたがってユーザにより順次登録される。図10は、機器マスタの1レコード例であり、1つの機器についての情報を示している。機器マスタは、機器識別情報、外形形状情報へのポインタ、配置基準点、接続口数、および接続口ごとの情報の並びを有する。
FIG. 10 shows an example of the data structure of the device master. The device master is information in which the attribute of the device is recorded for each device. In the device master, information unique to the device is registered, and information affected by the installation site where the device is installed, the installed building, and the like is not registered. In addition, the information of the device master is sequentially registered by the user as new devices are added. FIG. 10 is an example of one record of the device master and shows information about one device. The device master includes device identification information, a pointer to external shape information, an arrangement reference point, the number of connection ports, and an array of information for each connection port.

機器識別情報は、個々の機器をユニークに識別する情報である。外形形状情報へのポインタは、機器の外形を示す図形情報へのポインタであり、例えば、図形情報を格納したファイルのパス名である。外形形状情報は、例えば、頂点列、平面、曲面等サーフェイスの組み合わせ、ソリッド等で記述される。ソリッドは、立体形状であり、立体表面の法線ベクトルによって、表面の向き、および表面に囲まれた立体内部を識別可能なモデルである。   The device identification information is information that uniquely identifies each device. The pointer to the external shape information is a pointer to graphic information indicating the external shape of the device, for example, a path name of a file storing the graphic information. The external shape information is described by, for example, a combination of surfaces such as a vertex row, a plane, and a curved surface, and a solid. The solid is a three-dimensional shape, and is a model that can identify the direction of the surface and the inside of the solid surrounded by the surface by the normal vector of the three-dimensional surface.

配置基準点は、設備内の座標系で機器を設置する位置(設備内配置点と呼ぶ)に対して、機器を位置付けるべき機器内の位置である。配置基準点が、(0,0)の場合には、機器の原点が、設備内配置点に位置付けられる。したがって、配置基準点は、機器を設備内に位置付けるときのシフト量の符号を反転したものとも考えることができる。このようなシフト量も、機器ごとに機器マスタに設定しておくことで、機器の種類ごとに、一括してシフト量を定義できるようにしている。なお、機器が設置される設置現場、設置建物等内の実際の位置は、別途、設備内の座標系で指定されることになる。   The arrangement reference point is a position in the device where the device is to be positioned with respect to a position where the device is installed in a coordinate system in the facility (referred to as an installation point in the facility). When the placement reference point is (0, 0), the origin of the device is positioned at the placement point in the facility. Therefore, the arrangement reference point can also be considered as an inversion of the sign of the shift amount when the device is positioned in the facility. Such a shift amount is also set in the device master for each device so that the shift amount can be defined collectively for each device type. Note that the actual location in the installation site, installation building, or the like where the equipment is installed is specified separately in the coordinate system in the facility.

接続口数は、当該機器が有する接続口の個数である。接続口ごとの情報の並びは、接続口数だけ、接続口の座標、用途分類、サイズ、系統、方向、および接続点ベクトルを有する。接続口ごとの情報は、接続口の個数だけ列記される。なお、機器マスタの1レコードは、接続口の個数の最大値だけ接続口ごとの情報を格納可能な固定長レコードである。ただし、接続口の個数によってデータ長の異なる可変長レコードで機器マスタを構成してもよい。   The number of connection ports is the number of connection ports of the device. The arrangement of information for each connection port includes the connection port coordinates, the application classification, the size, the system, the direction, and the connection point vector by the number of connection ports. Information for each connection port is listed by the number of connection ports. One record of the device master is a fixed-length record that can store information for each connection port by the maximum number of connection ports. However, the device master may be composed of variable-length records having different data lengths depending on the number of connection ports.

接続口の座標は、機器内の座標系(UVW座標系)での接続口の位置を示す座標値である。用途分類、サイズ、系統、および方向は、図3で説明したものと同様である。接続点ベクトルは、接続口に接続される配管の接続口から配管を見た、配管の配置方向を示す単位ベクトルである。接続点ベクトルは、機器がソリッドモデル、あるいは、サーフェイスモデルで記述される場合には、通常、表面の法線ベクトルと一致する。したがって、接続点ベクトルは省略して、機器の外形の法線ベクトルから配管の配置方向を設定するようにしてもよい。機器マスタを格納するメモリ2、あるいは、ハードディスクのファイルが、機器接続位置記憶手段26、および機器属性記憶手段27に相当する。   The coordinates of the connection port are coordinate values indicating the position of the connection port in the coordinate system (UVW coordinate system) in the device. The application classification, size, system, and direction are the same as those described in FIG. The connection point vector is a unit vector indicating the arrangement direction of the piping when the piping is viewed from the connection port of the piping connected to the connection port. When a device is described by a solid model or a surface model, the connection point vector usually coincides with the surface normal vector. Therefore, the connection point vector may be omitted, and the arrangement direction of the pipes may be set from the normal vector of the external shape of the device. The memory 2 for storing the device master or the hard disk file corresponds to the device connection position storage means 26 and the device attribute storage means 27.

図11に、配置機器情報のデータ構造例を示す。配置機器情報は、それぞれの機器を作図画面中の設備に配置したときに設定される情報を含む。配置機器情報は、配置機器識別情報、機器識別情報、設備内配置点、向き、外形形状情報へのポインタ、接続口数、および接続口ごとの情報の並びを有する。   FIG. 11 shows a data structure example of the arrangement device information. The arrangement device information includes information set when each device is arranged in the facility on the drawing screen. The arrangement device information includes arrangement device identification information, device identification information, in-facility arrangement point, orientation, pointer to external shape information, number of connection ports, and information for each connection port.

このうち、配置機器識別情報は、作図画面内に配置された機器をユニークに識別する情報である。例えば、同一の種類の機器が、複数配置された場合には、それぞれ、配置された機器ごとに配置機器識別情報が付与される。また、機器識別情報は、機器マスタの機器識別情報と同様であり、機器の種類を特定するキーとして使用される。   Among these, the arrangement device identification information is information for uniquely identifying the device arranged in the drawing screen. For example, when a plurality of devices of the same type are arranged, arrangement device identification information is assigned to each arranged device. The device identification information is the same as the device identification information of the device master, and is used as a key for specifying the type of device.

設備内配置点は、機器の配置基準点(図10参照)を位置付けるべき設備の座標系での位置である。また、向きは、機器が、配置されたときに、機器の座標系(UVW)と、図面上の座標系(XYZ)との相互の回転角を示す情報である。したがって、設備内配置点
に機器の配置基準点を設定し、向きが示す回転角を設定することで、機器の位置と向きが確定する。
The in-facility placement point is a position in the coordinate system of the equipment where the equipment placement reference point (see FIG. 10) is to be located. The direction is information indicating a mutual rotation angle between the coordinate system (UVW) of the device and the coordinate system (XYZ) on the drawing when the device is arranged. Therefore, the position and orientation of the equipment are determined by setting the equipment placement reference point as the equipment placement point and setting the rotation angle indicated by the orientation.

配置口数、および接続口ごとの情報の並びは、機器マスタと同様である。しかし、配置機器情報では、接続口の座標は、図面の座標系(X,Y,Z)に変換される。また、接続点ベクトルは、機器マスタの接続点ベクトルを向きにしたがって、回転した情報である。配置機器識別情報を記憶するメモリ2、あるいは、ハードディスクのファイルが、設備内機器情報記憶手段27に相当する。また、設備内配置点と向きとを格納するメモリ2、あるいは、ハードディスクのファイルが、設置状態記憶手段35に相当する。   The arrangement number and the arrangement of information for each connection port are the same as in the device master. However, in the arrangement device information, the coordinates of the connection port are converted into the coordinate system (X, Y, Z) of the drawing. The connection point vector is information obtained by rotating the connection point vector of the device master according to the direction. The memory 2 for storing the arrangement device identification information or the hard disk file corresponds to the in-facility device information storage means 27. Further, the memory 2 for storing the in-facility placement points and orientations, or the hard disk file corresponds to the installation state storage means 35.

なお、図11では、機器情報記憶手段27に相当する要素と、設置状態記憶手段35に相当する要素が、配置機器情報として、単一のレコードに格納されている。しかし、機器情報記憶手段27に相当する要素と、設置状態記憶手段35に相当する要素とをそれぞれ、異なるテーブル、異なるファイルに格納してもよい。その場合には、それぞれのテーブル、あるいはファイルを構成する各レコードに、図11の配置機器識別情報を格納することになる。   In FIG. 11, an element corresponding to the device information storage unit 27 and an element corresponding to the installation state storage unit 35 are stored as arranged device information in a single record. However, the elements corresponding to the device information storage means 27 and the elements corresponding to the installation state storage means 35 may be stored in different tables and different files, respectively. In that case, the arrangement device identification information of FIG. 11 is stored in each table or each record constituting the file.

さらに、図11では、個々の設備内配置点にて、接続口の座標、および接続点ベクトルが、設備内座標系に変換されている。しかし、配置機器情報から、接続口の座標、および接続点ベクトルを省略するようにしてもよい。その場合には、必要が生じるごとに逐一、本設計支援装置が、図10の機器マスタを基に、接続口の座標、および接続点ベクトルを算出するようにすればよい。
(処理フロー)
図12に、本設計支援装置における機器入れ替え時のメイン処理フローを例示する。以下、ここでは、機器に配管が接続された設備の設計図が画面に表示されているものとする。この処理は、ユーザが入力装置6を通じて、機器入れ替えコマンドを入力することで起動される(S1)。ただし、本処理は、例えば、画面上のメニュー、あるいは、ボタン等のグラフィックユーザインターフェース部品(以下、GUI部品という)の選択によっても、起動される。なお、本処理が起動された後に、エスケープキーが入力されると(S2でYESの場合)、本コマンドによる処理は終了する(S3)。
Further, in FIG. 11, the coordinates of the connection port and the connection point vector are converted into the in-facility coordinate system at each in-facility placement point. However, the coordinates of the connection port and the connection point vector may be omitted from the arrangement device information. In that case, the design support apparatus may calculate the coordinates of the connection port and the connection point vector based on the device master shown in FIG.
(Processing flow)
FIG. 12 illustrates a main processing flow at the time of device replacement in this design support apparatus. In the following, it is assumed that a design drawing of equipment in which piping is connected to the device is displayed on the screen. This process is started when the user inputs a device replacement command through the input device 6 (S1). However, this processing is also activated by selecting a menu on the screen or a graphic user interface component (hereinafter referred to as GUI component) such as a button. If an escape key is input after this process is activated (YES in S2), the process according to this command ends (S3).

本処理では、設計支援装置は、ユーザの入力装置6を通じた入れ替え前機器の指定を受け付ける(S4)。入れ替え前機器は、画面上の機器を示すGUI部品を入力装置6で選択することで指定される。この指定によって、本設計支援装置は、機器入れ替え前の機器の種別を認識する。また、本設計支援装置は、機器入れ替え前の配置機器情報(図11参照)を読み出す。以上により、本設計支援装置は、機器入れ替え前の接続口情報を認識する。接続口情報には、接続口の位置座標、接続口での配管の配置方向、および接続口に接続される配管の用途等の属性が含まれる。なお、配管の配置方向を示すベクトルを接続点ベクトルという。   In this process, the design support device accepts designation of the pre-replacement device through the user input device 6 (S4). The pre-replacement device is designated by selecting a GUI component indicating the device on the screen with the input device 6. With this designation, the design support apparatus recognizes the type of the device before the device replacement. In addition, the present design support apparatus reads arrangement device information (see FIG. 11) before device replacement. As described above, the design support apparatus recognizes the connection port information before the device replacement. The connection port information includes attributes such as the position coordinates of the connection port, the arrangement direction of the pipe at the connection port, and the use of the pipe connected to the connection port. A vector indicating the arrangement direction of the pipe is called a connection point vector.

次に、設計支援装置は、ユーザの入力装置6を通じた入れ替え後機器の指定を受け付ける(S5)。入れ替え後機器は、例えば、画面上のメニューのリストから選択される。入れ替え後機器が指定されると、本設計支援装置は、その入れ替え後の機器の情報を機器マスタ(図10参照)から読み出すとともに、その入れ替え後の機器を示すGUI部品を画面上に表示する。入れ替え後機器を示すGUI部品は、ポインティングデバイスの操作で移動可能である。以降、画面上には、入れ替え前の機器と入れ替え後機器の両方が、未確定状態で重複して表示される。入れ替え後の機器の情報には、その機器の接続口の位置座標、接続点ベクトル、および接続口に接続される配管の用途等の属性が含まれる。   Next, the design support device accepts designation of the post-replacement device through the user input device 6 (S5). The device after replacement is selected from, for example, a list of menus on the screen. When the device after replacement is specified, the design support apparatus reads out the information of the device after replacement from the device master (see FIG. 10) and displays a GUI part indicating the device after the replacement on the screen. The GUI component indicating the device after replacement can be moved by operating the pointing device. Thereafter, both the pre-replacement device and the post-replacement device are displayed in duplicate on the screen in an indeterminate state. The information of the device after replacement includes attributes such as the position coordinates of the connection port of the device, the connection point vector, and the use of the pipe connected to the connection port.

次に、設計支援装置は、ユーザの入力装置6を通じた配置点の指定を受け付ける(S6
)。配置基準点は、当該機器を作図画面の座標系の配置点に置く位置である。配置基準点は、例えば、機器内の平面図の座標系(U,V)で指定される。配置基準点の指定が省略されると、機器内の座標系の原点が、配置基準点となる。このとき、さらに、機器を配置する向きの指定も受け付ける。向きは、作図画面の平面図の座標系(X,Y)に対する機器内の座標系(U,V)の回転角である。向きの指定が省略された場合、作図画面の座標系(X,Y)と、機器内の座標系(U,V)とは、向きが一致する。
Next, the design support apparatus accepts designation of an arrangement point through the user input device 6 (S6).
). The placement reference point is a position where the device is placed at a placement point in the coordinate system of the drawing screen. The placement reference point is specified by, for example, a coordinate system (U, V) of a plan view in the device. When the designation of the placement reference point is omitted, the origin of the coordinate system in the device becomes the placement reference point. At this time, the designation of the direction in which the device is arranged is also accepted. The direction is a rotation angle of the coordinate system (U, V) in the device with respect to the coordinate system (X, Y) of the plan view of the drawing screen. When the designation of the orientation is omitted, the orientations of the coordinate system (X, Y) of the drawing screen and the coordinate system (U, V) in the device are the same.

さらに、設計支援装置は、ユーザの入力装置6を通じた配置位置(設備内配置点に相当)の指定を受け付ける(S7)。配置位置は、例えば、作図画面の平面図の座標系(X,Y)の位置である。ただし、配置位置の指定が省略されると入れ替え前の機器の配置位置に、そのまま入れ替え後の機器が配置される。以上の指定によって、平面図上で、入れ替え後の機器の位置と、向きとが確定する。   Furthermore, the design support apparatus accepts designation of an arrangement position (corresponding to an in-facility arrangement point) through the user input device 6 (S7). The arrangement position is, for example, the position of the coordinate system (X, Y) of the plan view of the drawing screen. However, if the designation of the placement position is omitted, the device after the replacement is placed as it is at the device placement position before the replacement. With the above specification, the position and orientation of the device after replacement are determined on the plan view.

次に、本設計支援装置は、入れ替え前機器と底面レベル(Z軸方向の高さ)を合わせる(S8)。これによって、入れ替え後の機器が配置される3次元空間での位置および向きが確定する。さらに、それぞれの接続口の位置座標、および、その位置座標での接続点ベクトルが確定する。接続点ベクトルは、機器内の座標系(U,V)での接続口の接続点ベクトルを配置空間内の座標系(X,Y,Z)に変換したものである。なお、接続点ベクトルは、機器の外形を記述するソリッドモデル、あるいは、サーフェイスモデルの法線ベクトルから求めてもよい。   Next, the present design support device matches the device before replacement with the bottom surface level (the height in the Z-axis direction) (S8). As a result, the position and orientation in the three-dimensional space where the replaced device is arranged are determined. Further, the position coordinates of each connection port and the connection point vector at the position coordinates are determined. The connection point vector is obtained by converting the connection point vector of the connection port in the coordinate system (U, V) in the device into the coordinate system (X, Y, Z) in the arrangement space. The connection point vector may be obtained from a solid model describing the external shape of the device or a normal vector of the surface model.

次に、本設計支援装置は、機器入れ替え前後の接続口情報を比較する(S9)。そして、本設計支援装置は、機器入れ替え前後の接続口情報がすべて整合するか否かを判定する(S10)。この処理を実行するCPU1が、属性比較手段に相当する。   Next, the design support apparatus compares the connection port information before and after the device replacement (S9). And this design support apparatus determines whether all the connection port information before and behind apparatus replacement corresponds (S10). The CPU 1 that executes this process corresponds to attribute comparison means.

そして、接続口情報のうち、1つでも整合しないものがあると、本設計支援装置は、配管接続設定ダイアログウィンドウ(図3、図4)を表示する(S12)。そして、機器入れ替え前後の接続口の対応関係の確認、設定を受け付ける(S13)。この設定によって、機器入れ替え前の接続口情報と、機器入れ替え前の接続口情報との対応関係一覧表を作成し、メモリに保存する。これにより、機器入れ替え前後の接続口の関係、および入れ替え後の接続口の情報が取得される。対応関係一覧表には、図3、あるいは図4で示したように、それぞれの接続口の用途分類、サイズ、系統、方向、および接続点ベクトルが含まれる。   If any one of the connection port information does not match, the design support apparatus displays a pipe connection setting dialog window (FIGS. 3 and 4) (S12). And the confirmation and setting of the correspondence of the connection port before and after apparatus replacement are received (S13). With this setting, a correspondence list between the connection port information before the device replacement and the connection port information before the device replacement is created and stored in the memory. Thereby, the relationship between the connection ports before and after the device replacement and the information on the connection ports after the replacement are acquired. As shown in FIG. 3 or FIG. 4, the correspondence list includes the application classification, size, system, direction, and connection point vector of each connection port.

ただし、本実施形態では、設計支援装置は、接続口情報がすべて整合する場合でも、ユーザの設定によって、配管接続設定ダイアログウィンドウの表示設定がなされているか否かを確認する(S11)。装置のシステムパラメータとして、配管接続設定ダイアログウィンドウの表示設定がなされていると、本設計支援装置は、配管接続設定ダイアログウィンドウを表示し、S12の処理に制御を進める。   However, in this embodiment, the design support apparatus checks whether or not the display setting of the pipe connection setting dialog window is set by the user setting even when all the connection port information matches (S11). If the display setting of the pipe connection setting dialog window is set as the system parameter of the apparatus, the present design support apparatus displays the pipe connection setting dialog window and advances the control to the process of S12.

そして、S11の判定で、表示設定がなされていないか、または、S13の後に、確認OKのボタンが押下されると(S14でYESの場合)、本設計支援装置は、機器入れ替え後に配管をつなぎ直す処理を実行する(S15)。その後、入れ替え前の機器に関する配置機器情報(図11)および画面上の入れ替え前の機器の外形形状を削除する(S16)。そして、入れ替え後の機器の配置機器情報を保存し、外形形状を作図画面に表示する。   If the display setting is not made in the determination of S11, or if the confirmation OK button is pressed after S13 (YES in S14), the design support apparatus connects the pipes after replacing the devices. The correction process is executed (S15). Thereafter, the arrangement device information (FIG. 11) regarding the device before replacement and the external shape of the device before replacement on the screen are deleted (S16). And the arrangement | positioning apparatus information of the apparatus after replacement | exchange is preserve | saved and an external shape is displayed on a drawing screen.

図13に、入れ替え後の機器に配管をつなぎ直す処理(図12のS15)の詳細を例示する。この処理を実行するCPU1が、経路設定手段25に相当する。この処理では、本設計支援装置は、機器入れ替え前の接続口と機器入れ替え後の接続口との対応関係一覧(
図12のS13で作成したもの)から、1つのレコードを読み出す(S151)。1つのレコードには、機器入れ替え前の接続口情報と機器入れ替え前の接続口情報が一対記録されている。
FIG. 13 illustrates details of the process of reconnecting the pipe to the replaced device (S15 in FIG. 12). The CPU 1 that executes this process corresponds to the route setting means 25. In this process, the design support apparatus lists the correspondence relationship between the connection port before the device replacement and the connection port after the device replacement (
One record is read out (created in S13 of FIG. 12) (S151). In one record, a pair of connection port information before device replacement and connection port information before device replacement are recorded.

そして、情報処理装置は、そのレコードの接続口情報について、位置の座標および接続点ベクトルを比較する(S152)。そして、位置の座標および接続点ベクトルのいずれかに変更があった場合(S153でYESの場合)、入れ替え前の機器の接続口に接続される配管の開口位置を起点P1、その開口で接続点ベクトルを起点ベクトルV1とし、入れ替え後の機器の接続口の位置を終点P2、その接続点ベクトルを終点ベクトルV2とし、「配管のつなぎ直し処理」を実行する(S154)。ただし、本実施形態では、起点ベクトルV1および終点ベクトルV2は、ともに起点P1、終点P2から配管方向への向きを正とする。   Then, the information processing apparatus compares the position coordinates and the connection point vectors with respect to the connection port information of the record (S152). If there is a change in either the position coordinates or the connection point vector (YES in S153), the opening position of the pipe connected to the connection port of the device before the replacement is the starting point P1, and the connection point is the opening. The vector is set as the starting point vector V1, the position of the connection port of the replaced device is set as the end point P2, the connecting point vector is set as the end point vector V2, and the “piping reconnection process” is executed (S154). However, in this embodiment, both the starting point vector V1 and the ending point vector V2 are positive in the direction from the starting point P1 and the ending point P2 to the piping direction.

そして、本設計支援装置は、すべての接続口について、処理を終了したか否かを判定する。すべての接続口について処理を終了していない場合、本設計支援装置は、制御をS151に戻す。一方、すべての接続口について、処理を終了したか否かを判定する。すべての接続口について処理を終了すると、本設計支援装置は、入れ替え機器に配管をつなぎ直す処理を終了する。   And this design support apparatus determines whether the process was complete | finished about all the connection ports. If the process has not been completed for all the connection ports, the design support apparatus returns the control to S151. On the other hand, it is determined whether or not the processing has been completed for all connection ports. When the process is finished for all the connection ports, the design support apparatus finishes the process of reconnecting the piping to the replacement device.

図14に、配管つなぎ替え処理(図13のS154)で実行される処理の詳細を例示する。この処理は、例えば、コンピュータのサブプログラムとして実現される。このサブプログラムは、起点P1、起点ベクトルV1、終点P2、および終点ベクトルV2を引き渡され、起点P1から終点P2との間を接続する管路を形成する。   FIG. 14 illustrates details of the process executed in the pipe connection change process (S154 in FIG. 13). This process is realized, for example, as a computer subprogram. This subprogram is handed over the start point P1, the start point vector V1, the end point P2, and the end point vector V2, and forms a pipe line connecting the start point P1 and the end point P2.

このサブプログラムを実行する本設計支援装置は、まず、起点ベクトルV1と終点ベクトルV2とが同一平面上にあるか否かを判定する(M1)。2つのベクトルが同一平面上にあるか否かは、それぞれのベクトルを含む2つの直線の方程式を設定し、2つの直線が平行であるか、平行でない場合に交点を有するか否かで判定すればよい。   The design support apparatus that executes this subprogram first determines whether the starting point vector V1 and the ending point vector V2 are on the same plane (M1). Whether or not two vectors are on the same plane is determined by setting an equation of two straight lines including the respective vectors and determining whether the two straight lines are parallel or have an intersection when they are not parallel. That's fine.

起点ベクトルV1と終点ベクトルV2とが同一平面上にある場合には、本設計支援装置は、共有平面上での二次元処理を実行する(M2)。   When the starting point vector V1 and the ending point vector V2 are on the same plane, the design support apparatus executes a two-dimensional process on the common plane (M2).

また、起点ベクトルV1と終点ベクトルV2とが同一平面上にない場合には、本設計支援装置は、基点ベクトルV1と終点ベクトルV2とは、互いに段差のあるXY平面、YZ平面、およびZX平面のいずれかに平行な2つの平面上にあるか否かを判定する(M1A)。起点ベクトルV1と終点ベクトルV2とが同一平面上にない場合には、本設計支援装置は、基点ベクトルV1と終点ベクトルV2とは、互いに段差のある平行な2つの平面上にある場合、本設計支援装置は、2つの平面を接続し、それぞれの水平面内での二次元処理を実行する(M2A)。   When the starting point vector V1 and the ending point vector V2 are not on the same plane, the design support apparatus determines that the base point vector V1 and the ending point vector V2 are different from each other in the XY plane, the YZ plane, and the ZX plane. It is determined whether or not they are on two planes parallel to either one (M1A). When the starting point vector V1 and the ending point vector V2 are not on the same plane, the present design support apparatus, when the base point vector V1 and the ending point vector V2 are on two parallel planes having a step difference from each other, The support device connects the two planes and executes a two-dimensional process in each horizontal plane (M2A).

例えば、起点ベクトルV1と終点ベクトルV2とが、互いに段差を有する2つの水平面上(XY平面に平行な平面上)にある場合には、縦管を用いて、2つの水平面を接続することにより、基本的には、管路がすべて1つの平面上にある場合の処理に帰着できる。例えば、起点P1から90度継手、45度継手、直管と90度継手との組み合わせ、または、直管と45度継手との組み合わせによって、縦管に接続すればよい。そして、縦管を終点ベクトルP2のある平面にまで延伸し、90度継手または45度継手によって、終点ベクトルP2のある平面上の配管に接続すればよい。起点ベクトルV1と終点ベクトルV2とが、YZ平面、あるいは、ZX平面に平行な2つの平面上にある場合も同様である。   For example, when the starting point vector V1 and the ending point vector V2 are on two horizontal planes having a level difference (on a plane parallel to the XY plane), by connecting the two horizontal planes using a vertical pipe, Basically, it can be reduced to processing when all the pipes are on one plane. For example, what is necessary is just to connect to a vertical pipe from the starting point P1 by the combination of a 90 degree joint, a 45 degree joint, a straight pipe and a 90 degree joint, or a combination of a straight pipe and a 45 degree joint. Then, the vertical pipe may be extended to a plane having the end point vector P2 and connected to the pipe on the plane having the end point vector P2 by a 90 degree joint or a 45 degree joint. The same applies when the starting point vector V1 and the ending point vector V2 are on two planes parallel to the YZ plane or the ZX plane.

この場合に、起点P1からではなく、終点P2から90度継手、45度継手、直管と9
0度継手との組み合わせ、または、直管と45度継手との組み合わせによって、縦管に接続してもよい。そして、縦管を終点ベクトルP2のある平面にまで延伸し、90度継手または45度継手によって、終点ベクトルP2のある平面上の配管に接続すればよい。
In this case, not from the starting point P1, but from the end point P2, 90 degree joint, 45 degree joint, straight pipe and 9
You may connect to a vertical pipe by the combination with a 0 degree joint, or the combination of a straight pipe and a 45 degree joint. Then, the vertical pipe may be extended to a plane having the end point vector P2 and connected to the pipe on the plane having the end point vector P2 by a 90 degree joint or a 45 degree joint.

このように、縦管を設けることで、始点P1(および起点ベクトルV1)のある平面上での始点から縦管までの管路のつなぎ直しと、終点P2(および終点ベクトルV2)のある平面上での、縦管から終点P2までの管路のつなぎ直しを実行すること、段差のある管路においても、水平面上の処理にて、管路のつなぎ直しを実行できる。   In this way, by providing a vertical pipe, reconnecting the pipe line from the start point to the vertical pipe on the plane with the start point P1 (and the start vector V1) and on the plane with the end point P2 (and the end point vector V2) In this case, the reconnection of the pipes from the vertical pipe to the end point P2 can be executed, and the reconnection of the pipes can be executed by the processing on the horizontal plane even in a pipe having a step.

次に、本設計支援装置は、起点ベクトルV1と終点ベクトルV2の一方は、X、YまたはZ軸に平行か否かを判定する(M3)。これは、起点ベクトルV1と終点ベクトルV2のいずれかのX、Y、Z成分のいずれかが、X、Y、Z成分のいずれかだけを持つかどうか、すなわち、2つの軸方向の成分が0か否かを判定する処理である。   Next, the design support apparatus determines whether one of the start vector V1 and the end vector V2 is parallel to the X, Y, or Z axis (M3). This is because whether any of the X, Y, and Z components of the starting vector V1 and the ending vector V2 has only one of the X, Y, and Z components, that is, the components in the two axial directions are 0. This is a process for determining whether or not.

そして、起点ベクトルV1と終点ベクトルV2の一方が、X、YまたはZ軸に平行な場合、本設計支援装置は、座標軸に平行なベクトルを含む処理を実行する(M4)。また、起点ベクトルV1と終点ベクトルV2のいずれもが、X、YまたはZ軸上に平行でない場合、本設計支援装置は、起点ベクトルV1と終点ベクトルV2の一方が、XY、YZ、およびZX平面のいずれかに平行な平面の上にあるか否かを判定する(M5)。これは、起点ベクトルV1と終点ベクトルV2のいずれかのX、Y、Z成分のいずれかが0であるか否かを判定する処理である。M1、M3、およびM5の判定を実行するCPU1が、平面判定手段30に相当する。   When one of the start vector V1 and the end vector V2 is parallel to the X, Y, or Z axis, the design support apparatus executes processing including a vector parallel to the coordinate axis (M4). In addition, when neither the starting point vector V1 nor the ending point vector V2 is parallel to the X, Y, or Z axis, the design support apparatus determines that one of the starting point vector V1 and the ending point vector V2 is an XY, YZ, or ZX plane. It is determined whether or not it is on a plane parallel to any one of (M5). This is a process for determining whether any of the X, Y, and Z components of the starting point vector V1 and the ending point vector V2 is zero. The CPU 1 that executes the determination of M1, M3, and M5 corresponds to the plane determination unit 30.

そして、起点ベクトルV1と終点ベクトルV2の一方が、XY、YZ、およびZX平面のいずれかに平行な平面の上にある場合、本設計支援装置は、XY、YZ、およびZX平面に平行な平面上のベクトルを含む処理を実行する(M6)。また、起点ベクトルV1と終点ベクトルV2の両方が、XY、YZ、およびZX平面のいずれにも平行でないとき、本設計支援装置は、2つのベクトルがXY、YZ、およびZX平面のいずれにも平行でない場合の処理を実行する(M7)。   When one of the starting point vector V1 and the ending point vector V2 is on a plane parallel to any of the XY, YZ, and ZX planes, the design support apparatus is a plane parallel to the XY, YZ, and ZX planes. A process including the above vector is executed (M6). In addition, when both the starting vector V1 and the ending vector V2 are not parallel to any of the XY, YZ, and ZX planes, the present design support apparatus has the two vectors parallel to any of the XY, YZ, and ZX planes. If not, the process is executed (M7).

図15に、共有平面上での二次元処理(図14のM2)の処理を例示する。この処理では、本設計支援装置は、まず、起点ベクトルV1と終点ベクトルV2とが平行かつ対向しているか否かを判定する(M21)。対向しているとは、ベクトルの向きが逆であることをいう。   FIG. 15 illustrates processing of two-dimensional processing (M2 in FIG. 14) on the shared plane. In this process, the design support apparatus first determines whether or not the starting point vector V1 and the ending point vector V2 are parallel and opposed (M21). Opposing means that the direction of the vector is opposite.

(A)2つのベクトルが平行かつ対向している場合(行き違いを除外);
図16に、起点ベクトルV1と終点ベクトルV2とが平行かつ対向している例を示す。2つのベクトルが平行か否かは、2つのベクトルの内積で判定できる。また、平行な2つのベクトルが対向しているか否かは、2つのベクトルに対して、それぞれ長さ1の単位ベクトルを求め、2つの単位ベクトルの加算結果がキャンセルして0(または0に近い許容値ε以下の値になるか)、2つの単位ベクトルの加算結果が単位ベクトルの2倍の大きさのベクトルに近づくか、によって判定すればよい。なお、ここでは、起点ベクトルV1と終点ベクトルV2とが行き違いの場合(図22参照)を除外する。行き違いの状態にあるか、否かの判定方法は、(B)にて説明する。
(A) When two vectors are parallel and facing each other (excluding a difference);
FIG. 16 shows an example in which the starting point vector V1 and the ending point vector V2 are parallel and face each other. Whether or not two vectors are parallel can be determined by the inner product of the two vectors. Further, whether two parallel vectors are opposed to each other is determined by obtaining a unit vector of length 1 for each of the two vectors and canceling the addition result of the two unit vectors to 0 (or close to 0). Whether the value is equal to or smaller than the allowable value ε may be determined based on whether the addition result of the two unit vectors approaches a vector twice as large as the unit vector. Here, the case where the starting point vector V1 and the ending point vector V2 are different from each other (see FIG. 22) is excluded. A method for determining whether or not the vehicle is in a wrong state will be described in (B).

今、図16に示すように、起点P1を通り、基点ベクトルV1に平行な直線L1と、終点P2を通り、終点ベクトルV2に平行な直線との距離をΔD1とする。距離ΔD1は、起点P1を通り、起点ベクトルV1を含む直線が、終点P2を含む終点ベクトルV2に垂直な平面PLN2(基点ベクトルV1との直交面でもある)と交わる交点P3を求めると、終点P2と交点P3との距離ΔD1として算出できる。ただし、より一般的には、一方
の直線L2に垂直な平面PLN2と、他方の直線L1との交点から、一方の直線L2に引いた垂線の長さとして求めることができる。
Now, as shown in FIG. 16, the distance between a straight line L1 passing through the starting point P1 and parallel to the base point vector V1 and a straight line passing through the end point P2 and parallel to the end point vector V2 is ΔD1. The distance ΔD1 is obtained by calculating an intersection P3 where a straight line passing through the starting point P1 and a straight line including the starting point vector V1 intersects a plane PLN2 perpendicular to the ending point vector V2 including the ending point P2 (also a plane orthogonal to the base point vector V1). And a distance ΔD1 between the point P3 and the intersection P3. However, more generally, it can be obtained as the length of the perpendicular drawn to one straight line L2 from the intersection of the plane PLN2 perpendicular to one straight line L2 and the other straight line L1.

また、起点P1を通り、起点ベクトルV1に垂直な平面PLN1と、起点P2を通り、起点ベクトルV2に垂直な平面PLN2との距離をΔD2とする。   A distance between a plane PLN1 passing through the starting point P1 and perpendicular to the starting point vector V1 and a plane PLN2 passing through the starting point P2 and perpendicular to the starting point vector V2 is ΔD2.

距離ΔD2は、起点P1を通り、起点ベクトルV1を含む直線が、終点P2を含む終点ベクトルV2に垂直な平面と交差する交点P3を求めると、起点P1から交点P3までの距離として求めることができる。ただし、逆に、終点P2を通り、終点ベクトルV2を含む直線が、起点P1を通り起点ベクトルV1に垂直な平面と交差する点と終点P2とから距離ΔD2を求めてもよい。   The distance ΔD2 can be obtained as the distance from the start point P1 to the intersection point P3 when the intersection point P3 passing through the start point P1 and the straight line including the start point vector V1 intersects the plane perpendicular to the end point vector V2 including the end point P2 is obtained. . However, conversely, the distance ΔD2 may be obtained from the end point P2 and the point passing through the end point P2 and the straight line including the end point vector V2 intersecting the plane perpendicular to the start point vector V1.

以下、この距離ΔD1、ΔD2によって、起点P1と終点P2とを以下のように分類する。)
起点ベクトルV1と終点ベクトルV2とが平行かつ対向している場合(M21でYESの場合)、本設計支援装置は、対向ベクトル処理を実行する(M22)。対向ベクトル処理は、起点P1と起点P2との位置関係、および起点ベクトルV1と終点ベクトルV2と位置の関係を分類することで処理、例えば継手による接続の描画がされる。
(1)距離ΔD1=0または距離D1<所定の許容値ε;
これは、起点P1からの起点ベクトルV1と終点P2からの終点ベクトルV2とが、同一直線上にある場合である。この場合には、起点P1と終点P2とを直管で接続する。図17に、起点P1と、終点P2とを直管で接続する例を示す。
(2)許容値ε<距離ΔD1<L45RMIN;
L45RMINは、2つの平行な配管を45度継手で接続するための最低限必要な、配管に垂直な方向の距離である。L45RMINは、45度継手の配管に垂直は方向の長さと、45度継手間の直管の最低長さLMINから定まる値であり、継手の製造上の形状特性で決定されるカタログ値である。この場合に、接続すべき開口と開口との間の接続点ベクトル(起点ベクトルV1、終点ベクトルV2)に平行な方向の距離によって以下のように、さらに場合分けする。
(2−1)LAPMIN<距離ΔD2;
LAPMINは、互いに対向する配管同士を任意角継手で接続するために必要な配管に平行な方向の最低限の距離である。LAPMINは、継手の配管に平行な方向の長さと、継手間の直管の最低長さLMINから定まる値であり、継手の製造上の形状特性で決定されるカタログ値である。
Hereinafter, the starting point P1 and the ending point P2 are classified as follows based on the distances ΔD1 and ΔD2. )
When the starting point vector V1 and the ending point vector V2 are parallel and face each other (in the case of YES in M21), the design support apparatus executes the facing vector process (M22). The opposing vector processing is performed by classifying the positional relationship between the starting point P1 and the starting point P2 and the positional relationship between the starting point vector V1 and the ending point vector V2, for example, drawing of connections by joints.
(1) Distance ΔD1 = 0 or distance D1 <predetermined allowable value ε;
This is a case where the starting point vector V1 from the starting point P1 and the ending point vector V2 from the ending point P2 are on the same straight line. In this case, the starting point P1 and the end point P2 are connected by a straight pipe. FIG. 17 shows an example in which the start point P1 and the end point P2 are connected by a straight pipe.
(2) Allowable value ε <distance ΔD1 <L45RMIN;
L45RMIN is the minimum distance required to connect two parallel pipes with a 45 degree joint in a direction perpendicular to the pipes. L45RMIN is a value determined from the length in the direction perpendicular to the piping of the 45-degree joint and the minimum length LMIN of the straight pipe between the 45-degree joints, and is a catalog value determined by the shape characteristics in the manufacture of the joint. In this case, the case is further divided as follows according to the distance in the direction parallel to the connection point vector (start point vector V1, end point vector V2) between the openings to be connected.
(2-1) LAPMIN <distance ΔD2;
LAPMIN is a minimum distance in a direction parallel to a pipe necessary for connecting pipes facing each other with an arbitrary angle joint. LAPMIN is a value determined from the length in the direction parallel to the pipe of the joint and the minimum length LMIN of the straight pipe between the joints, and is a catalog value determined by the shape characteristics of the joint.

この条件を満足する場合には、起点P1と終点P2とを任意角継手で接続する。図18に、任意角継手で配管を接続する例を示す。この場合、起点P1と終点P2との距離に応じて、直管が挿入されることになる。
(2−2)距離ΔD2<LAPMIN;
この場合には、任意角継手を起点P1と終点P2との間に配置できないため、90度継手を複数組み合わせて、迂回路を形成する。図19に、迂回路を形成して、起点P1と終点P2とを接続する例を示す。ここでは、起点P1、直管1、90度継手、直管2、90度継手、直管3、90度継手、直管4、90度継手、終点P2によって、迂回路が形成される。これによって、直管1によって、起点P1の位置がP11まで移動されることになる。なお、起点P1を含む配管PIPE1または終点P2を含む配管PIPE2と、迂回路とが干渉する場合、そのまま干渉が生じる状態で維持してもよいが、配管PIPE1の中心軸および配管PIPE2の中心軸を中心に、迂回路を揺動した位置に移動した上で直管2および直管4の長さを調整すればよい。すなわち、直管3を紙面に垂直な上下方向にシフトし、直管2および直管4を紙面に斜め方向にして接続すればよい。
If this condition is satisfied, the starting point P1 and the ending point P2 are connected by an arbitrary angle joint. FIG. 18 shows an example in which piping is connected by an arbitrary angle joint. In this case, a straight pipe is inserted according to the distance between the start point P1 and the end point P2.
(2-2) Distance ΔD2 <LAPMIN;
In this case, since an arbitrary angle joint cannot be disposed between the starting point P1 and the end point P2, a plurality of 90-degree joints are combined to form a detour. FIG. 19 shows an example in which a detour is formed and the start point P1 and the end point P2 are connected. Here, a detour is formed by the starting point P1, straight pipe 1, 90-degree joint, straight pipe 2, 90-degree joint, straight pipe 3, 90-degree joint, straight pipe 4, 90-degree joint, and end point P2. As a result, the position of the starting point P1 is moved to P11 by the straight pipe 1. Note that when the pipe PIPE1 including the starting point P1 or the pipe PIPE2 including the end point P2 interferes with the detour, the pipe PIPE1 and the pipe PIPE2 may have the central axes of the pipe PIPE1 and the pipe PIPE2. The lengths of the straight pipe 2 and the straight pipe 4 may be adjusted after moving to a position where the detour is swung in the center. That is, the straight pipe 3 is shifted in the vertical direction perpendicular to the paper surface, and the straight pipe 2 and the straight pipe 4 are connected to the paper surface in an oblique direction.

迂回路が形成された個所は、いずれ配管をつなぎ直すことになる場合も多いと想定されるが、システム上でこのような管路が形成されることで、管路が輻輳していることが操作者の目を引き、つなぎ忘れを防止できる。すなわち、形成された迂回路の表示が、接続し直しのガイダンスとなる。
(3)L45RMIN<距離ΔD1<L90RMIN;
この場合も、接続すべき開口と開口との間の接続点ベクトル(起点ベクトルV1、終点ベクトルV2)に平行な方向の距離によって以下のように、さらに場合分けする。なお、L90RMINは、2つの平行な配管を90度継手で接続するための最低限必要な、配管同士の距離である。L90RMINは、90度継手の配管に垂直な方向の長さと、90度継手間の直管の最低長さLMINから定まる値であり、継手の製造上の形状特性で決定されるカタログ値である。
(3−1)L45PMIN<距離ΔD2;
L45PMINは、対向する配管同士、平行な配管同士を45度継手で接続するために必要な配管に平行な方向の最低限の距離である。L45PMINは、継手の配管に平行な方向の長さと、継手間の直管の最低長さLMINから定まる値であり、継手の製造上の形状特性で決定されるカタログ値である。
It is assumed that the place where the detour is formed often reconnects the pipe, but the pipe is congested due to the formation of such a pipe on the system. The operator's eyes can be caught, and forgetting to connect can be prevented. That is, the display of the formed detour is guidance for reconnection.
(3) L45RMIN <distance ΔD1 <L90RMIN;
Also in this case, the case is further divided as follows according to the distance in the direction parallel to the connection point vector (start point vector V1, end point vector V2) between the openings to be connected. Note that L90RMIN is the minimum distance between pipes for connecting two parallel pipes with a 90-degree joint. L90RMIN is a value determined from the length in the direction perpendicular to the pipe of the 90-degree joint and the minimum length LMIN of the straight pipe between the 90-degree joints, and is a catalog value determined by the shape characteristics of the joint.
(3-1) L45PMIN <distance ΔD2;
L45PMIN is the minimum distance in the direction parallel to the pipes necessary to connect the opposing pipes and the parallel pipes with a 45 degree joint. L45PMIN is a value determined from the length in the direction parallel to the pipe of the joint and the minimum length LMIN of the straight pipe between the joints, and is a catalog value determined by the shape characteristics in the manufacture of the joint.

この条件を満足する場合には、起点P1と終点P2とを45度継手で接続する。図20に、45度継手で配管を接続する例を示す。この場合、起点P1と終点P2との距離に応じて、直管が挿入されることになる。
(3−2)距離ΔD2<L45PMIN;
この場合には、45度継手を起点P1と終点P2との間に配置できないため、90度継手を複数組み合わせて、迂回路を形成する。迂回路の構成は、図19の場合と同様である。
(4)L90RMIN<距離ΔD1;
この場合も、接続すべき開口と開口との間の接続点ベクトル方向の距離によって以下のように場合分けする。
(4−1)L90PMIN<距離ΔD2;
L90PMINは、互いに対向する配管同士、平行な配管同士を90度継手で接続するために必要な配管に平行な方向の最低限の距離である。
If this condition is satisfied, the starting point P1 and the ending point P2 are connected by a 45 degree joint. FIG. 20 shows an example in which piping is connected by a 45 degree joint. In this case, a straight pipe is inserted according to the distance between the start point P1 and the end point P2.
(3-2) Distance ΔD2 <L45PMIN;
In this case, since the 45 degree joint cannot be arranged between the starting point P1 and the end point P2, a plurality of 90 degree joints are combined to form a detour. The configuration of the detour is the same as in FIG.
(4) L90RMIN <distance ΔD1;
Also in this case, the case is divided as follows according to the distance in the direction of the connection point vector between the openings to be connected.
(4-1) L90PMIN <distance ΔD2;
L90PMIN is the minimum distance in the direction parallel to the pipes necessary to connect pipes facing each other and parallel pipes with a 90-degree joint.

この条件を満足する場合には、起点P1と終点P2とを90度継手で接続する。図21に、90度継手で配管を接続する例を示す。
(4−2)距離ΔD2<L90PMIN;
この場合には、90度継手を起点P1と終点P2との間に配置できないため、次に示す起点ベクトルV1と終点ベクトルV2とが平行かつ対向していない場合(P21でNOの場合)の処理と同様の処理を実行する。
When this condition is satisfied, the starting point P1 and the ending point P2 are connected by a 90-degree joint. FIG. 21 shows an example in which piping is connected by a 90-degree joint.
(4-2) Distance ΔD2 <L90PMIN;
In this case, since the 90-degree joint cannot be disposed between the starting point P1 and the ending point P2, the following processing is performed when the starting point vector V1 and the ending point vector V2 shown below are parallel and not opposed (NO in P21). The same processing is executed.

なお、以上の分類では、許容値ε=<L45RMIN=<L90RMINの場合を例として説明した。例えば、L90RMIN<L45RMINの場合には、45度継手を使用せず、90度継手を使用する条件だけを考慮すればよい。すなわち、(2)の判定で、90度継手の寸法(L90RMIN)で判定するとともに、(3)の処理をなくせばよい。   In the above classification, the case where the allowable value ε = <L45RMIN = <L90RMIN has been described as an example. For example, in the case of L90RMIN <L45RMIN, it is only necessary to consider the condition for using the 90 degree joint without using the 45 degree joint. That is, in the determination in (2), the determination is made based on the size of the 90-degree joint (L90RMIN), and the processing in (3) may be eliminated.

(B)2つのベクトルが平行かつ対向していない場合;
以下、図15に戻り、起点ベクトルV1と終点ベクトルV2とが平行かつ対向していない場合(M21でNOの場合)、本設計支援装置は、起点ベクトルV1と終点ベクトルV2とが、対向していないが、平行であるか否かを判定する(M23)。起点ベクトルV1と終点ベクトルV2とが、対向していないが、平行である場合、本設計支援装置は、起点P1と終点P2との間に、90度継手で迂回路を形成する。図22−図24に、対向していないが、平行な起点ベクトルV1と終点ベクトルV2に対する処理例を示す。ここで、
対向していなとは、起点ベクトルV1と、終点ベクトルV2とが行き違いの関係にあるか、または、方向が同一の場合ということができる。
(B) When two vectors are parallel and not opposite;
Hereinafter, returning to FIG. 15, when the starting point vector V1 and the ending point vector V2 are parallel and not facing each other (in the case of NO in M21), the present design support apparatus has the starting point vector V1 and the ending point vector V2 facing each other. It is determined whether or not they are parallel (M23). When the starting point vector V1 and the ending point vector V2 are not opposed to each other but are parallel, the design support apparatus forms a detour with a 90-degree joint between the starting point P1 and the ending point P2. FIG. 22 to FIG. 24 show processing examples for the start vector V1 and the end vector V2 that are not opposed but are parallel to each other. here,
The fact that they are not facing each other means that the starting point vector V1 and the ending point vector V2 are in a crossing relationship or the directions are the same.

図22に、行き違いの関係にある起点ベクトルV1と、終点ベクトルV2の例を示す。この場合には、図19の場合と同様、迂回路を形成する。図23に、起点ベクトルV1と、終点ベクトルV2とが、行き違いの関係にあって迂回路を形成する例を示す。   FIG. 22 shows an example of the starting point vector V1 and the ending point vector V2 that are in a crossing relationship. In this case, a bypass is formed as in the case of FIG. FIG. 23 shows an example in which the start point vector V1 and the end point vector V2 are in a crossing relationship and form a detour.

行き違いの関係にあるか、否かは、起点P1を起点ベクトルV1方向に微少量Δだけ移動した位置と、終点ベクトルP2と距離の変化ΔL=ΔD2の変化量を求め、ΔLが増加するか否かで判定できる。すなわち、始点P1の始点ベクトル方向への移動とともに、距離ΔD2が長くなるか、短くなるかで判定できる。なお、すでに上記(4−2)で述べたように、本実施形態では、ΔD2<L90PMINとなる場合も、行き違いの場合と同様の処理を行う。   Whether or not there is a crossing relationship is obtained by determining a position where the starting point P1 is moved by a small amount Δ in the direction of the starting vector V1, a change amount of the end point vector P2 and the change in distance ΔL = ΔD2, and whether ΔL increases. Can be determined. That is, it can be determined whether the distance ΔD2 becomes longer or shorter as the starting point P1 moves in the starting point vector direction. As already described in (4-2) above, in the present embodiment, even when ΔD2 <L90PMIN, the same processing as in the case of a crossing is performed.

なお、迂回路が、起点P1を含む配管PIPE1あるいは終点P2を含む配管PIPE2と干渉する場合には、図19で説明した手順と同様、PIPE1およびPIPE2の中心軸を中心に迂回路を揺動させた位置に設定すればよい。   If the detour interferes with the pipe PIPE1 including the starting point P1 or the pipe PIPE2 including the end point P2, the detour is swung around the central axes of PIPE1 and PIPE2 as in the procedure described in FIG. What is necessary is just to set to the position.

図24および図25に、平行な非対向ベクトルに対する処理例を示す。図24は、L90RMIN<距離ΔD1の場合である。この場合には、起点P1と終点P2とが、90度継手と直管で接続される。   24 and 25 show processing examples for parallel non-opposing vectors. FIG. 24 shows a case where L90RMIN <distance ΔD1. In this case, the starting point P1 and the end point P2 are connected to the 90-degree joint by a straight pipe.

図25は、距離ΔD1<L90RMINの場合である。この場合には、起点P1を通り起点ベクトルV1に平行な直線と、終点P2を通り終点ベクトルV2に平行な直線との間に90度継手を配置できないので、90度継手を組み合わせて迂回路を形成して、起点P1と終点P2とを接続する。   FIG. 25 shows a case where the distance ΔD1 <L90RMIN. In this case, a 90-degree joint cannot be arranged between a straight line passing through the starting point P1 and parallel to the starting point vector V1 and a straight line passing through the end point P2 and parallel to the end-point vector V2. Then, the starting point P1 and the ending point P2 are connected.

(C)2つのベクトルが非平行な場合;
次に、図15に戻って、起点ベクトルV1と終点ベクトルV2とが、処理M23の条件を満たさなかった場合について説明する。これは、例えば、入れ替え機器の内部の流路が、接続口に対して斜めに形成されている場合である。この場合、本設計支援装置は、ベクトルの角度ごとの処理を実行する(M25)。ベクトルの角度ごとの処理は、以下のように、起点P1と終点P2との位置関係、および起点ベクトルV1と終点ベクトルV2のなす角度θに応じて継手と直管とを組み合わせる処理である。
(C) When two vectors are non-parallel;
Next, returning to FIG. 15, a case where the starting point vector V1 and the ending point vector V2 do not satisfy the condition of the process M23 will be described. This is the case, for example, when the flow path inside the replacement device is formed obliquely with respect to the connection port. In this case, the design support apparatus executes processing for each vector angle (M25). The processing for each vector angle is processing for combining a joint and a straight pipe according to the positional relationship between the starting point P1 and the ending point P2 and the angle θ formed by the starting point vector V1 and the ending point vector V2, as described below.

以下、起点P1を通り起点ベクトルV1に平行な直線L1と、終点P2を通り終点ベクトルV2に平行な直線L2のなす角度をθとする。ただし、直線のなす角は、2通りに定義できるが、本実施形態では、起点ベクトルV1と終点ベクトルV2の逆方向ベクトルのなす角度として定義される。   Hereinafter, an angle formed by a straight line L1 passing through the start point P1 and parallel to the start point vector V1 and a straight line L2 passing through the end point P2 and parallel to the end point vector V2 is defined as θ. However, although the angle formed by the straight line can be defined in two ways, in the present embodiment, it is defined as the angle formed by the reverse vector of the starting point vector V1 and the ending point vector V2.

(1)交点PXでの角度θが45度未満の場合;
(1−1)交点PXの位置が、起点P1と終点P2との間に位置する場合には(図26参照)、任意角継手と直管で接続する(図27参照)。すなわち、交点PXに、角度θの任意角継手を配置し、始点P1と交点PXおよび交点PXと終点P2とを直管で接続する(図27参照)。ただし、始点P1と交点PXとの距離ΔDA1および交点PXと終点P2との距離ΔDA2が、任意角継手の中心から一方の端部への最小寸法LAMINより小さい場合には、(1−2)の処理による。
(1) When the angle θ at the intersection PX is less than 45 degrees;
(1-1) When the position of the intersection point PX is located between the start point P1 and the end point P2 (see FIG. 26), it is connected to an arbitrary angle joint with a straight pipe (see FIG. 27). That is, an arbitrary angle joint having an angle θ is arranged at the intersection point PX, and the start point P1 and the intersection point PX, and the intersection point PX and the end point P2 are connected by a straight pipe (see FIG. 27). However, when the distance ΔDA1 between the start point P1 and the intersection point PX and the distance ΔDA2 between the intersection point PX and the end point P2 are smaller than the minimum dimension LAMIN from the center of the arbitrary angle joint to one end, (1-2) By processing.

(1−2)交点PXの位置が、起点P1と終点P2との間に位置しない場合(図28参照)には、90度継手と任意角継手の組み合わせによって迂回路を形成する(図29参照
)。図29の例では、起点P1、直管1、90度継手、直管2、90度継手、直管3、90度継手、直管4、任意角継手、終点P2の迂回路が形成される。
(1-2) When the position of the intersection point PX is not located between the start point P1 and the end point P2 (see FIG. 28), a detour is formed by a combination of a 90-degree joint and an arbitrary angle joint (see FIG. 29). ). In the example of FIG. 29, a detour of a starting point P1, a straight pipe 1, a 90-degree joint, a straight pipe 2, a 90-degree joint, a straight pipe 3, a 90-degree joint, a straight pipe 4, an arbitrary angle joint, and an end point P2 is formed. .

さらに、起点P1を有する配管PIPE1または終点P2を有する配管PIPE2のいずれか一方が迂回路と干渉する場合には、そのまま干渉が生じる状態で維持してもよいが、一旦、図の紙面に垂直な方向(例えば、図がXY平面を示す場合、Z軸方向)にレベルを移動する。例えば、図28、図29が、XY平面上にある場合、直管1にて一旦Z軸方向にシフトする90度継手と、直管2−4にてZ軸方向にレベルを戻す90度継手とを設ける。
(2)交点PXでのθが45度の場合;
(2−1)交点PXの位置が、起点P1と終点P2との間に位置する場合には、45度継手と直管で接続する。すなわち、交点PXに、45度継手を配置し、始点P1と交点PXおよび交点PXと終点P2とを直管で接続する(図30参照)。ただし、始点P1と交点PXとの距離ΔD451および交点PXと終点P2との距離ΔD452が、45度継手の中心から一方の端部への最小寸法L45MINより小さい場合には、(2−2)の処理による。
Further, when either the pipe PIPE1 having the starting point P1 or the pipe PIPE2 having the end point P2 interferes with the detour, the interference may be maintained as it is, but once it is perpendicular to the paper surface of the drawing. The level is moved in the direction (for example, the Z-axis direction when the figure shows the XY plane). For example, when FIGS. 28 and 29 are on the XY plane, the 90-degree joint that once shifts in the Z-axis direction in the straight pipe 1 and the 90-degree joint that returns the level in the Z-axis direction in the straight pipe 2-4 And provide.
(2) When θ at the intersection PX is 45 degrees;
(2-1) When the position of the intersection point PX is located between the start point P1 and the end point P2, it is connected to the 45 degree joint with a straight pipe. That is, a 45 degree joint is arranged at the intersection point PX, and the start point P1 and the intersection point PX, and the intersection point PX and the end point P2 are connected by a straight pipe (see FIG. 30). However, when the distance ΔD451 between the start point P1 and the intersection point PX and the distance ΔD452 between the intersection point PX and the end point P2 are smaller than the minimum dimension L45MIN from the center of the 45 degree joint to one end, (2-2) By processing.

(2−2)上述の(2−1)ただし書きの場合、および、交点PXの位置が、起点P1と終点P2との間に位置しない場合(図31参照)には、90度継手と45度継手の組み合わせによって迂回路を形成する。図31の例では、起点P1、直管1、90度継手、直管2、90度継手、直管3、90度継手、直管4、45度継手、終点P2の迂回路が形成される。また、図30で、始点P1と交点PXとの距離ΔD451および交点PXと終点P2との距離ΔD452が、45度継手の中心から一方の端部への最小寸法L45MINより小さい場合も、同様に迂回路を形成する。   (2-2) In the case of the above (2-1) proviso and when the position of the intersection point PX is not located between the start point P1 and the end point P2 (see FIG. 31), the 90 degree joint and 45 degree A detour is formed by a combination of joints. In the example of FIG. 31, a detour of the starting point P1, straight pipe 1, 90 degree joint, straight pipe 2, 90 degree joint, straight pipe 3, 90 degree joint, straight pipe 4, 45 degree joint, and end point P2 is formed. . Further, in FIG. 30, even when the distance ΔD451 between the start point P1 and the intersection point PX and the distance ΔD452 between the intersection point PX and the end point P2 are smaller than the minimum dimension L45MIN from the center of the 45 degree joint to one end portion, the detour is similarly performed. Form a road.

さらに、起点P1を有する配管PIPE1または終点P2を有する配管PIPE2のいずれか一方が迂回路と干渉する場合には、直管1にて一旦、図の紙面に垂直な方向(例えば、図がXY平面にある場合、Z軸方向)にレベルを移動する90度継手と、直管2にてZ軸方向にレベルを戻す90度継手を設ける。   Furthermore, when either the pipe PIPE1 having the starting point P1 or the pipe PIPE2 having the end point P2 interferes with the detour, the straight pipe 1 is once in a direction perpendicular to the paper surface of the drawing (for example, the figure is the XY plane). If there is, a 90-degree joint that moves the level in the Z-axis direction) and a 90-degree joint that returns the level in the Z-axis direction by the straight pipe 2 are provided.

(3)交点PXでのθが45度より大きく90度未満の場合;
この場合には、任意角継手として45度より大きく90度未満のものを用いることで、(2)の場合と同様の処理を実行する。図32に迂回路を形成する構成例を示す。
(3) When θ at the intersection PX is greater than 45 degrees and less than 90 degrees;
In this case, the same processing as in the case of (2) is executed by using an arbitrary angle joint greater than 45 degrees and less than 90 degrees. FIG. 32 shows a configuration example for forming a detour.

(4)交点PXでのθが90度の場合;
(4−1)交点PXの位置が、起点P1と終点P2との間に位置する場合には、90度継手と直管で接続する。すなわち、交点PXに、90度継手を配置し、始点P1と交点PXおよび交点PXと終点P2とを直管で接続する(図33参照)。ただし、始点P1と交点PXとの距離ΔD901および交点PXと終点P2との距離ΔD902が、90度継手の中心から一方の端部への最小寸法L90MINより小さい場合には、(4−2)の処理による。
(4−2)交点PXの位置が、起点P1と終点P2との間に位置しない場合(図34参照)には、90度継手の組み合わせによって迂回路を形成する。図34の例では、起点P1、直管1、90度継手、直管2、90度継手、直管3、90度継手、直管4、終点P2の迂回路が形成される。ただし、図33で、始点P1と交点PXとの距離ΔD901および交点PXと終点P2との距離ΔD902が、45度継手の中心から一方の端部への最小寸法L90MINより小さい場合も、同様に迂回路を形成する。
(4) When θ at the intersection PX is 90 degrees;
(4-1) When the position of the intersection point PX is located between the start point P1 and the end point P2, it is connected to the 90-degree joint with a straight pipe. That is, a 90-degree joint is arranged at the intersection point PX, and the start point P1 and the intersection point PX, and the intersection point PX and the end point P2 are connected by a straight pipe (see FIG. 33). However, when the distance ΔD901 between the start point P1 and the intersection point PX and the distance ΔD902 between the intersection point PX and the end point P2 are smaller than the minimum dimension L90MIN from the center of the 90-degree joint to one end, (4-2) By processing.
(4-2) When the position of the intersection point PX is not located between the start point P1 and the end point P2 (see FIG. 34), a detour is formed by a combination of 90-degree joints. In the example of FIG. 34, a detour of a starting point P1, a straight pipe 1, a 90-degree joint, a straight pipe 2, a 90-degree joint, a straight pipe 3, a 90-degree joint, a straight pipe 4, and an end point P2 is formed. However, in FIG. 33, when the distance ΔD901 between the start point P1 and the intersection point PX and the distance ΔD902 between the intersection point PX and the end point P2 are smaller than the minimum dimension L90MIN from the center of the 45-degree joint to one end portion, the detour is similarly performed. Form a road.

さらに、起点P1を有する配管PIPE1または終点P2を有する配管PIPE2のいずれか一方が迂回路と干渉する場合には、直管1にて一旦、図の紙面に垂直な方向(図が
XYの場合にはZ軸方向)にレベルを移動する90度継手と、直管2にてZ軸方向にレベルを戻す90度継手とを設ける。
Further, when either the pipe PIPE1 having the starting point P1 or the pipe PIPE2 having the end point P2 interferes with the detour, the straight pipe 1 is once in a direction perpendicular to the drawing sheet (when the figure is XY). Is provided with a 90 degree joint that moves the level in the Z axis direction and a 90 degree joint that returns the level in the Z axis direction with the straight pipe 2.

(5)交点PXでのθが90度より大きく135度未満の場合;
(5−1)交点PXの位置が、起点P1と終点P2との間に位置する場合には、起点ベクトルV1と、終点ベクトルV2の逆方向ベクトルのなす角θに対して、角度θを外角とする直角三角形TR1を設定する(図35参照)。直角三角形TR1は、交点PXと起点P1との間に起点ベクトルV1に直交する直線L1を設定することで、設定できる。
(5) When θ at the intersection PX is greater than 90 degrees and less than 135 degrees;
(5-1) When the position of the intersection point PX is located between the starting point P1 and the ending point P2, the angle θ is set to the outside angle with respect to the angle θ formed by the reverse vector of the starting point vector V1 and the ending point vector V2. Is set (see FIG. 35). The right triangle TR1 can be set by setting a straight line L1 orthogonal to the start point vector V1 between the intersection point PX and the start point P1.

起点ベクトルV1を含む直線L1と、起点ベクトルV1に垂直な直線LH1との交点をPX1とし、終点ベクトルV2を含む直線L2と起点ベクトルV1に垂直な直線LH1との交点をPX2とすると、交点PX、PX1、PX2三角形TR1を形成する。このとき、交点PX1に90度継手を配置し、交点PX2に任意角継手(45度未満)を配置することで、起点P1と終点P2とを接続できる。   Assuming that the intersection of the straight line L1 including the starting point vector V1 and the straight line LH1 perpendicular to the starting point vector V1 is PX1, and the intersection of the straight line L2 including the end point vector V2 and the straight line LH1 perpendicular to the starting point vector V1 is PX2, the intersection PX , PX1, PX2 triangle TR1. At this time, the start point P1 and the end point P2 can be connected by disposing a 90 degree joint at the intersection point PX1 and disposing an arbitrary angle joint (less than 45 degrees) at the intersection point PX2.

ただし、以下の条件の場合には、図34の接続ができない。すなわち、交点P1と終点P2との間に、90度継手と任意角継手を配置できない。
(条件1)起点P1から交点PX1までの距離ΔDX1が、90度継手の中心から一方の開口までの最小寸法L90MINより小さい場合;
(条件2)終点P2から交点PX2までの距離ΔDX3が、任意角継手の中心から一方の開口までの最小寸法LAMINより小さい場合;
(条件3)交点PX1と交点PX2との距離ΔDX2が、90度継手と任意角継手のそれぞれの中心から一方の開口までの最小寸法の和であるL90MIN+LAMINより小さい場合;
この場合には、90度継手と任意角継手の位置関係を入れ替える。すなわち、直角三角形としては、交点PXと終点P2との間に終点ベクトルV2に直交する直線を設定し、同様の手順を実行する。そして、同様の手順のよって、交点P1と終点P2との間に、90度継手と任意角継手を配置できるか否かを判定する。配置できる場合には、その配置にて接続する。配置できない場合には、(5−2)の手順によって迂回路を構成する。
However, the connection shown in FIG. 34 cannot be made under the following conditions. That is, the 90-degree joint and the arbitrary angle joint cannot be arranged between the intersection point P1 and the end point P2.
(Condition 1) When the distance ΔDX1 from the starting point P1 to the intersection point PX1 is smaller than the minimum dimension L90MIN from the center of the 90-degree joint to one opening;
(Condition 2) When the distance ΔDX3 from the end point P2 to the intersection point PX2 is smaller than the minimum dimension LAMIN from the center of the arbitrary angle joint to one opening;
(Condition 3) When the distance ΔDX2 between the intersection point PX1 and the intersection point PX2 is smaller than L90MIN + LAMIN, which is the sum of the minimum dimensions from the center of each of the 90-degree joint and the arbitrary angle joint to one opening;
In this case, the positional relationship between the 90-degree joint and the arbitrary angle joint is switched. That is, as a right triangle, a straight line orthogonal to the end point vector V2 is set between the intersection point PX and the end point P2, and the same procedure is executed. Then, according to the same procedure, it is determined whether or not the 90-degree joint and the arbitrary angle joint can be arranged between the intersection point P1 and the end point P2. If it can be arranged, connect by that arrangement. If it cannot be arranged, a detour is constructed by the procedure (5-2).

(5−2)交点PXの位置が、起点P1と終点P2との間に位置しない場合(図36参照)には、90度継手と任意角継手の組み合わせによって迂回路を形成する。図35の例では、起点P1、直管1、90度継手、直管2、90度継手、直管3、90度継手、直管4、任意角継手、終点P2の迂回路が形成される。   (5-2) When the position of the intersection point PX is not located between the start point P1 and the end point P2 (see FIG. 36), a detour is formed by a combination of a 90-degree joint and an arbitrary angle joint. In the example of FIG. 35, a detour of the starting point P1, straight pipe 1, 90-degree joint, straight pipe 2, 90-degree joint, straight pipe 3, 90-degree joint, straight pipe 4, arbitrary angle joint, and end point P2 is formed. .

さらに、起点P1を有する配管PIPE1または終点P2を有する配管PIPE2のいずれか一方が迂回路と干渉する場合には、直管1にて一旦、図の紙面に垂直な方向(図がXY平面の場合、Z軸方向)にレベルを移動する90度継手と、直管1〜直管5のいずれかにてレベルを戻す90度継手を設ける。以上によって、図15(共有平面上での二次元処理)のベクトルの角度ごとの処理を終了する。   Further, when either the pipe PIPE1 having the starting point P1 or the pipe PIPE2 having the end point P2 interferes with the detour, the straight pipe 1 is once in a direction perpendicular to the drawing sheet (in the case where the figure is the XY plane). , A 90-degree joint that moves the level in the Z-axis direction) and a 90-degree joint that returns the level in any of straight pipe 1 to straight pipe 5. Thus, the processing for each vector angle in FIG. 15 (two-dimensional processing on the shared plane) is completed.

(D)2つのベクトルの一方が座標軸に平行な場合;
図37に、座標軸に平行なベクトルを含む処理(図14のM4)の詳細を例示する。また、図38に、座標軸に平行なベクトルを含む処理の概念を例示する。理解を容易にするため、図38の例では、起点P1が座標軸の原点(0,0,0)にあり、起点ベクトルV1が、X軸と平行であり、一方、終点ベクトルV2は、設定されたいずれの座標軸とも平行ではない場合を示している。この場合には、本設計支援装置は、まず、一方のベクトルである起点ベクトルV1がXY平面にあるものとして、終点P2からXY平面の点P3への経路を設定する。そして、その後、XY平面上の起点P1と点P3との間で、共有平面上での二次元処理を実行する。
(D) when one of the two vectors is parallel to the coordinate axis;
FIG. 37 exemplifies details of processing (M4 in FIG. 14) including a vector parallel to the coordinate axis. FIG. 38 illustrates the concept of processing including a vector parallel to the coordinate axis. In order to facilitate understanding, in the example of FIG. 38, the starting point P1 is at the origin (0, 0, 0) of the coordinate axis, the starting point vector V1 is parallel to the X axis, while the end point vector V2 is set. The case where it is not parallel to any coordinate axis is shown. In this case, the design support apparatus first sets a path from the end point P2 to the point P3 on the XY plane, assuming that the starting vector V1, which is one vector, is on the XY plane. Thereafter, a two-dimensional process on the common plane is executed between the starting point P1 and the point P3 on the XY plane.

この場合に、起点ベクトルV1を含む平面(図38では、XY平面)を目標平面TP1と呼ぶ。なお、起点P1および起点ベクトルV1がXY平面上になく、起点ベクトルV1がX軸に平行な場合、目標平面TP1は、起点ベクトルV1を含むXY平面に平行な平面として一般化できる。   In this case, a plane including the origin vector V1 (XY plane in FIG. 38) is referred to as a target plane TP1. When the starting point P1 and the starting point vector V1 are not on the XY plane and the starting point vector V1 is parallel to the X axis, the target plane TP1 can be generalized as a plane parallel to the XY plane including the starting point vector V1.

また、終点P2の近傍に目標平面TP1に平行な目標平面TP2を設定する。目標平面TP2の位置は、終点P2から直管R0と90度継手CR1で、目標平面TP2上の直管R1に接続できる位置である。なお、直管R0は、終点P2に接続される直管であり、長さ0でも構わない。   A target plane TP2 parallel to the target plane TP1 is set near the end point P2. The position of the target plane TP2 is a position where the straight pipe R0 and the 90-degree joint CR1 can be connected to the straight pipe R1 on the target plane TP2 from the end point P2. The straight pipe R0 is a straight pipe connected to the end point P2, and may have a length of zero.

以下、終点P2の近傍で、直管R0と90度継手CR1で接続可能な位置に目標平面TP2を設定する手順を説明する。まず、終点P2から終点ベクトルV2方向に所定長さ(例えば、長さ0とし、直管を省略してもよい)の直管R0の先端の位置P20に終点ベクトルV2に垂直な平面を想定する。また、位置P20を通る目標平面TP1に平行な目標平面TP2を想定する。そして、終点ベクトルV2に垂直な平面と目標平面TP2との交線の位置に直管R1を設定する。目標平面TP2は、図38でX2軸およびY2軸のなす平面である。直管R1は、XY平面に平行な目標平面TP2上にあり、かつ、終点ベクトルV2に直交する。したがって、終点P1から終点ベクトルV2方向に直管R0だけシフトした位置P20に90度継手CR1を設けることで、終点P2と直管R3を接続できる。   Hereinafter, a procedure for setting the target plane TP2 at a position where the straight pipe R0 and the 90-degree joint CR1 can be connected in the vicinity of the end point P2 will be described. First, a plane perpendicular to the end point vector V2 is assumed at the position P20 of the front end of the straight pipe R0 having a predetermined length (for example, the length is 0 and the straight pipe may be omitted) from the end point P2 to the end point vector V2. . Further, a target plane TP2 parallel to the target plane TP1 passing through the position P20 is assumed. Then, the straight pipe R1 is set at the position of the intersection line between the plane perpendicular to the end point vector V2 and the target plane TP2. The target plane TP2 is a plane formed by the X2 axis and the Y2 axis in FIG. The straight pipe R1 is on the target plane TP2 parallel to the XY plane and is orthogonal to the end point vector V2. Therefore, the end point P2 and the straight pipe R3 can be connected by providing the 90-degree joint CR1 at the position P20 shifted by the straight pipe R0 from the end point P1 in the direction of the end point vector V2.

この場合に、目標平面TP1およびTP2は、第1には、XY平面に平行なものを候補して優先する。XY平面は、設備、配管が設けられる床と平行な平面とすると、図面の把握、および施工等において便宜であるからである。なお、入れ替え対象の機器によっては、XY平面の代わりに、壁、すなわち、ZX平面、YZ平面を基準とすると便宜となるものもある。例えば、壁掛けのエアーコンディショナー等を入れ替える場合である。   In this case, the target planes TP1 and TP2 are first given priority as candidates that are parallel to the XY plane. This is because, if the XY plane is a plane parallel to the floor on which the equipment and piping are provided, it is convenient for grasping the drawing, construction, and the like. Note that, depending on the device to be replaced, it may be convenient to use the wall, that is, the ZX plane and the YZ plane as a reference instead of the XY plane. For example, it is a case where a wall-mounted air conditioner or the like is replaced.

以上のように、この処理では、本設計支援装置は、まず、座標軸に平行なベクトル(例えば、起点ベクトルV1)から、目標平面TP1を設定する(M41)。   As described above, in this process, the design support apparatus first sets the target plane TP1 from a vector parallel to the coordinate axis (for example, the starting point vector V1) (M41).

次に、本設計支援装置は、XYZ座標軸と平行でないベクトルの端点(終点P2)に90度継手CR1を配置し、目標平面TP1と平行な目標平面TP2(X2Y2平面)上の直管R1の経路を生成し、終点P2と直管R1とを接続する(M42)。この場合に、端点(終点P2)と90度継手CR1との間に、所定長さの直管R0を設けてもよい。また、90度継手CR1に替えて、90度継手CR1の経路をバイパスする経路(90度継手CR1の経路のなす直角に曲がる通路に対して、直角三角形の斜辺となる経路)を構成する45度継手を設けてもよい。この場合に、端点(終点P2)と45度継手との間に、所定長さの直管R0を設けてもよい。   Next, this design support apparatus arranges the 90-degree joint CR1 at the end point (end point P2) of the vector not parallel to the XYZ coordinate axes, and the path of the straight pipe R1 on the target plane TP2 (X2Y2 plane) parallel to the target plane TP1. And the end point P2 and the straight pipe R1 are connected (M42). In this case, a straight pipe R0 having a predetermined length may be provided between the end point (end point P2) and the 90-degree joint CR1. Also, instead of the 90-degree joint CR1, a 45-degree path that bypasses the path of the 90-degree joint CR1 (a path that becomes a hypotenuse of a right-angled triangle with respect to a path that bends at right angles to the path of the 90-degree joint CR1). A joint may be provided. In this case, a straight pipe R0 having a predetermined length may be provided between the end point (end point P2) and the 45 degree joint.

さらに、直管R1の延長線上の経路に90度継手CR2を配置し、Z軸に平行な直管R2の経路を生成する(M43)。この場合に、90度継手CR1と90度継手CR2との間に直管R1を設けてもよいし、直管R1の長さを0として実質的に直管を省略してもよい。この直管R2は、XY平面とX2Y2平面とのレベル差解消のために配置される。この処理を実行するCPU1が、第1のレベル間接続手段33に相当する。   Further, the 90-degree joint CR2 is arranged in the path on the extension line of the straight pipe R1, and the path of the straight pipe R2 parallel to the Z axis is generated (M43). In this case, the straight pipe R1 may be provided between the 90-degree joint CR1 and the 90-degree joint CR2, or the length of the straight pipe R1 may be 0 and the straight pipe may be substantially omitted. The straight pipe R2 is arranged to eliminate a level difference between the XY plane and the X2Y2 plane. The CPU 1 that executes this process corresponds to the first inter-level connection means 33.

さらに、本設計支援装置は、直管R2とXY平面との交点P3に90度継手CR3を配置する(M44)。この90度継手CR3は、XY平面上で回転方向の設定自在である。以上の設定で、直管R2の両端には90度継手CR2およびCR3が設けられ、目標平面TP1(XY平面)上の経路と平行な目標平面TP2(X2Y2平面)上の経路とが接続
されることになる。なお、直管R2の両端の90度継手CR2およびCR3のいずれか、または、その両方を45度継手としてもよい。すなわち、90度継手CR2またはCR3の経路をバイパスする経路(90度継手CR2あるいはCR3の経路のなす直角に曲がる通路に対して、直角三角形の斜辺となる経路)を構成する45度継手を用いてもよい。
Furthermore, this design support apparatus arrange | positions 90 degree | times coupling CR3 in the intersection P3 of the straight pipe R2 and XY plane (M44). The 90-degree joint CR3 can freely set the rotation direction on the XY plane. With the above settings, 90-degree joints CR2 and CR3 are provided at both ends of the straight pipe R2, and a path on the target plane TP2 (X2Y2 plane) parallel to a path on the target plane TP1 (XY plane) is connected. It will be. Note that either or both of the 90-degree joints CR2 and CR3 at both ends of the straight pipe R2 may be 45-degree joints. That is, by using a 45 degree joint that constitutes a path that bypasses the path of the 90 degree joint CR2 or CR3 (a path that is a hypotenuse of a right triangle with respect to a path that is bent at a right angle by the path of the 90 degree joint CR2 or CR3). Also good.

この状態では、目標平面上で、90度継手CR3の開口方向のベクトルと、始点P1からの始点ベクトルが、目標平面を共有することになる。したがって、図14の処理M2と同様、共有平面上での二次元処理を実行する(M45)。   In this state, on the target plane, the vector in the opening direction of the 90-degree joint CR3 and the start point vector from the start point P1 share the target plane. Therefore, the two-dimensional process on the common plane is executed as in the process M2 of FIG. 14 (M45).

ただし、この90度継手CR3は、XY平面上で回転方向の設定自在である。そこで、例えば、この例では、始点ベクトルと直交する方向に90継手CR3が設けてもよい。その結果、90度継手の延長方向の直管R3と起点ベクトルV1との交点に90度継手CN4を設けることで、始点P1と終点P2との間の経路を完成するようにしてもよい。また、単純に90度継手CN4を設けただけでは経路が設定できない場合に、共有平面上での二次元処理(図14のM2の処理)を実行してもよい。   However, the 90-degree joint CR3 can freely set the rotation direction on the XY plane. Therefore, for example, in this example, the 90 joint CR3 may be provided in a direction orthogonal to the start point vector. As a result, the path between the start point P1 and the end point P2 may be completed by providing the 90 degree joint CN4 at the intersection of the straight pipe R3 in the extending direction of the 90 degree joint and the starting point vector V1. In addition, when a route cannot be set simply by providing the 90-degree joint CN4, two-dimensional processing (processing M2 in FIG. 14) on the common plane may be executed.

次に、本設計支援装置は、経路の設定が成功したか否かを判定する(M46)。そして、目標平面上での始点ベクトルと、90度継手の開口方向のベクトルとの間で経路の設定が成功しなかった場合、次に、本設計支援装置は、一方のベクトル(この例では、始点ベクトルV1)と平行な平面で、まだ、目標平面にしてない、未処理の平面(図38の場合のZX平面)が存在するか否かを判定する(M47)。そして、未処理の目標平面にしていない未処理平面(XY、YZ,またはZX平面)が存在する場合、その残りの平面を目標平面に設定する(M48)。そして、本設計支援装置は、制御をP42に戻し、処理を繰り返す。   Next, the design support apparatus determines whether or not the route setting is successful (M46). If the path setting between the starting point vector on the target plane and the opening direction vector of the 90-degree joint is not successful, the design support device then selects one vector (in this example, It is determined whether or not there is an unprocessed plane (ZX plane in the case of FIG. 38) that is parallel to the start point vector V1) and has not yet been set as the target plane (M47). If there is an unprocessed plane (XY, YZ, or ZX plane) that is not set as an unprocessed target plane, the remaining plane is set as the target plane (M48). And this design support apparatus returns control to P42, and repeats a process.

一方、P47の判定で、未処理の目標平面がない場合、本設計支援装置は、ユーザ介入による作図処理を実行する(M49)。また、P46の判定で、経路の設定に成功した場合には、本設計支援装置は、そのまま処理を終了する。   On the other hand, if it is determined in P47 that there is no unprocessed target plane, the design support apparatus executes a drawing process by user intervention (M49). If the path setting is successful in the determination of P46, the design support apparatus ends the process as it is.

なお、図38では、起点ベクトルV1がX軸に平行であり、起点P1が原点と一致する場合の例を示したが、起点P1が原点にない場合も同様に処理できる。例えば、起点P1の座標を(a,b,c)とすると、目標平面をZ=aに設定して、図38と同様の処理を実行すればよい。   Although FIG. 38 shows an example in which the starting point vector V1 is parallel to the X axis and the starting point P1 coincides with the origin, the same processing can be performed when the starting point P1 is not at the origin. For example, if the coordinates of the starting point P1 are (a, b, c), the target plane may be set to Z = a and the same processing as in FIG. 38 may be executed.

また、図38では、起点ベクトルV1がX軸に平行な場合を例に説明し、その場合に、まず、目標平面として、XY平面を想定した。これは、起点ベクトルV1がY軸に平行な場合も同様である。また、起点ベクトルがZ軸に平行な場合には、目標平面としては、例えば、デフォルトで、まず、YZ平面を目標平面として、その後にZX平面を目標平面にするようにしてもよい。   FIG. 38 illustrates an example in which the starting vector V1 is parallel to the X axis. In this case, first, the XY plane is assumed as the target plane. This is the same when the starting point vector V1 is parallel to the Y axis. Further, when the starting point vector is parallel to the Z axis, for example, as a target plane, by default, the YZ plane may be first set as the target plane, and then the ZX plane may be set as the target plane.

また、図38では、最初の目標平面で経路の設定が成功した場合には、そのまま処理を終了した。しかし、最初の目標平面(例えば、XY平面)の成功の有無に拘わらず、次の目標平面(例えば、XZ平面)を設定し、再度、P42−P45の処理を繰り返してもよい。そして、最初の目標平面での経路の設定結果と、2つの目の目標平面での経路の設定結果を比較し、例えば、使用する継手の個数、接続のための経路の長さ等を基準にして、簡略に経路が設定できる方を選択するようにしてもよい。   In FIG. 38, when the route setting is successful on the first target plane, the processing is terminated as it is. However, regardless of whether or not the first target plane (for example, the XY plane) is successful, the next target plane (for example, the XZ plane) may be set and the processes of P42 to P45 may be repeated again. Then, compare the path setting result on the first target plane with the path setting result on the second target plane, for example, based on the number of joints used, the length of the path for connection, etc. Thus, the person who can set the route in a simple manner may be selected.

また、図38では、起点ベクトルV1がX軸に平行である場合を例に説明したが、終点ベクトルV2がいずれかの座標軸に平行な場合も同様に処理できる。   In FIG. 38, the case where the starting point vector V1 is parallel to the X axis has been described as an example, but the same processing can be performed when the end point vector V2 is parallel to one of the coordinate axes.

(E)2つのベクトルの一方がXY,YZ,ZXのいずれかの平面に平行な場合;
図39に、起点ベクトルまたは終点ベクトルがXY,YZ,ZX平面のいずれかに平行な場合の処理(図14のM6)の詳細を例示する。この処理を実行するCPU1が、単一目標平面経路設定手段31に相当する。この処理は、目標平面の選択の余地がない点を除いて、図37の処理と同様である。すなわち、起点ベクトルV1または終点ベクトルV2のいずれかが、XY,YZまたはZXに平行な面上にあるとすると、そのXY,YZまたはZXに平行な面がそのまま目標平面(ここでは、TP1)となる。
(E) When one of the two vectors is parallel to any plane of XY, YZ, ZX;
FIG. 39 exemplifies the details of the process (M6 in FIG. 14) when the starting point vector or the ending point vector is parallel to any of the XY, YZ, and ZX planes. The CPU 1 that executes this process corresponds to the single target plane path setting means 31. This process is the same as the process of FIG. 37 except that there is no room for selection of the target plane. That is, if either the start vector V1 or the end vector V2 is on a plane parallel to XY, YZ, or ZX, the plane parallel to XY, YZ, or ZX remains as the target plane (here, TP1). Become.

そして、本設計支援装置は、M62からM65の処理を実行する。この処理は、図37でのM42からM45の処理と同様であるので、その説明を省略する。   Then, the design support apparatus executes the processing from M62 to M65. Since this process is the same as the process from M42 to M45 in FIG. 37, the description thereof is omitted.

そして、本設計支援装置は、経路の設定が成功したか否かを判定する(M66)。そして、経路の設定に成功しなかった場合、本設計支援装置は、ユーザ介入による作図処理を実行する(M69)。また、M66の判定で、経路の設定に成功した場合には、本設計支援装置は、そのまま処理を終了する。   Then, the design support apparatus determines whether or not the route setting is successful (M66). If the route setting is not successful, the design support apparatus executes a drawing process by user intervention (M69). If it is determined in M66 that the route has been successfully set, the design support apparatus ends the process.

(F)起点ベクトルV1および終点ベクトルV2がいずれもXY、YZおよびZX平面のいずれにも平行でない場合;
図40に、起点ベクトルV1および終点ベクトルV2がいずれもXY、YZおよびZX平面のいずれにも平行でない場合の処理を例示する。この処理を実行するCPU1が、複数目標平面経路設定手段32に相当する。また、図41に、この場合の処理の概念を示す。図41の例では、起点P1の近傍で、直管R01と90度継手CR4で接続可能な位置に目標平面TP3を設定する。その手順は、まず、起点P1から起点ベクトルV1方向に所定長さ(例えば、長さ0とし、直管を省略してもよい)の位置P10に起点ベクトルV1に垂直な平面を想定する。また、位置P10を通るXY平面に平行な目標平面TP3を想定する。そして、起点ベクトルV1に垂直な平面と目標平面TP3との交線の位置に直管R1を設定する。直管R1は、XY平面に平行な目標平面TP3上にあり、かつ、起点ベクトルV1に直交する。したがって、起点P1から起点ベクトルV1方向に直管R01だけシフトした位置P10に90度継手CR4を設けることで、起点P1と直管R1を接続できる。また、90度継手CR4に替えて、90度継手CR4の経路をバイパスする経路(90度継手CR4の経路のなす直角に曲がる通路に対して、直角三角形の斜辺となる経路)を構成する45度継手を設けてもよい。この場合に、端点(起点P1)と45度継手との間に、所定長さの直管を設けてもよい。
(F) When the starting point vector V1 and the ending point vector V2 are not parallel to any of the XY, YZ, and ZX planes;
FIG. 40 exemplifies processing in the case where none of the starting point vector V1 and the ending point vector V2 is parallel to any of the XY, YZ, and ZX planes. The CPU 1 that executes this process corresponds to the multiple target plane path setting means 32. FIG. 41 shows the concept of processing in this case. In the example of FIG. 41, the target plane TP3 is set at a position that can be connected to the straight pipe R01 and the 90-degree joint CR4 in the vicinity of the starting point P1. The procedure first assumes a plane perpendicular to the starting point vector V1 at a position P10 having a predetermined length (for example, the length may be 0 and the straight pipe may be omitted) from the starting point P1 in the starting point vector V1 direction. A target plane TP3 parallel to the XY plane passing through the position P10 is assumed. Then, the straight pipe R1 is set at the position of the intersection line between the plane perpendicular to the starting point vector V1 and the target plane TP3. The straight pipe R1 is on the target plane TP3 parallel to the XY plane and is orthogonal to the starting point vector V1. Therefore, the starting point P1 and the straight pipe R1 can be connected by providing the 90-degree joint CR4 at the position P10 shifted by the straight pipe R01 in the direction of the starting vector V1 from the starting point P1. In addition, instead of the 90-degree joint CR4, a 45-degree path that bypasses the path of the 90-degree joint CR4 (a path that is a hypotenuse of a right-angled triangle with respect to a path that bends at right angles to the path of the 90-degree joint CR4). A joint may be provided. In this case, a straight pipe having a predetermined length may be provided between the end point (starting point P1) and the 45 ° joint.

同様に、終点P2の近傍で、直管R02と90度継手CR1で接続可能な位置に目標平面TP4を設定する。その手順は、まず、終点P2から終点ベクトルV2方向に所定長さ(例えば、長さ0とし、直管を省略してもよい)の直管の先端の位置P20に終点ベクトルV2に垂直な平面を想定する。また、位置P20を通る目標平面TP3に平行な目標平面TP4を想定する。そして、終点ベクトルV2に垂直な平面と目標平面TP4との交線の位置に直管R3を設定する。直管R3は、XY平面に平行な目標平面TP4上にあり、かつ、終点ベクトルV2に直交する。したがって、終点P1から終点ベクトルV2方向に直管R02だけシフトした位置P20に90度継手CR1を設けることで、終点P2と直管R3を接続できる。また、90度継手CR1に替えて、90度継手CR1の経路をバイパスする経路(90度継手CR1の経路のなす直角に曲がる通路に対して、直角三角形の斜辺となる経路)を構成する45度継手を設けてもよい。この場合に、端点(終点P2)と45度継手との間に、所定長さの直管を設けてもよい。   Similarly, in the vicinity of the end point P2, the target plane TP4 is set at a position where the straight pipe R02 and the 90-degree joint CR1 can be connected. The procedure is as follows. First, a plane perpendicular to the end point vector V2 is located at the position P20 of the end of a straight pipe having a predetermined length (for example, the length is 0 and the straight pipe may be omitted) from the end point P2 to the end point vector V2. Is assumed. Further, a target plane TP4 parallel to the target plane TP3 passing through the position P20 is assumed. Then, the straight pipe R3 is set at the position of the intersection line between the plane perpendicular to the end point vector V2 and the target plane TP4. The straight pipe R3 is on the target plane TP4 parallel to the XY plane and is orthogonal to the end point vector V2. Therefore, the end point P2 and the straight pipe R3 can be connected by providing the 90-degree joint CR1 at the position P20 shifted by the straight pipe R02 in the direction of the end point vector V2 from the end point P1. Also, instead of the 90-degree joint CR1, a 45-degree path that bypasses the path of the 90-degree joint CR1 (a path that becomes a hypotenuse of a right-angled triangle with respect to a path that bends at right angles to the path of the 90-degree joint CR1). A joint may be provided. In this case, a straight pipe having a predetermined length may be provided between the end point (end point P2) and the 45 degree joint.

以上のように、目標平面TP3、目標平面TP3上の直管R1、目標平面TP4、目標平面TP4上の直管R3を設定した後、目標平面TP3と目標平面TP4との間でレベル差を解消すればよい。このレベル差解消の処理は、図38の場合と同様である。   As described above, after setting the target plane TP3, the straight pipe R1 on the target plane TP3, the target plane TP4, and the straight pipe R3 on the target plane TP4, the level difference between the target plane TP3 and the target plane TP4 is eliminated. do it. This level difference elimination processing is the same as in the case of FIG.

以上の処理では、例えば、XY、YZ、ZX平面の順に目標平面を設定し、それぞれのベクトル(起点ベクトルV1と終点ベクトルV2)の双方から、目標平面へのレベル差解消の経路を設定する。そして、目標平面上で、共有平面上での二次元処理を実行する。   In the above processing, for example, the target plane is set in the order of the XY, YZ, and ZX planes, and the level difference elimination path from both of the vectors (starting point vector V1 and end point vector V2) to the target plane is set. Then, two-dimensional processing on the shared plane is executed on the target plane.

以下、図40により、手順の詳細を説明する。まず、本設計支援装置は、目標平面TP3、TP4の法線方向を設定する(M70)。法線方向は、例えば、Z軸方向である。次に、本設計支援装置は、目標平面TP3を設定する(M71)。目標平面TP3は、起点P1から起点ベクトル方向への直管R01と、90度継手CR4(または45度継手)によって、目標平面TP3上の直管R1に接続できる位置に設定する。この手順は、図41にしたがって説明した通りである。   The details of the procedure will be described below with reference to FIG. First, the design support apparatus sets the normal direction of the target planes TP3 and TP4 (M70). The normal direction is, for example, the Z-axis direction. Next, the design support apparatus sets a target plane TP3 (M71). The target plane TP3 is set to a position that can be connected to the straight pipe R1 on the target plane TP3 by the straight pipe R01 from the starting point P1 in the starting vector direction and the 90-degree joint CR4 (or 45-degree joint). This procedure is as described according to FIG.

同様に、本設計支援装置は、目標平面TP4を設定する(M72)。目標平面TP4は、終点P2から終点ベクトルV2方向への直管R02と、90度継手CR1(または45度継手)によって、目標平面TP4上の直管R3に接続できる位置に設定する。次に、本設計支援装置は、目標平面TP4から目標平面TP3に至るレベル差解消処理を実行する(M73)。この処理は、図37のM43と同様である。この処理を実行するCPU1が、第2のレベル間接続手段34に相当する。   Similarly, the design support apparatus sets a target plane TP4 (M72). The target plane TP4 is set to a position that can be connected to the straight pipe R3 on the target plane TP4 by the straight pipe R02 from the end point P2 to the end point vector V2 and the 90-degree joint CR1 (or 45-degree joint). Next, the design support apparatus executes level difference elimination processing from the target plane TP4 to the target plane TP3 (M73). This process is the same as M43 in FIG. The CPU 1 that executes this process corresponds to the second inter-level connection means 34.

そして、本設計支援装置は、目標平面上で、共有平面上の二次元処理を実行する。この処理は、図14のM2と同様である。   And this design support apparatus performs the two-dimensional process on a shared plane on a target plane. This process is the same as M2 in FIG.

次に、本設計支援装置は、経路の設定が成功したか否かを判定する(M76)。そして、目標平面上で経路の設定が成功しなかった場合、次に、本設計支援装置は、まだ、目標平面にしてない、未処理の平面(法線ベクトル)が存在するか否かを判定する(M77)。そして、未処理の目標平面にしていない未処理平面(法線ベクトル)が存在する場合、その残りの平面(YZ平面、ZX平面)を目標平面に設定する(M78)。そして、本設計支援装置は、制御をP71に戻し、処理を繰り返す。   Next, the design support apparatus determines whether or not the route setting is successful (M76). If the path setting on the target plane is not successful, the design support apparatus next determines whether or not there is an unprocessed plane (normal vector) that has not yet been set as the target plane. (M77). If there is an unprocessed plane (normal vector) that is not an unprocessed target plane, the remaining plane (YZ plane, ZX plane) is set as the target plane (M78). And this design support apparatus returns control to P71, and repeats a process.

一方、P77の判定で、未処理の目標平面がない場合、本設計支援装置は、ユーザ介入による作図処理を実行する(M79)。また、M76の判定で、経路の設定に成功した場合には、本設計支援装置は、そのまま処理を終了する。   On the other hand, when there is no unprocessed target plane in the determination of P77, the design support apparatus executes a drawing process by user intervention (M79). If the route is successfully set in the determination of M76, the design support apparatus ends the process as it is.

以上述べたように、本設計支援装置によれば、一旦作図された設備中の機器が入れ替えられたときに、作図済みの配管サイズ・位置・向きと、新たに配置する機器の接続口のサイズ・位置・向きを比較し、これをつなぎかえる機能を提供する。また、つなぎ変えのために、配管側の経路変更も自動実行する。   As described above, according to this design support apparatus, when the equipment in the facility once drawn is replaced, the drawn pipe size / position / direction and the size of the connection port of the newly placed equipment are displayed.・ Provides a function to compare the position and orientation, and to switch between them. In addition, a route change on the piping side is automatically executed to change the connection.

なお、上記実施形態では、図40、41に示したように、始点ベクトルV1と終点ベクトルV2とが、いずれも、XY、YZ、およびZX平面のどれとも平行でない場合に、目標平面TP3、TP4を設定し、経路を算出した。しかし、本発明の実施は、このような処理に限定されるものではない。例えば、座標軸の1つ(X,Y,Z軸)が、始点ベクトルV1と終点ベクトルV2と平行になるように座標変換を実行してもよい。その場合には、図37、図38に示した座標軸に平行なベクトルを含む処理にて取り扱うことができるが、座標軸が、床面方向あるいは鉛直方向に対して傾きを持つ。このため、図37、図38の場合とは異なり、設計された配管の向きが床面あるいは鉛直線と傾きを持つことになる。すなわち、上記のような座標変換を用いた場合には、目標平面が、設備を構築する床面とは必ずしも平行、または垂直ではなくなるので、施工条件が異なる。したがって、施工者が設備を構築する床面を基準とした施工に慣れている場合には、図40、41に示した手順が望ましい。この場合には、図37、図38に示した手順と同様、床施工に好適な
設計となる。
In the above embodiment, as shown in FIGS. 40 and 41, when the start point vector V1 and the end point vector V2 are not parallel to any of the XY, YZ, and ZX planes, the target planes TP3, TP4 And the route was calculated. However, the implementation of the present invention is not limited to such processing. For example, the coordinate conversion may be executed so that one of the coordinate axes (X, Y, Z axis) is parallel to the start point vector V1 and the end point vector V2. In that case, it can be handled by processing including vectors parallel to the coordinate axes shown in FIGS. 37 and 38, but the coordinate axes have an inclination with respect to the floor surface direction or the vertical direction. For this reason, unlike the case of FIG. 37 and FIG. 38, the direction of the designed piping has an inclination with respect to a floor surface or a vertical line. That is, when the coordinate transformation as described above is used, the target plane is not necessarily parallel or perpendicular to the floor surface on which the equipment is constructed, and therefore the construction conditions are different. Therefore, when the installer is accustomed to the construction based on the floor on which the equipment is constructed, the procedure shown in FIGS. 40 and 41 is desirable. In this case, the design is suitable for floor construction as in the procedures shown in FIGS.

上記実施例1では、入れ替え前の機器の接続口に接続される配管の開口位置を起点P1、その開口で接続点ベクトルを起点ベクトルV1とし、入れ替え後の機器の接続口の位置を終点P2、その接続点ベクトルを終点ベクトルV2とし、「配管のつなぎ直し処理」を実行した(図13のS154参照)。この処理では、基本的には、起点P1と終点P2とは、固定された状態で、相互の位置関係が判定され、図13−図41に示した処理が実行された。このような処理に代えて、起点P1から終点P2への距離が短く、わずかにずれている場合で、起点P1が元々直管上にある場合には、起点P1から直管の長さ方向にさかのぼった位置まで起点P1を移動して、接続に必要な距離を確保してもよい。そして、さかのぼった位置までの直管を削除し、新たな配管末端を形成すればよい。   In the first embodiment, the opening position of the pipe connected to the connection port of the device before replacement is the starting point P1, the connection point vector is the starting vector V1 at the opening, and the position of the connection port of the device after replacement is the end point P2. The connection point vector was set as the end point vector V2, and the “piping reconnection process” was executed (see S154 in FIG. 13). In this process, the starting point P1 and the end point P2 are basically fixed, the mutual positional relationship is determined, and the processes shown in FIGS. 13 to 41 are executed. Instead of such processing, when the distance from the starting point P1 to the ending point P2 is short and slightly shifted, and the starting point P1 is originally on the straight pipe, the length from the starting point P1 to the length of the straight pipe The starting point P1 may be moved to a retroactive position to ensure a distance necessary for connection. Then, the straight pipe up to the retroactive position may be deleted to form a new pipe end.

例えば、図13のS154にて実行されるサブプログラムの上位プログラムからの呼出のインターフェースをF1(varP1,varVP1,varP2,varVP2,L,PX,RC)のようにする。この場合、varP1,varVP1,varP2およびvarVP2は、それぞれ、起点P1、起点ベクトルV1、終点P2、終点ベクトルV2を上位プログラムからサブプログラムに引き渡す引数である。また、Lは、起点P1が配管末端を起点ベクトル方向にさかのぼって、元の配管の一部が長さ方向に削除された場合の距離であり、サブプログラム内で算出される値である。また、PXは、そのようにして、配管の一部が削除されたことによって、起点P1が移動された後の起点P1の座標である。PXもまた、サブプログラム内で算出される値である。RCはサブプログラムからのリターンコードである。   For example, the interface for calling from the upper program of the subprogram executed in S154 of FIG. 13 is set to F1 (varP1, varVP1, varP2, varVP2, L, PX, RC). In this case, varP1, varVP1, varP2, and varVP2 are arguments for passing the starting point P1, the starting point vector V1, the ending point P2, and the ending point vector V2 from the upper program to the subprogram. L is a distance when the starting point P1 goes back from the piping end in the starting vector direction and a part of the original piping is deleted in the length direction, and is a value calculated in the subprogram. Further, PX is the coordinates of the starting point P1 after the starting point P1 is moved by deleting a part of the piping. PX is also a value calculated in the subprogram. RC is a return code from the subprogram.

このような処理を「配管のつなぎ直し処理」(図13のS154)以下の処理で実行することで、起点P1と終点P2との間の距離を十分に確保することができる。この場合、起点P1で指定される機器入れ替え前に機器に接続されていた配管が直管であれば、単純に、起点ベクトルP1の方向に直管を長さLだけ縮めることによって、新たな起点P1の位置PXを算出できる。距離Lは、接続に要する継手等の寸法から決定すればよい。   By executing such a process in the processes subsequent to the “piping reconnecting process” (S154 in FIG. 13), the distance between the starting point P1 and the ending point P2 can be sufficiently secured. In this case, if the pipe connected to the device before the device replacement designated by the starting point P1 is a straight pipe, a new starting point is simply obtained by shortening the straight pipe by the length L in the direction of the starting point vector P1. The position PX of P1 can be calculated. The distance L may be determined from the dimensions of a joint or the like required for connection.

そのような処理によって、図16に示した距離ΔD2について、L45PMIN<ΔD2あるいはL90PMIN<ΔD2とすることができる。したがって、図18のような任意各継手、図19のような迂回路を用いることなく、基本的には、90度継手、または45度継手によって、管路を形成できる。また、起点P1と終点P2との距離を十分に確保することによって、図22−24に示したような、2つのベクトルが対抗していない場合に生じる迂回路の形成を低減できる。また、図28、図29、31、32、34、36のような場合に生じる迂回路の発生を低減できる。   By such processing, the distance ΔD2 shown in FIG. 16 can be set to L45PMIN <ΔD2 or L90PMIN <ΔD2. Therefore, a pipe line can be basically formed by a 90-degree joint or a 45-degree joint without using any arbitrary joint as shown in FIG. 18 and a bypass as shown in FIG. Further, by ensuring a sufficient distance between the starting point P1 and the ending point P2, it is possible to reduce the formation of a detour that occurs when the two vectors do not compete with each other as shown in FIG. 22-24. In addition, it is possible to reduce the occurrence of detours that occur in the cases shown in FIGS. 28, 29, 31, 32, 34, and 36.

また、起点P1から直管の範囲を超えてさかのぼった位置まで起点P1を移動しても、よい。例えば、直管に対して、90度、45度等の継手が接続され、管路の延伸方向が変更されることになる。このような位置まで、起点P1を移動すると、起点ベクトルも再設定する必要が生じる。したがって、この場合に、図13のS154にて実行されるサブプログラムの上位プログラムからの呼出のインターフェースをF2(varP1,varVP1,varP2,varVP2,VX,N,multi−PX,RC)のようにする。この場合、ここで、VXは、起点P1を移動したときの配管の延伸方向を示す新たな起点ベクトルである。また、Nは、起点P1から配管をさかのぼったときに通過する節点数である。また、multi-PXは、起点P1から配管をさかのぼったときに通過する節点の座標列を含む配列である。multi−PX={(x1,y1,z1), (x2,y2,z2),…, (xN,yN,zN)}のように、複数の節点を有し、N番目の節点が、起点P1の移動先となる。   Further, the starting point P1 may be moved from the starting point P1 to a position going back beyond the range of the straight pipe. For example, a joint such as 90 degrees and 45 degrees is connected to a straight pipe, and the extending direction of the pipe line is changed. When the starting point P1 is moved to such a position, it is necessary to reset the starting point vector. Therefore, in this case, the interface of the call from the upper program of the subprogram executed in S154 of FIG. 13 is set to F2 (varP1, varVP1, varP2, varVP2, VX, N, multi-PX, RC). . In this case, VX is a new starting point vector indicating the extending direction of the pipe when the starting point P1 is moved. N is the number of nodes that pass through the pipe from the starting point P1. The multi-PX is an array including a coordinate sequence of nodes that pass through the pipe from the starting point P1. multi-PX = {(x1, y1, z1), (x2, y2, z2),..., (xN, yN, zN)}, and the Nth node is the starting point P1 It becomes the move destination.

この場合に、起点P1から配管をさかのぼるべき位置は、確保すべき接続に必要な距離から決定される。例えば、起点P1と終点P2との間で、本来確保すべき距離DISが与えられたとき、終点P2を中心に、半径DISの球(配管が平面上にある場合には半径DISの円)を設定し、起点P1の位置がその球(または円)の外側に位置するまで、さかのぼればよい。その場合に、起点P1からさかのぼった途中管路上の節点は、図9に示したルート情報を基に探索すればよい。また、さかのぼった位置での配管の延伸方向を示す起点ベクトルは、図8に示した節点情報にしたがって、部材の仕様情報を検索して求めればよい。また、図9に示したルート情報における2節点間の座標の差分値から、起点ベクトルを算出してもよい。   In this case, the position to go back from the starting point P1 is determined from the distance necessary for the connection to be secured. For example, when a distance DIS to be originally secured is given between the start point P1 and the end point P2, a sphere having a radius DIS (or a circle having a radius DIS when the pipe is on a plane) is centered on the end point P2. Set and go back until the position of the starting point P1 is located outside the sphere (or circle). In that case, the nodes on the midway pipeline going back from the starting point P1 may be searched based on the route information shown in FIG. Further, the starting point vector indicating the extending direction of the pipe at the retroactive position may be obtained by searching the member specification information according to the node information shown in FIG. Further, the starting point vector may be calculated from the difference value of the coordinates between the two nodes in the route information shown in FIG.

設計支援装置の機能概要を例示する図である。It is a figure which illustrates the functional outline of a design support apparatus. 機器入れ替え後の施工用の設計図(斜視図および正面図)の例である。It is an example of the design drawing (perspective view and front view) for construction after equipment replacement. 設計支援装置が表示する画面例を示す図である。It is a figure which shows the example of a screen which a design support apparatus displays. 設計支援装置が表示する画面例を示す図(接続口情報不一致の場合)である。It is a figure which shows the example of a screen which a design support apparatus displays (when connection information does not match). 機器の配置から配管接続までの制御フローを例示する図である。It is a figure which illustrates the control flow from arrangement | positioning of an apparatus to piping connection. 設計支援装置のハードウェア構成の例示する図である。It is a figure which illustrates the hardware constitutions of a design support apparatus. 設計支援装置の機能ブロック図を例示する図である。It is a figure which illustrates the functional block diagram of a design support apparatus. 節点情報ファイルのデータ構造例を示す図である。It is a figure which shows the data structure example of a node information file. 配管の経路を記述するルート情報のデータ構造例を示す図である。It is a figure which shows the example of a data structure of the route information which describes the path | route of piping. 機器マスタのデータ構造例を示す図である。It is a figure which shows the data structure example of an apparatus master. 配置機器識別情報のデータ構造例を示す図である。It is a figure which shows the example of a data structure of arrangement | positioning apparatus identification information. 機器入れ替え時のメイン処理フローを例示する図である。It is a figure which illustrates the main processing flow at the time of apparatus replacement. 入れ替え後の機器に配管をつなぎ直す処理(図12のS15)の詳細を例示する図である。It is a figure which illustrates the detail of the process (S15 of FIG. 12) which reconnects piping to the apparatus after replacement. 配管つなぎ替え処理で実行される処理の詳細を例示する図である。It is a figure which illustrates the detail of the process performed by piping connection change process. 共有平面上での二次元処理の処理を例示する図である。It is a figure which illustrates the process of the two-dimensional process on a common plane. 起点ベクトルV1と終点ベクトルV2とが平行かつ対向している例を示す図である。It is a figure which shows the example which the starting vector V1 and the end point vector V2 are parallel and oppose. 起点P1と、終点P2とを直管で接続する例を示す図である。It is a figure which shows the example which connects the starting point P1 and the end point P2 with a straight pipe. 任意角継手で配管を接続する例を示す図である。It is a figure which shows the example which connects piping by an arbitrary angle joint. 迂回路を形成して、起点P1と終点P2とを接続する例を示す図である。It is a figure which shows the example which forms a detour and connects the starting point P1 and the end point P2. 45度継手で配管を接続する例を示す図である。It is a figure which shows the example which connects piping by a 45 degree | times joint. 90度継手で配管を接続する例を示す図である。It is a figure which shows the example which connects piping by a 90-degree coupling. 対向していないが、平行な起点ベクトルと終点ベクトルを例示する図である。It is a figure which illustrates the origin vector and the end point vector which are not opposed but are parallel. 対向していないが、平行な起点ベクトルと終点ベクトルに対する処理例を示す図である。It is a figure which shows the process example with respect to the parallel start point vector and end point vector which are not opposed. 平行な非対向ベクトルに対する処理例を示す図である。It is a figure which shows the example of a process with respect to a parallel non-opposing vector. 平行な非対向ベクトルに対する処理例を示す図である。It is a figure which shows the example of a process with respect to a parallel non-opposing vector. 交点PXの位置が、起点P1と終点P2との間に位置する場合を例示する図である。It is a figure which illustrates the case where the position of intersection PX is located between the starting point P1 and the end point P2. 交点PXの位置が、起点P1と終点P2との間に位置する場合に任意角継手と直管で接続する処理例を示す図である。It is a figure which shows the process example which connects with an arbitrary angle joint with a straight pipe | pipe, when the position of intersection PX is located between the starting point P1 and the end point P2. 交点PXの位置が、起点P1と終点P2との間に位置しない場合を例示する図である。It is a figure which illustrates the case where the position of intersection PX is not located between the starting point P1 and the end point P2. 交点PXの位置が、起点P1と終点P2との間に位置しない場合に、90度継手と任意角継手の組み合わせによって迂回路を形成する処理例を示す図である。It is a figure which shows the process example which forms a detour by the combination of a 90 degree | times joint and an arbitrary angle joint, when the position of the intersection PX is not located between the starting point P1 and the end point P2. 起点ベクトルと終点ベクトルの交点の位置が、起点と終点との間に位置する場合の処理例を示す図である。It is a figure which shows the process example in case the position of the intersection of an origin vector and an end point vector is located between an origin and an end point. 交点の位置が、起点P1と終点P2との間に位置しない場合に、迂回路を形成する処理例を示す図である。It is a figure which shows the process example which forms a detour when the position of an intersection is not located between the starting point P1 and the end point P2. 交点での交差角が45度より大きく90度未満の場合に、迂回路を形成する構成例を示す図である。It is a figure which shows the structural example which forms a detour when the crossing angle in an intersection is larger than 45 degree | times and less than 90 degree | times. 交点PXでのθが90度の場合に、90度継手と直管で接続する処理例を示す図である。It is a figure which shows the process example connected with a 90 degree joint and a straight pipe | tube, when (theta) in intersection PX is 90 degree | times. 交点の位置が、起点と終点との間に位置しない場合に、90度継手の組み合わせによって迂回路を形成する処理例を示す図である。It is a figure which shows the example of a process which forms a detour by the combination of a 90 degree joint, when the position of an intersection is not located between the starting point and an end point. 交点での交差角が90度より大きく135度未満で、交点の位置が、起点と終点との間に位置する場合の処理例である。In this example, the intersection angle at the intersection is greater than 90 degrees and less than 135 degrees, and the position of the intersection is between the start point and the end point. 交点での交差角が90度より大きく135度未満で、交点の位置が、起点と終点との間に位置しない場合の処理例である。In this example, the intersection angle at the intersection is greater than 90 degrees and less than 135 degrees, and the position of the intersection is not located between the start point and the end point. 座標軸に平行なベクトルを含む処理の詳細を例示する図である。It is a figure which illustrates the detail of the process containing a vector parallel to a coordinate axis. 座標軸に平行なベクトルを含む処理の概念を例示する図である。It is a figure which illustrates the concept of the process containing a vector parallel to a coordinate axis. 起点ベクトルまたは終点ベクトルがXY,YZ,ZX平面のいずれかに平行な場合の処理の詳細を例示する図である。It is a figure which illustrates the detail of a process in case a starting point vector or an end point vector is parallel to either XY, YZ, and a ZX plane. 起点ベクトルおよび終点ベクトルがいずれもXY、YZおよびZX平面のいずれにも平行でない場合の処理を例示する図である。It is a figure which illustrates the process in case neither a starting point vector and an end point vector are parallel to all of XY, YZ, and ZX planes. 起点ベクトルおよび終点ベクトルがいずれもXY、YZおよびZX平面のいずれにも平行でない場合の処理の外面を例示する図である。It is a figure which illustrates the outer surface of a process in case all the starting point vectors and end points vectors are not parallel to all of XY, YZ, and ZX planes.

符号の説明Explanation of symbols

1 1 CPU
2 メモリ
4 ハードディスク駆動装置
6 入力装置
8 表示装置
10 ネットワークインターフェース
12 着脱可能記憶媒体駆動装置
20 制御部
21 表示制御手段
22 入力制御手段
23 経路記憶手段
24 接続位置算出手段
25 経路設定
26 機器接続位置記憶手段
27 設備配置記憶手段
28 属性比較手段
29 機器属性記憶手段
30 平面判定手段
31 単一目標平面経路設定手段
32 複数目標平面経路設定手段
33 第1のレベル間接続手段
34 第2のレベル間接続手段
1 1 CPU
DESCRIPTION OF SYMBOLS 2 Memory 4 Hard disk drive device 6 Input device 8 Display device 10 Network interface 12 Removable storage medium drive device 20 Control part 21 Display control means 22 Input control means 23 Path | route storage means 24 Connection position calculation means 25 Path | route setting 26 Equipment connection position memory | storage Means 27 Equipment arrangement storage means 28 Attribute comparison means 29 Equipment attribute storage means 30 Plane determination means 31 Single target plane path setting means 32 Multiple target plane path setting means 33 First interlevel connection means 34 Second interlevel connection means

Claims (5)

設備内の機器に配管が接続される接続部の位置座標と接続される配管の配置方向とを記憶する設備内機器情報記憶手段と、
前記設備にて第1の機器を第2の機器に変更する指定を受け付ける入力手段と、
前記第1の機器を第2の機器に変更したときに前記第2の機器において前記配管が接続されるべき接続部の位置座標と接続される配管の配置方向とを算出する接続位置算出手段と、
前記変更前に第1の機器の接続部に接続されていた配管末端または前記配管末端から配管をさかのぼる方向に一部を削除して形成された配管末端から、前記第2の機器の接続部までの配管の経路を設定する経路設定手段と、を備える設備の設計支援装置。
In-facility equipment information storage means for storing the position coordinates of the connecting portion where the pipe is connected to the equipment in the equipment and the arrangement direction of the connected pipe;
Input means for accepting designation to change the first device to the second device in the facility;
A connection position calculation means for calculating a position coordinate of a connection portion to which the pipe is to be connected and a direction of arrangement of the pipe to be connected in the second device when the first device is changed to a second device; ,
From the end of the pipe connected to the connection part of the first device before the change or from the end of the pipe formed by deleting a part of the pipe from the end of the pipe to the connection part of the second device A facility design support apparatus comprising: a route setting means for setting a route of the pipe.
機器内の第1の座標系での接続部の位置座標と接続される配管の配置方向とを機器ごとに記憶する機器接続位置記憶手段と、
前記設備内の第2の座標系で機器を設置するときの設備内配置点、前記第1の座標系と前記第2の座標系との相対角度、および前記機器を前記設備内配置点に位置付けるときの基準点を記憶する設置状態記憶手段と、をさらに備え、
前記接続位置算出手段は、設備内配置点に前記第2の機器の基準点を位置付け、前記第2の座標系に対して前記第1の座標系を前記相対角度で設定したときの前記第2の機器の接続部の位置座標と接続される配管の配置方向とを算出する請求項1に記載の設備の設計支援装置。
Device connection position storage means for storing, for each device, the position coordinates of the connecting portion in the first coordinate system in the device and the arrangement direction of the pipe to be connected;
In-facility placement point when equipment is installed in the second coordinate system in the equipment, a relative angle between the first coordinate system and the second coordinate system, and the equipment is positioned at the in-facility placement point And an installation state storage means for storing a reference point at the time,
The connection position calculating means positions the reference point of the second device at an installation point in the facility, and the second coordinate system is set when the first coordinate system is set at the relative angle with respect to the second coordinate system. The equipment design support apparatus according to claim 1, wherein the position coordinates of the connecting portion of the equipment and the arrangement direction of the pipe to be connected are calculated.
機器ごとに前記接続部に接続される配管の用途を含む接続属性情報を記憶する機器属性記憶手段と、
前記第1の機器の接続部と第2の機器の接続部との間で前記接続属性情報を比較する属性比較手段と、
前記比較の結果、第1の機器の接続部と第2の機器の接続部との間で前記接続属性情報が一致しない場合に、前記第1の機器の接続部と第2の機器の接続部との間の経路設定のための対応関係の入力を促す手段と、をさらに備える請求項1または2に記載の設備の設計支援装置。
Device attribute storage means for storing connection attribute information including the use of piping connected to the connection unit for each device;
Attribute comparison means for comparing the connection attribute information between the connection part of the first device and the connection part of the second device;
As a result of the comparison, when the connection attribute information does not match between the connection unit of the first device and the connection unit of the second device, the connection unit of the first device and the connection unit of the second device The facility design support apparatus according to claim 1, further comprising: a unit that prompts input of a correspondence relationship for setting a route between the facility and the facility.
コンピュータが、Computer
設備内で第1の機器を第2の機器に変更する指定を受け付ける入力ステップと、  An input step of accepting a designation to change the first device to the second device in the facility;
前記設備内の機器に配管が接続される接続部の位置座標と接続される配管の配置方向とを記憶する設備内機器情報記憶手段から前記位置座標と前記配置方向とを読み出すステップと、  Reading the position coordinates and the arrangement direction from the equipment information storage means in the facility for storing the position coordinates of the connecting portion where the pipe is connected to the equipment in the facility and the arrangement direction of the pipe to be connected;
前記第1の機器を第2の機器に変更したときに前記第2の機器において前記配管が接続されるべき接続部の位置座標と接続される配管の配置方向とを算出する接続位置算出ステップと、  A connection position calculation step of calculating a position coordinate of a connection portion to which the pipe is to be connected and an arrangement direction of the pipe to be connected in the second device when the first device is changed to a second device; ,
前記変更前に第1の機器の接続部に接続されていた配管末端または前記配管末端から配管をさかのぼる方向に一部を削除して形成された配管末端から、前記第2の機器の接続部までの配管の経路を設定する経路設定ステップと、を実行する設備の設計支援方法。  From the end of the pipe connected to the connection part of the first device before the change or from the end of the pipe formed by deleting a part of the pipe from the end of the pipe to the connection part of the second device A route setting step for setting the route of the piping of the facility, and a facility design support method for executing the step.
コンピュータを、Computer
設備内の機器に配管が接続される接続部の位置座標と接続される配管の配置方向とを記憶する設備内機器情報記憶手段、  In-facility equipment information storage means for storing the position coordinates of the connecting portion where the pipe is connected to the equipment in the equipment and the arrangement direction of the connected pipe,
前記第1の機器を第2の機器に変更する指定を受け付ける入力手段、  Input means for accepting designation to change the first device to a second device;
前記第1の機器を第2の機器に変更したときに前記第2の機器において前記配管が接続されるべき接続部の位置座標と接続される配管の配置方向とを算出する接続位置算出手段、および  A connection position calculation means for calculating a position coordinate of a connection portion to which the pipe is to be connected and an arrangement direction of the pipe to be connected in the second device when the first device is changed to a second device; and
前記変更前に第1の機器の接続部に接続されていた配管末端または前記配管末端から配管をさかのぼる方向に一部を削除して形成された配管末端から、前記第2の機器の接続部までの配管の経路を設定する経路設定手段、として機能させるプログラム。  From the end of the pipe connected to the connection part of the first device before the change or from the end of the pipe formed by deleting a part of the pipe from the end of the pipe to the connection part of the second device A program for functioning as a route setting means for setting the route of piping.
JP2008184975A 2008-07-16 2008-07-16 Equipment design support apparatus, method, and program Active JP5210744B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008184975A JP5210744B2 (en) 2008-07-16 2008-07-16 Equipment design support apparatus, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008184975A JP5210744B2 (en) 2008-07-16 2008-07-16 Equipment design support apparatus, method, and program

Publications (2)

Publication Number Publication Date
JP2010026645A JP2010026645A (en) 2010-02-04
JP5210744B2 true JP5210744B2 (en) 2013-06-12

Family

ID=41732445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008184975A Active JP5210744B2 (en) 2008-07-16 2008-07-16 Equipment design support apparatus, method, and program

Country Status (1)

Country Link
JP (1) JP5210744B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5503691B2 (en) * 2012-05-30 2014-05-28 株式会社ジオプラン Multi-path member batch layout drawing system, program, and information storage medium
JP5675701B2 (en) * 2012-05-30 2015-02-25 株式会社ジオプラン Automatic piping drawing system, program and information recording medium
KR102242138B1 (en) * 2021-01-04 2021-04-20 주식회사 탑코어시스템 Digital twin based piping design modeling device and method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05225293A (en) * 1992-02-07 1993-09-03 Daikin Ind Ltd Method and device for generating piping figure
JP3242851B2 (en) * 1996-11-21 2001-12-25 高砂熱学工業株式会社 How to change the route of the pipeline
JP3242852B2 (en) * 1996-11-21 2001-12-25 高砂熱学工業株式会社 Member moving method
JPH1131159A (en) * 1997-07-14 1999-02-02 Daikin Ind Ltd Recording medium, piping designing method and piping designing device
JP2002007494A (en) * 2000-06-16 2002-01-11 Babcock Hitachi Kk System for automatic routing of piping
JP2003316835A (en) * 2002-04-24 2003-11-07 Kajima Corp Building production information integration system
JP4886472B2 (en) * 2006-10-31 2012-02-29 株式会社東芝 Device for diverting arrangement data and specification data of piping parts and method of diversion

Also Published As

Publication number Publication date
JP2010026645A (en) 2010-02-04

Similar Documents

Publication Publication Date Title
US10331845B2 (en) Fuse multiple drawings into an equipment (BIM) model
US8823751B2 (en) Size based display of piping systems
US11282217B2 (en) Pattern matching tool
KR102050535B1 (en) Method and apparatus for hooking up pipes in three-dimensional modeling information based on various pipe bend angles
JP5210744B2 (en) Equipment design support apparatus, method, and program
JP2009524887A (en) Specification-based routing for utility network systems
JP5582878B2 (en) Numerical analysis apparatus and element generation program
JP2017211987A (en) Piping route generation method, route generation method for multiple piping, piping route generation device, route generation device for multiple piping, and program
US20150186558A1 (en) Automated mep design
JP5301921B2 (en) Pipeline design support device
WO2022210156A1 (en) Program, method, and system
US20030061011A1 (en) Computer-assisted-design of piping swing-joint intersections
JP5073610B2 (en) Design support apparatus, program, and method for equipment having equipment and piping
JP2005108014A (en) Method and system for supporting layout design for apparatus of building equipment
JP7448312B2 (en) Automatic routing method and device
US6919887B2 (en) Navigational compass for drawing programs
JP6991884B2 (en) Quotation support device, quotation support method, and quotation support program
JP6408650B1 (en) Design support program and design support apparatus
US20220198088A1 (en) System and Method for Automated and Integrated Plant Design
JP2021014949A (en) Data processor, data processing program and data processing method
JP2013120527A (en) Design support device, design support method, and program
US11030826B2 (en) Hanger generation in computer-aided design programs
JP5074328B2 (en) Equipment design support apparatus, design support method, and program for stacking equipment elements
JPH06317506A (en) Operation processing device and piping layout position setting method
Charalambides et al. Square-base double-layer tensegrity structures: Geometric relations for modular tensegrity assemblies

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120724

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120924

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130219

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130225

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160301

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5210744

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150