Drawing system, drawing method, and drawing program

The CAD system automates the adjustment of branch pipe positions to absorb height differences, reducing manual effort and improving efficiency in drawing systems.

JP2026094697APending Publication Date: 2026-06-10DAIKIN INDUSTRIES LTD

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
DAIKIN INDUSTRIES LTD
Filing Date
2024-11-29
Publication Date
2026-06-10

AI Technical Summary

Technical Problem

The varying height of connection ports in devices requires manual calculation of height differences, leading to increased man-hours in drawing branch pipes in CAD systems.

Method used

A CAD system that automatically adjusts the position and shape of branch pipes to absorb height differences between main pipes and connection ports based on user input, using control units to determine the position and shape of branch pipes, reducing manual effort.

Benefits of technology

Reduces the time required to draw branch pipes by automating the adjustment of height differences, thus improving efficiency in CAD systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026094697000001_ABST
    Figure 2026094697000001_ABST
Patent Text Reader

Abstract

To reduce the man-hours required for drawing branch pipes. [Solution] The control unit 20 of the drawing system 100 displays the position and shape of the main pipe 80 and the position and shape of the equipment as graphic information on the display unit 30. The control unit 20 accepts user input on the display unit 30 to specify first information regarding the connection port 63 of the equipment to which the branch pipe 90 is connected, and second information regarding the connection position 81 on the main pipe 80 to which the branch pipe 90 is connected. The control unit 20 determines the position and shape of the branch pipe 90 based on the first and second information such that the height difference H3 between the main pipe 80 and the connection port 63 is absorbed at a first position 94 in the middle of the branch pipe 90, when the first straight line L1 extending along the main pipe 80 and the second straight line L2 extending perpendicularly from the end face of the connection port 63 are not orthogonal, and the height difference H3 between the main pipe 80 and the connection port 63 is less than or equal to a first value. The control unit 20 displays the determined position and shape of the branch pipe 90 as graphic information on the display unit 30.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Relates to a drawing system, a drawing method, and a drawing program.

Background Art

[0002] Conventionally, CAD systems for performing design and drafting on a computer have been known. In a CAD system, for example, by registering in advance graphic symbols representing devices such as air conditioners and lighting fixtures, drawings of facilities can be efficiently created. Patent Document 1 (Japanese Patent Application Laid-Open No. 2015-7877) discloses a graphic processing device that assigns attributes of a device represented by a graphic symbol to a graphic symbol composed of a plurality of graphic elements.

[0003] When creating a drawing of a facility using such a CAD system, a branch pipe connecting the connection port and the main pipe is drawn by specifying the connection port of the device and the connection position on the main pipe. At this time, when the height of the connection port and the height of the main pipe are different, it is common to draw by specifying the height difference.

Summary of the Invention

Problems to be Solved by the Invention

[0004] However, the height of the connection port of a device often varies depending on the model number, and it takes a lot of man-hours to draw a branch pipe while calculating the height difference.

Means for Solving the Problems

[0005] The first drawing system is a system for drawing branch pipes in the section between the main pipe and the connection port of the equipment. The drawing system comprises a control unit and a display unit. The control unit displays the position and shape of the main pipe and the position and shape of the equipment as graphic information on the display unit. The control unit also accepts user input on the display unit to specify first information regarding the connection port of the equipment to which the branch pipe is connected, and second information regarding the connection position on the main pipe to which the branch pipe is connected. Here, the straight line extending along the main pipe is called the first straight line, and the straight line extending perpendicularly from the end face of the connection port is called the second straight line. If the first and second straight lines are not perpendicular, and the difference in height between the main pipe and the connection port is less than or equal to a first value, the control unit determines the position and shape of the branch pipe based on the first and second information so as to absorb the difference in height at a first position in the middle of the branch pipe. The control unit also displays the determined position and shape of the branch pipe as graphic information on the display unit.

[0006] In the first perspective drawing system, the control unit draws branch pipes at a first position that absorb the height difference between the main pipe and the connection port, based on the first and second information. Absorbing the height difference means arranging connecting components to compensate for the height difference. This reduces the man-hours required to draw the branch pipes.

[0007] The second perspective drawing system is the first perspective drawing system, and the control unit determines the position of the first position according to first setting information relating to the position where the first position is placed.

[0008] In the second perspective drawing system, the control unit draws the branch pipes according to the first setting information, thus reducing the man-hours required to draw the branch pipes.

[0009] The third perspective drawing system is a first or second perspective drawing system, wherein the branch pipe has a first part perpendicular to the main pipe, a second part extending in the direction of the equipment connection port, and a bent part connecting the first part and the second part.

[0010] The fourth perspective drawing system is the third perspective drawing system, in which the control unit determines the position and shape of the branch pipes in the first part so as to absorb the difference in height.

[0011] The fifth perspective drawing system is a third or fourth perspective drawing system, in which the control unit determines the position of the folded portion according to second setting information relating to the position where the folded portion is placed.

[0012] In the fifth perspective drawing system, the control unit draws branch pipes with bent sections according to the second setting information, thus reducing the man-hours required to draw the branch pipes.

[0013] The sixth perspective drawing system is a drawing system for either the first perspective or the fifth perspective, and the control unit determines the position and shape of the branch pipe so that it is connected to the main pipe using a predetermined joint when the angle between the first straight line and the second straight line is a predetermined value.

[0014] In the sixth perspective drawing system, the control unit draws branch pipes with predetermined joints, thus reducing the man-hours required for drawing branch pipes.

[0015] The seventh perspective drawing system is a drawing system from either the first perspective or the sixth perspective, and the control unit determines the position and shape of the branch pipe so that it has a wrap-around portion that goes around the outer circumference of the equipment when the connection port is located on the opposite side from the main pipe side of the equipment.

[0016] In the seventh perspective drawing system, the control unit draws branch pipes with curved sections, thus reducing the man-hours required to draw the branch pipes.

[0017] The eighth perspective drawing system is the seventh perspective drawing system, wherein the wrap-around section has a third section connected to the connection port and a fourth section perpendicular to the third section. The control unit determines the lengths of the third and fourth sections based on preset third and fourth setting information.

[0018] In the eighth perspective drawing system, the control unit draws branch pipes with wrap-around sections according to the third and fourth setting information, thereby reducing the man-hours required to draw the branch pipes.

[0019] The drawing system for the ninth perspective is a drawing system for either the first or eighth perspective, and the control unit displays the position and shape of the main pipe, equipment, and branch pipes as three-dimensional graphic information on the display unit.

