A BIM-based pressurized air supply system diagram automatic drawing and intelligent labeling method and system

By using a BIM-based method for automatic drawing generation and intelligent annotation of pressurized air supply system diagrams, the problems of information fragmentation and low collaboration efficiency in the conversion from 3D models to 2D drawings have been solved. This has enabled efficient and accurate generation and updating of 2D drawings, improving construction quality and consistency.

CN121502896BActive Publication Date: 2026-04-10CHINA MACHINERY INT ENG DESIGN & RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-01-13
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In existing technologies, the conversion process from a 3D model to a 2D drawing of a pressurized air supply system results in information fragmentation and loss, low collaboration efficiency, tedious and error-prone manual annotation by designers, inconsistencies between drawings and models, and rework during construction.

Method used

The BIM-based automatic drawing and intelligent annotation method for pressurized air supply systems uses custom drawing parameters to parse 3D model information, calls the rule base to generate 2D system diagrams and annotate them, achieving intelligent placement and avoidance of annotations and timely updates of design changes.

Benefits of technology

It enables data flow from 3D models to 2D drawings, improves drawing efficiency, avoids human error, ensures consistency between drawings and models, and supports collaborative design and management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121502896B_ABST
    Figure CN121502896B_ABST
Patent Text Reader

Abstract

The application provides a BIM-based pressurized air supply system diagram automatic drawing and intelligent labeling method and system, which comprises the following steps: a user customizes setting of drawing parameters of the pressurized air supply system diagram; a BIM model is read, and spatial relationship information and geometric attribute information of the pressurized air supply system are analyzed and extracted; according to the drawing parameters and the information extracted from the BIM model, a preset rule library is called, and a two-dimensional system diagram and labeling are generated; whether the generated labeling has overlap is checked, and intelligent arrangement and avoidance of the labeling are realized; when the BIM model is changed, the changed part is automatically identified, and corresponding graph elements and labeling in the two-dimensional system diagram are driven to realize linkage update, so that the diagram and the model are consistent. The application effectively solves the problems of information fragmentation and loss, low collaborative efficiency and the like, breaks through the data flow from the three-dimensional model to the two-dimensional drawing, and significantly improves the design efficiency and the drawing quality.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of building information technology, and in particular to a BIM-based automatic drawing and intelligent labeling method and system for a pressurized air supply system diagram. BACKGROUND

[0002] The pressurized air supply system is an important part of building smoke prevention. It applies pressure through mechanical devices to effectively prevent smoke generated by fires from invading key spaces such as stairwells, anterooms, and refuge floors, thereby ensuring the safety of people inside the building. The pressurized air supply system diagram describes the relationship between the main facilities such as fans, air pipes, air outlets, and air valves in the pressurized air supply system and the building floors, air wells, and smoke-proof rooms, allowing the person reading the diagram to quickly understand the setting of the pressurized air supply system in the building.

[0003] In current building and HVAC design, three-dimensional design based on BIM has become the mainstream. However, the final two-dimensional drawings as statutory deliverables are still used as the basis for construction at the time of construction delivery and on-site guidance. The existing traditional drawing method has significant drawbacks: 1. Information fragmentation and loss: After the designer exports the two-dimensional drawings from the three-dimensional model, they need to manually add a large amount of labeling, annotations, detailed drawing indexes, and construction instructions. This process is tedious, error-prone, and the rich attribute information (such as equipment parameters, elevations, and connection logic) contained in the three-dimensional model cannot be automatically transferred to the two-dimensional drawings. 2. Low collaboration efficiency: When the three-dimensional model changes, the two-dimensional drawings often cannot be automatically updated, and the designer needs to manually check and modify them, which can easily result in inconsistencies between the drawings and the model, causing construction rework. Currently, there is no technology on the market that can automatically generate two-dimensional pressurized air supply system diagrams based on three-dimensional models. Therefore, there is an urgent need for a method that can intelligently and automatically convert the pressurized air supply system information in the three-dimensional BIM model into two-dimensional system diagrams containing the information required for construction. SUMMARY

[0004] (I) Technical problem to be solved

[0005] Therefore, the present application provides a BIM-based automatic drawing and intelligent labeling method and system for a pressurized air supply system diagram to solve the problems of information fragmentation and loss, low collaboration efficiency, and other issues mentioned in the background art, to bridge the data flow from three-dimensional models to two-dimensional drawings, and to significantly improve design efficiency and drawing quality.

[0006] (II) Technical solution

