A method for generating beam reinforcement information in BIM model based on beam plan construction drawing
By identifying the beam marking elements in the beam flat construction drawings and adding corresponding components to the BIM model, the problem of interaction between the CAD drawings and beam reinforcement information in the BIM model is solved, and automated import and more efficient information addition are realized.
Patent Information
- Application Number
- CN202210259264.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-15
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2042-03-15
AI Technical Summary
In the prior art, the beam reinforcement information in the CAD drawings and the beam reinforcement information in the BIM model are inaccessible due to different expression and storage methods. The designers need to manually add beam reinforcement information, which is complicated and has a large workload.
By obtaining the beam level construction drawings and BIM models with corresponding relationships, the beam labeling elements are identified, and the corresponding beam labeling components are added to the BIM model according to their location, the target beam component is determined, and the beam reinforcement information is added to its attribute information.
The beam annotation and beam reinforcement information in the beam level construction drawings are automatically imported into the BIM model, which improves work efficiency and can add beam annotation and beam reinforcement information to the BIM model more accurately.
Smart Images

Figure CN114581639B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer-aided design, and in particular to a method for generating beam reinforcement information in a BIM model based on a beam plan construction drawing. Background Art
[0002] In the prior art, CAD software and BIM software can be used to construct CAD drawings (for example, beam plan construction drawings) and BIM models of the same building object. Due to the use of different types of software, the information on the CAD drawings and the information in the BIM model are somewhat different; for example, the beam reinforcement information in the CAD drawings is expressed in the form of text annotations, while the beam reinforcement information in the BIM model is stored in the beam component in the form of data. Due to the different information expression and storage methods of the two, the beam reinforcement information in the CAD drawings and the beam reinforcement information in the BIM model cannot interact. In the prior art, designers are required to manually add beam reinforcement information to each beam component in the BIM model based on the beam reinforcement information in the CAD drawings. The process is complicated and the workload is large.
[0003] Therefore, how to automatically import the beam reinforcement information in the CAD drawing into the BIM model has become a technical problem that technical personnel in this field urgently need to solve. Summary of the invention
[0004] The purpose of the present invention is to provide a method for generating beam reinforcement information in a BIM model based on a beam plan construction drawing, which can more accurately and efficiently add beam annotations and beam reinforcement information to the BIM model.
[0005] According to one aspect of the present invention, a method for generating beam reinforcement information in a BIM model based on a beam plan construction drawing is provided, the method comprising:
[0006] Obtaining a beam flat method construction drawing and a BIM model having a corresponding relationship, and identifying a beam annotation element containing beam reinforcement information from the beam flat method construction drawing;
[0007] According to the position of the beam annotation element in the beam flat method construction drawing, adding a beam annotation component corresponding to the beam annotation element at a corresponding position in the BIM model;
[0008] Determine a target beam component belonging to the beam annotated component according to a positional relationship between the beam annotated component and the beam component in the BIM model;
[0009] The beam reinforcement information in the beam annotation component is added to the attribute information of the target beam component.
[0010] Optionally, the step of acquiring a beam plan construction drawing and a BIM model having a corresponding relationship, and identifying a beam annotation graphic element containing beam reinforcement information from the beam plan construction drawing includes:
[0011] Identify a concentrated marking leader line from the beam leveling method construction drawing, and identify candidate characters located within a first set range around the concentrated marking leader line;
[0012] According to the positional relationship between the candidate characters and the concentrated annotation guide, selecting concentrated annotation characters that match the concentrated annotation guide from the candidate characters;
[0013] The concentrated annotation leader line and the concentrated annotation text are combined to form the beam annotation graphic element.
[0014] Optionally, the step of selecting, from the candidate characters, the concentrated annotation characters that match the concentrated annotation guide line according to the positional relationship between the candidate characters and the concentrated annotation guide line includes:
[0015] Filter out target candidate characters from all candidate characters, which are perpendicular to the concentrated marking leader line and whose projection of the upper left vertex of the characters to the concentrated marking leader line is located on the concentrated marking leader line;
[0016] Determine whether the line spacing between the target candidate characters and the distance from the target candidate characters to the concentrated marking leader line meet a preset distance rule;
[0017] The target candidate characters that meet the preset distance rule are combined to form the concentrated annotated characters.
[0018] Optionally, the step of acquiring a beam plan construction drawing and a BIM model having a corresponding relationship, and identifying a beam annotation graphic element containing beam reinforcement information from the beam plan construction drawing includes:
[0019] Identify a target beam element from the beam flat method construction drawing, and identify candidate characters located within a second set range around the target beam element;
[0020] According to the positional relationship between the candidate characters and the target beam element, the in-situ annotation characters belonging to the target beam element are selected from the candidate characters;
[0021] Determine whether there is a segmented annotation line within a third set range around the in-situ annotation text. If so, combine the in-situ annotation text and the segmented annotation line to form the beam annotation graphic element. If not, use the in-situ annotation text as the beam annotation graphic element.
[0022] Optionally, determining the target beam component belonging to the beam annotated component according to the positional relationship between the beam annotated component and the beam component in the BIM model includes:
[0023] For a beam annotated component whose annotation type is in-situ annotation, determining a candidate beam component closest to the beam annotated component from the BIM model;
[0024] When the beam annotation component is parallel to the candidate beam component and the distance between the beam annotation component and the candidate beam component is less than a preset threshold, the candidate beam component is used as the target beam component.
[0025] Optionally, determining the target beam component belonging to the beam annotated component according to the positional relationship between the beam annotated component and the beam component in the BIM model includes:
[0026] For the beam annotated components whose annotation type is centralized annotation, candidate beam components are selected from the BIM model, and other candidate beam components whose positional relationships with the candidate beam components satisfy a preset beam string rule are determined from the BIM model to form a beam string group;
[0027] Traversing each candidate beam component in the beam string group from one end to the other end in sequence, and determining whether the currently traversed candidate beam component is connected to the concentrated annotation leader of the beam annotation component;
[0028] If so, N candidate beam components are determined from the beam string group as the target beam components according to the number of beams N contained in the concentrated annotation text of the beam annotation component; if not, the next candidate beam component is traversed continuously.
[0029] Optionally, adding the beam reinforcement information in the beam annotation component to the attribute information of the target beam component includes:
[0030] In the BIM model, the identification information ID of the beam annotation component is written into the attribute information of each target beam component respectively.
[0031] In order to achieve the above object, the present invention also provides a device for generating beam reinforcement information in a BIM model based on a beam flat method construction drawing, and the device specifically includes the following components:
[0032] An acquisition module is used to acquire a beam flat method construction drawing and a BIM model having a corresponding relationship, and identify beam annotation elements containing beam reinforcement information from the beam flat method construction drawing;
[0033] An adding module is used to add a beam annotation component corresponding to the beam annotation element at a corresponding position in the BIM model according to the position of the beam annotation element in the beam flat method construction drawing;
[0034] A determination module, configured to determine a target beam component belonging to the beam annotation component according to a positional relationship between the beam annotation component and the beam component in the BIM model;
[0035] The association module is used to add the beam reinforcement information in the beam annotation component to the attribute information of the target beam component.
[0036] In order to achieve the above-mentioned purpose, the present invention also provides a computer device, which specifically includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the method for generating beam reinforcement information in a BIM model based on a beam flat method construction drawing introduced above are implemented.
[0037] In order to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for generating beam reinforcement information in a BIM model based on a beam flat method construction drawing introduced above are implemented.
[0038] The method for generating beam reinforcement information in a BIM model based on a beam plan method construction drawing provided by the present invention realizes the automatic addition of beam annotations in a beam plan method construction drawing to a BIM model, and realizes the automatic addition of beam reinforcement information to beam components in the BIM model according to the beam annotations added to the BIM model, thereby eliminating the need for designers to manually add beam annotations and beam reinforcement information to the BIM model according to the beam annotations in the beam plan method construction drawing, which not only improves work efficiency but also allows for more accurate addition of beam annotations and beam reinforcement information to the BIM model; the present invention can accurately identify beam annotations and beam reinforcement information in a beam plan method construction drawing and convert them into component information in a BIM model. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0040] Figure 1 An optional flow chart of a method for generating beam reinforcement information in a BIM model based on a beam plan construction drawing provided in Example 1;
[0041] Figure 2 A schematic diagram of segmented annotation provided in Example 1;
[0042] Figure 3 A schematic diagram of centralized marking provided in Example 1;
[0043] Figure 4 Another optional flow chart of the method for generating beam reinforcement information in a BIM model based on a beam plan construction drawing provided in the first embodiment;
[0044] Figure 5 A schematic diagram of an optional composition structure of a device for generating beam reinforcement information in a BIM model based on a beam plan construction drawing provided in Example 2;
[0045] Figure 6 A schematic diagram of an optional hardware architecture of a computer device provided in Example 3. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0047] Embodiment 1
[0048] The embodiment of the present invention provides a method for generating beam reinforcement information in a BIM model based on a beam flat method construction drawing, such as Figure 1 As shown, the method specifically comprises the following steps:
[0049] Step S101: Obtain a beam plan construction drawing and a BIM model having a corresponding relationship, and identify beam annotation elements containing beam reinforcement information from the beam plan construction drawing.
[0050] Among them, the beam leveling method construction drawing and the BIM model are both used to represent the same building object; the beam leveling method construction drawing is a CAD (Computer Aided Design) two-dimensional drawing, and the beam leveling method construction drawing includes graphics (graphics composed of lines) used to represent each building component (for example, columns, beams, walls, and plates) and graphics used to represent annotations (centralized annotations and in-situ annotations); and BIM (Building Information Modeling) is a three-dimensional building model, and the BIM model includes model components used to represent each building component, but does not include model components used to represent annotations in the BIM model. Through this embodiment, an annotation component corresponding to the annotation graphics in the beam leveling method construction drawing can be automatically generated in the BIM model, and the annotation component generated in the BIM model can be associated with the beam component already existing in the BIM model, thereby achieving the effect of automatically adding the beam reinforcement information in the beam leveling method construction drawing to the BIM model.
[0051] In addition, since the beam annotation elements include: centralized annotation elements and in-situ annotation elements, and the in-situ annotation elements include: segmented annotation and non-segmented annotation, the present embodiment provides two different beam annotation element recognition methods, as described below, steps A1 to A3 are recognition methods for centralized annotation elements, and steps B1 to B3 are recognition methods for in-situ annotation elements.
[0052] Specifically, step S101 includes:
[0053] Step A1: identifying a concentrated marking leader line from the beam leveling method construction drawing, and identifying candidate characters located within a first set range around the concentrated marking leader line;
[0054] Among them, the concentrated annotation is composed of annotation leader lines and annotation text. In this embodiment, the annotation leader lines can be identified first, and then the annotation text can be identified based on the annotation leader lines. Finally, the identified annotation leader lines and annotation text are combined to form a concentrated annotation.
[0055] Step A2: selecting concentrated annotation characters that match the concentrated annotation guide from the candidate characters according to the positional relationship between the candidate characters and the concentrated annotation guide;
[0056] Preferably, step A2 specifically includes:
[0057] Step A21: Filter out target candidate characters from all candidate characters, which are perpendicular to the concentrated marking leader line and whose projection of the upper left vertex of the characters to the concentrated marking leader line is located on the concentrated marking leader line;
[0058] Step A22: determining whether the line spacing between the target candidate characters and the distance from the target candidate characters to the concentrated marking leader line meet a preset distance rule;
[0059] Step A23: combining the target candidate characters that satisfy the preset distance rule to form the concentrated annotated characters.
[0060] Step A3: combining the concentrated annotation leader and the concentrated annotation text to form the beam annotation graphic element;
[0061] It should be noted that since there is no centralized marking module in the beam leveling method construction drawing, the centralized module cannot be directly identified from the beam leveling method construction drawing; the centralized marking in the beam leveling method construction drawing is expressed in the form of a marking leader line and multiple lines of text. This embodiment utilizes the style features of the centralized marking to identify the various graphics elements (leader lines and multiple lines of text) belonging to the same centralized marking from the beam leveling method construction drawing and combine the identified graphics elements to form a centralized marking.
[0062] Furthermore, step S101 further includes:
[0063] Step B1: identifying a target beam element from the beam flat method construction drawing, and identifying candidate characters located within a second set range around the target beam element;
[0064] Preferably, step B1 specifically includes:
[0065] The candidate text closest to the upper boundary line of the target beam element is identified, and the candidate text closest to the lower boundary line of the target beam element is identified.
[0066] Step B2: selecting in-situ annotation characters belonging to the target beam element from the candidate characters according to the positional relationship between the candidate characters and the target beam element;
[0067] Preferably, step B2 comprises:
[0068] Step B21: Filter out target candidate characters from all candidate characters, which are parallel to the target beam primitive and whose projections to the target beam primitive are located on the target beam primitive;
[0069] Step B22: determining whether the line spacing between the target candidate characters and the distance from the target candidate characters to the target beam element meet a preset distance rule;
[0070] Step B23: combining the target candidate characters that satisfy the preset distance rule to form the in-situ annotated characters.
[0071] Step B3: determining whether there is a segmented annotation line within a third set range around the in-situ annotation text; if so, combining the in-situ annotation text and the segmented annotation line to form the beam annotation graphic element; if not, using the in-situ annotation text as the beam annotation graphic element;
[0072] It should be noted that if Figure 2 As shown, it is a schematic diagram of segmented annotation. The only difference between segmented annotation and non-segmented annotation is that segmented annotation has more segmented annotation lines than non-segmented annotation. The segmented annotation line is composed of five line segments and is used to limit the annotation position. In this embodiment, the style characteristics of the segmented annotation line are used to identify five line segments used to represent the segmented annotation line from the beam leveling method construction drawing, and these five line segments are combined into a segmented annotation line; if there is a segmented annotation line in the attachment of the in-situ annotation text, the in-situ annotation text and the segmented annotation line are combined to form a segmented annotation; if there is no segmented annotation line in the attachment of the in-situ annotation text, the in-situ annotation text is combined into a segmented annotation.
[0073] Step S102: according to the position of the beam annotation element in the beam plan construction drawing, adding a beam annotation component corresponding to the beam annotation element at a corresponding position in the BIM model.
[0074] Since there is no concept of annotation module in the beam flat method construction drawing, the only way is to combine the identified elements from the beam flat method construction drawing into annotation modules in the above method. However, there is the concept of annotation module (i.e. annotation component) in the BIM model, so the corresponding beam annotation component can be created in the BIM model according to the beam annotation elements identified in the beam flat method construction drawing, and the beam reinforcement information is included in the beam annotation component.
[0075] Step S103: determining a target beam component belonging to the beam annotated component according to the positional relationship between the beam annotated component and the beam component in the BIM model.
[0076] Although a beam annotation component is created in the BIM model in step S102, the association relationship between the created beam annotation component and the existing beam component has not yet been established, so it is necessary to find the target beam component associated with the beam annotation component from the BIM model. In addition, for centralized annotation and in-situ annotation, this embodiment provides two association methods, as described below, steps C1 to C2 are association methods for in-situ annotation, and steps D1 to D3 are association methods for centralized annotation.
[0077] Specifically, step S103 includes:
[0078] Step C1: for a beam annotated component whose annotation type is in-situ annotation, determining a candidate beam component closest to the beam annotated component from the BIM model;
[0079] Step C2: when the beam annotation component is parallel to the candidate beam component and the distance between the beam annotation component and the candidate beam component is less than a preset threshold, the candidate beam component is used as the target beam component.
[0080] Furthermore, step S103 further includes:
[0081] Step D1: for beam annotated components whose annotation type is centralized annotation, select candidate beam components from the BIM model, and determine other candidate beam components whose positional relationships with the candidate beam components satisfy a preset beam string rule from the BIM model to form a beam string group;
[0082] Preferably, the preset beam string rule is: the distance between any two adjacent candidate beam components in the beam string is less than a preset distance value, and the angle between any two adjacent candidate beam components is greater than a preset threshold (for example, greater than 135 degrees).
[0083] Step D2: traversing each candidate beam component in the beam string group from one end to the other end in sequence, and determining whether the currently traversed candidate beam component is connected to the concentrated annotation leader of the beam annotation component;
[0084] like Figure 3 As shown, this is a schematic diagram of concentrated marking. Since the concentrated marking lead line does not necessarily pass completely through the beam component in actual application, there may be a certain error.
[0085] Step D3: If yes, determine N candidate beam components from the beam string group as the target beam component according to the number of beams N contained in the concentrated annotation text of the beam annotation component; if no, continue to traverse the next candidate beam component.
[0086] Preferably, the step of determining N candidate beam components from the beam string group as the target beam components according to the number of beams N contained in the concentrated annotation text of the beam annotation component specifically includes:
[0087] Determine, from the beam string group, a central candidate beam component connected to the concentrated annotation leader of the beam annotation component;
[0088] Counting the number M of candidate beam components in the beam string group that are located before the central candidate beam component;
[0089] If M is greater than or equal to N, the central candidate beam component and all candidate beam components in the beam string group located before the central candidate beam component are taken as the target beam component;
[0090] If M is less than N, then determine the (NM-1) supplementary candidate beam components in the beam string group that are located after the central candidate beam component, and take the central candidate beam component, all candidate beam components in the beam string group that are located before the central candidate beam component, and the supplementary candidate beam components as the target beam components.
[0091] It should be noted that the in-situ marking only belongs to one beam component, while the concentrated marking will belong to multiple beam components. Therefore, for the concentrated marking, it is necessary to determine all the beam components corresponding to the concentrated marking based on the number of beams contained in the marked text in the concentrated marking.
[0092] Step S104: adding the beam reinforcement information in the beam annotation component to the attribute information of the target beam component.
[0093] Specifically, step S104 includes:
[0094] In the BIM model, the identification information ID of the beam annotation component is written into the attribute information of each target beam component respectively.
[0095] like Figure 4 As shown, in this embodiment, different annotation recognition methods are provided for different annotation types. First, various types of annotation elements are identified from the CAD drawings, and corresponding annotation components are created in the BIM model. Finally, the annotation components are associated with the original beam components in the BIM model, so that the beam reinforcement information in the CAD drawings is imported into the BIM model.
[0096] In this embodiment, the beam annotations in the beam plan method construction drawing are automatically added to the BIM model, and the beam reinforcement information is automatically added to the beam components in the BIM model based on the beam annotations added to the BIM model. Therefore, designers are no longer required to manually add beam annotations and beam reinforcement information to the BIM model based on the beam annotations in the beam plan method construction drawing. This not only improves work efficiency, but also allows for more accurate addition of beam annotations and beam reinforcement information to the BIM model.
[0097] Embodiment 2
[0098] The embodiment of the present invention provides a device for generating beam reinforcement information in a BIM model based on a beam flat method construction drawing, such as Figure 5 As shown, the device specifically includes the following components:
[0099] The acquisition module 501 is used to acquire a beam plan construction drawing and a BIM model having a corresponding relationship, and identify beam annotation elements containing beam reinforcement information from the beam plan construction drawing;
[0100] An adding module 502 is used to add a beam annotation component corresponding to the beam annotation element at a corresponding position in the BIM model according to the position of the beam annotation element in the beam flat method construction drawing;
[0101] A determination module 503 is used to determine a target beam component belonging to the beam annotation component according to a positional relationship between the beam annotation component and the beam component in the BIM model;
[0102] The association module 504 is used to add the beam reinforcement information in the beam annotation component to the attribute information of the target beam component.
[0103] Specifically, the acquisition module 501 includes:
[0104] A recognition unit, used to recognize concentrated marking leaders from the beam leveling method construction drawing, and recognize candidate characters located within a first set range around the concentrated marking leaders;
[0105] A screening unit, configured to screen out concentrated annotation characters that match the concentrated annotation guide from the candidate characters according to the positional relationship between the candidate characters and the concentrated annotation guide;
[0106] A combining unit is used for combining the concentrated annotation leader and the concentrated annotation text to form the beam annotation graphic element.
[0107] Furthermore, the screening unit is specifically used for:
[0108] Filter out target candidate characters from all candidate characters, which are perpendicular to the concentrated marking leader line and whose projection of the upper left vertex of the characters to the concentrated marking leader line is located on the concentrated marking leader line;
[0109] Determine whether the line spacing between the target candidate characters and the distance from the target candidate characters to the concentrated marking leader line meet a preset distance rule;
[0110] The target candidate characters that meet the preset distance rule are combined to form the concentrated annotated characters.
[0111] Specifically, the acquisition module 501 is further used for:
[0112] Identify a target beam element from the beam flat method construction drawing, and identify candidate characters located within a second set range around the target beam element;
[0113] According to the positional relationship between the candidate characters and the target beam element, the in-situ annotation characters belonging to the target beam element are selected from the candidate characters;
[0114] Determine whether there is a segmented annotation line within a third set range around the in-situ annotation text. If so, combine the in-situ annotation text and the segmented annotation line to form the beam annotation graphic element. If not, use the in-situ annotation text as the beam annotation graphic element.
[0115] Furthermore, the determination module 503 is specifically configured to:
[0116] For a beam annotated component whose annotation type is in-situ annotation, determining a candidate beam component closest to the beam annotated component from the BIM model;
[0117] When the beam annotation component is parallel to the candidate beam component and the distance between the beam annotation component and the candidate beam component is less than a preset threshold, the candidate beam component is used as the target beam component.
[0118] Furthermore, the determination module 503 is further configured to:
[0119] For the beam annotated components whose annotation type is centralized annotation, candidate beam components are selected from the BIM model, and other candidate beam components whose positional relationships with the candidate beam components satisfy a preset beam string rule are determined from the BIM model to form a beam string group;
[0120] Traversing each candidate beam component in the beam string group from one end to the other end in sequence, and determining whether the currently traversed candidate beam component is connected to the concentrated annotation leader of the beam annotation component;
[0121] If so, N candidate beam components are determined from the beam string group as the target beam components according to the number of beams N contained in the concentrated annotation text of the beam annotation component; if not, the next candidate beam component is traversed continuously.
[0122] Furthermore, when the determination module 503 implements the step of determining N candidate beam components from the beam string group as the target beam component according to the number of beams N contained in the concentrated annotation text of the beam annotation component, it specifically includes:
[0123] Counting the number M of candidate beam components in the beam string group that are located before the central candidate beam component;
[0124] If M is greater than or equal to N, the central candidate beam component and all candidate beam components in the beam string group located before the central candidate beam component are taken as the target beam component;
[0125] If M is less than N, then determine the (NM-1) supplementary candidate beam components in the beam string group that are located after the central candidate beam component, and take the central candidate beam component, all candidate beam components in the beam string group that are located before the central candidate beam component, and the supplementary candidate beam components as the target beam components.
[0126] Furthermore, the association module 504 is specifically used for:
[0127] In the BIM model, the identification information ID of the beam annotation component is written into the attribute information of each target beam component respectively.
[0128] Through this embodiment, it is possible to automatically add beam annotations in the beam plan method construction drawing to the BIM model, and to automatically add beam reinforcement information to the beam components in the BIM model based on the beam annotations added to the BIM model. Therefore, it is no longer necessary for designers to manually add beam annotations and beam reinforcement information to the BIM model based on the beam annotations in the beam plan method construction drawing, which not only improves work efficiency but also allows for more accurate addition of beam annotations and beam reinforcement information to the BIM model. This embodiment can accurately identify the beam annotations and beam reinforcement information in the beam plan method construction drawing and convert them into component information in the BIM model.
[0129] Embodiment 3
[0130] This embodiment also provides a computer device, such as a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including an independent server or a server cluster composed of multiple servers) that can execute programs. Figure 6 As shown, the computer device 60 of this embodiment includes at least but not limited to: a memory 601 and a processor 602 that can be interconnected through a system bus. It should be noted that Figure 6 Only a computer device 60 having components 601 - 602 is shown, but it should be understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0131] In this embodiment, the memory 601 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 601 may be an internal storage unit of the computer device 60, such as a hard disk or a memory of the computer device 60. In other embodiments, the memory 601 may also be an external storage device of the computer device 60, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. equipped on the computer device 60. Of course, the memory 601 may also include both the internal storage unit and the external storage device of the computer device 60. In this embodiment, the memory 601 is generally used to store the operating system and various application software installed on the computer device 60. In addition, the memory 601 may also be used to temporarily store various types of data that have been output or are to be output.
[0132] In some embodiments, the processor 602 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 602 is generally used to control the overall operation of the computer device 60 .
[0133] Specifically, in this embodiment, the processor 602 is used to execute the program of the method for generating beam reinforcement information in the BIM model based on the beam flat method construction drawing stored in the memory 601. When the program of the method for generating beam reinforcement information in the BIM model based on the beam flat method construction drawing is executed, the following steps are implemented:
[0134] Obtaining a beam flat method construction drawing and a BIM model having a corresponding relationship, and identifying a beam annotation element containing beam reinforcement information from the beam flat method construction drawing;
[0135] According to the position of the beam annotation element in the beam flat method construction drawing, adding a beam annotation component corresponding to the beam annotation element at a corresponding position in the BIM model;
[0136] Determine a target beam component belonging to the beam annotated component according to a positional relationship between the beam annotated component and the beam component in the BIM model;
[0137] The beam reinforcement information in the beam annotation component is added to the attribute information of the target beam component.
[0138] The specific implementation process of the above method steps can be found in Example 1, and this embodiment will not be repeated here.
[0139] Embodiment 4
[0140] This embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored. When the computer program is executed by a processor, the following method steps are implemented:
[0141] Obtaining a beam flat method construction drawing and a BIM model having a corresponding relationship, and identifying a beam annotation element containing beam reinforcement information from the beam flat method construction drawing;
[0142] According to the position of the beam annotation element in the beam flat method construction drawing, adding a beam annotation component corresponding to the beam annotation element at a corresponding position in the BIM model;
[0143] Determine a target beam component belonging to the beam annotated component according to a positional relationship between the beam annotated component and the beam component in the BIM model;
[0144] The beam reinforcement information in the beam annotation component is added to the attribute information of the target beam component.
[0145] The specific implementation process of the above method steps can be found in Example 1, and this embodiment will not be repeated here.
[0146] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0147] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0148] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.
[0149] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for generating beam reinforcement information in a BIM model based on a beam plan construction drawing, characterized in that: The method comprises: Obtaining a beam flat method construction drawing and a BIM model having a corresponding relationship, and identifying a beam annotation element containing beam reinforcement information from the beam flat method construction drawing; According to the position of the beam annotation element in the beam flat method construction drawing, adding a beam annotation component corresponding to the beam annotation element at a corresponding position in the BIM model; Determine a target beam component belonging to the beam annotated component according to a positional relationship between the beam annotated component and the beam component in the BIM model; Adding the beam reinforcement information in the beam annotation component to the attribute information of the target beam component; The step of identifying beam annotation elements containing beam reinforcement information from the beam flat method construction drawing includes: Identify a target beam element from the beam flat method construction drawing, and combine candidate characters located in a second set range around the target beam element to form a beam annotation element whose annotation type is in-situ annotation; The step of determining the target beam component belonging to the beam annotated component according to the positional relationship between the beam annotated component and the beam component in the BIM model comprises: For a beam annotated component whose annotation type is in-situ annotation, determining a candidate beam component closest to the beam annotated component from the BIM model; When the beam annotation component is parallel to the candidate beam component and the distance between the beam annotation component and the candidate beam component is less than a preset threshold, the candidate beam component is used as the target beam component.
2. The method for generating beam reinforcement information in a BIM model based on a beam plan construction drawing according to claim 1, characterized in that: The step of obtaining a beam plan construction drawing and a BIM model having a corresponding relationship, and identifying a beam annotation element containing beam reinforcement information from the beam plan construction drawing, comprises: Identify a concentrated marking leader line from the beam leveling method construction drawing, and identify candidate characters located within a first set range around the concentrated marking leader line; According to the positional relationship between the candidate characters and the concentrated annotation guide, selecting concentrated annotation characters that match the concentrated annotation guide from the candidate characters; The concentrated annotation leader line and the concentrated annotation text are combined to form the beam annotation graphic element.
3. The method for generating beam reinforcement information in a BIM model based on a beam plan construction drawing according to claim 2, characterized in that: The step of selecting, from the candidate characters, the concentrated annotation characters that match the concentrated annotation guide according to the positional relationship between the candidate characters and the concentrated annotation guide, comprises: Filter out target candidate characters from all candidate characters, which are perpendicular to the concentrated marking leader line and whose projection of the upper left vertex of the characters to the concentrated marking leader line is located on the concentrated marking leader line; Determine whether the line spacing between the target candidate characters and the distance from the target candidate characters to the concentrated marking leader line meet a preset distance rule; The target candidate characters that meet the preset distance rule are combined to form the concentrated annotated characters.
4. The method for generating beam reinforcement information in a BIM model based on a beam plan construction drawing according to claim 1, characterized in that: The step of obtaining a beam plan construction drawing and a BIM model having a corresponding relationship, and identifying a beam annotation element containing beam reinforcement information from the beam plan construction drawing, comprises: Identify a target beam element from the beam flat method construction drawing, and identify candidate characters located within a second set range around the target beam element; According to the positional relationship between the candidate characters and the target beam element, the in-situ annotation characters belonging to the target beam element are selected from the candidate characters; Determine whether there is a segmented annotation line within a third set range around the in-situ annotation text. If so, combine the in-situ annotation text and the segmented annotation line to form the beam annotation graphic element. If not, use the in-situ annotation text as the beam annotation graphic element.
5. The method for generating beam reinforcement information in a BIM model based on a beam plan construction drawing according to claim 1, characterized in that: The step of determining the target beam component belonging to the beam annotated component according to the positional relationship between the beam annotated component and the beam component in the BIM model comprises: For the beam annotated components whose annotation type is centralized annotation, candidate beam components are selected from the BIM model, and other candidate beam components whose positional relationships with the candidate beam components satisfy a preset beam string rule are determined from the BIM model to form a beam string group; Traversing each candidate beam component in the beam string group from one end to the other end in sequence, and determining whether the currently traversed candidate beam component is connected to the concentrated annotation leader of the beam annotation component; If so, N candidate beam components are determined from the beam string group as the target beam components according to the number of beams N contained in the concentrated annotation text of the beam annotation component; if not, the next candidate beam component is traversed continuously.
6. The method for generating beam reinforcement information in a BIM model based on a beam plan construction drawing according to any one of claims 1 to 5, characterized in that: The step of adding the beam reinforcement information in the beam annotation component to the attribute information of the target beam component includes: In the BIM model, the identification information ID of the beam annotation component is written into the attribute information of each target beam component respectively.
7. A device for generating beam reinforcement information in a BIM model based on a beam plan construction drawing, characterized in that: The device comprises: An acquisition module is used to acquire a beam flat method construction drawing and a BIM model having a corresponding relationship, and identify beam annotation elements containing beam reinforcement information from the beam flat method construction drawing; An adding module is used to add a beam annotation component corresponding to the beam annotation element at a corresponding position in the BIM model according to the position of the beam annotation element in the beam flat method construction drawing; A determination module, used to determine a target beam component belonging to the beam annotation component according to a positional relationship between the beam annotation component and the beam component in the BIM model; An association module, used for adding the beam reinforcement information in the beam annotation component to the attribute information of the target beam component; Wherein, the acquisition module is used to: Identify a target beam element from the beam flat method construction drawing, and combine candidate characters located in a second set range around the target beam element to form a beam annotation element whose annotation type is in-situ annotation; The determining module is used to: For a beam annotated component whose annotation type is in-situ annotation, determining a candidate beam component closest to the beam annotated component from the BIM model; When the beam annotation component is parallel to the candidate beam component and the distance between the beam annotation component and the candidate beam component is less than a preset threshold, the candidate beam component is used as the target beam component.
8. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Construction drawing label generation method, device, system and readable storage medium
CN112784350A