[0020] The drawing system for the 10th viewpoint is the drawing system for either the 1st viewpoint or the 9th viewpoint, and the 1st value is 400 mm or less.

[0021] The drawing system for the 11th perspective is a drawing system for either the 1st perspective or the 10th perspective, and the equipment is an air conditioning system.

[0022] The drawing method of the 12th perspective is a method used in a drawing system comprising a control unit and a display unit for drawing branch pipes in the section between a main pipe and a connection port of equipment. In the drawing method, the control unit performs a first display step, a reception step, a determination step, and a second display step. The first display step displays the position and shape of the main pipe and the position and shape of the equipment as graphic information on the display unit. The reception step accepts an operation on the display unit in which the user specifies first information regarding the connection port of the equipment to which the branch pipe is connected, and second information regarding the connection position on the main pipe to which the branch pipe is connected. Here, the straight line extending along the main pipe is called the first straight line, and the straight line extending perpendicularly from the end face of the connection port is called the second straight line. The determination step determines the position and shape of the branch pipe based on the first and second information so as to absorb the difference in height at a first position in the middle of the branch pipe, when the first and second straight lines are not orthogonal and the difference in height between the main pipe and the connection port is less than or equal to a first value. In the second display step, the determined position and shape of the branch pipe are displayed as graphic information on the display unit.

[0023] The drawing program of the 13th aspect is a program used in a drawing system including a control unit and a display unit that draw a branch pipe in a section between a main pipe and a connection port of a device. The drawing program causes the control unit to realize a first display function, a reception function, a determination function, and a second display function. The first display function displays the position and shape of the main pipe and the position and shape of the device on the display unit as graphic information. The reception function receives an operation specified by the user on the display unit for first information regarding a connection port of a device to which the branch pipe is connected and second information regarding a connection position on the main pipe to which the branch pipe is connected. Here, a straight line extending along the main pipe is defined as a first straight line, and a straight line extending perpendicularly from the end face of the connection port is defined as a second straight line. The determination function determines the position and shape of the branch pipe based on the first information and the second information such that the difference in height position is absorbed at a first position in the middle of the branch pipe when the first straight line and the second straight line are not perpendicular and the difference in height position between the main pipe and the connection port is not more than a first value. The second display function displays the determined position and shape of the branch pipe on the display unit as graphic information.

Brief Description of the Drawings

[0024] [Figure 1] It is a block diagram showing the configuration of the drawing system. [Figure 2] It is a block diagram showing the configuration of the storage unit of the drawing system. [Figure 3] It is a diagram showing an example of a graphic symbol representing an indoor unit. [Figure 4] It is a diagram showing an example of a graphic symbol representing an indoor unit. [Figure 5] It is a plan view showing an example of the connection of a device, a branch pipe, and a main pipe. [Figure 6] It is a diagram for explaining the shape of the branch pipe based on the first angle and the difference in height position. [Figure 7] It is a plan view showing an example of the connection of a device, a branch pipe having a bent portion, and a main pipe. [Figure 8] It is an elevation view showing an example of the connection of a device, a branch pipe, and a main pipe. [Figure 9] It is a plan view showing an example of the connection of a device, a branch pipe having an indentation portion, and a main pipe. [Figure 10] This is an example of a flowchart showing the process for drawing branch pipes. [Modes for carrying out the invention]

[0025] (1) Overall configuration of the drawing system A drawing system 100 according to an embodiment of this disclosure will be described with reference to the drawings. Figure 1 is a block diagram showing the configuration of the drawing system 100 according to this embodiment. The drawing system 100 is a CAD system for performing design and drafting on a computer. The drawing system 100 is a system for drawing branch pipes 90 in the section between the main pipe 80 and the connection port 63 of the equipment 1. The equipment 1 is, for example, an air conditioning system, sanitary equipment, and electrical equipment. In this embodiment, the case in which the equipment 1 is the indoor unit of an air conditioning system and the main pipe 80 is refrigerant piping will be described.

[0026] The following description assumes that a drawing program is incorporated as part of the CAD system. Users of the drawing system 100 can use the drawing system 100 to create drawings of equipment (hereinafter referred to as graphic data 70). The drawing system 100 mainly consists of an input unit 10, a control unit 20, a display unit 30, and a storage unit 50.

[0027] The input unit 10 is, for example, a pointing device such as a mouse and a pen tablet, and a keyboard. The input unit 10 receives various types of data, such as coordinates and strings, entered by the user. The user can operate the input unit 10 to perform file processing, drawing processing, and editing processing. File processing includes searching, saving, deleting, and printing graphic data 70. Drawing processing is the process of creating graphic data 70 by inputting graphic elements 61 such as lines, circles, and arcs, graphic symbols 60, and strings. Editing processing is the process of moving, positioning, and changing graphic elements 61, graphic symbols 60, and strings.

[0028] The control unit 20 is, for example, a general-purpose personal computer with dedicated software installed. The control unit 20 mainly consists of a CPU 21, ROM 22, RAM 23, bus 24, and input / output interface 25. In the control unit 20, the CPU 21 performs various processes based on the program stored in the ROM 22 and the program loaded from the storage unit 50 into the RAM 23. The RAM 23 stores the data necessary for the CPU 21 to perform the processes. The CPU 21, ROM 22, and RAM 23 are interconnected via the bus 24. The input / output interface 25 is connected to the bus 24. The input / output interface 25 has an interface function between the input unit 10, the display unit 30, and the storage unit 50. The basic operation of the control unit 20 is to process data entered by the user using the input unit 10 and display the processing results on the display unit 30.

[0029] The display unit 30 is, for example, a liquid crystal display device. The display unit 30 displays a mouse pointer, cursor, text strings, graphic elements 61, and graphic symbols 60 on the screen. The display unit 30 also displays graphic data 70 created by the user on the screen.

[0030] The storage unit 50 is, for example, a hard disk that stores various types of data and programs. However, the storage unit 50 may also be a removable medium such as a magnetic disk, optical disk, magneto-optical disk, or semiconductor memory. Figure 2 is a block diagram representing the data and programs stored in the storage unit 50.

[0031] The storage unit 50 stores data such as the graphic element database 41, the graphic symbol database 42, the drawing database 43, and the setting information database 44. The storage unit 50 also stores programs such as the first display function 51, the reception function 52, the decision function 53, the second display function 54, and the third display function 55. The control unit 20 executes the programs stored in the storage unit 50 and processes the data stored in the storage unit 50.