[0007] To achieve the above purpose, the present application discloses a BIM-based automatic drawing and intelligent labeling method for a pressurized air supply system diagram, comprising:

[0008] S1: The user customizes the drawing parameters of the pressurized air supply system diagram;

[0009] S2: reading a three-dimensional BIM model, analyzing and extracting spatial relationship information and geometric attribute information of the pressurized air supply system;

[0010] S3: generating a two-dimensional system diagram and labels according to the drawing parameters set by the user in S1 and the information extracted in S2, and calling a preset rule library;

[0011] S4: checking whether the labels generated in S3 overlap, and realizing intelligent arrangement and avoidance of the labels;

[0012] S5: when the three-dimensional BIM model is changed, automatically identifying the changed part and driving the corresponding graph elements and labels in the two-dimensional system diagram to update in linkage, so as to always keep the diagram consistent with the model.

[0013] Preferably, in the S4, the arrangement of the labels adopts a mirror image + hierarchical avoidance manner; after the arrangement of the labels is completed, the labels are subjected to overlap judgment, and when the labels overlap, a label avoidance algorithm is started, and the specific process is as follows:

[0014] S41: traversing all the labels, calculating the boundary box of each label, calculating the center of gravity of each boundary box, forming a label element array vBox, and the label element including the center of gravity and size of the boundary box;

[0015] S42: copying the label element array vBox to generate a temporary array vBoxTemp; first, traversing vBoxTemp, finding all the label elements that overlap with the current label element curDimension, if there is overlap, adding curDimension and the label elements that overlap with it to the label overlap array vOverlapBox, and marking curDimension as processed; then, traversing vOverlapBox, starting from the next unmarked label element unmarkedDim in the array, finding all the label elements that overlap with it, if there is overlap, marking unmarkedDim as processed, adding the overlapping label elements to vOverlapBox, and removing the label elements in vOverlapBox, that is, there is no repeated label element in vOverlapBox, then continue to traverse the next unmarked label element that is marked as processed, if there is no overlap, mark unmarkedDim as processed, traverse the next unmarked label element that is marked as processed, until all the overlapping label elements are found; finally, storing vOverlapBox in the grouping array vOverlapBoxGroup, and deleting the label elements in vOverlapBox from vBoxTemp; if there is no overlap, deleting curDimension from vBoxTemp; repeating the above processing process until vBoxTemp is empty;

[0016] S43: Traverse the group array vOverlapBoxGroup and automatically avoid overlapping labels;

[0017] S44: After completing the above processing, repeat the operations of S42-S43 to continue to determine whether the offset annotations overlap; if the processing is repeated a certain number of times... If overlap still exists, then randomly select a label from the label overlap array vOverlapBox. ,by As the offset direction, As the offset distance, move it to the nearest non-overlapping blank position; then repeat the operation of S42-S43. If there are still overlapping labels, continue to randomly select a label and move it to the nearest non-overlapping blank position. Repeat this cycle until there is no overlap.

[0018] Preferably, the automatic obstacle avoidance process of S43 is as follows:

[0019] When the number of overlapping annotations in vOverlapBox is 2, the centroid of the bounding box connecting annotation 1 And the centroid of the bounding box labeled 2 , forming line segments Calculate line segments center Calculate G to distance G to distance First, mark 1. As the starting point of the offset, As the offset direction, As offset distance; label 2 with As the starting point of the offset, As the offset direction, As the offset distance; after offsetting, continue to determine whether the two labels overlap; if they overlap, each label continues along its respective offset direction, label 1... As the offset direction, label 2 is... As the offset direction, offset by 0.5 times the previous offset distance; repeat this process iteratively until there is no overlap.

[0020] When the number of overlapping annotations in vOverlapBox When the value is greater than 2, the centroids of the bounding boxes connecting the annotations are... To form a polygon Calculate polygons center of gravity Calculate the centroid G to distance Iterate through each annotation in the vOverlapBox. ,by As the starting point of the offset, As the offset direction, As the offset distance; after offsetting, continue to check if vOverlapBox overlaps; if there is overlap, each label continues to offset along its own offset direction by 0.5 times the previous offset distance; this process is repeated until there is no overlap.

[0021] Preferably, the priority order of arrangement marked in S4 is: air valve > fan > air outlet > air duct > differential pressure sensor.

[0022] Preferably, the drawing parameters mentioned in S1 include: drawing name, drawing scale, floor plan range, ventilation shaft location style, and annotation content;

