BIM Platform-Based Horizontal Component Labeling Method and Related Equipment
By identifying and filtering component annotation objects on the BIM platform, determining the annotation location and relationship, and performing annotation and optimization, the problem of the inability to automate annotation in existing technologies has been solved, achieving efficient and accurate component annotation.
Patent Information
- Application Number
- CN202210713783.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-22
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-06-22
AI Technical Summary
Existing horizontal component annotation methods cannot automate the annotation of different types of components, requiring designers to spend a lot of time checking and annotating each component individually, and there is a high error rate.
The horizontal component annotation method based on the BIM platform loads the structural plan view, identifies and filters component annotation objects, determines annotation location information and continuous annotation relationships, performs annotation, performs anomaly detection and optimization, and finally adds the optimized annotation information to the structural plan view.
It enables automated annotation of different types of horizontal components, improving annotation efficiency and accuracy, reducing human error, and improving the quality of output drawings.
Smart Images

Figure CN115455519B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent building technology, and in particular to a method and related equipment for labeling horizontal components based on a BIM platform. Background Technology
[0002] With the further development of the engineering and construction industry, in addition to the shortening of construction cycles, there are also certain demands in terms of personalization and complexity. During the engineering design process, the drawing process requires the labeling of the location and dimensions of certain building components according to relevant requirements, including structural beams, cantilever slabs, and slab openings. Designers need to label different building components for different projects based on specifications, project characteristics, and design practices.
[0003] In the engineering design industry, designers typically use AutoCAD software as their primary design tool, supplemented by add-ons and calculation software to complete engineering design tasks. However, due to the complexity of projects and the limitations of the software, designers need to meticulously check and label each component according to project requirements, standard drawings, and their own habits when annotating component locations in the design process. This process is time-consuming and prone to omissions. Some add-ons offer auxiliary annotation functions, but they suffer from problems such as labeling only a single component, repetitive operations, insufficient adaptation to project complexity, and high error rates. Furthermore, they neglect the role of human factors in the design process. In short, existing methods for annotating horizontal components cannot automate the annotation of different types of components. Summary of the Invention
[0004] The main objective of this invention is to solve the technical problem that existing horizontal component labeling methods cannot automatically label different types of components.
[0005] The first aspect of this invention provides a method for labeling horizontal components based on a BIM platform, wherein the BIM platform includes an auxiliary labeling device, and the method for labeling horizontal components based on the BIM platform includes:
[0006] Load the structural plan view on the BIM platform; activate the auxiliary annotation device and identify each horizontal component and grid in the structural plan view; based on the grid, select multiple component annotation objects from each horizontal component; determine at least two annotation position information corresponding to each component annotation object according to the component type of each component annotation object, and identify the continuous annotation relationship between each component annotation object according to the annotation position information; annotate each component annotation object according to the continuous annotation relationship to obtain component annotation information, and perform anomaly detection on the component annotation information to obtain detection results; optimize the component annotation information according to the detection results, and add the optimized component annotation information to the structural plan view.
[0007] Optionally, in a first implementation of the first aspect of the present invention, the step of selecting multiple component annotation objects from each of the horizontal components based on the grid includes: identifying the contour lines corresponding to each of the horizontal components and determining the positional relationship between each contour line and each axis in the grid; determining the association relationship between each of the horizontal components and the grid based on the positional relationship, and selecting component annotation objects from each of the horizontal components based on the association relationship.
[0008] Optionally, in a second implementation of the first aspect of the present invention, determining at least two annotation position information corresponding to each of the component annotation objects based on the component type of each component annotation object includes: determining the annotation line position of each of the component annotation objects based on the component type of each component annotation object; identifying the annotation reference line corresponding to each component annotation, and determining the annotation reference line position of each annotation reference line based on the component type of each component annotation object; and generating annotation position information corresponding to each of the component annotation objects based on the annotation line position and the annotation reference line position.
[0009] Optionally, in a third implementation of the first aspect of the present invention, identifying the continuous annotation relationship between each of the component annotation objects based on the annotation position information includes: drawing a perpendicular line between the annotation line corresponding to each component annotation object and the annotation reference line based on the annotation position information; grouping each annotation line and annotation reference line into continuous annotations based on the perpendicular relationship between each annotation line and annotation reference line and the perpendicular line, and obtaining a grouping result; and determining the continuous annotation relationship between each of the component annotation objects based on the grouping result.
[0010] Optionally, in a fourth implementation of the first aspect of the present invention, the step of annotating each of the component annotation objects according to the continuous annotation relationship to obtain component annotation information includes: continuously annotating component annotation objects belonging to the same continuous annotation group according to the continuous annotation relationship to obtain first annotation information; determining component annotation objects of the same type belonging to the same continuous annotation group; calculating the annotation spacing between adjacent component annotation objects of the same type and the annotation distance of each adjacent component annotation object of the same type, and determining whether the annotation spacing is less than a preset distance threshold, and cross-judging whether each annotation distance is the same; if there are annotation spacings less than the preset distance threshold and the same annotation distances, then generating second annotation information for adjacent component annotation objects that are less than the preset distance threshold and have the same annotation distance, and adjusting the first annotation information based on the second annotation information to obtain component annotation information.
[0011] Optionally, in a fifth implementation of the first aspect of the present invention, the step of performing anomaly detection on the component annotation information to obtain a detection result includes: determining whether the annotation content of each component annotation object in the component annotation information overlaps; if there is overlap, determining a first abnormal annotation category corresponding to each overlapping annotation content based on the continuous annotation group in which each overlapping annotation content is located, as well as the corresponding component type and annotation position; if there is no overlap, determining the annotation distance corresponding to each non-overlapping annotation content, and determining a second abnormal annotation category corresponding to each non-overlapping annotation content based on the annotation distance; and obtaining a detection result based on the first abnormal annotation category and the second abnormal annotation category.
[0012] Optionally, in a sixth implementation of the first aspect of the present invention, optimizing the component annotation information based on the detection result includes: if the detection result is a first abnormal annotation category, then matching the optimization strategy corresponding to the first abnormal annotation category and optimizing the annotation leader for overlapping annotation content; if the detection result is a second abnormal annotation category, then removing the annotation content whose annotation distance does not meet the preset annotation size condition.
[0013] A second aspect of the present invention provides a horizontal component annotation device based on a BIM platform. The BIM platform includes an auxiliary annotation device, which comprises: a loading module for loading a structural plan view on the BIM platform; a filtering module for activating the auxiliary annotation device and identifying each horizontal component and grid in the structural plan view, and filtering out multiple component annotation objects from each horizontal component based on the grid; an identification module for determining at least two annotation position information corresponding to each component annotation object according to the component type of each component annotation object, and identifying continuous annotation relationships between each component annotation object according to the annotation position information; a detection module for annotating each component annotation object according to the continuous annotation relationship to obtain component annotation information, and performing anomaly detection on the component annotation information to obtain a detection result; and an optimization module for optimizing the component annotation information according to the detection result, and adding the optimized component annotation information to the structural plan view.
[0014] Optionally, in a first implementation of the second aspect of the present invention, the filtering module includes: a positional relationship determination unit, configured to identify the contour lines corresponding to each of the horizontal components and determine the positional relationship between each contour line and each axis in the grid; and an object filtering unit, configured to determine the association relationship between each of the horizontal components and the grid based on the positional relationship, and to filter component labeling objects from each of the horizontal components based on the association relationship.
[0015] Optionally, in a second implementation of the second aspect of the present invention, the identification module includes: a position determination unit, configured to determine the position of the annotation line of each component annotation object according to the component type of each component annotation object; identify the annotation reference line corresponding to each component annotation, and determine the position of the annotation reference line of each annotation reference line according to the component type of each component annotation object; and a position generation unit, configured to generate annotation position information corresponding to each component annotation object according to the annotation line position and the annotation reference line position.
[0016] Optionally, in a third implementation of the second aspect of the present invention, the identification module further includes: a drawing unit, configured to draw a perpendicular line between the annotation line and the annotation reference line corresponding to each of the component annotation objects according to the annotation position information; a grouping unit, configured to continuously group the annotation lines and annotation reference lines according to the perpendicular relationship between each of the annotation lines and annotation reference lines and the perpendicular line, and obtain a grouping result; and an annotation relationship determination unit, configured to determine the continuous annotation relationship between each of the component annotation objects according to the grouping result.
[0017] Optionally, in a fourth implementation of the second aspect of the present invention, the detection module includes: a labeling unit, configured to continuously label component labeling objects belonging to the same continuous labeling group according to the continuous labeling relationship, to obtain first labeling information; a type determination unit, configured to determine component labeling objects of the same type belonging to the same continuous labeling group; a calculation unit, configured to calculate the labeling spacing between adjacent component labeling objects of the same type and the labeling distance of each adjacent component labeling object of the same type, and determine whether the labeling spacing is less than a preset distance threshold, and cross-determine whether each labeling distance is the same; and an adjustment unit, configured to generate second labeling information for adjacent component labeling objects that are less than the preset distance threshold and have the same labeling distance if there are labeling spacings less than the preset distance threshold and the same labeling distance, and adjust the first labeling information based on the second labeling information to obtain component labeling information.
[0018] Optionally, in a fifth implementation of the second aspect of the present invention, the detection module further includes: a discrimination unit, configured to determine whether the annotation content of each component annotation object in the component annotation information overlaps; a category determination unit, configured to, if there is overlap, determine a first abnormal annotation category corresponding to each overlapping annotation content based on the continuous annotation group in which each overlapping annotation content is located, and the corresponding component type and annotation position; if there is no overlap, determine the annotation distance corresponding to each non-overlapping annotation content, and determine a second abnormal annotation category corresponding to each non-overlapping annotation content based on the annotation distance; and obtain a detection result based on the first abnormal annotation category and the second abnormal annotation category.
[0019] Optionally, in a sixth implementation of the second aspect of the present invention, the optimization module includes: an optimization unit, configured to, if the detection result is a first abnormal labeling category, match the optimization strategy corresponding to the first abnormal labeling category and optimize the labeling leads for overlapping labeling content; and a rejection unit, configured to, if the detection result is a second abnormal labeling category, reject the labeling content whose labeling distance does not meet the preset labeling size condition.
[0020] A third aspect of the present invention provides a horizontal component labeling device based on a BIM platform, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor invokes the instructions in the memory to cause the horizontal component labeling device based on the BIM platform to execute the above-described horizontal component labeling method based on the BIM platform.
[0021] A fourth aspect of the present invention provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the above-described horizontal component annotation method based on a BIM platform.
[0022] The technical solution provided by this invention allows for the one-time annotation of all horizontal components requiring annotation in a project, or the annotation of one or several types of horizontal components based on custom configurations. It also optimizes various annotation anomalies that occur during the annotation process, adapts component annotation information to drawing requirements, and adds it to the structural plan view, significantly improving drawing quality and efficiency. This achieves automated annotation of different types of horizontal components, while simultaneously improving annotation efficiency and accuracy. Attached Figure Description
[0023] Figure 1 This is a schematic diagram of the first embodiment of the horizontal component annotation method based on the BIM platform of the present invention;
[0024] Figure 2 This is a schematic diagram of the second embodiment of the horizontal component annotation method based on the BIM platform of the present invention;
[0025] Figure 3 This is a schematic diagram of an embodiment of the horizontal component labeling device based on the BIM platform of the present invention;
[0026] Figure 4 This is a schematic diagram of another embodiment of the horizontal component labeling device based on the BIM platform of the present invention;
[0027] Figure 5 This is a schematic diagram of an embodiment of the horizontal component labeling device based on the BIM platform of the present invention. Detailed Implementation
[0028] This invention provides a method and related equipment for horizontal component annotation based on a BIM platform. The method involves loading a structural plan view onto the BIM platform; activating an auxiliary annotation device to identify various horizontal components and grid lines in the structural plan view; selecting multiple component annotation objects from each horizontal component based on the grid lines; determining at least two annotation position information corresponding to each component annotation object according to its component type; identifying continuous annotation relationships between component annotation objects; annotating each component annotation object according to the continuous annotation relationships to obtain component annotation information; performing anomaly detection to obtain detection results for optimizing the component annotation information; and adding the optimized component annotation information to the structural plan view. This invention achieves automated annotation of different types of horizontal components, improving the annotation efficiency of horizontal components.
[0029] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” or “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0030] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 The first embodiment of the horizontal component annotation method based on the BIM platform in this invention includes:
[0031] 101. Load the structural plan view on the BIM platform;
[0032] It is understood that the executing entity of this invention can be a horizontal component labeling device based on a BIM platform, or it can be a terminal or a server; no specific limitation is made here. This embodiment of the invention will be described using a server as the executing entity as an example.
[0033] In this embodiment, before the auxiliary annotation device automatically annotates the horizontal components, a structural plan view containing at least horizontal components is pre-constructed. Specifically, this may include grid lines, structural beams, floor openings, cantilever slabs, and other structural components. Here, only structural components that meet preset conditions are annotated, such as horizontal components and components that do not coincide with the grid lines.
[0034] Specifically, structural plan views can be drawn in BIM software Revit, or they can be drawn and imported from other non-BIM software. After formatting, they can meet the attribute requirements of the auxiliary annotation device for the components.
[0035] 102. Activate the auxiliary annotation device and identify each horizontal component and grid in the structural plan view. Based on the grid, select multiple component annotation objects from each horizontal component.
[0036] In this embodiment, after loading the structural plan view onto the BIM platform, the automated annotation function for horizontal components can be accessed by clicking the front button where the auxiliary annotation device is located. Here, the grid is used as the filtering condition. The horizontal components that meet the filtering condition are found by referring to the axis of the grid and the auxiliary positioning line, and these are used as component annotation objects to perform subsequent annotation of the component annotation objects.
[0037] Specifically, for horizontal components on the grid axis and auxiliary positioning lines, the annotation position of the horizontal component can be fixed or transformed according to the grid axis position and automatically annotated. Therefore, filtering conditions can be pre-set: horizontal components whose edge lines or center lines coincide with the grid axis do not need to be annotated. When filtering component annotation objects, this is determined by whether the edge line or center line of each horizontal component coincides with the grid axis.
[0038] In addition, users can filter the horizontal structural members that need to be annotated by selecting the member type and drawing range for annotation in the control interface. Specifically, the member type to be annotated can be determined through the point selection interface in Revit, and the area to be annotated can be selected by using a checkbox in the structural plan view.
[0039] 103. Based on the component type of each component annotation object, determine at least two annotation position information corresponding to each component annotation object, and identify the continuous annotation relationship between each component annotation object based on the annotation position information;
[0040] In this embodiment, the component types of the component annotation objects can include: beam components and slab components. Beam components can include end beams, beams without axes, beams with axes, positioning lines, etc., while slab components can include dropped slabs, cantilever slabs, slab openings, etc. The annotation positions differ for different component types. Since annotation of component objects mainly utilizes annotation lines and auxiliary annotation reference lines, the annotation position information determined here at least includes the position information of the annotation lines and auxiliary annotation lines.
[0041] Specifically, the position information of the annotation lines and auxiliary annotation lines for each component is determined based on its component type. For example, for beam components, depending on the type of beam component, its corresponding endpoints and side ends can be selected as the position information of the annotation lines, and nearby or related axes or auxiliary positioning lines can be selected as the annotation reference line positions. For slab components, depending on the type of slab component, the boundary between itself, between slab components, or between it and beam components is selected to determine the position of the annotation lines and the annotation reference line positions.
[0042] In this embodiment, the connection annotation relationship between each component annotation object can be identified by the line relationship between different annotation position information, including the existence of connection annotation relationship and the absence of connection annotation relationship. Component annotation objects with connection annotation relationship are grouped into the same connection annotation relationship group to represent the continuous annotation relationship of each component annotation object. Subsequently, continuous annotation of uniform specifications can be performed sequentially to improve annotation efficiency.
[0043] 104. According to the continuous annotation relationship, each of the component annotation objects is annotated to obtain component annotation information, and anomaly detection is performed on the component annotation information to obtain the detection result;
[0044] In this embodiment, after determining the continuous annotation relationship of each component annotation object, annotation is performed separately in the represented continuous annotation group. The same group of continuous annotations can be extended by cutting and stretching, so that the annotation style of one component annotation object can be applied to annotate other component annotation objects. In this way, each group of continuous annotations annotates the component annotation objects.
[0045] In this embodiment, after generating preliminary component annotation information, some local annotation content may exhibit issues such as overlapping, redundant, repetitive, or mutually influencing annotations. The generated component annotation information can be optimized based on the results of annotation anomaly detection (i.e., overlapping, redundant, repetitive, or mutually influencing annotations).
[0046] 105. Based on the test results, optimize the component annotation information and add the optimized component annotation information to the structural plan view.
[0047] In this embodiment, based on the detection results of abnormal component annotation information, and considering factors such as the component's construction type, annotation position, and annotation distance, corresponding optimization strategies are used to optimize each abnormal annotation. Specifically, optimization strategies may include adjusting the distance of annotation leaders, deleting annotation content, and merging similar annotation content to optimize abnormal annotation content and achieve unified annotation organization. Finally, after annotating the horizontal components on the structural plan view, the drawing is completed, and the corresponding structural design drawings are obtained.
[0048] In this embodiment of the invention, all horizontal components requiring annotation in a project can be annotated at once, or annotation can be performed on one or several types of horizontal components according to custom configurations. Various annotation anomalies that occur during the annotation process are optimized, and component annotation information is adapted to the drawing requirements and added to the structural plan view, significantly improving drawing quality and efficiency. This achieves automated annotation of different types of horizontal components, while improving annotation efficiency and accuracy.
[0049] Please see Figure 2 The second embodiment of the horizontal component annotation method based on the BIM platform in this invention includes:
[0050] 201. Load the structural plan view on the BIM platform;
[0051] 202. Activate the auxiliary annotation device and identify each horizontal component and grid in the structural plan view, identify the outline corresponding to each horizontal component, and determine the positional relationship between each outline and each axis in the grid;
[0052] 203. Based on the positional relationship, determine the association between each horizontal component and the grid, and based on the association, select component labeling objects from each horizontal component;
[0053] In this embodiment, the pre-defined components requiring annotation include all horizontal components not directly connected to the main axis, such as beams, slabs, openings, and cantilever slabs. Horizontal components directly connected to the grid can be directly annotated and their positions changed, thus eliminating the need for subsequent annotation operations. "Directly connected to the main axis" means that the edge or centerline of the horizontal component is collinear with the axis.
[0054] Specifically, the relationship between horizontal components and the grid is represented by their connection to the main axis. The outline of each horizontal component is identified to determine its edge or centerline. An overlap check is performed on each axis of the grid to determine if each horizontal component is connected to the main axis. If they overlap, the horizontal component is considered to be connected to the main axis; otherwise, it is considered not connected. Horizontal components connected to the main axis are then designated as component annotation objects.
[0055] In addition, due to the positioning line components, when designers construct structural plan views, they will add auxiliary positioning axes. These axes do not have a direct positional relationship with the main axis and also need to be labeled and positioned, that is, they are treated as component labeling objects.
[0056] 204. Determine the position of the annotation line for each of the aforementioned component annotation objects based on the component type of each component annotation object;
[0057] 205. Identify the annotation reference lines corresponding to each of the component annotations, and determine the position of each annotation reference line according to the component type of each component annotation object;
[0058] 206. Based on the position of the annotation line and the position of the annotation reference line, generate annotation position information corresponding to each of the component annotation objects, and identify the continuous annotation relationship between each of the component annotation objects based on the annotation position information;
[0059] In this embodiment, the auxiliary annotation device determines the position of the annotation line according to the component type of each component annotation object. That is, the position of the annotation line of the auxiliary annotation object is different for different component types.
[0060] The component types include beam structures and slab structures, with specific examples as follows: End-beam components: One end of this type of beam component is not connected to any vertical or horizontal component, and neither side is connected to any slab component. The end position is not collinear with the main axis or beam positioning line; Axis-less beams: Within the beam width of this type of beam component, there is no axis parallel to the centerline, and the side edge line is not collinear with the edge line of the vertical component; Axis-line beams: Within the beam width of this type of beam component, there is an axis parallel to the centerline, but it is not collinear with the side edge line or the centerline; Positioning line beams: Within the beam width of this type of beam component, there is a positioning line parallel to the centerline, but it is not collinear with the beam edge line or the centerline; Slab components mainly include dropped slabs (two slabs with a height difference), cantilever slabs, and slab openings.
[0061] Specifically, for component annotation objects of different component types, the corresponding annotation line positions can be as follows:
[0062] A. End beam, the marking line is located at the end of the beam member;
[0063] B. For beams without an axis, if one side of the beam member is connected to a slab member and the other side is not connected to a slab member, the marking line should be placed on the side without a slab member; if both sides of the beam member are connected to slab members or neither side is connected to a slab member, either side should be selected as the marking line position.
[0064] C. The axis beam and positioning line beam have marking lines on both sides of the beam component.
[0065] D. Dropped plate: The marking line is located at the boundary between different elevation plates and does not coincide with the beam component.
[0066] E. Openings: The marking line is located at the boundary of the opening that is not flush with the vertical or beam components.
[0067] F. The marking line for the cantilever slab is located on the edge boundary that does not overlap with other components, i.e., the cantilever side.
[0068] Additionally, dimension reference lines are objects used for reference in component dimensioning; specifically, they refer to axes and positioning lines parallel to the dimension lines. In the dimensioning content of a component object, the starting point of the dimension leader is on the dimension line, and the ending point of the dimension leader falls on the dimension reference line. Examples of different component types and their corresponding dimension reference lines are shown below:
[0069] The positioning line, or reference line, is the position of the major axis parallel to the positioning line.
[0070] The axis beam, positioning line beam, and reference line are the axis or positioning line that passes through the beam width range.
[0071] For end beams, the reference line is the nearest axis parallel to the annotation line.
[0072] For openings and slabs, the reference line is an axis or positioning line parallel to the marking line.
[0073] For dropped slabs and beams without axes, the reference line for marking is the axis or positioning line parallel to the marking line.
[0074] In addition, after determining the positions of the annotation lines and the annotation reference lines, this invention performs continuous annotation based on the relationship between the two to improve annotation efficiency. Specifically, as shown below:
[0075] 1) Based on the annotation position information, draw the perpendicular line between the annotation line and the annotation reference line corresponding to each of the component annotation objects;
[0076] 2) Based on the perpendicular relationship between each of the annotation lines and annotation reference lines and the perpendicular line, the annotation lines and annotation reference lines are continuously grouped to obtain the grouping results;
[0077] 3) Based on the grouping results, determine the continuous annotation relationship between each component annotation object.
[0078] In this embodiment, based on the previously determined positions of the annotation lines and annotation reference lines, the continuous annotation relationships between the annotation objects of each component are determined through various cases from the starting point of the annotation line to the perpendicular line of the annotation reference line. Examples of different types of annotation lines and their corresponding continuous annotation groups are as follows:
[0079] The positioning lines are perpendicular to each other at the two endpoints and the midpoint, extending to the reference lines. All positioning lines that intersect the perpendicular lines and are perpendicular to the perpendicular lines, as well as the reference lines on both sides, are grouped into the same continuous annotation group.
[0080] For openings and slabs, select a marking line, and draw perpendicular lines from its two endpoints and midpoint to both sides of the positioning line, stopping when they reach the marking reference line. All marking lines of the same object that intersect the perpendicular line and are perpendicular to the perpendicular line, as well as the marking reference lines on both sides, are grouped into the same continuous marking group.
[0081] For slabs and beams without axes, select a marking line, and draw perpendicular lines from its two endpoints and midpoint to both sides of the positioning line, stopping when they reach the marking reference line. All marking lines of slabs and beams without axes that intersect the perpendicular line and are perpendicular to the perpendicular line, as well as the marking reference lines on both sides, are grouped into the same continuous marking group.
[0082] For axis beams and positioning line beams, the marking lines and reference lines on both sides are grouped into a continuous marking group. For end beams, the marking lines and reference lines are in the same continuous marking group.
[0083] 207. Based on the continuous annotation relationship, continuously annotate the component annotation objects belonging to the same continuous annotation group to obtain the first annotation information;
[0084] 208. Identify component annotation objects of the same type that belong to the same continuous annotation group;
[0085] 209. Calculate the annotation spacing between adjacent component annotation objects of the same type and the annotation distance of each adjacent component annotation object of the same type, and determine whether the annotation spacing is less than a preset distance threshold, and cross-determine whether each annotation distance is the same;
[0086] 210. If there are annotation spacings less than a preset distance threshold and the same annotation distance, generate second annotation information for adjacent component annotation objects that are less than the preset distance threshold and have the same annotation distance, adjust the first annotation information based on the second annotation information to obtain component annotation information, and perform anomaly detection on the component annotation information to obtain detection results;
[0087] In this embodiment, continuous annotation is performed on component annotation objects in the same continuous annotation group. For example, the same group of component annotation objects are located on the same vertical plane of the structural plan view, and only their horizontal dimensions are different. Therefore, when annotating the group of component annotation objects, their annotation content can be on the same horizontal plane. The annotation distance range is defined according to the horizontal length of different component annotation objects, and the annotation distance is written at the same time.
[0088] In addition, continuous annotation is implemented for components belonging to the same continuous annotation group. The annotation of the same type of component objects has also been optimized. For the same type of components with the same annotation distance and small spacing, only one set of annotations is generated.
[0089] In addition, for the automatically generated preliminary component annotation information, anomaly detection can be performed to improve the accuracy of horizontal component annotation. The specific execution process is as follows:
[0090] 1) Determine whether there is any overlap in the annotation content of each component annotation object in the component annotation information;
[0091] 2) If there is overlap, determine the first abnormal annotation category corresponding to each overlapping annotation content based on the continuous annotation group in which each overlapping annotation content is located, as well as the corresponding component type and annotation position;
[0092] 3) If there is no overlap, determine the annotation distance corresponding to each non-overlapping annotation content, and determine the second abnormal annotation category corresponding to each non-overlapping annotation content based on the annotation distance;
[0093] 4) Based on the first anomaly labeling category and the second anomaly labeling category, the detection results are obtained.
[0094] In this embodiment, during the component annotation process, the annotation content of different component annotation objects may overlap. Therefore, based on the characteristics of each component annotation object, including determining the obtained component type and annotation position, the abnormal annotation category is determined. The influencing factors include continuous annotation grouping, component type, annotation position, and annotation distance. The specific process for determining the second abnormal annotation category is illustrated below:
[0095] First anomaly annotation category A: Component annotation objects within two different consecutive annotation groups, whose dimension lines are parallel and overlap each other;
[0096] First Anomaly Annotation Category B: For the component annotation objects corresponding to openings, floating slabs, drop slabs, and beams without axes, the annotation content whose outermost annotation line is connected to the annotation reference line is not parallel to the dimension lines of other continuous annotation groups and overlaps with each other.
[0097] Category C of the first abnormal annotation: In the same group of consecutive annotations, there are only two consecutive annotation contents, and their annotation contents overlap, with an annotation distance of less than 400mm;
[0098] First anomaly annotation category D: In the same group of continuous annotations, there are more than two consecutive annotation contents, and the outermost annotation contents overlap, with an annotation distance of less than 400mm;
[0099] First anomaly labeling category E: For the first anomaly labeling category D, the remaining labeling content still overlaps;
[0100] The second abnormal annotation category F: For the component annotation objects corresponding to openings, floating slabs, drop slabs, and beams without axes, the annotation distance between the annotation line and the annotation reference line is greater than 1 / 2 of the distance between the two annotation reference lines;
[0101] Second abnormal annotation category G: Component annotation objects with a spacing of less than 1m, whose annotation reference lines are the same, whose leader lines end on the same annotation reference line, and whose annotation distance is the same.
[0102] 211. If the detection result is a first anomaly labeling category, then match the optimization strategy corresponding to the first anomaly labeling category, and optimize the labeling lead line for overlapping labeling content;
[0103] 212. If the detection result is the second abnormal annotation category, then the annotation content that does not meet the preset annotation size condition is removed, and the optimized component annotation information is added to the structural plan view.
[0104] In this embodiment, after detecting various anomalies in the annotation information, the corresponding optimization strategy is executed based on whether the detection result falls into the first or second anomaly annotation category. For overlapping annotations, the annotation leaders are optimized to adjust the horizontal position of the annotation content; and for annotations with abnormal annotation distances, they are removed. The detection results and corresponding optimization strategies are as follows:
[0105] Category A of first-order abnormal annotation: Adjust the distance between the dimension line and the starting point of the annotation leader to prevent the annotation content from overlapping;
[0106] First anomaly labeling category B: Its labeled content should be deleted first;
[0107] First anomaly annotation category C: Move the annotation content outside the annotation leader line along the dimension line direction;
[0108] First anomaly annotation category D: Move the annotation content outside the annotation leader line along the dimension line direction;
[0109] First anomaly labeling category E: Move every other labeling content in the order from one side to the other, or move the labeling content across the vertical dimension line to above or below the dimension line, ensuring that the spacing between the labeling contents is not less than 200mm.
[0110] Second anomaly labeling category F: Delete its labeling content;
[0111] Second anomaly labeling category G: Only one label is retained, and the other labels are deleted.
[0112] In addition, the optimized component annotation information will be adjusted and scaled according to the drawing requirements and added to the structural plan view. If the designer manually adjusts or deletes the relevant attributes of the component annotation object, the corresponding annotation content will be modified accordingly; if the designer needs to re-annotate horizontal components and re-execute the annotation process, the new annotation content will replace the original annotation, so as to achieve iterative optimization of the structural design view.
[0113] The method for labeling horizontal components based on a BIM platform in the embodiments of the present invention has been described above. The following describes the device for labeling horizontal components based on a BIM platform in the embodiments of the present invention. Please refer to [link to relevant documentation]. Figure 3 One embodiment of the horizontal component labeling device based on the BIM platform in this invention includes:
[0114] Loading module 301 is used to load structural plan views on the BIM platform;
[0115] The filtering module 302 is used to activate the auxiliary annotation device and identify each horizontal component and grid in the structural plan view, and based on the grid, filter out multiple component annotation objects from each horizontal component;
[0116] The identification module 303 is used to determine at least two annotation position information corresponding to each of the component annotation objects according to the component type of each component annotation object, and to identify the continuous annotation relationship between each of the component annotation objects according to the annotation position information;
[0117] The detection module 304 is used to annotate each of the component annotation objects according to the continuous annotation relationship, obtain component annotation information, and perform anomaly detection on the component annotation information to obtain a detection result;
[0118] The optimization module 305 is used to optimize the component annotation information based on the detection results and add the optimized component annotation information to the structural plan view.
[0119] In this embodiment of the invention, all horizontal components requiring annotation in a project can be annotated at once, or annotation can be performed on one or several types of horizontal components according to custom configurations. Various annotation anomalies that occur during the annotation process are optimized, and component annotation information is adapted to the drawing requirements and added to the structural plan view, significantly improving drawing quality and efficiency. This achieves automated annotation of different types of horizontal components, while improving annotation efficiency and accuracy.
[0120] Please see Figure 4 Another embodiment of the horizontal component labeling device based on the BIM platform in this invention includes:
[0121] Loading module 301 is used to load structural plan views on the BIM platform;
[0122] The filtering module 302 is used to activate the auxiliary annotation device and identify each horizontal component and grid in the structural plan view, and based on the grid, filter out multiple component annotation objects from each horizontal component;
[0123] The identification module 303 is used to determine at least two annotation position information corresponding to each of the component annotation objects according to the component type of each component annotation object, and to identify the continuous annotation relationship between each of the component annotation objects according to the annotation position information;
[0124] The detection module 304 is used to annotate each of the component annotation objects according to the continuous annotation relationship, obtain component annotation information, and perform anomaly detection on the component annotation information to obtain a detection result;
[0125] The optimization module 305 is used to optimize the component annotation information based on the detection results and add the optimized component annotation information to the structural plan view.
[0126] Specifically, the filtering module 302 includes:
[0127] The position relationship determination unit 3021 is used to identify the contour lines corresponding to each of the horizontal components and determine the positional relationship between each contour line and each axis in the grid.
[0128] The object filtering unit 3022 is used to determine the association relationship between each of the horizontal components and the grid according to the positional relationship, and to filter component labeling objects from each of the horizontal components according to the association relationship.
[0129] Specifically, the identification module 303 includes:
[0130] The position determination unit 3031 is used to determine the position of the annotation line of each component annotation object according to the component type of each component annotation object; identify the annotation reference line corresponding to each component annotation, and determine the position of the annotation reference line of each annotation reference line according to the component type of each component annotation object;
[0131] The position generation unit 3032 is used to generate annotation position information corresponding to each component annotation object based on the annotation line position and the annotation reference line position.
[0132] Specifically, the identification module 303 further includes:
[0133] The drawing unit 3033 is used to draw the perpendicular line between the annotation line and the annotation reference line corresponding to each of the component annotation objects according to the annotation position information;
[0134] Grouping unit 3034 is used to continuously group the annotation lines and annotation reference lines according to the perpendicular relationship between each annotation line and annotation reference line and the perpendicular line, and obtain the grouping result.
[0135] The annotation relationship determination unit 3035 is used to determine the continuous annotation relationship between each of the component annotation objects based on the grouping results.
[0136] Specifically, the detection module 304 includes:
[0137] The annotation unit 3041 is used to continuously annotate the component annotation objects belonging to the same continuous annotation group according to the continuous annotation relationship, so as to obtain the first annotation information;
[0138] Type determination unit 3042 is used to determine component annotation objects of the same type belonging to the same continuous annotation group;
[0139] The calculation unit 3043 is used to calculate the annotation spacing between adjacent component annotation objects of the same type and the annotation distance of each adjacent component annotation object of the same type, and to determine whether the annotation spacing is less than a preset distance threshold, and to cross-determine whether each annotation distance is the same;
[0140] The adjustment unit 3044 is used to generate second annotation information for adjacent component annotation objects that are less than the preset distance threshold and have the same annotation distance if there are annotation spacings less than the preset distance threshold and the same annotation distances, and to adjust the first annotation information based on the second annotation information to obtain component annotation information.
[0141] Specifically, the detection module 304 further includes:
[0142] The discrimination unit 3045 is used to determine whether the annotation content of each component annotation object in the component annotation information overlaps;
[0143] The category determination unit 3046 is used to determine the first abnormal label category corresponding to each overlapping label content based on the continuous label group in which each overlapping label content is located, as well as the corresponding component type and label position if there is overlap; if there is no overlap, it determines the label distance corresponding to each non-overlapping label content, and determines the second abnormal label category corresponding to each non-overlapping label content based on the label distance; and obtains the detection result based on the first abnormal label category and the second abnormal label category.
[0144] Specifically, the optimization module 305 includes:
[0145] The optimization unit 3051 is used to match the optimization strategy corresponding to the first abnormal labeling category if the detection result is a first abnormal labeling category, and to optimize the labeling lead line for overlapping labeling content.
[0146] The rejection unit 3052 is used to reject the labeling content whose labeling distance does not meet the preset labeling size condition if the detection result is the second abnormal labeling category.
[0147] above Figure 3 and Figure 4 The horizontal component labeling device based on the BIM platform in this embodiment of the invention will be described in detail from the perspective of modular functional entities. The horizontal component labeling device based on the BIM platform in this embodiment of the invention will be described in detail from the perspective of hardware processing.
[0148] Figure 5 This is a schematic diagram of a horizontal component annotation device based on a BIM platform provided in an embodiment of the present invention. The horizontal component annotation device 500 based on the BIM platform can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 510 (e.g., one or more processors) and a memory 520, and one or more storage media 530 (e.g., one or more mass storage devices) for storing application programs 533 or data 532. The memory 520 and storage media 530 can be temporary or persistent storage. The program stored in the storage media 530 may include one or more modules (not shown in the diagram), each module may include a series of instruction operations on the horizontal component annotation device 500 based on the BIM platform. Furthermore, the processor 510 may be configured to communicate with the storage media 530 and execute the series of instruction operations in the storage media 530 on the horizontal component annotation device 500 based on the BIM platform.
[0149] The horizontal component annotation device 500 based on the BIM platform may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input / output interfaces 560, and / or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 5The illustrated structure of the horizontal component annotation device based on the BIM platform does not constitute a limitation on the horizontal component annotation device based on the BIM platform. It may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.
[0150] The present invention also provides a horizontal component labeling device based on a BIM platform. The computer device includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor performs the steps of the horizontal component labeling method based on the BIM platform in the above embodiments.
[0151] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when the instructions are executed on a computer, cause the computer to perform the steps of the horizontal component annotation method based on the BIM platform.
[0152] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0153] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0154] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for labeling horizontal components based on a BIM platform, characterized in that, The BIM platform includes an auxiliary annotation device, and the horizontal component annotation method based on the BIM platform includes: Load the structural plan view to be annotated on the BIM platform; The auxiliary annotation device is activated, and each horizontal component and grid in the structural plan view is identified. Based on the grid, multiple component annotation objects are selected from each horizontal component. This includes identifying the outline corresponding to each horizontal component and determining the positional relationship between each outline and each axis in the grid. Based on the positional relationship, the association between each horizontal component and the grid is determined, and based on the association, component labeling objects are selected from each horizontal component; Based on the component type of each component annotation object, at least two annotation position information corresponding to each component annotation object are determined, and based on the annotation position information, the continuous annotation relationship between each component annotation object is identified; including determining the annotation line position of each component annotation object based on the component type of each component annotation object; Identify the annotation reference line corresponding to each of the component annotations, and determine the position of the annotation reference line of each of the component annotation objects according to the component type of each component annotation object; Based on the position of the annotation line and the position of the annotation reference line, generate annotation position information corresponding to each component annotation object; Based on the annotation position information, draw the perpendicular line between the annotation line and the annotation reference line corresponding to each component annotation object; Based on the perpendicular relationship between each of the annotation lines and annotation reference lines and the perpendicular line, the annotation lines and annotation reference lines are continuously grouped to obtain the grouping results. Based on the grouping results, determine the continuous annotation relationship between each of the component annotation objects; According to the continuous annotation relationship, each of the component annotation objects is annotated to obtain component annotation information, and anomaly detection is performed on the component annotation information to obtain detection results; including, according to the continuous annotation relationship, the component annotation objects belonging to the same continuous annotation group are continuously annotated to obtain first annotation information; Identify component annotation objects of the same type that belong to the same consecutive annotation group; Calculate the annotation spacing between adjacent component annotation objects of the same type and the annotation distance of each adjacent component annotation object of the same type, and determine whether the annotation spacing is less than a preset distance threshold, and cross-determine whether each annotation distance is the same; If there are annotation spacings less than a preset distance threshold and the same annotation distance, then generate second annotation information for adjacent component annotation objects that are less than the preset distance threshold and have the same annotation distance, and adjust the first annotation information based on the second annotation information to obtain component annotation information; Determine whether the annotation content of each component annotation object in the component annotation information overlaps; If there is overlap, the first abnormal annotation category corresponding to each overlapping annotation content is determined based on the continuous annotation group in which each overlapping annotation content is located, as well as the corresponding component type and annotation position; If there is no overlap, determine the annotation distance corresponding to each non-overlapping annotation content, and determine the second abnormal annotation category corresponding to each non-overlapping annotation content based on the annotation distance; The detection results are obtained based on the first anomaly labeling category and the second anomaly labeling category; Based on the detection results, the component annotation information is optimized, and the optimized component annotation information is added to the structural plan view; including, if the detection result is a first abnormal annotation category, then matching the optimization strategy corresponding to the first abnormal annotation category, and optimizing the annotation leader line for overlapping annotation content; If the detection result is the second abnormal annotation category, then the annotation content that does not meet the preset annotation size condition is removed.
2. A horizontal component annotation device based on a BIM platform, applied to the horizontal component annotation method based on a BIM platform as described in claim 1, characterized in that, The BIM platform-based horizontal component labeling device includes: The loading module is used to load structural plan views on the BIM platform; A filtering module is used to activate the auxiliary annotation device and identify each horizontal component and grid in the structural plan view. Based on the grid, multiple component annotation objects are filtered from each horizontal component. This includes identifying the outline corresponding to each horizontal component and determining the positional relationship between each outline and each axis in the grid; determining the association relationship between each horizontal component and the grid based on the positional relationship; and filtering component annotation objects from each horizontal component based on the association relationship. The identification module is used to determine at least two annotation position information corresponding to each of the component annotation objects according to the component type of each component annotation object, and to identify the continuous annotation relationship between each of the component annotation objects according to the annotation position information; The detection module is used to annotate each of the component annotation objects according to the continuous annotation relationship, obtain component annotation information, and perform anomaly detection on the component annotation information to obtain the detection result; The optimization module is used to optimize the component annotation information based on the detection results and add the optimized component annotation information to the structural plan view.
3. A horizontal component annotation device based on a BIM platform, characterized in that, The BIM platform-based horizontal component labeling device includes: a memory and at least one processor, wherein the memory stores instructions; The at least one processor invokes the instructions in the memory to cause the BIM platform-based horizontal component labeling device to perform the steps of the BIM platform-based horizontal component labeling method as described in claim 1.
4. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions are executed by the processor, they implement each step of the horizontal component annotation method based on the BIM platform as described in claim 1.
Citation Information
Patent Citations
High-precision map data processing method and device, electronic equipment and storage medium
CN114111814A
Stereoscopic range finder
JP2007286001A