[0032] (2) Detailed configuration of the memory unit Next, the data and programs stored in the memory unit 50 of the drawing system 100 will be described.

[0033] (2-1) Graphics Element Database The geometric element database 41 is a database that stores various geometric elements 61 that a user can use to create geometric data 70. The geometric elements 61 are, for example, points, line segments, rectangles, circles, arcs, ellipses, elliptical arcs, splines, polylines, Bézier curves, and other general drawing shapes.

[0034] (2-2) Graphic Symbol Database The graphic symbol database 42 is a database that stores graphic symbols 60 registered by the user and graphic symbols 60 that have been pre-registered. A graphic symbol 60 is data consisting of one or more graphic elements 61. A graphic symbol 60 represents equipment such as air conditioning systems, sanitary equipment, and electrical equipment. A graphic symbol 60 may also represent components such as pipes, fittings, and wiring. The graphic symbol 60 representing an indoor unit shown in Figure 3 consists of 11 line segment elements 64a to 64k. Figure 4 is an example of a graphic symbol 60 representing an indoor unit, viewed from a vertical direction on the surface where the connection ports 63 are located. For the sake of explanation, only one connection port 63 is shown in the graphic symbols 60 representing indoor units shown in Figures 3 to 5 and Figures 7 to 9, but the number of connection ports 63 in a graphic symbol 60 representing an indoor unit is not limited to this.

[0035] The graphic symbols 60 registered in the graphic symbol database 42 are associated with graphic element information and attribute information. Users can create graphic data 70 using the graphic symbols 60 registered in the graphic symbol database 42.

[0036] The geometric element information is information about each geometric element 61 that constitutes the geometric symbol 60. The geometric element information includes the type of each geometric element 61 that constitutes the geometric symbol 60 (e.g., circle element, line segment element), and the coordinates, dimensions, and placement angle used to identify the shape of each geometric element 61. Specifically, the geometric element information of the geometric symbol 60 includes, for example, the coordinates and radius of the center of a circle element, and the coordinates of both endpoints of a line segment element. Hereinafter, the coordinates of the geometric elements 61 that constitute the geometric symbol 60 on the geometric symbol 60 will be called the first coordinate, and the placement angle on the geometric symbol 60 will be called the first angle.

[0037] The first coordinate is expressed, for example, in a three-dimensional coordinate system (XYZ coordinate system) based on a predetermined point on the graphic symbol 60. The first coordinate may also be expressed in a two-dimensional coordinate system if necessary. The first angle is expressed, for example, in an angle based on a predetermined axis on the graphic symbol 60. The first angle indicates the inclination of the graphic element 61, for example, with the positive X-axis direction as the reference (0 degrees). In the example shown in Figure 3, the line segment element 64i is positioned at an angle D1 with respect to the positive X-axis direction.

[0038] Attribute information is information about the attributes assigned to the graphic symbol 60. Attribute information includes, for example, a string representing the type of item represented by the graphic symbol 60 (e.g., the model number of equipment 1). Attribute information also includes information about the connection point 62 of the graphic symbol 60.

[0039] A connection point 62 is a point on a graphic element 61 that constitutes a graphic symbol 60. Furthermore, a connection point 62 is a point where other graphic elements 61, such as those representing pipes or wiring components, and the graphic symbol 60 can be connected. Specifically, a connection point 62 represents a wall outlet socket or a pipe connection port 63, both represented by the graphic symbol 60. Information regarding a connection point 62 includes its first coordinate on the graphic symbol 60.

[0040] In the example shown in Figure 3, the first coordinate of connection point 62 is the center coordinate (X1, Y1) of the line segment element 64k that constitutes the end face of connection port 63. In the example shown in Figure 4, the first coordinate of connection point 62 is the center coordinate (X1, Z1) of the circular element 65 that constitutes the end face of connection port 63. In this case, the first coordinate of connection point 62 can be expressed as the coordinates (X1, Y1, Z1).

[0041] When creating graphic data 70, the user can easily select the connection point 62 by moving the cursor close to the connection point 62 of the graphic symbol 60 representing device 1.

[0042] (2-3) Drawing Database The drawing database 43 is a database in which graphic data 70 created by users, and graphic data 70 created by users, are stored as drawings. Figure 5 is a plan view showing an example of the connection between equipment 1, branch pipe 90, and main pipe 80. The drawing database 43 stores information about all graphic elements 61, all graphic symbols 60, and all strings contained in each graphic data 70.

[0043] The information regarding the geometric element 61 is information regarding the placement of the geometric element 61 in the geometric data 70. Specifically, the information regarding the geometric element 61 includes the coordinates, dimensions, and placement angle in the geometric data 70 where the geometric element 61 is placed.

[0044] Information regarding the graphic symbol 60 refers to the placement of the graphic symbol 60 in the graphic data 70. Specifically, the information regarding the graphic symbol 60 includes the coordinates and placement angle at which the graphic symbol 60 is placed in the graphic data 70. Furthermore, the information regarding the graphic symbol 60 includes the coordinates and placement angles at which each graphic element 61 constituting the graphic symbol 60 is placed in the graphic data 70. In addition, the information regarding the graphic symbol 60 includes the coordinates of the connection points 62 in the graphic data 70.

[0045] Hereinafter, the coordinates of the graphic element 61 (including the graphic element 61 that constitutes the graphic symbol 60), the graphic symbol 60, and the connection point 62 in the graphic data 70 will be referred to as the second coordinates. Also, the arrangement angle of the graphic element 61 (including the graphic element 61 that constitutes the graphic symbol 60) and the graphic symbol 60 in the graphic data 70 will be referred to as the second angle.

[0046] The second coordinate is, for example, a coordinate in a three-dimensional coordinate system (XYZ coordinate system) based on a predetermined point in the graphic data 70, and indicates the position where the graphic element 61 (including the graphic element 61 that constitutes the graphic symbol 60), the graphic symbol 60, and the connection point 62 are located. The second coordinate may also be expressed in a two-dimensional coordinate system coordinate if necessary.

[0047] Furthermore, the second angle is represented, for example, by an angle relative to a predetermined axis on the graphic symbol 60. The second angle indicates the inclination of the graphic element 61 (including the graphic element 61 that constitutes the graphic symbol 60) and the graphic symbol 60, with the positive X-axis direction in the graphic data 70 being the reference (0 degrees). In the example shown in Figure 5, the graphic symbol 60 representing an indoor unit (see Figure 3), which is registered in the graphic symbol database 42, is positioned at an angle D2 with respect to the positive X-axis direction. In this case, the second angle of the graphic symbol 60 is angle D2.