[0023] The labeling information includes fans, ducts, air outlets, differential pressure sensors, and fire dampers; fan labeling information includes: name, equipment number, air volume, speed, total pressure, rated power / rated voltage; duct labeling information includes: name, material, height, and width; air outlet labeling information includes: name, number, length, actuator length, width, air volume, height from ground, and rated power / rated voltage; differential pressure sensor labeling information includes: name, model, differential pressure value, and height from ground; fire damper labeling information includes: name.

[0024] Preferably, the spatial relationship information and geometric attribute information extracted in S2 are stored in a tree structure.

[0025] Preferably, the rule base described in S3 defines the rules for generating two-dimensional system diagrams, specifically including:

[0026] Set the text style, the height of Chinese characters, the height of letters and numbers, the character spacing, and the aspect ratio;

[0027] Set the suffix unit for elevation and whether to display the suffix;

[0028] As the root node of the pressurized air supply system, the fan room is placed on one side of the drawing according to the air shaft location pattern set by the user in S1. Normally open fire dampers, fans, check valves, and normally open fire dampers are arranged in the fan room according to the direction. At the same time, an electric double-leaf regulating valve is connected in parallel for linkage control with the differential pressure sensor.

[0029] The main duct serves as the backbone, connecting to other components in the form of vertical or horizontal lines;

[0030] Branch ducts are drawn perpendicularly from the main duct and form a clear tree-like structure.

[0031] The orientation of the air outlet points to the serviced room.

[0032] The device symbol uses standard component symbols instead of three-dimensional shapes.

[0033] The drawing name is placed at the bottom of the pressurized air supply system drawing, and the drawing name and the drawing scale are marked.

[0034] Preferably, in S5, the newly added, deleted or parameter modified components are marked by comparing the relationships before and after the BIM model is changed.

[0035] In the case of adding a component, the component type is determined, if it is a fan, the space where the fan is located is obtained, the fan duct branch, air outlet, air valve connected thereto are determined based on the correlation of the BIM model, and the location of the fan shaft and the service floor information of the fan are determined; if it is a fan duct, the air outlet connected thereto is obtained, the floor where the air outlet is located and the serviced room are determined, and whether there is a differential pressure sensor on the current floor is determined; if it is an air outlet or a differential pressure sensor, the relevant drawing elements and labels are added; finally, the partial update of the system drawing is completed according to steps S3-S4.

[0036] In the case of deleting a component, the component type is determined, if it is a fan, all system drawings and labels related to the fan are deleted; if it is a fan duct, the air outlet connected thereto and the label are deleted; if it is an air outlet or a differential pressure sensor, the relevant drawing elements and labels are deleted, and finally the partial update of the system drawing is completed according to steps S3-S4.

[0037] In the case of modifying the parameters of a component, only the label of the corresponding component needs to be modified, and the correlation of the components of the pressurized air supply system remains unchanged.

[0038] The application also discloses a BIM-based automatic drawing and intelligent labeling system for a pressurized air supply system drawing, which comprises:

[0039] At least one processor; and at least one memory connected in communication with the processor, wherein:

[0040] The memory stores program instructions executable by the processor, and the processor calling the program instructions can execute the method.

[0041] (Three) beneficial effects

[0042] From the above technical solution, the BIM-based automatic drawing and intelligent labeling method and system for a pressurized air supply system drawing has the beneficial effects that:

[0043] 1. The application establishes an automatic drawing and intelligent annotation engine based on a definable and extensible construction drawing rule library, which can automatically extract geometric, attribute and spatial correlation information from a three-dimensional BIM model, and automatically generate construction annotations according to the settings of the rule library, completely liberating designers from heavy and repetitive manual work, improving drawing efficiency, avoiding human annotation errors and information omissions, ensuring consistency between drawings and models, and reducing construction errors from the source.

[0044] 2. An optimization algorithm is proposed for the layout of the annotation, which automatically adjusts the position through iterative calculation to ensure clear, standard and non-overlapping annotations, and improves the readability of the drawings.

[0045] 3. A correlation driving mechanism is established, which can automatically identify the changed part when the three-dimensional BIM model is changed, and drive the corresponding graph elements and annotations in the two-dimensional system drawing to intelligently update, ensuring data consistency and uniqueness from design to construction, and effectively supporting collaborative design and management of modern engineering. BRIEF DESCRIPTION OF DRAWINGS

[0046] The features and advantages of the application will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the application. In the drawings:

[0047] Figure 1 The flowchart of the BIM-based automatic drawing and intelligent annotation method of the pressurized air supply system drawing of the embodiment of the application;

