Method, system, device and medium for processing overlapping content of electromechanical installation annotation

By using one-click avoidance and box avoidance algorithms in BIM software, the annotation content in the mechanical and electrical installation drawings is automatically avoided, solving the overlapping problem in the drawing annotation and improving the annotation efficiency and accuracy.

CN119848976BActive Publication Date: 2025-09-30PINMING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411682946.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-09-30
Estimated Expiration
2044-11-22

AI Technical Summary

Technical Problem

In the prior art, there is a lot of overlap in the annotations of electromechanical installation drawings, which makes it difficult to read the drawings and affects work efficiency.

Method used

Through the one-click avoidance algorithm and the frame avoidance algorithm, the annotation content in the mechanical and electrical installation drawings is automatically avoided in the BIM software, the movable range is constructed and avoidance is performed according to preset rules to reduce annotation overlap.

Benefits of technology

It significantly improves annotation efficiency, reduces manual adjustment time and cost, and ensures the accuracy and completeness of annotation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119848976B_ABST
    Figure CN119848976B_ABST
Patent Text Reader

Abstract

The present application relates to a method, system, device and medium for processing overlapping content of electromechanical installation annotations, wherein the method comprises: in the electromechanical installation drawings of the preset BIM software, through a one-click avoidance algorithm, automatically avoiding the overlapping annotation contents of all annotation contents in the electromechanical installation drawings; in the electromechanical installation drawings of the preset BIM software, through a frame selection avoidance algorithm, automatically avoiding the overlapping annotation contents of the annotation contents within the preset frame selection range in the electromechanical installation drawings. Through the present application, it is achieved through one-click avoidance and frame selection avoidance, reducing the time and cost of manually adjusting overlapping annotations in electromechanical installation drawings, significantly improving annotation efficiency, and at the same time ensuring the accuracy and completeness of annotations, solving the problem of a large number of overlapping annotations in existing electromechanical installation drawings.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electromechanical installation technology, and in particular to a method, system, device and medium for processing overlapping content of electromechanical installation annotations. Background Art

[0002] For BIM electromechanical installation drawing annotation, Revit and mainstream Revit secondary development software provide quick annotation functions for electromechanical pipeline specifications, pipeline elevations, pipeline positioning dimensions, etc. However, after quick annotation, there will be a lot of overlap between pipeline information annotation and positioning annotation, resulting in the inability to recognize the drawing. Manual modification is time-consuming and labor-intensive, seriously affecting work efficiency.

[0003] Currently, there is a large amount of overlap in the existing drawings and annotations of electromechanical installations in the related art, and no effective solution has been proposed yet. Summary of the Invention

[0004] The embodiments of the present application provide a method, system, device, and medium for processing overlapping content in electromechanical installation annotations, so as to at least solve the problem of a large amount of overlapping in existing electromechanical installation annotations in the related art.

[0005] In a first aspect, an embodiment of the present application provides a method for processing overlapping content in electromechanical installation annotations, the method comprising:

[0006] In the electromechanical installation drawings of the preset BIM software, all the annotation contents in the electromechanical installation drawings are automatically avoided between overlapping annotation contents through a one-click avoidance algorithm;

[0007] In the electromechanical installation drawings of the preset BIM software, a frame selection avoidance algorithm is used to automatically avoid overlapping annotation contents within a preset frame selection range in the electromechanical installation drawings.

[0008] In some embodiments, automatically avoiding overlapping annotation contents of all annotation contents in the electromechanical installation drawing by a one-click avoidance algorithm includes:

[0009] Obtain all annotation contents of the electromechanical installation drawing, extract information from the annotation contents, and obtain text annotation information and dimension annotation information;

[0010] Based on the text annotation information and dimension annotation information of each annotation content, construct a movable range of the corresponding annotation content;

[0011] Through a one-button avoidance algorithm, overlapping annotation content in the electromechanical installation drawing is automatically avoided within the movable range according to preset avoidance rules.

[0012] In some embodiments, constructing a movable range of the corresponding annotation content based on the text annotation information and dimension annotation information of each annotation content includes:

[0013] The text annotation information includes text range information and attached pipeline information, and the dimension annotation information includes text positioning information and electromechanical model component positioning information;

[0014] Determining a first range constraint condition corresponding to each annotation content based on the text range information and the attached pipeline information of each annotation content;

[0015] Determining a second range constraint condition for the content to be annotated based on the text positioning information and the electromechanical model component positioning information of each annotated content;

[0016] Based on the first range constraint condition and the second range constraint condition, a movable range corresponding to the annotation content is constructed.