[0048] (2-4) Configuration Information Database The configuration information database 44 is a database that stores various configuration information used when creating graphic data 70. The configuration information database 44 can be updated by the user. The configuration information database 44 stores the first value, first configuration information, second configuration information, third configuration information, and fourth configuration information, etc. The user can update the first value, first configuration information, second configuration information, third configuration information, and fourth configuration information via the input unit 10. Details of the first value, first configuration information, second configuration information, third configuration information, and fourth configuration information will be described later.

[0049] (2-5) 1st display function The first display function 51 is a program for displaying the location and shape of the main piping (hereinafter referred to as the main pipe 80) and the location and shape of the equipment 1 as graphic information on the display unit 30. In other words, the first display function 51 displays a graphic element 61 or graphic symbol 60 representing the main pipe 80 and a graphic symbol 60 representing the equipment 1 on the display unit 30.

[0050] (2-6) Reception function The reception function 52 is a program for receiving operations specified by the user on the display unit 30, which include first information regarding the connection port 63 of the device 1 to which one end of the branch pipe 90 is connected, and second information regarding the connection position 81 on the main pipe 80 to which the other end of the branch pipe 90 is connected.

[0051] The user operates the mouse, which is one of the input units 10, to specify the connection port 63 on the graphic symbol 60 representing the device 1. The reception function 52 obtains the second coordinates of the connection point 62 associated with the specified connection port 63 from the drawing database 43. The user may also specify the connection point 62. The reception function 52 calculates the height position H1 of the connection port 63 based on the second coordinates of the connection point 62.

[0052] Furthermore, the user operates the mouse, which is one of the input units 10, to specify the connection position 81 on the graphic element 61 representing the main pipe 80. The reception function 52 obtains the second coordinate of the connection position 81 in the graphic data 70. Based on the second coordinate of the connection position 81, the second coordinate of the graphic element 61 representing the main pipe 80, the dimensions, and the second angle, the reception function 52 calculates the height position H2 of the connection position 81.

[0053] In the example shown in Figure 8, height positions H1 and H2 are based on the line segment element 64n that constitutes the lower surface of the equipment 1. However, height positions H1 and H2 may also be calculated based on the height at which the main pipe 80 is installed, as specified by user operation, or based on a predetermined height from the floor (for example, the ceiling height of the floor). Height position H1 is the vertical dimension from the reference position to the center of the connection port 63 (connection point 62). Height position H2 is the vertical dimension from the reference position to the center of the main pipe 80 at the connection position 81.

[0054] (2-7) Decision function The determination function 53 will be explained with reference to Figure 5. The determination function 53 is a program for determining the position and shape of the branch pipe 90 in the section between the main pipe 80 and the connection port 63 of the equipment 1, based only on the first and second pieces of information specified by the user. Here, the straight line extending along the main pipe 80 is called the first straight line L1. The straight line extending perpendicularly from the end face of the connection port 63 toward the outside of the equipment 1 is called the second straight line L2. In other words, the direction in which the second straight line L2 extends is the direction in which the straight connection portion of the branch pipe 90 connected to the connection port 63 extends. Furthermore, the direction in which the second straight line L2 extends is the direction in which the connecting pipe 66 of the equipment 1, with the connection port 63 formed at its end, extends.

[0055] The determination function 53 calculates the angle of the first straight line L1 based on the second angle of the geometric element 61 representing the main pipe 80. The angle of the first straight line L1 indicates the slope of the first straight line L1 when the positive X-axis direction in the geometric data 70 is taken as the reference (0 degrees). Specifically, for example, if the line segment element 64m representing the outer circumference of the main pipe 80 is tilted at an angle D3 with respect to the positive X-axis direction, then the second angle of the geometric element 61 representing the main pipe 80 is angle D3. The determination function 53 sets the angle of the first straight line L1 to angle D3.

[0056] Furthermore, the determination function 53 calculates the angle of the second straight line L2 based on the second angle of the line segment element 64k that constitutes the end face of the connection port 63. The angle of the second straight line L2 indicates the inclination of the second straight line L2 when the positive X-axis direction in the geometric data 70 is taken as the reference (0 degrees). Specifically, for example, if the line segment element 64k is inclined by an angle D4 with respect to the positive X-axis direction, the second angle of the line segment element 64k is angle D4. The determination function 53 sets the angle of the second straight line L2 extending perpendicularly from the end face of the connection port 63 to angle D4 + 90 degrees = angle D5.

[0057] The determination function 53 calculates the angle between the first straight line L1 and the second straight line L2 (first intersection angle D6) based on the angle D3 of the first straight line L1 and the angle D5 of the second straight line L2, which were determined as described above. If the first straight line L1 and the second straight line L2 intersect, the determination function 53 calculates the first intersection angle D6 so that the angle is within the range of 0 to 90 degrees. Note that if the connection port 63 is located on the opposite side of the main pipe 80 side of the equipment 1, the first straight line L1 and the second straight line L2 do not intersect. In this case, the first intersection angle D6 is not calculated.

[0058] Furthermore, the determination function 53 calculates the difference in height H3 between the main pipe 80 and the connection port 63, based on the height position H1 of the connection port 63 and the height position H2 of the connection position 81, which were calculated by the reception function 52.

[0059] The determination function 53 determines the position that absorbs the height difference H3, the angle at which the main pipe 80 branches, and the type of branch pipe 90, based on the calculated first intersection angle D6 and the height difference H3. The determination function 53 determines the position and shape of the branch pipe 90 based on the position that absorbs the height difference H3, the angle at which the main pipe 80 branches, and the type of branch pipe 90. Here, absorbing the height difference H3 means arranging connecting parts that compensate for the height difference H3. Connecting parts include pipes and fittings. Figure 6 is a diagram illustrating the shape of the branch pipe 90 based on the first intersection angle D6 and the height difference H3.

[0060] (2-7-1) Determination process for absorbing the difference in height position If the height difference H3 is small, there is no suitable joint in the geometric data 70 to connect the main pipe 80 and the branch pipe 90 that extends in a straight line from the main pipe 80. The determination function 53 determines a position that absorbs the height difference H3 based on whether the height difference H3 between the main pipe 80 and the connection port 63 is less than or equal to a first value. The first value indicates a threshold dimension for which no corresponding joint exists, for example, 400 mm. The first value may be stored in the storage unit 50 for each type of piping or equipment 1, for example.