[0048] Figure 2 The interface diagram of the user-defined annotation content of the embodiment of the application;

[0049] Figure 3 The single pressurized air supply system drawing of the embodiment of the application;

[0050] Figure 4 The multiple pressurized air supply system drawings of the embodiment of the application;

[0051] Figure 5 The flowchart of the annotation avoidance algorithm of the embodiment of the application;

[0052] Figure 6 The offset diagram when two annotation bounding boxes overlap in the embodiment of the application;

[0053] Figure 7 The offset diagram when six annotation bounding boxes overlap in the embodiment of the application. DETAILED DESCRIPTION

[0054] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0055] As shown in Figure 1 The present application provides a BIM-based pressurized air supply system diagram automatic drawing and intelligent labeling method, comprising the following steps:

[0056] S1: the user customizes the drawing parameters of the pressurized air supply system diagram, including: drawing name, drawing scale, floor table range, air shaft position style, labeling content, etc.

[0057] The drawing name is the name of the pressurized air supply system diagram, such as "JY-WD-1 pressurized air supply system diagram".

[0058] The floor table range refers to the floor labeling range of the floor table in the pressurized air supply system diagram, and the default is all floors of the whole building.

[0059] The air shaft position style includes left and right. The left side means that the generated pressurized air supply system diagram is arranged from left to right, that is, the fan room is on the left side of the pressurized air supply system diagram. The right side means that the generated pressurized air supply system diagram is arranged from right to left, that is, the fan room is on the right side of the pressurized air supply system diagram. The left side and the right side are mirror symmetrical. The air shaft position style defaults to the left side.

[0060] As shown in Figure 2As shown, the annotation content includes fan, air duct, air outlet, differential pressure sensor and fire damper. The fan annotation content includes by default: name (for example: pressurized air supply fan), equipment number (for example: PYF-01), air volume (for example: 2000 m³ / h), rotating speed (for example: 1450 rpm), total pressure (for example: 100 Pa), rated power / rated voltage (for example: 7.5 kW / 380 V), and additionally includes optional items: model, unit noise, fan efficiency, explosion-proof type. The air duct annotation content includes by default: name (for example: air duct), material (for example: thin steel plate), height (for example: 800 mm), width (for example: 500 mm), and additionally includes optional items: air volume, air speed, specific friction resistance, along-path resistance. The air outlet annotation content includes by default: name (for example: electric pressurized air outlet), number (for example: FK-01), length (for example: 400 mm), actuator length (for example: 400 mm), width (for example: 500 mm), air volume (for example: 2000 m³ / h), height from the ground (for example: 1.0 m), rated power / rated voltage (for example: 7.5 kW / 380 V), and additionally includes optional items: total pressure loss, ventilation rate. The differential pressure sensor annotation content includes by default: name (for example: differential pressure sensor), model (for example: LNRYC-P), differential pressure value (for example: 50 MPa), height from the ground (for example: 2.5 m). The fire damper includes by default: name (for example: 70℃ fire damper), and additionally includes optional items: number (for example: FHF-W-1). The user only needs to check the corresponding options in the annotation content setting interface, and the specific numerical information is read from the three-dimensional BIM model.

[0061] S2: read the three-dimensional BIM model, analyze and extract the spatial relationship information and geometric attribute information of the pressurized air supply system;

[0062] (1) Spatial relationship information: read all the fans in the three-dimensional BIM model, determine the space where each fan is located, such as whether it is in the roof or the fan room of a certain floor on the ground; determine the components connected with the fan based on the correlation of the three-dimensional BIM model, such as air duct branches, air outlets, air valves, etc., as well as the position of the air shaft where the air duct is located, the service floor of the fan, etc.; read the floor information of the three-dimensional BIM model, traverse the floors, read the room information where the air outlet of each floor is located, and determine whether a differential pressure sensor is arranged on the current floor.

[0063] (2) Geometric attribute information: Extract the parameters of the fan's equipment model, specification, number, air volume, speed, total pressure, rated power, rated voltage, etc. from the component attributes of the three-dimensional BIM model, the parameters of the air pipe's width and height, thickness, material, elevation, lining method, etc., the parameters of the air outlet's specification, model, number, air volume, height from the ground (elevation), length, width, actuator length, etc., the parameters of the fire damper's model, number, etc. The parameters of the differential pressure sensor's specification, model, differential pressure value, height from the ground (elevation), etc., and the name of the room where the air outlet is located.