[0017] In some embodiments, automatically avoiding overlapping annotations within a preset frame selection range in the electromechanical installation drawing using a frame selection avoidance algorithm includes:

[0018] Determine whether the annotation content within the preset frame selection range in the electromechanical installation drawing has a corresponding movable range cached. If so, use a frame selection avoidance algorithm to automatically avoid overlapping annotation content within the preset frame selection range within the movable range according to preset avoidance rules;

[0019] If not, based on the text annotation information and dimension annotation information of each annotation content within the preset frame selection range, a movable range of the corresponding annotation content is constructed, and then automatic avoidance is performed through the frame selection avoidance algorithm.

[0020] In some embodiments, constructing a movable range of the corresponding annotation content based on the text annotation information and dimension annotation information of each annotation content within the preset selection range includes:

[0021] Using a collision detection algorithm, the overlapping annotation contents in the preset selection range are located to obtain an overlapping annotation content list;

[0022] Extracting information from the annotation contents in the annotation content overlap list to obtain text annotation information and dimension annotation information;

[0023] Based on the text annotation information and dimension annotation information of each annotation content, a movable range of the corresponding annotation content is constructed.

[0024] In some embodiments, the preset avoidance rules include:

[0025] The pipeline specification marking content and pipeline elevation marking content cannot overlap with each other;

[0026] Pipeline specification markings and pipeline elevation markings cannot overlap with structural columns;

[0027] The pipeline specification and elevation markings must not overlap with the electromechanical model components;

[0028] The pipeline specification marking content and pipeline elevation marking content cannot overlap with the wall.

[0029] In some embodiments, the preset BIM software is Revit software.

[0030] In a second aspect, an embodiment of the present application provides a system for processing overlapping content of electromechanical installation annotations, the system being configured to execute the method described in the first aspect above, the system comprising a global automatic avoidance module and a local automatic avoidance module;

[0031] The global automatic avoidance module is used to automatically avoid different annotation contents in the electromechanical installation drawings of the preset BIM software through the overlapping annotation automatic avoidance algorithm for all annotation contents in the electromechanical installation drawings;

[0032] The local automatic avoidance module is used to automatically avoid different annotation contents within a preset frame selection range in the electromechanical installation drawings of the preset BIM software through the overlapping annotation automatic avoidance algorithm.

[0033] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect above when executing the computer program.

[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect above.

[0035] Compared with the related art, the embodiments of the present application provide a method, system, device and medium for processing overlapping content of electromechanical installation annotations, wherein the method automatically avoids overlapping annotation contents of all annotation contents in the electromechanical installation drawings of the preset BIM software through a one-click avoidance algorithm; in the electromechanical installation drawings of the preset BIM software, the method automatically avoids overlapping annotation contents of the annotation contents within the preset frame selection range in the electromechanical installation drawings through a frame selection avoidance algorithm, realizing one-click avoidance and frame selection avoidance, reducing the time and cost of manual adjustment of overlapping annotations in the electromechanical installation drawings, significantly improving the annotation efficiency, and at the same time ensuring the accuracy and completeness of the annotations, solving the problem of a large number of overlapping annotations in the existing electromechanical installation drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0037] Figure 1 is a flowchart of the steps of the method for processing overlapping content of electromechanical installation annotations according to an embodiment of the present application;

[0038] Figure 2 1 is a flow chart of a method for processing overlapping annotation content of electromechanical installation according to an embodiment of the present application;

[0039] Figure 3 This is a comparison diagram before and after executing automatic avoidance according to an embodiment of the present application. Figure 1 ;

[0040] Figure 4 This is a comparison diagram before and after executing automatic avoidance according to an embodiment of the present application. Figure 2 ;

[0041] Figure 5 Schematic diagram of the internal structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is described and illustrated below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely used to explain this application and are not intended to limit this application. Based on the embodiments provided in this application, all other embodiments obtained by those of ordinary skill in the art without making any creative efforts are within the scope of protection of this application.

[0043] Obviously, the drawings described below are merely examples or embodiments of the present application. Those skilled in the art can, without inventive effort, apply the present application to other similar scenarios based on these drawings. Furthermore, it is also understood that, although the effort involved in such a development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, changes in design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as an insufficiency of the content disclosed in this application.

[0044] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it refer to independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described in this application may be combined with other embodiments unless there is a conflict.