[0061] If the height difference H3 between the main pipe 80 and the connection port 63 is less than or equal to a first value, the determination function 53 determines the position that absorbs the height difference H3 as the first position 94, as shown in the example in Figure 5. In other words, the determination function 53 determines that at the first position 94, the piping should be arranged in such a way that it compensates for the height difference H3 between the branch pipe 90 extending from the main pipe 80 and the branch pipe 90 extending from the connection port 63 of the equipment 1.

[0062] Specifically, the decision function 53 obtains first setting information from the setting information database 44. The first setting information is information used when it is necessary to absorb a height difference H3 along the branch pipe 90. The first setting information is information regarding the placement of the first position 94 that absorbs the height difference H3. For example, the first setting information is information that expresses the length of the branch pipe 90 from the end 90a on the main pipe 80 side of the branch pipe 90 to the first position 94 as a ratio to the length of the branch pipe 90 that extends in a straight line from the connection position 81. Based on the first setting information, the decision function 53 determines the position in which to place the first position 94.

[0063] As will be explained in more detail later, in the case of a branch pipe 90 having a bent portion 92, the branch pipe 90 extending in a straight line from the connection position 81 is the first portion 91. In other words, the decision function 53 decides to place the first position 94 in the first portion 91, as shown in Figure 7.

[0064] If the height difference H3 between the main pipe 80 and the connection port 63 is greater than the first value, the determination function 53 determines that the connection position 81 is a position that absorbs the height difference H3. In other words, the determination function 53 decides to place a joint at the connection position 81 that compensates for the height difference H3 between the main pipe 80 and the connection port 63.

[0065] (2-7-2) Determination process for branching the main pipe The determination function 53 determines the angle at which the main pipe 80 branches off based on the first intersection angle D6.

[0066] If the first intersection angle D6 is a predetermined value, the determination function 53 decides to connect the branch pipe 90 to the main pipe 80 using a predetermined joint. In this embodiment, the predetermined value is 45 degrees. The predetermined joint is a joint that branches the main pipe 80 at a 45-degree angle.

[0067] If the first intersection angle D6 is not a predetermined value, the decision function 53 decides to connect the branch pipe 90 to the main pipe 80 using a joint that branches the main pipe 80 at a 90-degree angle.

[0068] If the first intersection angle D6 cannot be calculated, the determination function 53 determines the angle at which the main pipe 80 branches based on the second intersection angle D7 or the third intersection angle D8, which will be described later.

[0069] Specifically, if the second intersection angle D7 or the third intersection angle D8 is a predetermined value, the decision function 53 decides to connect the branch pipe 90 to the main pipe 80 using a predetermined joint. If the second intersection angle D7 or the third intersection angle D8 is not a predetermined value, the decision function 53 decides to connect the branch pipe 90 to the main pipe 80 using a joint that branches the main pipe 80 at a 90-degree angle.

[0070] (2-7-3) Determination process for branch pipe type The determination function 53 determines the type of branch pipe 90 based on the first crossing angle D6.

[0071] If the first intersection angle D6 is a predetermined value or 90 degrees, the determination function 53 determines to arrange a branch pipe 90 that extends in a straight line from the connection position 81 toward the connection port 63, as shown in the example in Figure 5.

[0072] If the first intersection angle D6 is not a predetermined value or 90 degrees, the decision function 53 decides to arrange a branch pipe 90 having a bent portion 92. Figure 7 is a plan view showing an example of the connection between the equipment 1, the branch pipe 90 having a bent portion 92, and the main pipe 80. Figure 8 is an elevation view showing an example of the connection between the equipment 1, the branch pipe 90, and the main pipe 80. The branch pipe 90 has, in order from the connection position 81, a first portion 91, a bent portion 92, and a second portion 93. The first portion 91 is a branch pipe 90 perpendicular to the main pipe 80. The second portion 93 is a branch pipe 90 extending in the direction of the connection port 63. The bent portion 92 is a pipe connecting the first portion 91 and the second portion 93.

[0073] Specifically, the decision function 53 obtains second setting information from the setting information database 44. The second setting information is information used when it is necessary to place a bend 92 in the middle of the branch pipe 90. The second setting information is information regarding the placement position of the bend 92 in the branch pipe 90. For example, the second setting information is information that expresses as a ratio the length of the branch pipe 90 (first part 91) from the end 90a on the main pipe 80 side of the branch pipe 90 to the position where the bend 92 is placed, relative to the length of the branch pipe 90 in the section between the connection position 81 and the connection port 63. Based on the second setting information, the decision function 53 determines the position of the bend 92.

[0074] If the first intersection angle D6 cannot be calculated, the determination function 53 decides to arrange a branch pipe 90 having a wrap-around section 95. The wrap-around section 95 is a branch pipe 90 that wraps around the outer circumference of the equipment 1. Figure 9 is a plan view showing an example of the connection between the equipment 1, the branch pipe 90 having a wrap-around section 95, and the main pipe 80. The wrap-around section 95 has a third section 96 connected to the connection port 63 and a fourth section 97 perpendicular to the third section 96.

[0075] Specifically, the decision function 53 obtains third setting information and fourth setting information from the setting information database 44. The third setting information and fourth setting information may be set for each model number of the equipment 1. The third setting information and fourth setting information are information used when it is necessary to arrange a branch pipe 90 having a wrap-around section 95. The third setting information and fourth setting information are information regarding the length of the wrap-around section 95. For example, the third setting information is information that specifically indicates the length of the third section 96. For example, the fourth setting information is information that specifically indicates the length of the fourth section 97. Based on the third setting information and fourth setting information, the decision function 53 determines the dimensions of the wrap-around section 95.

[0076] Subsequently, the determination function 53 determines the type of branch pipe 90 in the section between the connection point 81 and the main pipe side end 97a of the fourth section 97. The determination function 53 determines the type of branch pipe 90 in the section between the main pipe side end 97a and the connection point 81 by treating the third straight line L3 or the fourth straight line L4, described later, in the same way as the second straight line L2.

[0077] Specifically, the determination function 53 calculates the angle of the third straight line L3 that extends perpendicularly from the end face of the main pipe end 97a toward the outside of the equipment 1. The angle of the third straight line L3 indicates the inclination of the third straight line L3 when the positive X-axis direction in the graphic data 70 is taken as the reference (0 degrees). The direction in which the third straight line L3 extends is the direction in which the fourth part 97 connected to the third part 96 extends. The determination function 53 calculates the second intersection angle D7 between the first straight line L1 and the third straight line L3.