[0064] In view of the correlation of the components in the pressurized air supply system, the extracted spatial relationship information and geometric attribute information are stored in a tree structure.

[0065] S3: According to the drawing generation parameters set by the user in S1 and the information extracted in S2, a preset rule library is called to generate a two-dimensional system diagram and annotations;

[0066] The rule library defines the drawing rules of the two-dimensional system diagram. In this embodiment, the rule library specifically includes:

[0067] (1) The style of the text is BP_DIM, the height of Chinese characters is 3.5 mm, the height of letters and numbers is 2.5 mm, the word spacing uses 1.5 times line spacing, and the aspect ratio is 0.7.

[0068] (2) Set the suffix unit of the elevation and whether to display the suffix, and the default setting is to display.

[0069] (3) The fan room is the root node of the pressurized air supply system, and is placed on one side of the drawing according to the air shaft position style set by the user in S1. A 70°C normally open fire damper, a fan, a check valve, a 70°C normally open fire damper, and an electric double-leaf multi-leaf regulating valve are arranged in the fan room according to the direction, and are connected in parallel for linkage control with the differential pressure sensor. For example, if the user sets the air shaft position style as left, the fan room is placed on the left side of the drawing, and a 70°C normally open fire damper, a fan, a check valve, a 70°C normally open fire damper, and an electric double-leaf multi-leaf regulating valve are arranged in the fan room from left to right.

[0070] (4) The main air pipe is connected with other components in the form of vertical or horizontal lines.

[0071] (5) The branch air pipe is perpendicular to the air outlet and is drawn from the main air pipe, forming a clear tree structure.

[0072] (6) The direction of the air outlet points to the serviced room.

[0073] (7) The equipment symbol uses a standard component icon instead of a three-dimensional shape.

[0074] (8) The drawing name is placed at the bottom of the pressurized air supply system diagram, and the drawing name and drawing scale are labeled.

[0075] According to the user set floor table range, the floor table and elevation, drawing name and drawing scale are generated. According to the extracted spatial relationship information, all the fans are traversed; first, the air duct, air outlet and air valve connected with each fan are read; then the floors are traversed, and the corresponding component graphics are drawn in the floor table in the order of low to high floors, forming a single pressurized air supply system diagram, as shown in Figure 3 When there are multiple fans, multiple pressurized air supply system diagrams are generated, which are arranged in a certain order (arranged from left to right when the air shaft position style is left; arranged from right to left when the air shaft position style is right), and the pressurized system diagrams of the same building are merged, as shown in Figure 4 .

[0076] The room types served by the air outlet include the anteroom and the smoke-proof stairwell, and the anteroom only needs to be labeled; the smoke-proof stairwell is drawn according to the read stair arrangement form, and the smoke-proof stairwell includes double-run stairwell and scissors stairwell.

[0077] In this process, the corresponding component graphics (including room graphics) are generated according to the read information, and then the pre-set drawing rule is called to generate and arrange the two-dimensional system diagram, and finally the geometric attribute information of each component is read to complete the labeling.

[0078] S4: Check whether the labeling generated by S3 exists overlap, realize the intelligent arrangement and avoidance of labeling;

[0079] Each generated label is regarded as a whole (without leading line), the air shaft is taken as the central axis of the label layout, and the mirror image + hierarchical avoidance is used for labeling, and the priority order is: air valve > fan > air outlet > air duct > differential pressure sensor > others.

[0080] Specifically, first, the air valve label is placed below the air valve (graphic); then the fan in the fan room is labeled, and by default, the fan label is placed on the left side of the air shaft, and it is judged whether there is a label in the corresponding position on the left side, if not, the fan label is placed on the left side of the air shaft according to the default setting, if there is, the fan label is placed on the mirror image position (right side of the air shaft); then the air outlet label is placed, similarly, it is judged whether there is a label in the corresponding position on the left side, if not, the air outlet label is placed on the left side of the air shaft according to the default setting, if there is, the air outlet label is placed on the mirror image position (right side of the air shaft); then the air duct label and the differential pressure sensor label are placed; finally, other labels are placed. That is, when the space is tight, the label with low priority should give way to the label with high priority. After the labeling is arranged, the overlap of the labels is judged, and when the labels exist overlap, the label avoidance algorithm is started, as shown in Figure 5 , and the specific process is as follows:

[0081] S41: Iterate through all the annotations, calculate the bounding box of each annotation, calculate the centroid of each bounding box, and form an array of annotation elements vBox. The annotation elements include the centroid and size of the bounding box.