[0045] Unless otherwise defined, the technical or scientific terms used in this application should have the ordinary meaning understood by a person of ordinary skill in the technical field to which this application belongs. The words "one", "a", "the" and the like used in this application do not indicate a limit on quantity and may indicate the singular or plural. The terms "include", "comprise", "have" and any variations thereof used in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units that are inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The word "multiple" used in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific order for the objects.

[0046] The present invention provides a method for processing overlapping content of electromechanical installation annotations. Figure 1 is a flowchart of the steps of the method for processing overlapping content of electromechanical installation annotations according to an embodiment of the present application, such as Figure 1As shown, the method includes the following steps:

[0047] Step S102: In the electromechanical installation drawings of the preset BIM software, all overlapping annotation contents in the electromechanical installation drawings are automatically avoided through a one-click avoidance algorithm; the electromechanical installation drawings include but are not limited to water supply and drainage pipe plans, heating and ventilation pipe plans, electrical bridge plans, and pre-buried and reserved casing plans.

[0048] It should be noted that BIM (Building Information Modeling) is a digital technology used for building design, construction and management. It is not just a software tool, but also a complete set of workflows designed to improve the efficiency and accuracy of each stage of a construction project. In BIM, each component of a construction project (such as structure, piping, electrical system, etc.) is created as a virtual three-dimensional model. These models contain a wealth of information, such as material specifications, cost estimates, maintenance requirements, etc. The method for processing overlapping content of electromechanical installation annotations in this embodiment is mainly aimed at converting three-dimensional to two-dimensional drawing annotations. Preferably, the preset BIM software is preferably Revit software.

[0049] Step S102 specifically includes the following steps:

[0050] Step S1021, Figure 2 FIG. 1 is a flow chart of a method for processing overlapping content of electromechanical installation annotations according to an embodiment of the present application. Figure 2 As shown, in one-click avoidance, firstly, the annotation information of all annotation contents in the view is extracted, that is, all annotation contents in the electromechanical installation drawing are obtained, and information is extracted from the annotation contents to obtain text annotation information and dimension annotation information;

[0051] Specifically, step S1021 extracts text annotation information including text range information and attached pipeline information, and dimension annotation information including text positioning information and electromechanical model component positioning information.

[0052] Step S1022, as Figure 2 As shown, the movable range of the annotation content is then constructed based on the extracted annotation information, that is, based on the text annotation information and dimension annotation information of each annotation content, the movable range of the corresponding annotation content is constructed;

[0053] Specifically, step S1022 determines the first range constraint of the corresponding annotation content (such as the distance between the text range and the attached pipeline is kept within a preset range) based on the text range information and the attached pipeline information of each annotation content; determines the second range constraint of the content to be annotated (such as the text positioning and the electromechanical model positioning cannot overlap) based on the text positioning information and the electromechanical model component positioning information of each annotation content; and constructs the movable range of the corresponding annotation content based on the first range constraint and the second range constraint.

[0054] Step S1023, as Figure 2 As shown, the avoidance algorithm is finally executed, that is, through the one-click avoidance algorithm, the overlapping annotation content in the electromechanical installation drawing is automatically avoided within the movable range according to the preset avoidance rules.

[0055] An example is needed to illustrate that, to determine the annotation that needs to be automatically avoided, the movable position in the previously stored movable range is taken, and it is determined whether the movable position overlaps with other view elements (such as structural columns, electromechanical model components, and walls). If there is no collision, the position is recorded. If there is overlap, the execution is looped until there is no overlap.

[0056] Step S104 : in the electromechanical installation drawings of the preset BIM software, automatically avoiding overlapping annotation contents within the preset frame selection range of the electromechanical installation drawings by using a frame selection avoidance algorithm.

[0057] Step S104 specifically includes the following steps:

[0058] Step S1041, as Figure 2 As shown, in the frame selection avoidance, it is determined whether the data (movable range) has been constructed, that is, whether the annotation content within the preset frame selection range in the electromechanical installation drawing is cached with the corresponding movable range. If so, the frame selection avoidance algorithm is used to automatically avoid the overlapping annotation content within the preset frame selection range within the movable range according to the preset avoidance rules;

[0059] Step S1042, as Figure 2 As shown, in the frame selection avoidance, if there is no cached data, the movable range of the annotation content is constructed based on the extracted annotation information, and the avoidance algorithm is executed, that is, based on the text annotation information and dimension annotation information of each annotation content within the preset frame selection range, the movable range of the corresponding annotation content is constructed, and then automatic avoidance is performed through the frame selection avoidance algorithm. Figure 3 This is a comparison diagram before and after executing automatic avoidance according to an embodiment of the present application. Figure 1 , Figure 4 This is a comparison diagram before and after executing automatic avoidance according to an embodiment of the present application. Figure 2 .