[0078] If the second intersection angle D7 is a predetermined value or 90 degrees, the determination function 53 determines to place a branch pipe 90 that extends in a straight line from the connection position 81 toward the main pipe end 97a.

[0079] If the second intersection angle D7 is not a predetermined value or 90 degrees, the determination function 53 decides to place a branch pipe 90 having a bent portion 92.

[0080] If the second intersection angle D7 is not calculated (i.e., the first straight line L1 and the third straight line L3 do not intersect), the decision function 53 decides to arrange the piping such that the branch pipe 90 is bent at a right angle toward the main pipe 80 at the main pipe end 97a, as shown in the example in Figure 9. The decision function 53 calculates the angle of the fourth straight line L4 which is perpendicular to the fourth section 97. The angle of the fourth straight line L4 indicates the inclination of the fourth straight line L4 when the positive X-axis direction in the geometric data 70 is taken as the reference (0 degrees). The direction in which the fourth straight line L4 extends is the direction in which the branch pipe 90 extends from the main pipe end 97a toward the main pipe 80. The decision function 53 calculates the third intersection angle D8 between the first straight line L1 and the fourth straight line L4.

[0081] If the third intersection angle D8 is a predetermined value or 90 degrees, the determination function 53 determines to place a branch pipe 90 that extends in a straight line from the connection position 81 toward the main pipe end 97a.

[0082] If the third intersection angle D8 is not a predetermined value or 90 degrees, the determination function 53 decides to place the branch pipe 90 having the bent portion 92.

[0083] (2-8)Second display function The second display function 54 is a program for displaying the position and shape of the branch pipe 90 determined by the determination function 53 as graphic information on the display unit 30. In other words, the second display function 54 displays the graphic elements 61 representing the branch pipe 90 (including fittings) determined by the determination function 53 on the display unit 30.

[0084] (2-9)Third display function The third display function 55 is a program for displaying the positions and shapes of the main pipe 80, equipment 1, and branch pipes 90, which are located in the graphic data 70, as three-dimensional graphic information on the display unit 30. Based on the information about the graphic elements 61 and graphic symbols 60 located in the graphic data 70, which is stored in the drawing database 43, the third display function 55 displays the graphic elements 61 and graphic symbols 60 as three-dimensional VR images on the display unit 30.

[0085] (3) Operation of the drawing system This section describes the process by which the drawing system 100 places the branch pipes 90 in the graphic data 70 in the section between the connection position 81 and the connection port 63 specified by the user. Figure 10 is a flowchart showing the flow of the drawing process for the branch pipes 90 by the drawing system 100. The flowchart shown in Figure 10 consists of steps S11 to S20.

[0086] First, the control unit 20 performs the processing of the first display function 51 to display the graphic data 70 on the display unit 30. The graphic data 70 displays the position and shape of the main pipe 80 and the position and shape of the equipment 1 as graphic information.

[0087] When the user presses a predetermined button displayed on the display unit 30, the control unit 20 starts processing the reception function 52 (step S11). The control unit 20 accepts the user's operation to specify the connection port 63 of the equipment 1 to which the branch pipe 90 is connected, and the connection position 81 to which the branch pipe 90 is connected. The user specifies the connection port 63 and the connection position 81 by operating the mouse, which is the input unit 10.

[0088] The control unit 20 determines whether the user has specified the connection port 63 and the connection position 81 (step S12). If the user cancels the specification of the connection port 63 and the connection position 81 by performing a predetermined operation (if the result is No in step S12), the process ends.

[0089] On the other hand, if the control unit 20 determines that the user has specified the connection port 63 and the connection position 81 (if the answer is YES in step S12), the control unit 20 obtains the second coordinates of the connection point 62 associated with the specified connection port 63. Based on the second coordinates of the connection point 62, the control unit 20 calculates the height position H1 of the connection port 63. The control unit 20 also obtains the second coordinates of the specified connection position 81. Based on the second coordinates of the connection position 81, the control unit 20 calculates the height position H2 of the connection position 81.

[0090] The control unit 20 starts processing the determination function 53 (step S13). The control unit 20 calculates the angle of the first straight line L1 extending along the main pipe 80 and the angle of the second straight line L2 extending perpendicularly from the end face of the connection port 63. Based on the calculated angles, the control unit 20 calculates the first intersection angle D6 between the first straight line L1 and the second straight line L2 (step S14).

[0091] The control unit 20 calculates the difference in height H3 between the main pipe 80 and the connection port 63 based on the height position H1 of the connection port 63 and the height position H2 of the connection position 81 (step S15).

[0092] The control unit 20 determines a position to absorb the height difference H3 based on whether the calculated height difference H3 is less than or equal to a first value (step S16). If the height difference H3 is less than or equal to a first value, the control unit 20 determines the position to absorb the height difference H3 to be the first position 94. If the height difference H3 is greater than the first value, the control unit 20 determines the position to absorb the height difference H3 to be the connection position 81.

[0093] The control unit 20 determines the angle at which to branch the main pipe 80 based on the calculated first intersection angle D6 (step S17). If the first intersection angle D6 is a predetermined value, the control unit 20 decides to connect the branch pipe 90 to the main pipe 80 using a fitting that branches the main pipe 80 at a predetermined value. If the first intersection angle D6 is not a predetermined value, the control unit 20 decides to connect the branch pipe 90 to the main pipe 80 using a fitting that branches the main pipe 80 at a 90-degree angle. If the first intersection angle D6 cannot be calculated, the process proceeds to step S18.

[0094] The control unit 20 determines the type of branch pipe 90 based on the calculated first intersection angle D6 (step S18). If the first intersection angle D6 is a predetermined value or 90 degrees, the control unit 20 decides to place a branch pipe 90 that extends in a straight line from the connection position 81 toward the connection port 63. If the first intersection angle D6 is neither a predetermined value nor 90 degrees, the control unit 20 decides to place a branch pipe 90 that has a bent portion 92. If the first intersection angle D6 is not calculated, the control unit 20 decides to place a branch pipe 90 that has a curved portion 95.

[0095] If the first intersection angle D6 is not calculated, the control unit 20 further determines the angle at which the main pipe 80 branches off and the type of branch pipe 90 for the section between the main pipe end 97a and the connection position 81.

[0096] The control unit 20 determines the position and shape of the branch pipe 90 based on the coordinates of the connection position 81, the coordinates of the connection port 63, the position that absorbs the height difference H3, the angle at which the main pipe 80 is branched, and the type of branch pipe 90 (step S19).