[0082] S42: Copy the annotation element array vBox to generate a temporary array vBoxTemp. First, iterate through vBoxTemp, searching for all annotation elements that overlap with the current annotation element curDimension. If an overlap exists (vBoxTemp contains other annotation elements that overlap with curDimension), add curDimension and the overlapping annotation elements to the annotation overlap array vOverlapBox, and mark curDimension as processed. Next, iterate through vOverlapBox, starting from the next unmarked annotation element unmarkedDim, searching for all annotation elements that overlap with it. If an overlap exists (vBoxTemp contains other annotation elements that overlap with unmarkedDim), mark unmarkedDim as processed, and add the overlapping annotation elements to vOverlapBox. x, and remove duplicate annotations from the vOverlapBox, meaning there are no duplicate annotations in vOverlapBox. Then, continue to traverse the next unmarked processed annotation. If there is no overlap (there are no other annotations in vBoxTemp that overlap with unmarkedDim), then unmarkedDim is marked as processed. Traverse the next unmarked processed annotation until all overlapping annotations are found. Finally, store vOverlapBox in the grouped array vOverlapBoxGroup, and delete the annotations in vOverlapBox from vBoxTemp. If there is no overlap (there are no other annotations in vBoxTemp that overlap with curDimension), then curDimension is deleted from vBoxTemp. Repeat the above process until vBoxTemp is empty.

[0083] S43: Traverse the group array vOverlapBoxGroup and automatically avoid overlapping labels;

[0084] like Figure 6 As shown, when the number of overlapping annotations in vOverlapBox is 2, the centroid of the bounding box connecting annotation 1... And the centroid of the bounding box labeled 2 , forming line segments Calculate line segments center Calculate G to distance G to distance First, mark 1. As the starting point of the offset, As the offset direction, As offset distance; label 2 with As the starting point of the offset, As the offset direction, This serves as the offset distance. After offsetting, it is further determined whether the two labels overlap; if they overlap, each label continues to offset along its respective direction (label 1). As the offset direction, label 2 is... As the offset direction, offset by 0.5 times the previous offset distance; repeat this process until there is no overlap.

[0085] When the number of overlapping annotations in vOverlapBox When the value is greater than 2, the centroids of the bounding boxes connecting the annotations are... To form a polygon Calculate polygons center of gravity Calculate the centroid G to distance Iterate through each label in the vOverlapBox. ,by As the starting point of the offset, As the offset direction, This serves as the offset distance. After offsetting, it checks if vOverlapBoxes overlap; if they do, each label continues to offset along its respective offset direction by 0.5 times the previous offset distance; this process iterates until there is no overlap. For example, the diagram showing overlapping avoidance is as follows: Figure 7 As shown.

[0086] S44: After completing the above processing, repeat the operations of S42-S43 to continue to determine whether the offset annotations overlap; if the processing is repeated a certain number of times... If overlap still exists, then randomly select a label from the label overlap array vOverlapBox. ,by As the offset direction, As the offset distance, it is moved to the nearest non-overlapping blank position (this operation forms a disturbance to the current overlap array, ensures that the current overlap array can find a local optimal solution, avoids cyclic iteration not to converge); then repeat the operation of S42-S43, if there is still label overlap, continue to randomly select a label, move it to the nearest non-overlapping blank position, and so on cyclic iteration, until there is no overlap.

[0087] By iterative calculation, adjust the position and offset direction of each label, ensure that all label information is clear and readable, no overlap, no intersection, realize the beauty and standardization of drawing.

[0088] S5: When the three-dimensional BIM model is changed, automatically identify the changed part, and drive the corresponding graph and label in the two-dimensional system diagram to update linkage, always keep the consistency of the graph and the model.

[0089] Specifically, by comparing the relationship before and after the BIM model is changed, the newly added, deleted or parameter modified components are marked.

[0090] In the case of adding components, determine the component type, if it is a fan, get the space where the fan is located, such as whether it is in the roof or the fan room of a certain floor of the ground, determine the components connected with it based on the correlation of the BIM model, such as fan pipe branches, air outlets, air valves, and the location of the fan well where the fan pipe is located, and the service floor of the fan; if it is a fan pipe, get the air outlet connected with it, determine the floor where the air outlet is located and the service room, and determine whether there is a differential pressure sensor on the current floor; if it is an air outlet or a differential pressure sensor, add the related graph and label; finally, complete the local update of the system diagram according to steps S3-S4.