[0060] Specifically, step S1042 uses a collision detection algorithm to locate overlapping annotations within the preset selection range, obtaining a list of overlapping annotations. Information is extracted from the annotations in the overlapping list to obtain text and dimension information. Based on the text and dimension information for each annotation, a movable range for the corresponding annotation is constructed. Table 1 is an example of an overlapping annotation list.

[0061] Table 1

[0062] Serial number Overlapping annotation content 1 Cable Tray Marking & Dimensioning / Cable Tray Marking 2 Multi-Pipe Markers & Cable Tray Markers 3 Cable Tray Marking & Dimensioning / Cable Tray Accessories 4 Multi-tube marking & dimensioning / structural columns 5 Cable Tray Marking & Dimensioning 6 Dimensioning & Cable Tray Marking / Cable Tray Accessories 7 Dimensioning & Cable Tray Accessories

[0063] It should be noted that the collision detection mainly uses the overlap detection algorithm to detect the overlap between annotations, including horizontal and vertical overlaps. The overlap detection algorithm needs to detect the overlap detection of annotations, annotations and pipes, annotations and air ducts, annotations and bridges, annotations and structural columns, annotations and walls, annotations and annotation leads, etc. The main detection steps are: (1) When determining whether two objects collide, with the help of RTree, other outer boxes that collide with them can be quickly found through the outer box; (2) If the outer boxes collide, continue to determine whether the real contours collide;

[0064] It should be further explained that in the one-click avoidance process of step S1021, a collision detection algorithm can be used to first locate overlapping annotations in the electromechanical installation drawing, thereby obtaining a list of overlapping annotations. Information extraction can then be performed on the annotations in the list of overlapping annotations to obtain text annotation information and dimension annotation information. This can be seen by first filtering out overlapping annotations using a collision detection algorithm and then performing information extraction on the filtered annotations, effectively improving the efficiency of information extraction in steps S1021 and S1042, thereby improving the efficiency of automatic avoidance of overlapping annotations as a whole.

[0065] Through the above steps in the embodiment of the present application, one-click avoidance and frame avoidance are achieved, which reduces the time and cost of manually adjusting overlapping annotations in electromechanical installation drawings, significantly improves the annotation efficiency, and ensures the accuracy and completeness of the annotations, solving the problem of a large number of overlapping annotations in existing electromechanical installation drawings.

[0066] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0067] In some embodiments, the preset avoidance rules in the above embodiments preferably include:

[0068] ① The pipeline specification marking content and the pipeline elevation marking content cannot overlap with each other;

[0069] ②Pipeline specification markings and pipeline elevation markings cannot overlap with structural columns;

[0070] ③ The pipeline specification and elevation markings cannot overlap with the electromechanical model components, which include pipelines, pipeline accessories, and pipe fittings;

[0071] ④ The pipeline specification marking content and pipeline elevation marking content cannot overlap with the wall.

[0072] In some embodiments, the avoidance action corresponding to the automatic avoidance in the above embodiments is preferably:

[0073] ① According to the pipeline direction, it is preferred to flip parallel to the pipeline direction; if there is a collision, it is translated by a distance of one character width; if there is a collision, it is flipped parallel to the pipeline direction again, and so on and so forth until the lead generation position is at the pipeline end, and the mark returns to the initial position;

[0074] ② Flip perpendicular to the pipeline direction; if there is a collision, flip parallel to the pipeline direction; if there is a collision, translate 1 character width; if there is a collision, flip parallel to the pipeline direction, and repeat this process until the lead generation position is at the pipeline end, and the mark returns to the initial position;

[0075] ③ Move 1 character height perpendicular to the pipeline direction; if there is a collision, flip parallel to the pipeline direction; if there is a collision, return to the above ① According to the pipeline direction, flip parallel to the pipeline direction first, and repeat this process. Set the distance moved perpendicular to the pipeline direction to no more than 5 times the character height.

[0076] The embodiment of the present application provides a system for processing overlapping content of electromechanical installation annotations, the system including a global automatic avoidance module and a local automatic avoidance module;

[0077] The global automatic avoidance module is used to automatically avoid different annotation contents in the electromechanical installation drawings of the preset BIM software through the overlapping annotation automatic avoidance algorithm;

[0078] The local automatic avoidance module is used to automatically avoid different annotation contents within the preset frame selection range in the electromechanical installation drawings of the preset BIM software through the overlapping annotation automatic avoidance algorithm.