[0097] The control unit 20 starts processing the second display function 54 (step S20). The control unit 20 displays the determined position and shape of the branch pipe 90 as graphic information on the display unit 30.

[0098] The order and content of each process in the flowchart described above may be modified as appropriate, without departing from the gist of this disclosure.

[0099] (4) Features When creating equipment drawings using a CAD system, branch pipes connecting the equipment connection port to the main pipe are drawn by specifying the connection port and the connection position on the main pipe. In this case, if the height of the connection port and the height of the main pipe are different, it is common practice to specify the difference in height when drawing the branch pipes.

[0100] However, the height of the connection ports on the equipment often varies depending on the model number, and drawing branch pipes while calculating the height difference is time-consuming. Also, if the difference in height is small, a suitable fitting may not exist, making it impossible to draw a suitable branch pipe.

[0101] (4-1) The drawing system 100 of this embodiment is a system for drawing branch pipes 90 in the section between the main pipe 80 and the connection port 63 of the equipment 1. The drawing system 100 comprises a control unit 20 and a display unit 30. The control unit 20 displays the position and shape of the main pipe 80 and the position and shape of the equipment 1 as graphic information on the display unit 30. The control unit 20 also accepts user input on the display unit 30 to specify first information regarding the connection port 63 of the equipment 1 to which the branch pipe 90 is connected, and second information regarding the connection position 81 on the main pipe 80 to which the branch pipe 90 is connected. Here, the straight line extending along the main pipe 80 is called the first straight line L1, and the straight line extending perpendicularly from the end face of the connection port 63 is called the second straight line L2. The control unit 20 determines the position and shape of the branch pipe 90 based on the first and second information, such that the difference in height H3 between the main pipe 80 and the connection port 63 is absorbed at a first position 94 along the branch pipe 90, provided that the first straight line L1 and the second straight line L2 are not perpendicular and the difference in height H3 between the main pipe 80 and the connection port 63 is less than or equal to a first value. The control unit 20 also displays the determined position and shape of the branch pipe 90 as graphic information on the display unit 30.

[0102] In the drawing system 100 of this embodiment, the control unit 20 draws a branch pipe 90 at the first position 94 such that it absorbs the height difference H3 between the main pipe 80 and the connection port 63, based only on the first and second information. Absorbing the height difference H3 means arranging a connecting component that compensates for the height difference H3. This reduces the man-hours required to draw the branch pipe 90. Furthermore, if the height difference H3 is small, the height difference H3 is absorbed at the first position 94 in the middle of the branch pipe 90. This allows for the drawing of an appropriate branch pipe 90.

[0103] (4-2) The control unit 20 determines the position of the first position 94 according to the first setting information regarding the position where the first position 94 will be placed. Since the control unit 20 draws the branch pipe 90 according to the first setting information, the amount of work required to draw the branch pipe 90 can be reduced.

[0104] (4-3) The branch pipe 90 has a first section 91 perpendicular to the main pipe 80, a second section 93 extending in the direction of the connection port 63 of the equipment 1, and a bent section 92 connecting the first section 91 and the second section 93.

[0105] (4-4) The control unit 20 determines the position and shape of the branch pipe 90 so as to absorb the height difference H3 in the first part 91.

[0106] (4-5) The control unit 20 determines the position of the bent portion 92 according to second setting information regarding the position where the bent portion 92 is to be placed. Since the control unit 20 draws the branch pipe 90 having the bent portion 92 according to the second setting information, the amount of work required to draw the branch pipe 90 can be reduced.

[0107] (4-6) The control unit 20 determines the position and shape of the branch pipe 90 so that it is connected to the main pipe 80 using a predetermined joint when the angle between the first straight line L1 and the second straight line L2 is a predetermined value. Since the control unit 20 draws the branch pipe 90 having the predetermined joint, the amount of work required to draw the branch pipe 90 can be reduced.

[0108] (4-7) When the connection port 63 is located on the opposite side of the main pipe 80 of the device 1, the control unit 20 determines the position and shape of the branch pipe 90 so that it has a wrap-around portion 95 that goes around the outer circumference of the device 1. Since the control unit 20 draws the branch pipe 90 with the wrap-around portion 95, the amount of work required to draw the branch pipe 90 can be reduced.

[0109] (4-8) The wrap-around section 95 has a third section 96 connected to the connection port 63 and a fourth section 97 perpendicular to the third section 96. The control unit 20 determines the lengths of the third section 96 and the fourth section 97 based on the preset third setting information and fourth setting information. Since the control unit 20 draws the branch pipe 90 having the wrap-around section 95 according to the third setting information and fourth setting information, the amount of work required to draw the branch pipe 90 can be reduced.

[0110] (4-9) The control unit 20 displays the positions and shapes of the main pipe 80, the equipment 1, and the branch pipes 90 as three-dimensional graphic information on the display unit 30.

[0111] (4-10) The first value is 400 mm or less.

[0112] (4-11) Equipment 1 is an air conditioning system.

[0113] (5) Variant Modifications of the above embodiment will now be described. Note that the modifications may be combined with some or all of the other modifications as appropriate, as long as they do not contradict each other.

[0114] (5-1) Variation A In the above embodiment, equipment 1 is an indoor unit of an air conditioning system, and the main pipe 80 is a refrigerant pipe. However, equipment 1 may be a sanitary facility, and the main pipe 80 may be a water supply pipe or a sewage pipe.

[0115] (5-2) Variation B In the above embodiment, the reception function 52 obtains the second coordinates of the connection point 62 from the drawing database 43. However, the reception function 52 may calculate the second coordinates of the connection point 62 based on the first coordinates of the connection point 62 and the second coordinates and second angle of the graphic symbol 60.

[0116] (5-3) Modification C In the above embodiment, the first setting information is information that expresses the length of the branch pipe 90 from the end 90a on the main pipe 80 side to the first position 94 as a ratio to the length of the branch pipe 90 that extends in a straight line from the connection position 81. However, the first setting information may also be information that specifically indicates the length of the branch pipe 90 from the end 90a on the main pipe 80 side to the first position 94.

[0117] (5-4) Modification D In the above embodiment, the second setting information is information that expresses as a ratio of the length of the branch pipe 90 (first part 91) from the end 90a on the main pipe 80 side of the branch pipe 90 to the position where the bent portion 92 is placed, to the length of the branch pipe 90 in the section between the connection position 81 and the connection port 63. However, the second setting information may also be information that specifically indicates the length of the branch pipe 90 (first part 91) from the end 90a on the main pipe 80 side of the branch pipe 90 to the position where the bent portion 92 is placed.