[0091] In the case of deleting components, determine the component type, if it is a fan, delete all system diagrams and labels related to the fan; if it is a fan pipe, delete the air outlet connected with it and the label; if it is an air outlet or a differential pressure sensor, delete the related graph and its label, and finally complete the local update of the system diagram according to steps S3-S4.

[0092] In the case of modifying the parameters of components, only the label of the corresponding component needs to be modified, and the correlation of the components of the pressurized air supply system remains unchanged.

[0093] Finally, it needs to be explained that the above control method can be converted into software program instructions, which can be implemented by using a control system including a processor and a memory, or by computer instructions stored in a non-transitory computer readable storage medium. The integrated unit implemented in the form of a software function unit described above can be stored in a computer readable storage medium. The software function unit described above is stored in a storage medium, including a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute part of the steps of the method described in various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0094] The core of the present application is to establish an intelligent drawing and labeling engine, which can extract geometric information, attribute information and spatial relationship information of the pressurized air supply system directly from the three-dimensional BIM model based on the preset construction drawing rule library, automatically generate correct two-dimensional pressurized air supply system drawings, and automatically arrange the most optimized and complete construction annotations (i.e. labels) on the generated two-dimensional system drawings through intelligent arrangement and avoidance algorithms.

[0095] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical range disclosed in the present application, which should be covered within the protection scope of the present application.

Claims

1. A BIM-based pressurized air supply system diagram automatic drawing and intelligent labeling method, characterized in that, Comprise: S1: user custom setting pressurized air supply system chart drawing parameter; S2: read three-dimensional BIM model, parse and extract the spatial relationship information and geometric attribute information of pressurized air supply system; S3: according to the drawing parameter set by user in S1 and the information extracted in S2, call the preset rule base, generate two-dimensional system chart and label; S4: check whether the label generated in S3 exists overlap, realize intelligent arrangement and avoidance of label; The arrangement of label adopts mirror image + hierarchical avoidance mode; after the arrangement of label is completed, the overlap of label is judged, when the label exists overlap, the label avoidance algorithm is started, the specific process is as follows: S41: traverse all labels, calculate the boundary box of each label, calculate the center of gravity of each boundary box, form label element array vBox, the label element includes the center of gravity and size of boundary box; S42: copy label element array vBox, generate temporary array vBoxTemp; first traverse vBoxTemp, find all label elements that exist overlap with current label element curDimension, if there is overlap, curDimension and the label element that exists overlap with it are added to label overlap array vOverlapBox, and curDimension is marked as processed; then traverse vOverlapBox, find all label elements that exist overlap with unmarkedDim from the next label element unmarkedDim in array that is not marked as processed, if there is overlap, unmarkedDim is marked as processed, the overlapping label elements are added to vOverlapBox, and the label elements in vOverlapBox are de-duplicated, that is, there is no repeated label element in vOverlapBox, then the next label element that is not marked as processed is traversed, if there is no overlap, unmarkedDim is marked as processed, the next label element that is not marked as processed is traversed, until all overlapping label elements are found; finally, vOverlapBox is stored in grouping array vOverlapBoxGroup, and the label elements in vOverlapBox are deleted from vBoxTemp; if there is no overlap, curDimension is deleted from vBoxTemp; repeat the above processing process until vBoxTemp is empty; S43: traverse grouping array vOverlapBoxGroup, and automatically avoid the overlapping label; S44: After the above processing, the operations of S42-S43 are repeated to continue determining whether the labels after the offset processing exist overlap; if the number of repeated processing is less than the maximum number of times of repeated processing and the labels still exist overlap, a label is randomly selected from the label overlap array vOverlapBox , and the label is moved to the nearest non-overlapping blank position with the offset direction and the offset distance ; then the operations of S42-S43 are repeated, if the labels still exist overlap, a label is continuously randomly selected and moved to the nearest non-overlapping blank position, and the iteration is repeated until there is no overlap. S5: when the three-dimensional BIM model is changed, the changed part is automatically identified, and the corresponding graph elements and labels in the two-dimensional system chart are driven to update linkage, and the chart and model are always consistent.

