Method, device and medium for closed region identification of tube arrangement
By drawing the maximum outer contour line and generating closed entities in the building information model, closed areas are automatically identified, solving the problem of low efficiency caused by manual differentiation and improving the efficiency of closed areas and pipeline layout.
Patent Information
- Application Number
- CN202111163145.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2041-09-30
AI Technical Summary
In existing technologies, users need to manually distinguish the closed areas of each floor when creating a building information model, which results in low efficiency in identifying closed areas and thus affects the efficiency of building information model creation.
By acquiring the building information model, the maximum outer contour line of the target floor is drawn, a closed solid is generated, and the set of bottom line segments of the closed solid is obtained. The largest enclosed area is identified as the closed area for integrated pipeline layout.
It enables rapid and accurate identification of closed areas in target floors, improving the efficiency of closed area identification and thus enhancing the efficiency of pipeline layout and building information model creation.
Smart Images

Figure CN115906220B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of building auxiliary design, and in particular to a closed area identification method, device and equipment for pipe comprehensive arrangement and a medium. BACKGROUND
[0002] In the construction design link of a project, pipe comprehensive arrangement is a key and difficult part. Pipe comprehensive arrangement design needs to better meet design requirements, design specifications, construction requirements, maintenance requirements, and the like.
[0003] At present, a building information model is mainly used to display simulation results of pipe comprehensive arrangement. In the process of creating a new building information model by a user, the user needs to distinguish, by himself, each closed area in the building information model to be subjected to pipe comprehensive arrangement, the closed area can be an area surrounded by a wall, such as a living room, a bathroom, a dining room, a storage room, and the like, and then the closed area is subjected to pipe comprehensive arrangement. However, the design software cannot automatically identify the closed area.
[0004] However, the above-mentioned method of identifying the closed area according to experience by the user has the problem of low efficiency of creating the building information model. SUMMARY
[0005] Therefore, a closed area identification method, device, equipment and medium for pipe comprehensive arrangement are provided, which can automatically identify each closed area of a target floor in the process of creating a building information model, and improve the creation efficiency of the building information model.
[0006] In a first aspect, an embodiment of the present application provides a closed area identification method for pipe comprehensive arrangement, the method comprising:
[0007] obtaining a building information model, and drawing a maximum outer contour line of a target floor in the building information model according to the building information model;
[0008] generating at least one closed entity according to the maximum outer contour line and the building information model, the closed entity being located in the maximum outer contour line;
[0009] obtaining a line segment set of a bottom surface of the closed entity, and taking a maximum surrounding area surrounded by a line segment in the line segment set as a closed area corresponding to the closed entity, the closed area being used for pipe comprehensive arrangement.
[0010] In one embodiment, the drawing of the maximum outer contour line of the target floor in the building information model according to the building information model comprises:
[0011] obtaining support body attribute data of at least one support body corresponding to the target floor according to the building information model;
[0012] calculating the maximum outer contour line according to each of the support body attribute data.
[0013] In one embodiment, the calculating the maximum outer contour line according to each of the support body attribute data comprises:
[0014] determining a set of edge lines of the upper surface of the support body from the support body attribute data;
[0015] drawing the maximum outer contour line according to each of the sets of edge lines corresponding to the support bodies.
[0016] In one embodiment, the generating at least one closed entity according to the maximum outer contour line and the building information model comprises:
[0017] generating a peripheral wall corresponding to the maximum outer contour line according to the maximum outer contour line;
[0018] obtaining inner wall attribute data and column attribute data corresponding to the target floor from the building information model, and generating a closed region according to the inner wall attribute data and the column attribute data, and determining at least one closed entity based on the closed region.
[0019] In one embodiment, the determining at least one closed entity based on the closed region comprises:
[0020] obtaining a list of minimum closed regions in the closed region, the list of minimum closed regions including attribute information of each minimum closed region in the building information model;
[0021] generating a room entity corresponding to the minimum closed region in the peripheral wall according to the attribute information of the minimum closed region;
[0022] generating at least one closed entity according to each of the generated room entities.
[0023] In one embodiment, the generating at least one closed entity according to each of the generated room entities comprises:
[0024] for each of the room entities, determining each candidate entity in the room entity, and determining the area of each of the candidate entities;
[0025] taking the candidate entity with the largest area as the closed entity.
[0026] In one embodiment, the method further comprises:
[0027] visually displaying each of the closed regions;
[0028] According to a selection instruction of a user for a target closed region, a target region corresponding to the target closed region in the building information model is searched in a preset mapping relationship.
[0029] In a second aspect, the embodiments of the present application provide a closed region identification device for pipe comprehensive arrangement, the device comprises:
[0030] An acquisition module is configured to acquire a building information model, and draw a maximum outer contour line of a target floor in the building information model according to the building information model;
[0031] A generation module is configured to generate at least one closed entity according to the maximum outer contour line and the building information model, the closed entity being located in the maximum outer contour line;
[0032] A determination module is configured to acquire a line segment set of a bottom surface of the closed entity, and take a maximum surrounding region surrounded by a line segment in the line segment set as a closed region corresponding to the closed entity, the closed region being used for pipe comprehensive arrangement.
[0033] In a third aspect, the embodiments of the present application provide a computer device, comprising a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the method of the first aspect when executing the computer program.
[0034] In a fourth aspect, the embodiments of the present application provide a computer readable storage medium, storing a computer program, the computer program being executed by a processor to implement the steps of the method of the first aspect.
[0035] The technical scheme provided by the embodiments of the present application has at least the following beneficial effects:
[0036] By acquiring a building information model, and drawing a maximum outer contour line of a target floor in the building information model according to the building information model, then generating at least one closed entity according to the maximum outer contour line and the building information model, the closed entity being located in the maximum outer contour line, then acquiring a line segment set of a bottom surface of the closed entity, and taking a maximum surrounding region surrounded by a line segment in the line segment set as a closed region corresponding to the closed entity, the closed region being used for pipe comprehensive arrangement, each closed region in the target floor is accurately and quickly identified, and the problems of low identification efficiency of the closed region and low creation efficiency of the building information model caused by manually distinguishing the closed region are avoided. The embodiments of the present application improve the identification efficiency of the closed region, and thus improve the efficiency of pipe comprehensive arrangement and the creation efficiency of the building information model. BRIEF DESCRIPTION OF DRAWINGS
[0037] Figure 1 The application environment diagram of the closed region identification method for pipe comprehensive arrangement provided by an embodiment is shown.
[0038] Figure 2 A flowchart of a method for identifying closed regions for pipe arrangement provided by an embodiment;
[0039] Figure 3 A schematic diagram of an exemplary maximum outer contour provided by an embodiment;
[0040] Figure 4 A schematic diagram of an exemplary cross section of a target floor corresponding to a building information model and a schematic diagram of each closed region corresponding to the cross section schematic diagram provided by an embodiment;
[0041] Figure 5 A flowchart of a method for identifying closed regions for pipe arrangement provided by another embodiment;
[0042] Figure 6 A flowchart of a method for drawing a maximum outer contour line of a target floor in a building information model provided by an embodiment;
[0043] Figure 7 A flowchart of step 602 provided by an embodiment;
[0044] Figure 8 A flowchart of step 202 provided by an embodiment;
[0045] Figure 9 A schematic diagram of an exemplary cross section of a target floor corresponding to a closed region provided by an embodiment;
[0046] Figure 10 A schematic diagram of an exemplary cross section of a room entity provided by an embodiment;
[0047] Figure 11 A structural block diagram of a device for identifying closed regions for pipe arrangement provided by an embodiment. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical scheme and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application.
[0049] The closed area identification method, apparatus, equipment, and medium for pipe network layout provided in this application aim to solve the technical problem in traditional technologies where users need to manually distinguish the closed areas of each floor during the creation of a new building information model, resulting in low efficiency in closed area identification and low efficiency in building information model creation. The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below through embodiments and in conjunction with the accompanying drawings. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0050] The technical solutions involved in the embodiments of this application will be described below in conjunction with the application scenarios.
[0051] like Figure 1 As shown, the closed region identification method for pipeline layout provided in this application embodiment can be used for... Figure 1 The computer device shown includes a processor, memory, network interface, database, display screen, and input device connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores data for the closed area identification method for pipework layout described in the following embodiments. A detailed description of the closed area identification method for pipework layout is provided in the following embodiments. The network interface of the computer device can be used to communicate with other external devices via a network connection. Optionally, the computer device can be a server, a desktop computer, a personal digital assistant, or other terminal devices such as tablets, mobile phones, etc., or it can be a cloud or remote server. This application does not limit the specific form of the computer device. The computer device's display screen can be an LCD screen or an e-ink screen. The input device can be a touch layer covering the display screen, buttons, a trackball, or a touchpad located on the computer device's casing, or an external keyboard, touchpad, or mouse. Alternatively, the input device and display screen may not be part of the computer device itself, but rather external devices connected to it.
[0052] Those skilled in the art will understand that Figure 1The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0053] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0054] It should be noted that the executing entity of the following method embodiments can be a closed area identification device for pipeline layout. This device can be implemented as part or all of the aforementioned computer equipment through software, hardware, or a combination of software and hardware. The following method embodiments are described using a computer equipment as the executing entity.
[0055] In one embodiment, such as Figure 2 As shown, a method for identifying closed regions in pipeline duct layout is provided, including the following steps:
[0056] Step 201: Obtain the building information model and draw the maximum outer contour line of the target floor in the building information model based on the building information model.
[0057] A building information model can include multiple model objects and the attribute information corresponding to each model object. Model objects can be walls, beams, columns, floors, etc. The attribute information corresponding to the model objects can include the type identifier of the model object, outline information, the set of edges of each face, etc.
[0058] Computer equipment can retrieve building information models (BIMs) from a database or from external storage devices. After retrieving the BIM, the computer equipment draws the maximum outer contour line of the target floor within the BIM.
[0059] In this embodiment of the application, the maximum outer contour line corresponding to the target floor can be the contour line of the maximum outer contour formed by the upper surface of the floor slab and the upper surface of the beam in the target floor.
[0060] For example, see Figure 3 , Figure 3 This is a schematic diagram of an exemplary maximum outer contour. Figure 3 The computer device determines the upper surface of the floor slab and the upper surface of the beam from the building information model, and then draws the maximum outer contour formed by the upper surface of the floor slab and the upper surface of the beam to obtain the maximum outer contour line.
[0061] In step 202, at least one closed entity is generated according to the maximum outer contour line and the building information model, and the closed entity is located in the maximum outer contour line.
[0062] The closed entity refers to an entity surrounded by a wall, for example, the closed entity can be a room.
[0063] Exemplarily, the computer device can open a new model, create a peripheral wall in the model according to the maximum outer contour line, then copy the walls and columns in the building information model into the peripheral wall, and then determine each minimum closed area surrounded by the wall, and generate a closed entity according to the minimum closed area.
[0064] In step 203, a line segment set of a bottom surface of the closed entity is obtained, and a maximum enclosing area surrounded by the line segments in the line segment set is taken as a closed area corresponding to the closed entity, and the closed area is used for pipeline comprehensive arrangement.
[0065] Exemplarily, after the closed entity is generated, the method Face.GetEdgesAsCurveLoops provided by the Revit software can be used to obtain the line segment set corresponding to the bottom surface of the closed entity.
[0066] The computer device calculates a maximum area surrounded by the line segments in each line segment set, and takes the maximum enclosing area surrounded by the line segments in each line segment set as a closed area.
[0067] Exemplarily, referring to Figure 4 , Figure 4 is a two-dimensional schematic diagram corresponding to a target floor and each closed area (for example, area 1, area 2, area 3 and area 4 shown in Figure 4 ) corresponding to the two-dimensional schematic diagram. In this way, the computer device automatically identifies the closed areas in the model.
[0068] Further, referring to Figure 5 , after step 203, the computer device can further perform steps 204, 205 and 206 shown in Figure 5 :
[0069] In step 204, each closed area is visually displayed.
[0070] In the embodiment of the application, after the computer device determines each closed area of the target floor, an association between each closed area and a corresponding area in the target floor in the model can be established. The corresponding area in the target floor can be identified by a spatial coordinate range, and each closed area is visually displayed.
[0071] At step 205, according to the selection instruction of the user for the target closed region, the target region corresponding to the target closed region in the building information model is searched in the preset mapping relationship.
[0072] If the computer device detects the selection instruction of the user for the target closed region, the target region corresponding to the target closed region in the model is searched in the mapping relationship established above.
[0073] At step 206, the target region is arranged in the pipeline synthesis.
[0074] The computer device arranges the target region in the pipeline synthesis, so as to realize the pipeline synthesis arrangement of the model.
[0075] In the embodiment of the application, the building information model should meet the requirements of the operable editing of the pipelines (water pipes, rectangular air pipes and bridge frames) and the pipeline synthesis arrangement of the structural members (beams, plates and columns) above. In this way, by obtaining the building information model, the maximum outer contour line of the target floor in the building information model is drawn according to the building information model, and then at least one closed entity is generated according to the maximum outer contour line and the building information model, the closed entity is located in the maximum outer contour line, then the line segment set of the bottom surface of the closed entity is obtained, and the maximum surrounding region surrounded by the line segments in the line segment set is taken as the closed region corresponding to the closed entity, and the closed region is used for the pipeline synthesis arrangement. In this way, each closed region in the target floor is accurately and quickly identified, so as to avoid the problems of low identification efficiency of the closed region and low creation efficiency of the building information model caused by the manual division of the closed region. The identification efficiency of the closed region is improved in the embodiment of the application, so as to improve the efficiency of the pipeline synthesis arrangement and the creation efficiency of the building information model.
[0076] In one embodiment, based on Figure 2 As shown in the embodiment, referring to Figure 6 The embodiment relates to the process in which the computer device identifies the maximum outer contour line of the target floor in the model. As shown in Figure 6 The process includes steps 601 and 602.
[0077] At step 601, the support body attribute data of at least one support body corresponding to the target floor is obtained according to the building information model.
[0078] In the embodiment of the application, the support body is the target floor or the target beam.
[0079] As described above, the building information model can include a plurality of model objects and attribute information corresponding to each model object, the model object can be a wall, a beam, a column, a floor, etc., and the attribute information corresponding to the model object can include a type identifier of the model object, contour information, a line segment set of each face, etc.
[0080] In this way, after the computer device obtains the building information model, the computer device can screen the type identifiers of the model objects in the attribute information, obtain the attribute information corresponding to the target floor and the attribute information corresponding to the target beam, and obtain the support body attribute data of the support body.
[0081] In step 602, the maximum outer contour line is calculated according to the support body attribute data of each support body.
[0082] In the embodiment of the present application, the support body attribute data of the support body includes a line set of each face of the support body, and each line set includes a set of all line segments corresponding to the face and a normal vector, and the normal vector is used to represent the direction of the face.
[0083] The computer device calculates the maximum outer contour line according to the line set of each face of each support body.
[0084] In one possible implementation of step 602, referring to Figure 7 , the computer device can perform steps 701 and 702 shown in Figure 7 to implement the process of step 602:
[0085] In step 701, the line set of the upper surface of the support body is determined from the support body attribute data.
[0086] As described above, the support body attribute data of the support body includes a line set of each face of the support body, and each line set includes a set of all line segments corresponding to the face and a normal vector. In this way, after the computer device obtains the line set of each face of a support body, for each line set, the computer device detects whether the normal vector in the line set represents that the direction of the face is vertically upward (for example, whether the normal vector is in the same direction as the Z-axis in the spatial coordinate system), and if so, it is determined that the face is the upper surface of the support body, thereby determining the line set of the upper surface of the support body.
[0087] In this way, the computer device obtains the line set of the upper surface of each support body.
[0088] In step 702, the maximum outer contour line is drawn according to the line set corresponding to each support body.
[0089] The computer device uses the maximum contour algorithm to calculate the set of maximum outer contour lines from the line set of the upper surface of each support body, and draws the maximum outer contour line.
[0090] The above embodiment can accurately draw the maximum outer contour line of the target floor through the line set of the upper surface of each support body in the target floor, and then identify the closed region based on the maximum outer contour line, thereby improving the identification accuracy of the closed region.
[0091] In one embodiment, based onFigure 2 As shown in the embodiments, refer to Figure 8 The embodiments relate to a process that how the computer device generates at least one closed entity according to the maximum outer contour line and the building information model. As shown in the embodiments, refer to Figure 8 As shown, step 202 can include Figure 8 As shown in the embodiments, refer to
[0092] Step 801, generating a peripheral wall body corresponding to the maximum outer contour line according to the maximum outer contour line.
[0093] Newly create a model, and call a wall body creation interface in the model to create a solid peripheral wall body for the maximum outer contour line.
[0094] Step 802, obtaining inner wall body attribute data and column attribute data corresponding to the target floor from the building information model, and generating a closed region according to the inner wall body attribute data and the column attribute data.
[0095] As described above, the building information model can include a plurality of model objects and attribute information corresponding to each model object, the model objects can be wall bodies, beams, columns, floors, etc., and the attribute information corresponding to the model objects can include type identifiers of the model objects, contour information, edge line sets of each face, etc.
[0096] In this way, after the computer device obtains the building information model, the computer device can filter the type identifiers of the model objects in the attribute information, obtain attribute information corresponding to wall bodies and attribute information corresponding to columns of the target floor, and obtain the inner wall body attribute data and the column attribute data.
[0097] Then, the computer device generates inner wall bodies and columns in the peripheral wall body according to the inner wall body attribute data and the column attribute data, and generates a closed region.
[0098] As shown in the embodiments, refer to Figure 9 , Figure 9 is a schematic view of a cross section of a closed region corresponding to a target floor.
[0099] In the embodiments of the present application, the inner wall body attribute data and the column attribute data are obtained from the building information model, and therefore, the positions of the inner wall bodies and the columns in the closed region are the same as the positions of the inner wall bodies and the columns in the building information model.
[0100] Step 803, determining at least one closed entity based on the closed region.
[0101] In one possible implementation of step 803, the computer device can perform steps A1-A3 as follows to implement the process of step 803:
[0102] Step A1, obtaining a list of minimum closed regions in the closed region.
[0103] The computer device can obtain the list of minimum closed regions that can generate rooms by using a method document.get_PlanTopology of the Revit software, and the list of minimum closed regions includes attribute information of each minimum closed region in the building information model.
[0104] In the embodiments of the present application, there is no wall in the minimum closed region, i.e., the standard for the computer device to identify the minimum closed region is that there is no wall in the region.
[0105] Step A2, generating a room entity corresponding to the minimum closed region in the peripheral wall according to the attribute information of the minimum closed region.
[0106] For the attribute information of each minimum closed region, the computer device calls a room creation interface to generate a room entity corresponding to the minimum closed region in the peripheral wall, i.e., to create a room for the minimum closed region.
[0107] Step A3, generating at least one closed entity according to each generated room entity.
[0108] For example, for each room entity, the computer device determines each candidate entity in the room entity and determines the area of each candidate entity, and the computer device takes the candidate entity with the largest area as the closed entity.
[0109] See Figure 10 , Figure 10 is a schematic cross-sectional view of an exemplary room entity. As can be seen from the schematic cross-sectional view, the candidate entities include a room entity and six column entities, and since the room entity has the largest volume, the room entity is taken as the closed entity.
[0110] After the computer device determines the closed entity, the computer device determines the bottom surface of the closed entity (the surface direction downward is the bottom surface), and the bottom surface of the closed entity is composed of the bottom surface of the room entity, the edge of the bottom surface, and the edge of the column, and then the computer device obtains a line segment set corresponding to the bottom surface of the closed entity.
[0111] The computer device calculates the largest region surrounded by the line segments in the line segment set, and takes the largest surrounded region as a closed region.
[0112] The computer device can create all closed regions corresponding to the target floor by using a method FilledRegion.Create of the Revit software and inputting the line segment set corresponding to the bottom surface of each closed entity.
[0113] In the above embodiment, the inner wall body attribute data and the column body attribute data are acquired from the building information model, and thus the positions of the inner wall bodies and the columns in the closed area are the same as the positions of the inner wall bodies and the columns in the building information model, so that the interference of other elements in the building information model can be reduced, and the recognition efficiency of the closed area is improved, and thus the efficiency of the pipe arrangement and the efficiency of the creation of the building information model are improved.
[0114] It should be understood that, although each step in the above flowchart is shown in sequence according to the arrow, these steps are not necessarily executed in the order indicated by the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, at least part of the steps in the above flowchart can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or sub-steps or stages of other steps.
[0115] In one embodiment, as shown in FIG. 1, Figure 11 a closed area recognition device for pipe arrangement is provided, comprising:
[0116] An acquisition module 100 is configured to acquire a building information model, and draw a maximum outer contour line of a target floor in the building information model according to the building information model.
[0117] A generation module 200 is configured to generate at least one closed entity according to the maximum outer contour line and the building information model, and the closed entity is located in the maximum outer contour line.
[0118] A determination module 300 is configured to acquire a line segment set of a bottom surface of the closed entity, and take a maximum enclosing area surrounded by a line segment in the line segment set as a closed area corresponding to the closed entity, and the closed area is used for pipe arrangement.
[0119] In one embodiment, the acquisition module 100 comprises:
[0120] A first acquisition unit is configured to acquire support body attribute data of at least one support body corresponding to the target floor according to the building information model.
[0121] A second acquisition unit is configured to calculate the maximum outer contour line according to each support body attribute data.
[0122] In an embodiment, the second obtaining unit is specifically configured to determine a set of edge lines of the upper surface of the support body from the support body attribute data; and draw the maximum outer contour line according to the set of edge lines corresponding to each of the support bodies.
[0123] In an embodiment, the generation module 200 comprises:
[0124] a first generation unit configured to generate a peripheral wall corresponding to the maximum outer contour line according to the maximum outer contour line.
[0125] a second generation unit configured to obtain inner wall attribute data and column attribute data corresponding to the target floor from the building information model, and generate a closed region according to the inner wall attribute data and the column attribute data.
[0126] a third generation unit configured to generate at least one closed entity based on the closed region.
[0127] In an embodiment, the third generation unit comprises:
[0128] an obtaining sub-unit configured to obtain a list of minimum closed regions in the closed region, the list of minimum closed regions comprising attribute information of each minimum closed region in the building information model;
[0129] a first generation sub-unit configured to generate a room entity corresponding to each minimum closed region in the peripheral wall according to the attribute information of the minimum closed region;
[0130] a second generation sub-unit configured to generate at least one closed entity according to each generated room entity.
[0131] In an embodiment, the second generation sub-unit is specifically configured to, for each room entity, determine each candidate entity in the room entity, and determine the area of each candidate entity; and take the candidate entity with the largest area as the closed entity.
[0132] In an embodiment, the apparatus further comprises:
[0133] a display module configured to visually display each closed region;
[0134] a search module configured to search for a target region corresponding to a target closed region in the building information model in a preset mapping relationship according to a selection instruction of the target closed region by a user.
[0135] a layout module configured to comprehensively arrange pipelines in the target region.
[0136] The device for identifying closed areas of tube harness arrangement provided in this embodiment can execute the method for identifying closed areas of tube harness arrangement described above, and has similar implementation principles and technical effects, which will not be described here again. The specific limitations of the device for identifying closed areas of tube harness arrangement can be referred to the limitations of the method for identifying closed areas of tube harness arrangement described above, which will not be described here again. Each module in the device for identifying closed areas of tube harness arrangement described above can be realized by software, hardware and combination thereof in whole or in part. Each module described above can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to each module.
[0137] In one embodiment, a computer device is also provided, and an internal structure diagram of the computer device can be as shown in Figure 1 The computer device includes a processor, a memory, a network interface, a database, a display screen and an input device connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The database of the computer device is configured to store data used in the method for identifying closed areas of tube harness arrangement in the following embodiments. The method for identifying closed areas of tube harness arrangement is described in detail in the following embodiments. The network interface of the computer device can be configured to communicate with other devices outside through a network connection. Optionally, the computer device can be a server, a desktop computer, a personal digital assistant, or other terminal devices such as a tablet computer, a mobile phone, etc. The computer device can also be a cloud server or a remote server. The specific form of the computer device is not limited in the embodiments of the present application. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, a trackball or a touchpad arranged on the shell of the computer device, or an external keyboard, a touchpad or a mouse, etc. Of course, the input device and the display screen can not belong to the computer device, but can be external devices of the computer device.
[0138] Those skilled in the art can understand that Figure 1 The structure shown in the above figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0139] In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:
[0140] obtaining a building information model, and drawing a maximum outer contour line of a target floor in the building information model according to the building information model;
[0141] generating at least one closed entity in the maximum outer contour line according to the maximum outer contour line and the building information model;
[0142] obtaining a line segment set of a bottom surface of the closed entity, and taking a maximum enclosing area enclosed by a line segment in the line segment set as a closed area corresponding to the closed entity, the closed area being used for pipeline comprehensive arrangement.
[0143] In one embodiment, the processor further implements the following steps when executing the computer program:
[0144] obtaining support body attribute data of at least one support body corresponding to the target floor according to the building information model;
[0145] calculating the maximum outer contour line according to each of the support body attribute data.
[0146] In one embodiment, the processor further implements the following steps when executing the computer program:
[0147] determining an edge line set of an upper surface of the support body from the support body attribute data;
[0148] drawing the maximum outer contour line according to the edge line set corresponding to each of the support bodies.
[0149] In one embodiment, the processor further implements the following steps when executing the computer program:
[0150] generating a peripheral wall body corresponding to the maximum outer contour line according to the maximum outer contour line;
[0151] obtaining inner wall body attribute data and column body attribute data corresponding to the target floor from the building information model, and generating a closed area according to the inner wall body attribute data and the column body attribute data, and determining at least one of the closed entities based on the closed area.
[0152] In one embodiment, the processor further implements the following steps when executing the computer program:
[0153] obtaining a minimum closed area list in the closed area, the minimum closed area list including attribute information of each minimum closed area in the building information model;
[0154] According to the attribute information of the minimum closed region, a room entity corresponding to the minimum closed region is generated in the peripheral wall;
[0155] According to each of the generated room entities, at least one closed entity is generated.
[0156] In one embodiment, the processor, when executing the computer program, further implements the following steps:
[0157] For each of the room entities, each candidate entity in the room entity is determined, and the area of each of the candidate entities is determined;
[0158] The candidate entity with the largest area is taken as the closed entity.
[0159] In one embodiment, the processor, when executing the computer program, further implements the following steps:
[0160] Each of the closed regions is visually displayed;
[0161] According to a selection instruction of a user for a target closed region, a target region corresponding to the target closed region in the building information model is found in a preset mapping relationship.
[0162] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, the processes of the above-mentioned embodiments can be included. Any reference to a memory, storage, database or other medium used in each embodiment provided by the present application can include a non-volatile and / or volatile memory. The non-volatile memory can include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM) or a flash memory. The volatile memory can include a random access memory (RAM) or an external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM) and memory bus dynamic RAM (RDRAM).
[0163] In one embodiment, a computer readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, implements the following steps:
[0164] obtaining a building information model, and drawing a maximum outer contour line of a target floor in the building information model according to the building information model;
[0165] generating at least one closed entity in the maximum outer contour line according to the maximum outer contour line and the building information model;
[0166] obtaining a line segment set of a bottom surface of the closed entity, and taking a maximum enclosing area enclosed by a line segment in the line segment set as a closed area corresponding to the closed entity, the closed area being used for pipeline comprehensive arrangement.
[0167] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0168] obtaining support body attribute data of at least one support body corresponding to the target floor according to the building information model;
[0169] calculating the maximum outer contour line according to each of the support body attribute data.
[0170] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0171] determining an edge line set of an upper surface of the support body from the support body attribute data;
[0172] drawing the maximum outer contour line according to the edge line set corresponding to each of the support bodies.
[0173] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0174] generating a peripheral wall body corresponding to the maximum outer contour line according to the maximum outer contour line;
[0175] obtaining inner wall body attribute data and column attribute data corresponding to the target floor from the building information model, and generating a closed area according to the inner wall body attribute data and the column attribute data, and determining at least one of the closed entities based on the closed area.
[0176] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0177] obtaining a minimum closed area list in the closed area, the minimum closed area list including attribute information of each minimum closed area in the building information model;
[0178] generating a room entity corresponding to the minimum closed region in the peripheral wall according to the attribute information of the minimum closed region;
[0179] generating at least one closed entity according to each of the generated room entities.
[0180] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0181] For each of the room entities, determining each candidate entity in the room entity, and determining the area of each of the candidate entities;
[0182] taking the candidate entity with the largest area as the closed entity.
[0183] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0184] visualizing each of the closed regions;
[0185] According to a selection instruction of a user for a target closed region, searching for a target region corresponding to the target closed region in the building information model in a preset mapping relationship.
[0186] The technical features of the above embodiments can be combined in any manner. To make the description concise, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combinations of the technical features do not exist contradictions, they should be considered as the scope of the present disclosure.
[0187] The above embodiments only express several implementation manners of the present disclosure, and the description is relatively specific and detailed, however, it should not be understood as a limitation on the scope of the patent. It should be pointed out that, for ordinary skilled in the art, without departing from the concept of the present disclosure, a number of modifications and improvements can be made, which are all within the protection scope of the present disclosure. Therefore, the protection scope of the patent of the present disclosure should be subject to the appended claims.
Claims
1. A method for identifying closed regions in manifold layout, characterized in that, The method includes: Obtain the building information model and draw the maximum outer contour line of the target floor in the building information model based on the building information model; Based on the maximum outer contour line and the building information model, at least one closed entity is generated, and the closed entity is located within the maximum outer contour line; Obtain the set of line segments on the bottom surface of the closed entity, and take the largest enclosed area enclosed by the line segments in the set as the closed area corresponding to the closed entity. The closed area is used for pipeline layout. The step of generating at least one closed entity based on the maximum outer contour line and the building information model includes: Generate the outer wall corresponding to the maximum outer contour line based on the maximum outer contour line; The interior wall attribute data and column attribute data corresponding to the target floor are obtained from the building information model, and a closed region is generated based on the interior wall attribute data and the column attribute data. At least one closed entity is determined based on the closed region.
2. The method according to claim 1, characterized in that, The step of drawing the maximum outer contour line of the target floor in the building information model based on the building information model includes: Based on the building information model, obtain the support attribute data of at least one support body corresponding to the target floor; The maximum outer contour line is calculated based on the attribute data of each support.
3. The method according to claim 2, characterized in that, The step of calculating the maximum outer contour line based on the attribute data of each of the supports includes: The set of edges on the upper surface of the support is determined from the support attribute data; The maximum outer contour line is drawn based on the set of edge lines corresponding to each of the supports.
4. The method according to claim 1, characterized in that, Determining at least one closed entity based on the closed region includes: Obtain a list of the smallest closed regions within the closed region, wherein the list of smallest closed regions includes the attribute information of each smallest closed region in the building information model; Based on the attribute information of the minimum closed region, a room entity corresponding to the minimum closed region is generated within the outer wall. At least one closed entity is generated based on each of the generated room entities.
5. The method according to claim 4, characterized in that, The step of generating at least one closed entity based on each of the generated room entities includes: For each room entity, determine each candidate entity within the room entity, and determine the area of each candidate entity; The candidate entity with the largest area is selected as the closed entity.
6. The method according to claim 1, characterized in that, The method further includes: The closed regions described herein are visualized. Based on the user's selection instruction for the target closed area, the target area corresponding to the target closed area in the building information model is found in the preset mapping relationship.
7. A closed area identification device for manifold layout, characterized in that, The device includes: The acquisition module is used to acquire the building information model and draw the maximum outer contour line of the target floor in the building information model based on the building information model. A generation module is used to generate at least one closed entity based on the maximum outer contour line and the building information model, wherein the closed entity is located within the maximum outer contour line; The determination module is used to obtain the set of line segments on the bottom surface of the closed entity, and to take the largest enclosed area enclosed by the line segments in the set of line segments as the closed area corresponding to the closed entity. The closed area is used for pipeline integrated layout. The generation module is specifically used to generate the outer wall corresponding to the maximum outer contour line based on the maximum outer contour line; The interior wall attribute data and column attribute data corresponding to the target floor are obtained from the building information model, and a closed region is generated based on the interior wall attribute data and the column attribute data. At least one closed entity is determined based on the closed region.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method and device for identifying floor plan of room
CN108664860A
Target area acquisition method and device, computer equipment and storage medium
CN112287432A
Automatic house type attribution identification method based on scanning line
CN113297662A