[0118] (5-5) Variation E In the above embodiment, the determination function 53 calculates the difference in height H3 between the main pipe 80 and the connection port 63 based on the height position H1 of the connection port 63 and the height position H2 of the connection position 81. However, the determination function 53 may also calculate the difference in height H3 based on the second coordinates of the connection point 62 and the second coordinates of the connection position 81.

[0119] (5-6) Modification F In the above embodiment, the determination function 53 calculates the angle of the second straight line L2 based on the second angle of the line segment element 64k that constitutes the connection port 63. However, the determination function 53 may also calculate the angle of the second straight line L2 based on the second angles of the line segment elements 64i and 64j that constitute the connecting pipe 66, at which the connection port 63 is formed.

[0120] (5-7) Variation G In the above embodiment, the second display function 54 causes the display unit 30 to display a graphic element 61 representing the branch pipe 90 (including fittings) determined by the determination function 53. However, the second display function 54 may also cause the display unit 30 to display a graphic symbol 60 representing the branch pipe 90 (including fittings) determined by the determination function 53.

[0121] (5-8) While embodiments of this disclosure have been described above, it should be understood that various modifications to the form and details are possible without departing from the spirit and scope of this disclosure as described in the claims. [Explanation of symbols]

[0122] 1 equipment 20 Control Unit 30 Display section 51 1st display function 52 Reception function 53. Decision Function 54 2nd display function 70 graphic data, drawings 80 master 81 Connection location 90 branch pipe 91 Part 1 92 Folding section 93 Part 2 94 1st position 95 Wrap-around section 96 Part 3 97 Part 4 100 Drawing Systems H3 Height difference L1 1st straight line L2 2nd straight line [Prior art documents] [Patent Documents]

[0123] [Patent Document 1] Japanese Patent Publication No. 2015-7877

Claims

1. A drawing system (100) for drawing branch pipes (90) in the section between the main pipe (80) and the connection port (63) of the equipment (1), A control unit (20) and a display unit (30), Equipped with, The control unit, The position and shape of the main pipe and the position and shape of the equipment are displayed as graphic information on the display unit. The system accepts an operation on the display unit to specify first information regarding the connection port of the equipment to which the branch pipe is connected, and second information regarding the connection position (81) on the main pipe to which the branch pipe is connected. If a first straight line (L1) extending along the main pipe and a second straight line (L2) extending perpendicularly from the end face of the connection port are not perpendicular, and the difference in height between the main pipe and the connection port (H3) is less than or equal to a first value, the position and shape of the branch pipe are determined based on the first and second information so as to absorb the difference in height at a first position (94) in the middle of the branch pipe. The determined position and shape of the branch pipe are displayed on the display unit as graphic information. Drawing system (100).

2. The control unit determines the position of the first position according to the first setting information relating to the position where the first position is to be placed. The drawing system according to claim 1.

3. The branch pipe has a first portion (91) perpendicular to the main pipe, a second portion (93) extending in the direction of the connection port of the equipment, and a bent portion (92) connecting the first portion and the second portion. The drawing system according to claim 1 or 2.

4. The control unit determines the position and shape of the branch pipe so as to absorb the difference in height in the first unit. The drawing system according to claim 3.

5. The control unit determines the position of the folded portion according to the second setting information relating to the position where the folded portion is placed. The drawing system according to claim 3.

6. The control unit determines the position and shape of the branch pipe so that it is connected to the main pipe using a predetermined joint when the angle between the first straight line and the second straight line is a predetermined value. The drawing system according to claim 1 or 2.

7. The control unit determines the position and shape of the branch pipe such that, when the connection port is located on the opposite side of the device from the main pipe side, the branch pipe has a wrap-around portion (95) that wraps around the outer circumference of the device. The drawing system according to claim 1 or 2.

8. The aforementioned wrap-around portion has a third portion (96) connected to the connection port and a fourth portion (97) perpendicular to the third portion. The control unit determines the lengths of the third and fourth parts based on the preset third and fourth setting information. The drawing system according to claim 7.

9. The control unit displays the positions and shapes of the main pipe, the equipment, and the branch pipes as three-dimensional graphic information on the display unit. The drawing system according to claim 1 or 2.

10. The first value mentioned above is 400 mm or less. The drawing system according to claim 1 or 2.

11. The aforementioned device is an air conditioning system. The drawing system according to claim 1 or 2.

12. A drawing method used in a drawing system (100) comprising a control unit (20) and a display unit (30) for drawing a branch pipe (90) in the section between a main pipe (80) and a connection port (63) of equipment (1), The control unit, A first display step in which the position and shape of the main pipe and the position and shape of the equipment are displayed as graphic information on the display unit, The first information relating to the connection port of the equipment to which the branch pipe is connected, and the second information relating to the connection position (81) on the main pipe to which the branch pipe is connected, are to be received and accepted by the user on the display unit in the acceptance and acceptance step, A determination step in which, when a first straight line (L1) extending along the main pipe and a second straight line (L2) extending perpendicularly from the end face of the connection port are not perpendicular, and the difference in height position (H3) between the main pipe and the connection port is less than or equal to a first value, the position and shape of the branch pipe are determined based on the first and second information so as to absorb the difference in height position at a first position (94) in the middle of the branch pipe; A second display step in which the determined position and shape of the branch pipe are displayed on the display unit as graphic information, Execute Method of drawing.

13. A drawing program used in a drawing system (100) comprising a control unit (20) and a display unit (30) for drawing branch pipes (90) in the section between a main pipe (80) and a connection port (63) of equipment (1), The control unit, A first display function (51) that displays the position and shape of the main pipe and the position and shape of the equipment as graphic information on the display unit, A reception function (52) that accepts an operation on the display unit to which the user specifies first information regarding the connection port of the equipment to which the branch pipe is connected, and second information regarding the connection position (81) on the main pipe to which the branch pipe is connected, A determination function (53) determines the position and shape of the branch pipe based on the first and second information, such that the difference in height (H3) between the main pipe and the connection port is less than orthogonal to the first straight line (L1) extending along the main pipe and the second straight line (L2) extending perpendicularly from the end face of the connection port, and the difference in height (H3) between the main pipe and the connection port is less than or equal to a first value, so as to absorb the difference in height at a first position (94) in the middle of the branch pipe. A second display function (54) displays the determined position and shape of the branch pipe as graphic information on the display unit, To make it happen A drawing program.