Component net height analysis method and device, and computer equipment
By acquiring target areas and pipe components from the building information model, and using computer equipment and software plugins to automatically analyze the net height of the components, the problems of low efficiency and inaccurate results in the existing technology are solved, and the automation and accuracy of the net height analysis of components are realized.
Patent Information
- Application Number
- CN202111166402.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2041-09-30
AI Technical Summary
Currently, the analysis of the clear height of building components relies on manual experience, resulting in low efficiency and inaccurate analysis results.
By acquiring the building information model, the pipe components within the target area are identified, and the bottom elevation of the components and the preset net height of the area are analyzed to determine whether the components are reasonable. The building information model is then processed automatically using computer equipment and software plugins to identify and display abnormal components.
It has achieved automation and improved accuracy in component clearance analysis, enabling rapid identification and improvement of unreasonable components, and improving analysis efficiency and objectivity of results.
Smart Images

Figure CN115906225B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer-aided architectural design, and in particular to a component net height analysis method and device and computer equipment. BACKGROUND
[0002] At present, the net height analysis of each component in a building is generally performed by on-site operators based on experience. This method is inefficient and the analysis result is inaccurate. SUMMARY
[0003] Therefore, it is necessary to provide a component net height analysis method, device and computer equipment capable of improving the accuracy of the analysis result.
[0004] In a first aspect, a component net height analysis method is provided. The method comprises:
[0005] obtaining a building information model, and determining at least one target region according to region attribute information in the building information model;
[0006] determining a target pipe component in the at least one target region according to a surrounding line segment of the at least one target region and a positioning line of a pipe component in the building information model;
[0007] determining an analysis result of the target pipe component according to a bottom elevation of the target pipe component and a preset net height of the target region, wherein the analysis result indicates whether the target pipe component is reasonable.
[0008] In one of the optional embodiments, the determination of the target pipe component in the at least one target region according to the surrounding line segment of the at least one target region and the positioning line of the pipe component in the building information model comprises:
[0009] obtaining the surrounding line segment of the target region;
[0010] determining a candidate pipe component in the building model, wherein the candidate pipe component has a relative elevation equal to a current elevation of the target region;
[0011] determining the target pipe component of the target region according to the surrounding line segment of the target region and the positioning line of the candidate pipe component.
[0012] In one of the optional embodiments, the determination of the target pipe component of the target region according to the surrounding line segment of the target region and the positioning line of the candidate pipe component comprises:
[0013] projecting the positioning line of the candidate pipe component and the surrounding line segment of the target region onto a two-dimensional plane to determine all intersection points of the positioning line of the candidate pipe component and the surrounding line segment on the two-dimensional plane;
[0014] According to the intersection, determine the number of line segments obtained by the intersection of the positioning line of the candidate pipe component and the enclosing line segment;
[0015] According to the number of line segments, determine the target pipe component in the target area.
[0016] In one of the alternative embodiments, according to the number of line segments, determining the target pipe component in the target area comprises:
[0017] If the number of line segments is greater than a preset value, the candidate pipe component is determined as the target pipe component in the target area;
[0018] If the number of line segments is equal to the preset value, the midpoint position of the line segment obtained by the intersection of the positioning line of the candidate pipe component and the enclosing line segment is determined, and if the midpoint position is in the area where the enclosing line segment is located, the candidate pipe component is determined as the target pipe component in the target area.
[0019] In one of the alternative embodiments, according to the bottom elevation of the target pipe component and the preset net height of the target area, determining the analysis result of the pipe component comprises:
[0020] If the bottom elevation of the target pipe component is less than the preset net height of the target area, the target pipe component is determined to be abnormal;
[0021] If the bottom elevation of the target pipe component is greater than or equal to the preset net height of the target area, the target pipe component is determined to be normal.
[0022] In one of the alternative embodiments, the method further comprises:
[0023] Adding an abnormal identifier to the attribute information of the abnormal target pipe component;
[0024] According to the abnormal identifier of the abnormal target pipe component, adding the abnormal identifier of the abnormal target pipe component to the building information model, updating and displaying the building information model.
[0025] In one of the alternative embodiments, the pipe component is a water pipe, and the determination of the bottom elevation of the pipe component comprises:
[0026] According to the in-pipe bottom elevation, the reference elevation, the outer diameter and the inner diameter of the water pipe, the bottom elevation of the water pipe is calculated.
[0027] In one of the alternative embodiments, the analysis result includes the axis network position of the target pipe component, and the method further comprises:
[0028] Obtaining the midpoint of the center line of the abnormal pipe component;
[0029] Obtaining the horizontal axis network and the vertical axis network in the building model;
[0030] Traverse each horizontal axis network, determine the horizontal axis network closest to the center point of the target pipe component, and determine the position of the target pipe component on the horizontal axis network according to the closest horizontal axis network;
[0031] Traverse each vertical axis network, determine the vertical axis network closest to the center point of the target pipe component, and determine the position of the target pipe component on the vertical axis network according to the closest vertical axis network.
[0032] In a second aspect, a component clear height analysis device is provided, and the device comprises:
[0033] A first determining module is configured to acquire a building information model, and determine at least one target region according to attribute information of the building information model;
[0034] A second determining module is configured to determine a target pipe component in the at least one target region according to a surrounding line segment of the at least one target region and a positioning line of the pipe component in the building information model;
[0035] An analysis module is configured to determine an analysis result of the pipe component according to a bottom elevation of the target pipe component and a preset clear height of the target region, and the analysis result indicates whether the target pipe component is reasonable.
[0036] In a third aspect, a computer device is provided, which comprises a memory and a processor, the memory stores a computer program, and the processor implements the component clear height analysis method of any one of the first aspect when executing the computer program.
[0037] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the component clear height analysis method of any one of the first aspect.
[0038] The method, device and computer device for analyzing the net height of the component, the computer device obtains the building information model, determines at least one target area according to the attribute information of the building information model, determines the target pipe component in the at least one target area according to the enclosing line segment of the at least one target area and the positioning line of the pipe component in the building information model, and determines the analysis result of the target pipe component according to the bottom elevation of the target pipe component and the preset net height of the target area. The analysis result indicates whether the target pipe component is reasonable. In the method, the computer device can analyze and determine the net height of each component in the building information model based on the attribute information of each component in the building information model, so as to obtain the result of whether the net height of each component meets the requirements or is reasonable, realize the pre-analysis of the net height of the component based on the building information model, improve the component in the building information model which is unreasonable based on the analysis result, and analyze the net height of the component based on the building information model. Since the parameters of each component in the building information model are objective parameters, the analysis result is relatively accurate. BRIEF DESCRIPTION OF DRAWINGS
[0039] Figure 1 An application environment diagram of the method for analyzing the net height of the component in an embodiment;
[0040] Figure 2 A flowchart of the method for analyzing the net height of the component in an embodiment;
[0041] Figure 3 A flowchart of the method for analyzing the net height of the component in an embodiment;
[0042] Figure 4 A flowchart of the method for analyzing the net height of the component in an embodiment;
[0043] Figure 5 A schematic diagram of an abnormal pipe component in an embodiment;
[0044] Figure 6 A flowchart of the method for analyzing the net height of the component in an embodiment;
[0045] Figure 7 A schematic diagram of an abnormal pipe component in a BIM model in an embodiment;
[0046] Figure 8 A schematic diagram of an output analysis report in an embodiment;
[0047] Figure 9 A flowchart of the method for analyzing the net height of the component in an embodiment;
[0048] Figure 10 A structural block diagram of the device for analyzing the net height of the component in an embodiment;
[0049] Figure 11 This is a structural block diagram of a component height analysis device in one embodiment. Detailed Implementation
[0050] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0051] The component clear height analysis method provided in this application can be applied to, for example... Figure 1 In the application environment shown, in one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows. Figure 1 As shown. The computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a method for analyzing the net height of a component. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.
[0052] Those skilled in the art will understand that Figure 1 The 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 solutions of this application and how they solve the aforementioned technical problems will be described in detail below through embodiments and in conjunction with the accompanying drawings. 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. It should be noted that this application... Figures 2-9The component net height analysis method provided in the embodiment has a computer device as an execution subject, and can also be a component net height analysis device. The component net height analysis device can be part or all of the computer device in the form of software, hardware or a combination of software and hardware. In the following method embodiments, the execution subject is taken as an example of the computer device.
[0054] In one embodiment, as shown in Figure 2 A component net height analysis method is provided, including the following steps:
[0055] S201, obtaining a building information model, and determining at least one target region according to region attribute information in the building information model.
[0056] The attribute information of the building information model (BIM) refers to the attribute information of each component and each part in the building information model, for example, including a type label, which can be a pipeline, a room, a corridor, etc. In addition, the attribute information can also include ID, area, length, position coordinates and other parameters, for example, the area of the room with ID 01 is 25 m 2 , etc.
[0057] In this embodiment, the computer device can obtain all regions with the label of room as target regions. Alternatively, the computer device can also obtain all room regions with the ID in a preset range as target regions according to the ID, for example, obtain the rooms with ID in [01-05] as target regions, and then the computer device determines the regions formed by the rooms with ID 01, 02, 03, 04 and 05 as target regions according to the ID of each room. Alternatively, the computer device can also determine the spaces in a specified range as target regions according to the space label of the building information model. Alternatively, the computer device can also obtain all rooms with the preset elevation in the building information model as target regions according to the preset elevation. Optionally, after determining the target regions, the net height parameters of the target regions can also be determined, which is not limited in this embodiment.
[0058] 202, determining a target pipeline component in at least one target region according to the enclosing line segment of the target region and the positioning line of the pipeline component in the building information model.
[0059] The enclosing line segment refers to the line segment corresponding to the enclosing region formed by the projection of the target region in the BIM model to a two-dimensional plane.
[0060] In this embodiment, the computer device can traverse each target region, determine all pipe components involved in each target region, project the target region to a two-dimensional plane, for example, the XOY plane, to obtain the target region on the two-dimensional plane, thereby determining the enclosing line segment of the target region, project the positioning line of the pipe component to the two-dimensional plane as well, and determine the target pipe component actually in the target region according to the line segment obtained by projecting the positioning line of the pipe component to the two-dimensional plane and the enclosing line segment of the target region.
[0061] S203, determine an analysis result of the target pipe component according to the bottom elevation of the target pipe component and the preset net height of the target region; the analysis result indicates whether the target pipe component is reasonable.
[0062] The bottom elevation of the target pipe component can be directly obtained from the attribute information of each component of the BIM model; the preset net height of the target region is the same net height set by the computer device for all target regions after determining the target regions.
[0063] In this embodiment, the computer device analyzes according to the preset net height of the target region and the obtained bottom elevations of the target pipes, for example, the computer device can directly compare the bottom elevations of the target pipes with the preset net height of the target region, determine the target pipe whose bottom elevation is less than the preset net height of the target region as an unreasonable pipe component, and determine the target pipe whose bottom elevation is greater than or equal to the preset net height of the target region as a reasonable pipe component. Alternatively, the computer device can also calculate the difference between the bottom elevation of each target pipe and the preset net height of the target region, if the difference is within the preset difference range, the pipe component is determined as a reasonable pipe component; if the difference is outside the preset difference range, it is further determined whether the bottom elevation of the pipe component is less than the preset net height of the target region, if yes, the pipe component is determined as an unreasonable pipe component; if no, the pipe component is determined as a reasonable pipe component, which is not limited in this embodiment.
[0064] In the method, the computer device can analyze and judge the net height of each component in the building information model based on the attribute information of each component in the building information model, so as to obtain the result whether the net height of each component meets the requirement or is reasonable, realize the pre-analysis of the net height of the component based on the building information model, and improve the component in the building information model which is not reasonable based on the analysis result. In addition, the net height analysis of the component is based on the building information model, and the analysis result is relatively accurate because the parameters of each component in the building information model are objective parameters.
[0065] Optionally, the computer device can determine whether the pipe component is in the target area by the method provided in the following embodiments. In one of the optional embodiments, as shown in Figure 3 the method for determining the target pipe component in the at least one target area according to the enclosing line segment of the at least one target area and the positioning line of the pipe component in the building information model, comprises:
[0066] For each target area in the building model, the operations of steps 301 to 303 are performed.
[0067] S301, obtaining the enclosing line segment of the target area.
[0068] In the embodiment, the computer device can realize the operation of the BIM model through the revit plug-in. For example, when the target area is a room, the computer device can obtain the closed target area by calling the room.GetBoundarySegments method in the revit plug-in, so as to construct the IList <boundarysegment>Get the curve by the BoundarySegment method, and then pass the curve list into Curveloop.create to get the target area's enclosed area.
[0069] S302, determine the candidate pipe components whose relative elevations of pipe components in the building model are equal to the current elevation of the target area.
[0070] The pipe components can include bridge, air pipe, water pipe, etc.
[0071] In this embodiment, all pipe components in the BIM model are obtained, and the relative elevations of all pipe components are obtained. According to the comparison between the relative elevations of each pipe component and the current elevation of the target area, the pipe component whose relative elevation is equal to the current elevation of the target area is determined as the candidate pipe component. The relative elevation can be directly obtained from the attribute information of each pipe component in the BIM model, and the current elevation of the target area is the elevation set when the target area is obtained. Here, the computer device needs to screen all pipe components in the BIM model, that is, the computer device screens the pipe components that meet the requirements (relative elevation equal to current elevation) according to the relative elevations of the pipe components, instead of indiscriminately analyzing all pipe components in the BIM model, which improves the accuracy of the net height analysis of the pipe components.
[0072] S303, determine the target pipe components of the target area according to the enclosing line segments of the target area and the positioning lines of the candidate pipe components.
[0073] The positioning lines of the candidate pipe components can be obtained through the location attribute of each pipe component. In this embodiment, the computer device determines the target area to which each pipe component belongs or determines whether each pipe component is in its corresponding target area according to the positioning lines of the candidate pipe components after the determination and the enclosing line segments of the target area that have been determined.
[0074] Alternatively, one of the implementation methods for determining whether the pipe component is in the target area is as shown in Figure 4 According to the enclosing line segments of the target area and the positioning lines of the candidate pipe components, the target pipe components of the target area are determined, including:
[0075] S401, project the positioning lines of the candidate pipe components and the enclosing line segments of the target area to a two-dimensional plane, and determine all intersection points of the positioning lines of the candidate pipe components and the enclosing line segments on the two-dimensional plane.
[0076] In the embodiment, the computer device projects the enclosing region of the target region and the positioning line of the candidate pipe component in the BIM model into a two-dimensional plane, for example, into the xoy plane, and obtains all intersection points of the positioning line of the candidate pipe component and the enclosing line segment in the two-dimensional plane based on the xoy plane.
[0077] S402, determining the number of line segments obtained by the intersection of the positioning line of the candidate pipe component and the enclosing line segment according to the intersection points.
[0078] In the embodiment, all intersection points of the positioning line of the candidate pipe component and the enclosing line segment in the two-dimensional plane are determined, and the computer device can determine the number of line segments between the intersection points formed by a certain pipe component according to each intersection point.
[0079] S403, determining the target pipe component in the target region according to the number of line segments.
[0080] In the embodiment, the computer device determines whether the current candidate pipe component is in the target region according to the number of line segments.
[0081] Optionally, if the number of line segments is greater than a preset value, the candidate pipe component is determined as the target pipe component in the target region; if the number of line segments is equal to the preset value, the midpoint position of the line segment obtained by the intersection of the positioning line of the candidate pipe component and the enclosing line segment is determined, and if the midpoint position is in the region of the enclosing line segment, the candidate pipe component is determined as the target pipe component in the target region.
[0082] In the embodiment, for example, the preset value can be 1, if the computer device determines that the number of line segments formed by the intersection of the positioning line of the current pipe component and the enclosing line segment is greater than 1, it is determined that the current pipe component is in the target region; if the computer device determines that the number of line segments formed by the intersection of the positioning line of the current pipe component and the enclosing line segment is equal to 1, the midpoint position of the line segment is determined according to the current line segment, and whether the current pipe component is in the enclosing region is determined according to whether the midpoint position is in the enclosing region, if the midpoint position is in the region of the enclosing line segment, the current pipe component is determined to be in the target region, which is not limited in the embodiment.
[0083] In the embodiment, the computer device can determine the pipe component in the target region through the positioning line of the pipe component and the enclosing line segment of each target region, so as to more accurately analyze the pipe component in the target region, reduce the influence of unnecessary data, and improve the accuracy of the analysis result.
[0084] In one of the optional embodiments, the analysis result of the pipe component is determined according to the bottom elevation of the target pipe component and the preset net height of the target region, including:
[0085] If the bottom elevation of the target pipe component is less than the preset net height of the target area, it is determined that the target pipe component is abnormal; if the bottom elevation of the target pipe component is greater than or equal to the preset net height of the target area, it is determined that the target pipe component is normal.
[0086] In this embodiment, the computer device obtains the bottom elevation of each target pipe component, compares the bottom elevation of each target pipe component with the preset net height of the target area, and determines that the target pipe component is abnormal if the bottom elevation of the target pipe component is less than the preset net height of the target area, and determines that the target pipe component is normal otherwise. For details, refer to Figure 5 Figure 5 Two pipe components with bottom elevations less than the preset net height of the target area are given.
[0087] Optionally, the pipe component can be a bridge, an air pipe, a water pipe, etc. The bottom elevation of the bridge and the air pipe can be directly obtained from the BIM model. The method element.GetDoubleValue(BuiltInParameter.RBS_CTC_BOTTOM_ELEVATION) is called to obtain the bottom elevation of the bridge and the air pipe.
[0088] Optionally, in the case of a water pipe, the bottom elevation of the pipe component can be determined in the following manner:
[0089] The bottom elevation of the water pipe is calculated according to the pipe bottom elevation, the reference elevation, the outer diameter and the inner diameter.
[0090] In this embodiment, the bottom elevation of the water pipe = pipe bottom elevation - reference elevation of the component - (outer diameter - inner diameter) / 2, wherein the pipe bottom elevation, the reference elevation of the component, the outer diameter and the inner diameter can be obtained from the BIM model. For example, the reference elevation of the component is obtained by the method doc.GetElement(element.GetElementId(BuiltInParameter.RBS_START_LEVEL_PARAM)) as Level, the pipe bottom elevation is obtained by the method element.GetDoubleValue(BuiltInParameter.RBS_PIPE_INVERT_ELEVATION), the outer diameter is obtained by the method element.GetDoubleValue(BuiltInParameter.RBS_PIPE_OUTER_DIAMETER), and the inner diameter is obtained by the method element.GetDoubleValue(BuiltInParameter.RBS_PIPE_INNER_DIAM_PARAM), which is not limited in this embodiment.
[0091] In this embodiment, the computer device can obtain the bottom elevation of each target pipe component based on the BIM model, and determine the unreasonable pipe component based on the bottom elevation of the target pipe component and the preset net height of the target area, i.e., determine the abnormal pipe component. This scheme can simply and conveniently achieve the purpose of accurately locating the abnormal pipe component.
[0092] After determining the abnormal pipe component, further, the computer device can also mark the abnormal pipe component in the BIM model. In one of the optional embodiments, as shown in Figure 6 The method further includes:
[0093] S501, adding an abnormal identifier in the attribute information of the abnormal target pipe component.
[0094] The abnormal identifier can be a specified color or a specified style of the abnormal target pipe component, or a label added to the abnormal target pipe component for indicating the abnormality. The label can be displayed in a folded manner in the display interface of the BIM model, i.e., the abnormal identifier is displayed when the target pipe component is triggered to be viewed.
[0095] S502, adding the abnormal identifier of the abnormal target pipe component in the building information model according to the abnormal identifier of the abnormal target pipe component, and updating the building information model.
[0096] In this embodiment, after determining the updated attribute information of the abnormal target pipe component, the BIM model is updated according to the attribute information of the abnormal target pipe component, i.e., the abnormal identifier of the abnormal target pipe component is displayed in the BIM model. As shown in Figure 7 Figure 7 The left side shows a schematic diagram of the abnormal water pipe.
[0097] S503, displaying the updated building model in a target view.
[0098] The target view is a specified other view. Before displaying the BIM model, the computer device can create a view of other dimensions for the BIM model, or create a view specified by the user, and display the BIM model in the target view. Optionally, the computer device can also output an analysis report of the BIM model according to the updated building model and the analysis result of the target pipe component. The analysis report includes the local BIM model where the abnormal target pipe component is located, the area where the abnormal target pipe component is located, the state of the abnormal target pipe component, the net height of the abnormal target pipe component, and the axis net position of the abnormal target pipe component, etc. The analysis report can refer to Figure 8
[0099] Optionally, the method for determining the axis net position of the target pipe component comprises:
[0100] acquiring the midpoint of the center line of the abnormal pipe component; acquiring the horizontal axis net and the vertical axis net in the building model; traversing each horizontal axis net to determine the closest horizontal axis net to the center point of the target pipe component, and determining the position of the target pipe component on the horizontal axis net according to the closest horizontal axis net; traversing each vertical axis net to determine the closest vertical axis net to the center point of the target pipe component, and determining the position of the target pipe component on the vertical axis net according to the closest vertical axis net.
[0101] In this embodiment, the computer device determines the midpoint of the center line of the abnormal pipe component, acquires all the axis nets in the BIM model, groups the axis nets, groups the axis nets parallel to the x-axis into a horizontal group to obtain the horizontal axis net, and groups the axis nets parallel to the y-axis into a vertical group to obtain the vertical axis net. The horizontal axis net is traversed to determine the shortest line from the center point of the abnormal pipe component to the infinite extension line of the horizontal axis net to obtain the position of the target pipe component on the horizontal axis net; the vertical axis net is traversed to determine the shortest line from the center point of the abnormal pipe component to the infinite extension line of the vertical axis net to obtain the position of the target pipe component on the vertical axis net. In the analysis report, the axis net position of the abnormal pipe component can be expressed in the form of horizontal axis net position and vertical axis net position.
[0102] In this embodiment, the computer device can determine the abnormal target pipe component in the BIM model according to the analysis result. In order to more intuitively feed back the abnormal pipe component to the user, the computer device can update the identification of the abnormal pipe component to the BIM model, and output an analysis report according to the related information, so as to optimize the intuitive understanding of the abnormal pipe component by the user.
[0103] In order to better illustrate the above method, as shown in Figure 9 the embodiment provides a component net height analysis method, which specifically comprises:
[0104] S101, acquiring a building information model, and determining at least one target region according to region attribute information in the building information model;
[0105] S102, acquiring a surrounding line segment of each target region;
[0106] S103, determining a candidate pipe component in the building model, the relative elevation of which is equal to the current elevation of the target region;
[0107] S104, determining a target pipe component of each target region according to the surrounding line segment of each target region and the positioning line of the candidate pipe component;
[0108] S105, if the bottom elevation of the target pipe component is less than the preset net height of the target area, it is determined that the target pipe component is abnormal;
[0109] S106, if the bottom elevation of the target pipe component is greater than or equal to the preset net height of the target area, it is determined that the target pipe component is normal;
[0110] S107, adding an abnormality identifier to the attribute information of the abnormal target pipe component;
[0111] S108, according to the abnormality identifier of the abnormal target pipe component, adding the abnormality identifier of the abnormal target pipe component in the building information model, and updating the building information model;
[0112] S109, displaying the updated building model in the target view, and outputting an analysis report of the abnormal target pipe component.
[0113] In the embodiment, the computer device can analyze and judge the net height of each component in the building information model based on the attribute information of each component in the building information model, so as to obtain the result whether the net height of each component meets the requirement or is reasonable, thereby realizing the pre-analysis of the net height of the component based on the building information model. Based on the analysis result, the component in the building information model which is unreasonable can be improved. Moreover, the analysis of the net height of the component based on the building information model is more accurate because the parameters of each component in the building information model are objective parameters.
[0114] The component net height analysis method provided by the above embodiment has similar implementation principles and technical effects to the method embodiment, which will not be described here.
[0115] It should be understood that, although Figures 2-9 the steps in the flowchart are displayed in sequence according to the arrows, these steps are not necessarily executed in sequence according to the arrows. Unless otherwise specified in this article, the execution of these steps has no strict order limitation, and these steps can be executed in other order. Moreover, Figures 2-9 at least part of the steps in the flowchart can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least part of other steps or steps or stages in other steps.
[0116] In one embodiment, as shown in Figure 10 , a component net height analysis device is provided, comprising:
[0117] The first determining module 01 is configured to acquire a building information model, and determine at least one target region according to region attribute information in the building information model.
[0118] The second determining module 02 is configured to determine a target pipe component in the at least one target region according to a surrounding line segment of the at least one target region and a positioning line of the pipe component in the building information model.
[0119] The analysis module 03 is configured to determine an analysis result of the target pipe component according to a bottom elevation of the target pipe component and a preset net height of the target region, wherein the analysis result indicates whether the target pipe component is reasonable.
[0120] In one of the optional embodiments, the second determining module 02 is configured to acquire the surrounding line segment of the target region, determine a candidate pipe component in the building model, wherein a relative elevation of the candidate pipe component is equal to a current elevation of the target region, and determine the target pipe component of the target region according to the surrounding line segment of the target region and the positioning line of the candidate pipe component.
[0121] In one of the optional embodiments, the second determining module 02 is configured to project the positioning line of the candidate pipe component and the surrounding line segment of the target region to a two-dimensional plane, determine all intersection points of the positioning line of the candidate pipe component and the surrounding line segment on the two-dimensional plane, determine a number of line segments obtained by the intersection of the positioning line of the candidate pipe component and the surrounding line segment according to the intersection points, and determine the target pipe component in the target region according to the number of line segments.
[0122] In one of the optional embodiments, the second determining module 02 is configured to determine that the candidate pipe component is the target pipe component in the target region if the number of line segments is greater than a preset value, and determine a midpoint position of the line segment obtained by the intersection of the positioning line of the candidate pipe component and the surrounding line segment if the number of line segments is equal to the preset value, wherein the candidate pipe component is determined to be the target pipe component in the target region if the midpoint position is located in a region of the surrounding line segment.
[0123] In one of the optional embodiments, the analysis module 03 is configured to determine that the target pipe component is abnormal if the bottom elevation of the target pipe component is less than the preset net height of the target region, and determine that the target pipe component is normal if the bottom elevation of the target pipe component is greater than or equal to the preset net height of the target region.
[0124] In one of the optional embodiments, as shown in Figure 11 the component net height analysis device further includes a processing module 04 configured to add an abnormality identifier in attribute information of the abnormal target pipe component, add the abnormality identifier of the abnormal target pipe component in the building information model according to the abnormality identifier of the abnormal target pipe component, and update and display the building information model.
[0125] In one of the optional embodiments, the pipe member is a water pipe, and the analysis module 03 is further configured to calculate the bottom elevation of the water pipe according to the in-pipe bottom elevation, the reference elevation, the outer diameter and the inner diameter of the water pipe.
[0126] In one of the optional embodiments, the analysis result includes the grid position of the target pipe member, and the analysis module 03 is further configured to obtain the midpoint of the center line of the abnormal pipe member; obtain the horizontal grid and the vertical grid in the building model; traverse each horizontal grid to determine the horizontal grid closest to the center point of the target pipe member, and determine the position of the target pipe member on the horizontal grid according to the closest horizontal grid; traverse each vertical grid to determine the vertical grid closest to the center point of the target pipe member, and determine the position of the target pipe member on the vertical grid according to the closest vertical grid.
[0127] The specific limitations of the component net height analysis device can be referred to the limitations of the component net height analysis method described above, which will not be repeated here. Each module in the above component net height analysis device can be realized by software, hardware and their combination in whole or in part. The above modules 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 that the processor can call and execute the operations corresponding to the above modules.
[0128] In one embodiment, a computer device is provided, comprising a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the following steps:
[0129] Obtain a building information model, and determine at least one target area according to the area attribute information in the building information model;
[0130] Determine a target pipe member in the at least one target area according to the enclosing line segment of the at least one target area and the positioning line of the pipe member in the building information model;
[0131] Determine an analysis result of the target pipe member according to the bottom elevation of the target pipe member and the preset net height of the target area; the analysis result indicates whether the target pipe member is reasonable.
[0132] The computer device provided in the above embodiments has similar implementation principles and technical effects to the above method embodiments, which will not be repeated here.
[0133] In one embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the following steps:
[0134] Obtain a building information model, and determine at least one target area according to the area attribute information in the building information model;
[0135] determine a target pipe component within the at least one target region according to the enclosing line segment of the at least one target region and the positioning line of the pipe component in the building information model;
[0136] determine an analysis result of the target pipe component according to the bottom elevation of the target pipe component and the preset clear height of the target region; the analysis result indicates whether the target pipe component is reasonable.
[0137] The computer readable storage medium provided in the above embodiments has similar implementation principles and technical effects to the above method embodiments, and thus will not be described here.
[0138] A person of ordinary skill in the art can understand that all or part of the processes in the above method embodiments can be completed by a computer program instructing related hardware. The computer program can be stored in a nonvolatile computer readable storage medium. When the computer program is executed, the computer program can include the processes of the above method embodiments. In each embodiment provided in the present application, any reference to a memory, storage, database or other medium can include at least one of a nonvolatile and volatile memory. The nonvolatile memory can include a read-only memory (ROM), a magnetic tape, a floppy disk, a flash memory or an optical memory. The volatile memory can include a random access memory (RAM) or an external cache memory. As an illustration but not limitation, the RAM can be in various forms, such as a static random access memory (SRAM) or a dynamic random access memory (DRAM).
[0139] Each technical feature of the above embodiments can be combined arbitrarily. To make the description concise, each technical feature of the above embodiments is not described in all possible combinations, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.
[0140] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the patent scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, without departing from the concept of the present application, some modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the patent protection scope of the present application should be subject to the appended claims.< / boundarysegment>
Claims
1. A method of analyzing a net height of a member, characterized by, The method comprises: obtaining a building information model, and determining at least one target area according to area attribute information in the building information model; determining a target pipe component in the at least one target area according to a surrounding line segment of the at least one target area and a positioning line of the pipe component in the building information model; determining an analysis result of the target pipe component according to a bottom elevation of the target pipe component and a preset net height of the target area; the analysis result indicates whether the target pipe component is reasonable; wherein, the determining of the target pipe component in the at least one target area according to the surrounding line segment of the at least one target area and the positioning line of the pipe component in the building information model comprises: obtaining the surrounding line segment of the target area; determining a candidate pipe component in the building information model, whose relative elevation is equal to the current elevation of the target area; determining the target pipe component of the target area according to the surrounding line segment of the target area and the positioning line of the candidate pipe component.
2. The method of claim 1, wherein, The determining of the target pipe component of the target area according to the surrounding line segment of the target area and the positioning line of the candidate pipe component comprises: projecting the positioning line of the candidate pipe component and the surrounding line segment of the target area to a two-dimensional plane to determine all intersection points of the positioning line of the candidate pipe component and the surrounding line segment on the two-dimensional plane; determining the number of line segments obtained by the intersection of the positioning line of the candidate pipe component and the surrounding line segment according to the intersection points; determining the target pipe component in the target area according to the number of line segments.
3. The method of claim 2, wherein, The determining of the target pipe component in the target area according to the number of line segments comprises: if the number of line segments is greater than a preset value, determining that the candidate pipe component is the target pipe component in the target area; if the number of line segments is equal to a preset value, determining the midpoint position of the line segment obtained by the intersection of the positioning line of the candidate pipe component and the surrounding line segment, and if the midpoint position is in the area of the surrounding line segment, determining that the candidate pipe component is the target pipe component in the target area.
4. The method of claim 1, wherein, The determining of the analysis result of the pipe component according to the bottom elevation of the target pipe component and the preset net height of the target area comprises: if the bottom elevation of the target pipe component is less than the preset net height of the target area, determining that the target pipe component is abnormal; if the bottom elevation of the target pipe component is greater than or equal to the preset net height of the target area, determining that the target pipe component is normal.
5. The method of claim 4, wherein, The method further comprises: adding an abnormality identifier in the attribute information of the abnormal target pipe component; adding the abnormality identifier of the abnormal target pipe component in the building information model according to the abnormality identifier of the abnormal target pipe component, updating and displaying the building information model.
6. The method of claim 4, wherein, The pipe component is a water pipe, and the bottom elevation of the water pipe is determined in the following manner: calculating the bottom elevation of the water pipe according to the in-pipe bottom elevation, the reference elevation, the outer diameter and the inner diameter of the water pipe.
7. The method of claim 1, wherein, The analysis result includes a grid position of the target pipe component, and the method further comprises: acquiring a midpoint of a center line of the abnormal pipe component; acquiring horizontal grids and vertical grids in the building information model; traversing each of the horizontal grids to determine a horizontal grid closest to the center point of the target pipe component, and determining a position of the target pipe component on the horizontal grid according to the closest horizontal grid; traversing each of the vertical grids to determine a vertical grid closest to the center point of the target pipe component, and determining a position of the target pipe component on the vertical grid according to the closest vertical grid.
8. A member net height analysis apparatus characterized by comprising: The device comprises: a first determining module configured to acquire a building information model, and determine at least one target region according to attribute information of the building information model; a second determining module configured to determine a target pipe component in the at least one target region according to a surrounding line segment of the at least one target region and a positioning line of a pipe component in the building information model; an analysis module configured to determine an analysis result of the pipe component according to a bottom elevation of the target pipe component and a preset clear height of the target region, the analysis result indicating whether the target pipe component is reasonable; the second determining module is specifically configured to acquire the surrounding line segment of the target region, determine a candidate pipe component in the building information model, the candidate pipe component having a relative elevation equal to a current elevation of the target region, and determine the target pipe component of the target region according to the surrounding line segment of the target region and the positioning line of the candidate pipe component. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-8 when the computer program is executed by the processor. The processor executes the computer program to implement the steps of the method in any one of claims 1 to 7.
Citation Information
Patent Citations
Clearance height calculation method based on building information model and related device
CN112948928A