2. The method of claim 1, wherein, The automatic avoidance processing of S43 is as follows: When the number of overlapping annotations in vOverlapBox is 2, the center of the bounding box of annotation 1 is connected and the center of the bounding box of annotation 2 , forming a line segment , calculating the center of the line segment , calculating the distance from G to , the distance from G to ; first, annotation 1 takes as the starting point of the offset, takes as the offset direction, and takes as the offset distance; annotation 2 takes as the starting point of the offset, takes as the offset direction, and takes as the offset distance; after the offset, it is judged whether the two annotations overlap or not. If there is an overlap, each mark continues in the respective offset direction, mark 1 with As the offset direction, mark 2 with As the offset direction, offset by 0.5 times the previous offset distance; Such a loop iteration is repeated until there is no overlap; When the number of overlapping annotations in vOverlapBox When the value is greater than 2, the centroids of the bounding boxes connecting the annotations are... , , forming a polygon Calculate polygons center of gravity Calculate the centroid G to distance Iterate through each annotation in the vOverlapBox. ,by As the starting point of the offset, As the offset direction, As the offset distance; after offsetting, continue to check if vOverlapBox overlaps; If there is overlap, each label continues to offset along the offset direction, and the offset distance is 0.5 times the previous offset distance; Such a loop iteration is repeated until there is no overlap.

3. The method of claim 2, wherein, The arrangement priority order of label in S4 is: air valve > fan > air outlet > air pipe > differential pressure sensor.

4. The method of claim 3, wherein, The drawing parameters in S1 include: drawing name, drawing scale, floor table range, air shaft position style, and labeling content. The labeling content includes fan, air pipe, air outlet, pressure difference sensor, and fire damper; the fan labeling content includes: name, equipment number, air volume, rotating speed, total pressure, rated power / rated voltage; the air pipe labeling content includes: name, material, height, width; the air outlet labeling content includes: name, number, length, actuator length, width, air volume, height from ground, rated power / rated voltage; the pressure difference sensor labeling content includes: name, model, pressure difference value, height from ground; the fire damper labeling content includes: name.

5. The method of claim 4, wherein, The spatial relationship information and the geometric attribute information extracted in S2 are stored in a tree structure.

6. The method of claim 5, wherein, The rule library in S3 defines the drawing rule of the two-dimensional system drawing, and specifically includes: setting the style of the text, the height of the Chinese characters, the height of the letters and numbers, the word spacing, and the aspect ratio; setting the suffix unit of the elevation and whether to display the suffix; The fan room as the root node of the pressurized air supply system is placed on one side of the drawing according to the air shaft position style set by the user in S1, and the normally open fire damper, fan, check valve, normally open fire damper are arranged in the fan room according to the direction, and the electric double-leaf multi-leaf regulating valve is connected in parallel for linkage control with the pressure difference sensor; The main air pipe is connected with other components in the form of vertical lines or horizontal lines; The branch air pipe is perpendicular to the air outlet and is led out from the main air pipe to form a clear tree structure; The orientation of the air outlet points to the serviced room; The device symbol uses a standard component symbol instead of a three-dimensional shape; The drawing name is placed at the bottom of the pressurized air supply system drawing, and the drawing name and the drawing scale are labeled.

7. The method of claim 6, wherein, In S5, the newly added, deleted, or parameter modified components are marked by comparing the relationship before and after the BIM model is changed; In the case of adding components, the component type is determined, if it is a fan, the space where the fan is located is obtained, the branch of the air pipe connected with it, the air outlet, the air valve, the position of the air shaft where the air pipe is located, and the service floor information of the fan are determined based on the correlation of the BIM model; if it is an air pipe, the air outlet connected with it is obtained, the floor where the air outlet is located and the serviced room are determined, and whether there is a pressure difference sensor on the current floor is determined; if it is an air outlet or a pressure difference sensor, the relevant symbols and labels are added; finally, the local update of the system drawing is completed according to steps S3-S4; In the case of deleting components, the component type is determined, if it is a fan, all system drawings and labels related to the fan are deleted; if it is an air pipe, the air outlet connected with it and the label are deleted; if it is an air outlet or a pressure difference sensor, the relevant symbols and labels are deleted, and finally the local update of the system drawing is completed according to steps S3-S4; In the case of component parameter modification, only the corresponding component label needs to be modified, and the correlation of the components of the pressurized air supply system remains unchanged.

8. A BIM-based pressurized air supply system diagram automatic drawing and intelligent labeling system, characterized in that, It comprises: at least one processor; and at least one memory connected in communication with the processor, wherein: the memory stores program instructions executable by the processor, and the processor calling the program instructions can execute the method of any one of claims 1 to 7.

Citation Information

Patent Citations

  • Two-dimensional and three-dimensional linkage bridge parametric modeling and drawing method, device, equipment and medium

    CN115017569A

  • Two-dimensional construction drawing exporting method and system based on three-dimensional BIM model

    CN121073755A