[0079] Through the global automatic avoidance module and the local automatic avoidance module in the embodiments of the present application, one-click avoidance and frame selection avoidance are achieved, which reduces the time and cost of manually adjusting overlapping annotations in electromechanical installation drawings, significantly improves the annotation efficiency, and ensures the accuracy and completeness of the annotations, solving the problem of a large number of overlapping annotations in existing electromechanical installation drawings.

[0080] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0081] This embodiment further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0082] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0083] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be repeated here.

[0084] In addition, in conjunction with the method for processing overlapping content in electromechanical installation annotations in the above embodiments, embodiments of the present application may provide a storage medium for implementation. The storage medium stores a computer program; when the computer program is executed by a processor, it implements any of the methods for processing overlapping content in electromechanical installation annotations in the above embodiments.

[0085] In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for processing content overlap of electromechanical installation annotations is implemented. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball, or touchpad provided on the computer device housing, or an external keyboard, touchpad, or mouse.

[0086] In one embodiment, Figure 5 is a schematic diagram of the internal structure of an electronic device according to an embodiment of the present application, such as Figure 5 As shown, an electronic device is provided, which may be a server, and its internal structure diagram may be as shown in FIG. Figure 5 As shown. The electronic device includes a processor, a network interface, an internal memory, and a non-volatile memory connected via an internal bus, wherein the non-volatile memory stores an operating system, a computer program, and a database. The processor is used to provide computing and control capabilities, the network interface is used to communicate with external terminals via a network connection, the internal memory is used to provide an environment for the operation of the operating system and the computer program. When executed by the processor, the computer program implements a method for processing content overlap in electromechanical installation annotations, and the database is used to store data.

[0087] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0088] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, which can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0089] Those skilled in the art should understand that the various technical features of the above-described embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the various technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0090] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A method for processing overlapping content of electromechanical installation annotations, characterized in that: The method comprises: In the electromechanical installation drawings of the preset BIM software, Acquire all annotation contents of the electromechanical installation drawing, extract information from the annotation contents, and obtain text annotation information and dimension annotation information; the text annotation information includes text range information and attached pipeline information, and the dimension annotation information includes text positioning information and electromechanical model component positioning information; Determine a first range constraint condition for the corresponding annotation content based on the text range information and the attached pipeline information of each annotation content; determine a second range constraint condition for the content to be annotated based on the text positioning information and the electromechanical model component positioning information of each annotation content; and construct a movable range for the corresponding annotation content based on the first range constraint condition and the second range constraint condition; Through a one-button avoidance algorithm, overlapping annotation content in the electromechanical installation drawing is automatically avoided within the movable range according to preset avoidance rules; In the electromechanical installation drawing of the preset BIM software, it is determined whether the annotation content within the preset frame selection range in the electromechanical installation drawing has a corresponding movable range cached. If so, a frame selection avoidance algorithm is used to automatically avoid overlapping annotation content within the preset frame selection range within the movable range according to preset avoidance rules; If not, the collision detection algorithm is used to locate the overlapping annotation content in the preset frame selection range to obtain an annotation content overlap list; information is extracted from the annotation content in the annotation content overlap list to obtain text annotation information and dimension annotation information; based on the text annotation information and dimension annotation information of each annotation content, the movable range of the corresponding annotation content is constructed, and then automatic avoidance is performed through the frame selection avoidance algorithm.

2. The method according to claim 1, wherein The preset avoidance rules include: The pipeline specification marking content and pipeline elevation marking content cannot overlap with each other; Pipeline specification markings and pipeline elevation markings cannot overlap with structural columns; The pipeline specification and elevation markings cannot overlap with the electromechanical model components; The pipeline specification marking content and pipeline elevation marking content cannot overlap with the wall.

3. The method according to claim 1, characterized in that The preset BIM software is Revit software.

4. A content overlap processing system for electromechanical installation annotation, characterized in that: The system is used to perform the method according to any one of claims 1 to 3 above, and the system includes a global automatic avoidance module and a local automatic avoidance module; The global automatic avoidance module is used to automatically avoid different annotation contents in the electromechanical installation drawings of the preset BIM software through the overlapping annotation automatic avoidance algorithm for all annotation contents in the electromechanical installation drawings; The local automatic avoidance module is used to automatically avoid different annotation contents within a preset frame selection range in the electromechanical installation drawings of the preset BIM software through the overlapping annotation automatic avoidance algorithm.

5. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 3.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.