A BIM-based construction drawing generation method and device, and electronic equipment
By constructing a building information model based on a rule base and a template base, construction drawings are generated, which solves the problem of construction drawing design relying on the experience of professional personnel and improves efficiency and accuracy.
Patent Information
- Application Number
- CN202611323176.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-20
AI Technical Summary
Construction drawing design relies on the experience of professionals, resulting in low automation, long design cycles, low efficiency, and susceptibility to subjective human factors, leading to low accuracy of construction drawings.
By acquiring preliminary design data for engineering projects, a building information model based on a preset rule base and template base is constructed to generate construction drawings, reducing reliance on professionals and increasing the degree of automation.
It improved the efficiency of construction drawing generation, shortened the design cycle, and improved the data precision and accuracy of construction drawings.
Smart Images

Figure CN123138474A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus and electronic device for generating construction drawings based on BIM. Background Technology
[0002] Construction drawings are technical drawings produced by design firms during the construction design phase to guide the construction of engineering projects. Currently, construction drawings are generally drawn directly by professionals, or they are generated by professionals who create a Building Information Modeling (BIM) model and then output the construction drawings from the BIM model.
[0003] However, since the design of construction drawings relies on the experience and participation of professionals, there are problems such as low automation, resulting in long design cycles and low efficiency. Furthermore, the drawings are easily affected by subjective human factors, leading to low accuracy. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a BIM-based construction drawing generation method, apparatus, and electronic device.
[0005] In a first aspect, embodiments of the present invention provide a BIM-based construction drawing generation method, the method comprising: Obtain preliminary design data for the engineering project; wherein, the preliminary design data is data describing the overall framework of the engineering project; Based on the preliminary design data, a building information model corresponding to the project is constructed; wherein, the building information model is constructed based on a preset rule base and a template base, the rule base is a database including multiple design rules related to the construction model, and the template base is a database including multiple templates related to the construction model; Based on the building information model, construction drawings for the project are generated; wherein the data granularity of the construction drawings is higher than that of the preliminary design data.
[0006] In one possible implementation of the first aspect above, the preliminary design data includes design data of the main components of the engineering project, and the step of constructing a building information model corresponding to the engineering project based on the preliminary design data includes: Based on the preliminary design data, the rule base, and the template library, a first instance model of the main component is generated. Based on the rule base, the template base, and the first instance model, a second instance model of the auxiliary component is generated, and a building information model corresponding to the project is constructed based on the first instance model and the second instance model; wherein, the auxiliary component is a component that is set up in conjunction with the main component.
[0007] In one possible implementation of the first aspect above, generating the first instance model of the main component based on the preliminary design data, the rule base, and the template library includes: The axial data and contour data of the main components are obtained by analyzing the preliminary design data; Based on the positioning rules in the rule base and the axis data, the axis grid framework of the project is generated; Based on the selection rules in the rule base, the template library, and the contour data, a first target template corresponding to the main component is determined; Based on the preliminary design data, the grid frame, and the first target template, a first instance model of the structural component is generated.
[0008] In one possible implementation of the first aspect above, generating a first instance model of the structural component based on the preliminary design data, the grid frame, and the first target template includes: Based on the preliminary design data, the grid frame, and the first target template, generate a solid model of the structural components; Based on the attribute parameters of pipeline components in the preliminary design data, the selection rules, and the template library, a pipeline model is generated; Based on the entity model and the pipeline model, a first instance model of the main component is constructed.
[0009] In one possible implementation of the first aspect above, generating a second instance model of the auxiliary component based on the rule base, the template library, and the first instance model includes: Based on the association rules in the rule base and the type of the main component, determine at least one subordinate component attached to the main component; Based on the second target template corresponding to the auxiliary component in the template library and the selection rules, a second instance model of the auxiliary component is generated; wherein the second instance model is attached to the first instance model.
[0010] In one possible implementation of the first aspect above, before constructing the building information model corresponding to the engineering project based on the first instance model and the second instance model, the method further includes: When an abnormal region is detected in the first instance model or the second instance model based on the review rules in the rule base, an adjustment strategy for adjusting the abnormal region is determined based on the priority rules in the rule base; The abnormal area is adjusted based on the adjustment strategy to obtain an adjusted first instance model or an adjusted second instance model, and the step of constructing the building information model corresponding to the project is performed based on the adjusted first instance model or the adjusted second instance model.
[0011] In one possible implementation of the first aspect above, generating construction drawings for the project based on the building information model includes: Perform coordinate transformation on any component in the building information model to obtain the two-dimensional projected coordinates of each component; Based on the drawing expression rules in the rule base, the graphic element templates in the template library, and the two-dimensional projection coordinates, generate a two-dimensional projection graphic of each component; Based on the component type of each component in the building information model, determine the layer to which each component belongs, and generate a two-dimensional projection graphic of the project based on the layer to which each component belongs and each two-dimensional projection graphic. Based on the parameters of each component in the building information model, the two-dimensional projection graphics of the project are labeled to obtain the construction drawings of the project.
[0012] Secondly, embodiments of the present invention provide a BIM-based construction drawing generation device, the device comprising: The acquisition module is used to acquire preliminary design data for an engineering project; wherein, the preliminary design data is data describing the overall framework of the engineering project. The construction module is used to construct the building information model corresponding to the engineering project based on the preliminary design data; wherein the building information model is constructed based on a preset rule base and a template base, the rule base is a database including multiple design rules related to the construction model, and the template base is a database including multiple templates related to the construction model. The generation module is used to generate construction drawings for the project based on the building information model; wherein the data precision of the construction drawings is higher than that of the preliminary design data.
[0013] Thirdly, embodiments of the present invention provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the BIM-based construction drawing generation method described above.
[0014] Fourthly, embodiments of the present invention provide a computer program product, which stores a computer program, and when the computer program is executed by a processor, it implements the BIM-based construction drawing generation method described above.
[0015] This invention is achieved through the following technical solution: This invention discloses a BIM-based construction drawing generation method, apparatus, and electronic device. By acquiring preliminary design data of an engineering project (data describing the overall framework of the project), a Building Information Model (BIM) is constructed based on this data. The BIM is built using a pre-defined rule base and template library. The rule base is a database containing multiple design rules related to the model, and the template library is a database containing multiple templates related to the model. Based on the BIM, construction drawings for the engineering project can be generated, reducing reliance on the experience and involvement of professionals. This improves the efficiency and shortens the generation cycle of construction drawings. Furthermore, the data granularity of the construction drawings is higher than that of the preliminary design data, thus improving the accuracy of the generated construction drawings. Attached Figure Description
[0016] Figure 1 This is a flowchart of a BIM-based construction drawing generation method provided in an embodiment of the present invention; Figure 2 This is a flowchart of another BIM-based construction drawing generation method provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of a BIM-based construction drawing generation device according to an embodiment of the present invention; Figure 4 This is a structural block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0017] To make the technical problems to be solved, the technical solutions, and the beneficial effects of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present invention and are not intended to limit the present invention.
[0018] It should be noted that when a component is referred to as being "fixed to" or "set on" another component, it can be directly on or indirectly on that other component. When a component is referred to as being "connected to" another component, it can be directly connected to or indirectly connected to that other component.
[0019] It should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the present invention.
[0020] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, "a plurality of sets" means two or more sets, "a plurality of pieces" means two or more pieces, and "a number" means one or more, unless otherwise explicitly specified.
[0021] Construction drawings are technical drawings produced by design firms during the construction design phase to guide the construction of engineering projects.
[0022] Construction drawings can be designed in two ways: either they are drawn directly by professionals, or they are constructed by professionals using Building Information Modeling (BIM) and then output as construction drawings from the BIM model.
[0023] Specifically, the mode of direct drawing by professionals involves either having professionals directly draw construction drawings, or having professionals draw two-dimensional drawings of all buildings and components in the project, then constructing a three-dimensional instance based on the drawn two-dimensional drawings, and then outputting two-dimensional views of the three-dimensional instance from different perspectives to obtain the construction drawings.
[0024] However, the construction drawings for this model require a complete set of two-dimensional drawings, which is labor-intensive, tedious, and inefficient. Furthermore, when the two-dimensional drawings are changed, the three-dimensional instance needs to be reconstructed, resulting in repetitive operations and inefficiency.
[0025] The method of having professionals directly build BIM models and output construction drawings through BIM models does not require drawing a complete set of two-dimensional drawings. Professionals only need to build each component of the project in the corresponding software. This method relies on the experience of professionals. Furthermore, since engineering projects usually involve the collaborative work of multiple professions, the process of building BIM models also involves a lot of personnel interaction and communication, which also has the problems of large workload and low efficiency.
[0026] In summary, the design of construction drawings relies on the experience and participation of professionals. It suffers from low automation, resulting in long design cycles and low efficiency. Furthermore, it is easily affected by subjective human factors, leading to low accuracy in the designed construction drawings.
[0027] Based on this, the present invention discloses a BIM-based construction drawing generation method, device, and electronic device. By acquiring preliminary design data of an engineering project (data describing the overall framework of the project), a Building Information Model (BIM) corresponding to the project is constructed based on the preliminary design data. The BIM is built based on a preset rule base and template library. The rule base is a database containing multiple design rules related to the model construction, and the template library is a database containing multiple templates related to the model construction. Based on the BIM, construction drawings for the engineering project can be generated, reducing reliance on the experience and involvement of professionals, thereby improving the efficiency and shortening the cycle of construction drawing generation. Furthermore, the data granularity of the construction drawings is higher than that of the preliminary design data, improving the accuracy of the generated construction drawings.
[0028] See Figure 1 , Figure 1 The diagram illustrates a flowchart of a BIM-based construction drawing generation method according to an embodiment of the present invention, which may specifically include the following steps: S101, Obtain preliminary design data for engineering projects.
[0029] The preliminary design data describes the overall framework of the engineering project. An engineering project can be a project involving the construction of fully functional building units, such as a subway station project or a rail project. An engineering project may include one or more buildings and supporting structures. The overall framework represents the overall layout of the engineering project, including the layout of each building and the layout of each component within each building. Preliminary design data may include design data for each building in the engineering project, as well as design data for each main component within the buildings. Building design data may include layout data for each building and layout data for each functional room within the building. Functional rooms refer to rooms within the building that have independent spaces and corresponding uses. Main components can be the components that make up the main body of the building, specifically including main components in various areas of the building, such as load-bearing main components, main components for partitioning areas, main components for HVAC, main components for water supply and drainage, and main components for electrical systems. Load-bearing main components can include structural columns, structural beams, and main walls. Main components used for partitioning areas can include floor slabs, non-load-bearing walls, and stairs. Main components used in HVAC systems can include main air ducts and HVAC equipment. Main components used in water supply and drainage systems can include main water supply and drainage pipes and water supply and drainage equipment. Main components used in electrical systems can include main cable trays, distribution cabinets, and distribution boxes. The design data for main components describes their layout within the building, including their planar coordinates, installation elevation, and floor level.
[0030] When any engineering project requires construction and the construction drawings for that project need to be output, the preliminary design data of that project can be obtained.
[0031] In practical applications, preliminary design data can be generated by professionals based on the needs of the project, or it can be generated by pre-setting multiple design templates and selecting the template suitable for the project from among them. Then, preliminary design data for the project can be generated based on the project's needs and target design template.
[0032] S102, Based on the preliminary design data, construct the building information model corresponding to the engineering project.
[0033] The Building Information Model (BIM) can be built based on a pre-defined rule base and template library. The rule base can be a database containing multiple design rules related to the model's construction. Design rules can include calculation rules, constraint rules, and priority rules. Calculation rules can include rules for calculating pipe diameter, structural strength, etc. Constraint rules can include spacing constraints, slope constraints, load constraints, etc. Priority rules can include the priority of executing rules, the priority of component adjustments, etc. The template library can be a database containing multiple templates related to the model's construction.
[0034] After obtaining the preliminary design data, the building information model corresponding to the project can be constructed based on the preset rule base and template library.
[0035] In one embodiment of the present invention, step S102 may include steps S1021 to S1022: S1021, Based on the preliminary design data, rule base and template library, generate the first instance model of the main component.
[0036] The first instance model can be a three-dimensional model instance of the main component, specifically an instance that includes a three-dimensional entity of the main component and attribute parameters. The three-dimensional entity can include data such as the three-dimensional coordinates and dimensions of the main component, and the attribute parameters can include parameters such as the number, material, specifications, and load of the main component.
[0037] After obtaining the preliminary design data, it can be parsed to determine the design data of each building in the project and the design data of each main component in the building. Then, based on the layout data of each main component in the building, the calculation rules in the rule base, and the constraint rules, the position of the main component in the building can be determined. At the same time, the target template used to describe the main component is determined from the template library, and the size parameters of the target template are determined based on the layout data of each main component and the calculation rules in the rule base. Based on the size parameters of the target template, a three-dimensional solid of the main component is generated in the corresponding position in the building.
[0038] Among them, the dimensional parameters can be the length, thickness, diameter, and other dimensions of the main component.
[0039] Specifically, the spacing between each main component can be determined based on the layout data of the main components and the spacing constraints between each main component, so as to determine the position of the main component in the building. Alternatively, the size of the main component that can bear the load can be determined based on the load borne by the main component and the calculation rules, so as to obtain the size parameters of the main component.
[0040] As an example, the location, size, and other data of each building can also be determined based on the layout data of each building and the calculation rules in the rule base.
[0041] Specifically, the rule base can also include selection rules for determining the attribute parameters of the main components. The attribute parameters can include the material, model, design load, pipe model, and other attributes of the main components.
[0042] After obtaining the three-dimensional entity of the main component, the material, specifications and other attribute parameters of the main component can be determined according to the selection rules in the rule base. Then, after obtaining the attribute parameters and three-dimensional entity of the main component, the first instance model of the main component is generated based on the attribute parameters and three-dimensional entity of the main component.
[0043] S1022, Based on the rule base, template base and first instance model, generate second instance model of auxiliary components, and construct building information model corresponding to the project based on the first instance model and second instance model.
[0044] Among them, auxiliary components can be components that are matched with the main components, such as doors, windows, junction boxes, valves, tie bars, etc. The second instance model can be a three-dimensional model instance of the auxiliary components.
[0045] After obtaining the first instance model, the auxiliary components that are set up in conjunction with the main components can be determined according to the rule base, and the target template for describing the auxiliary components can be selected from the template library. Then, according to the rule base, the target template corresponding to the auxiliary component, and the first instance model, the second instance model of the auxiliary component can be generated. Based on the first instance model and the second instance model, the building information model corresponding to the project can be constructed, thereby obtaining a building information model including one or more first instance models and one or more second instance models.
[0046] S103 generates construction drawings for engineering projects based on Building Information Modeling (BIM).
[0047] Construction drawings, in particular, can be engineering drawings that use graphics, dimensions, text descriptions, and legends to express the component dimensions, material selection, installation techniques, and construction requirements of a building or structure. The data detail in construction drawings can be higher than that in preliminary design data; that is, compared to preliminary design data, construction drawings include more dimensions of data. For example, construction drawings may include second instance models of auxiliary components, while preliminary design data only contains design data for the main components.
[0048] After obtaining the building information model, various views can be generated based on the needs of the engineering project, and each component in the building information model can be mapped to the corresponding layer to obtain multiple engineering drawings. Furthermore, each engineering drawing can be annotated based on the attribute parameters and dimension parameters of each component in the building information model to obtain the construction drawings of the engineering project.
[0049] Specifically, components in a building information model can include main components and auxiliary components.
[0050] In one embodiment of the present invention, step S103 may include steps S1031 to S1034: S1031, perform coordinate transformation on any component in the building information model to obtain the two-dimensional projected coordinates of each component.
[0051] Among them, the two-dimensional projection coordinates can be the projection coordinates of the component under different viewpoints, specifically the coordinates of the outline of the component projected under different viewpoints, including the coordinates of any point in the outline.
[0052] After obtaining the building information model, the projected coordinates of each component in the first instance model and the second instance model under different viewpoints can be determined. That is, coordinate transformation is performed on each component under different viewpoints to obtain the projected coordinates of each component under different viewpoints, that is, multiple two-dimensional projected coordinates of each component are obtained.
[0053] S1032, Based on the drawing representation rules in the rule base, the graphic element templates in the template base, and the two-dimensional projection coordinates, generate the two-dimensional projection graphics of each component.
[0054] The drawing representation rules can be the rules for converting a building information model into construction drawings. Specifically, these can include rules for editing drawing styles, rules for editing graphic elements, and rules for the logical arrangement of graphic elements. Graphic element templates can be graphic elements that form the outline of a component, including circles, rectangles, lines, arcs, and combined outlines of multiple graphic elements. The graphic element template also includes style parameters such as line width, color, layers, annotations, and materials. Two-dimensional projection graphics can be images of a component projected from different viewpoints.
[0055] After determining the two-dimensional projection coordinates of each component, the drawing style of the component under different perspectives can be determined according to the drawing expression rules. Then, the graphic element templates used to describe the component under different perspectives can be selected from the template library. The style parameters and layout of each graphic element template can be determined according to the drawing expression rules. Finally, the two-dimensional projection graphics of each component can be generated according to the selected graphic element templates and their corresponding style parameters, layouts and two-dimensional projection coordinates.
[0056] It is important to understand that after determining the outline of a component from different perspectives, we can also determine the graphic elements in the outline used to represent the details of the component, such as the dashed lines representing structural beams and the center lines used to represent the axis of the component, so as to obtain two-dimensional projection graphics from different perspectives, that is, to obtain two-dimensional projection graphics from different perspectives such as the front view, left view, front view, and top view.
[0057] S1033, based on the component type of each component in the building information model, determine the layer to which each component belongs, and generate a two-dimensional projection graphic of the project based on the layer to which each component belongs and each two-dimensional projection graphic.
[0058] Among them, the component type can be the type to which the component belongs, specifically used to describe the field to which the component belongs and the type in the field, such as the wall type in the load-bearing field, the pipeline type in the HVAC field, etc.
[0059] After obtaining the two-dimensional projection graphics, the component type of each component in the building information model can be determined, and the layer to which the component belongs can be determined based on the component type. Then, based on the layer to which each component belongs and each two-dimensional projection graphics, the two-dimensional projection graphics of the project can be generated.
[0060] S1034, based on the parameters of each component in the building information model, annotate the two-dimensional projection graphics of the project to obtain the construction drawings of the project.
[0061] After obtaining the two-dimensional projection graphic, the two-dimensional projection graphic of the project can be annotated according to the attribute parameters of each component. Specifically, the graphic elements in the two-dimensional projection graphic can be annotated to obtain the annotated two-dimensional image, which is the construction drawing of the project.
[0062] In this embodiment of the invention, by acquiring preliminary design data of an engineering project, which describes the overall framework of the project, a building information model (BIM) is constructed based on the preliminary design data. The BIM is constructed based on a preset rule base and a template base. The rule base is a database containing multiple design rules related to the model construction, and the template base is a database containing multiple templates related to the model construction. Based on the BIM, construction drawings for the engineering project can be generated, reducing reliance on the experience and participation of professionals, thereby improving the efficiency of generating construction drawings, shortening the generation cycle, and increasing the data precision of the construction drawings compared to the preliminary design data, thus improving the accuracy of the generated construction drawings.
[0063] See Figure 2 , Figure 2 The present invention illustrates a flowchart of another BIM-based construction drawing generation method according to an embodiment of the present invention, which may specifically include the following steps: S201, Obtain preliminary design data for engineering projects.
[0064] S202, analyze the preliminary design data to obtain the axis data and contour data of the main components.
[0065] The axis data can be data describing the axis of the main component, specifically the centerline fitted along the direction of the main component, that is, a virtual line segment fitted along the extension direction of the main component. The contour data can be data describing the contour of the main component.
[0066] After obtaining the preliminary design data, it can be analyzed to determine the axial data and contour data of each main component in the project.
[0067] S203 generates the grid framework of the project based on the positioning rules in the rule base and the axis data.
[0068] The positioning rules can be used to determine the grid framework of an engineering project by combining the axes of each main component. Specifically, they can be used to adjust the axes of each main component to obtain the grid framework of the project. The grid framework serves as the baseline skeleton for the engineering project, providing a unified positioning benchmark for construction across all disciplines. "All disciplines" refers to construction in different fields, such as structural construction, HVAC construction, and electrical construction. Specifically, the grid framework can include architectural grids and structural column grids. Architectural grids can serve as the grid framework for the architectural field, and structural column grids can serve as the grid framework for the structural field. Architectural grids provide benchmark positioning for architectural components during construction, and structural column grids provide benchmark positioning for structural components during construction.
[0069] After obtaining the axis data of each main component, positioning rules can be determined from the rule base, and the axis grid framework of the project can be generated based on the positioning rules and the axis data of each main component.
[0070] In practical applications, the axes of multiple main components with a spacing less than a preset spacing threshold can be merged based on the spatial coordinates and positioning rules of the axes of each main component. After all merging operations are completed, each merged axis can be fitted to obtain the axis grid framework of the engineering project.
[0071] In practical implementation, for each field, the axis grid framework of that field can be determined based on the axis data of all the main components in that field, thus obtaining the axis grid framework of each field.
[0072] As an example, the rule base can also include inspection rules, and the grid framework can be inspected for compliance based on the inspection rules, that is, to check whether the grid framework meets the specification requirements, so as to adjust or issue an early warning for the grid framework if non-compliance is detected.
[0073] Specifically, when the spacing between any two axes is found to be non-compliant with specifications, the spacing between the axes can be adjusted. When the span between any two merged axes is found to be greater than a preset span threshold, it can be determined that the span between the merged axes is too long and there is a structural defect. In this case, a warning message can be generated to alert the user, who can then make corrections accordingly.
[0074] S204. Based on the selection rules in the rule base, the template library, and the contour data, determine the first target template corresponding to the main component.
[0075] The selection rules can also be used to determine templates that conform to the outline of the main components. The first target template can be a template used to represent the main components.
[0076] After obtaining the contour data of each main component, a template corresponding to the contour represented by the contour data can be selected from the template library according to the selection rules in the rule base. This template is the first target template corresponding to the main component.
[0077] In practical applications, multiple templates of the corresponding type can be called from the template library according to the selection rules and the type of the main component. The template corresponding to the contour represented by the contour data can be selected from the multiple templates, which is the first target template.
[0078] Specifically, the first target template includes primitive information, parameter sets, material configuration information, and other information used to describe the geometric contour.
[0079] For example, when the main component is a structural column, the corresponding templates in the template library can include templates for rectangular reinforced concrete columns, rectangular steel-concrete composite columns, etc. For instance, the template for a rectangular reinforced concrete column can include graphic information describing the rectangular reinforced concrete column, and the parameter set can include dimensional information constraining the outline of the rectangular reinforced concrete column, connection method, offset of component base points, positioning tolerance, component identification, etc. Material configuration information can include the strength information of concrete and reinforcing steel, waterproofing level, etc.
[0080] S205. Based on the preliminary design data, the grid framework, and the first target template, generate the first instance model of the structural component.
[0081] After obtaining the grid framework and the first target template, the first instance model of the structural components can be generated based on the preliminary design data, the grid framework, and the first target template.
[0082] In one embodiment of the present invention, step S205 may include steps S2051 to S2053: S2051, Based on the preliminary design data, the grid framework, and the first target template, generate the solid model of the structural components.
[0083] The main components can include components from different fields, such as components from the architectural field, structural field, and electrical field. Structural components can be the components that make up the structure of a building, including components from the architectural field and structural field. The solid model can be a three-dimensional model instance that describes the structural component.
[0084] After obtaining the grid framework and the first target template, the grid framework can be used as the global coordinate reference. Based on the positioning rules in the rule base, the three-dimensional spatial position of each structural component can be determined. The attribute parameters of each structural component in the previous design data can be substituted into the corresponding first target template in sequence. Then, the three-dimensional entity of the structural component can be constructed in the determined three-dimensional spatial position to obtain the solid model of the structural component.
[0085] In practical applications, after the attribute parameters of the structural components are substituted into the first target template, a three-dimensional entity corresponding to the first target template can be generated according to the generation rules in the rule base that guide the geometric generation. Specifically, this can include operations such as extrusion, lofting, and Boolean operations.
[0086] S2052, based on the attribute parameters, selection rules and template library of pipeline components in the preliminary design data, generate the pipeline model.
[0087] Piping components can refer to the components that make up the piping system in a building, such as piping components in the HVAC, water supply and drainage, and electrical systems. Specifically, piping components in the HVAC field can include supply air ducts, exhaust air ducts, condensate pipes, and cooling water return pipes; piping components in the water supply and drainage field can include domestic water supply pipes and domestic sewage pipes; and piping components in the electrical system can include busbars, cable trays, and conduits. A piping model can be a three-dimensional model instance describing a piping component.
[0088] After obtaining the solid model of the structural component, the above steps can be followed to substitute the attribute parameters of the pipeline component in the early design data into the corresponding first target template, thereby constructing the three-dimensional solid of the pipeline component in the determined three-dimensional spatial location and obtaining the pipeline model of the pipeline component.
[0089] S2053, based on the solid model and pipeline model, construct the first instance model of the main component.
[0090] After obtaining the solid model and pipeline model, the first instance model of the main components can be constructed based on the solid model and pipeline model. Specifically, each pipeline model can be matched onto the solid model in turn to obtain a combined three-dimensional model instance, which is the first instance model composed of all the main components.
[0091] S206, Based on the association rules in the rule base and the component type of the main component, determine at least one subordinate component attached to the main component.
[0092] After generating the first instance model, at least one subordinate component attached to the main component can be determined based on the association rules in the rule base and the component type of the main component.
[0093] In practical applications, for each main component, the associated component with the component type of the main component can be determined according to the association rules, that is, at least one associated component of the main component with the component type can be determined.
[0094] For example, when the component type is wall, the auxiliary components attached to the main component of the component type wall include components such as doors, windows, waterproof layers, and reinforcing bars; when the component type is pipeline, the auxiliary components include components such as junction boxes, valves, and elbows.
[0095] S207. Based on the second target template corresponding to the auxiliary component in the template library and the selection rules, generate the second instance model of the auxiliary component.
[0096] The second instance model can be attached to the first instance model. The second target template can be a template used to represent the attached component.
[0097] After determining the auxiliary components of each main component, multiple templates for representing the auxiliary components can be selected from the template library. Based on the selection rules in the rule library, the template suitable for the first instance model is determined from the selected multiple templates, which is the second target template.
[0098] After determining the second target template, the attribute parameters of the auxiliary components can be determined based on the selection rules and the attribute parameters of the first instance model. The attribute parameters of the auxiliary components are then substituted into the corresponding second target template to obtain the second instance model of the auxiliary components.
[0099] Similarly, when the attribute parameters of the auxiliary components are substituted into the second target template, the three-dimensional entity corresponding to the second target template can be generated according to the generation rules in the rule base that guide the geometric generation. Specifically, this can include operations such as stretching, lofting, and Boolean operations, thereby obtaining the second instance model.
[0100] Specifically, the second target template includes primitive information, parameter sets, material configuration information, and other information used to describe the geometric contour.
[0101] S208, Construct the building information model corresponding to the engineering project based on the first instance model and the second instance model.
[0102] After obtaining the first instance model and the second instance model, the building information model corresponding to the engineering project can be constructed based on the first instance model and the second instance model.
[0103] In practical applications, the first instance model and the second instance model can be aligned according to the grid framework of the engineering project, and the second instance model can be combined with the first instance model according to the subordinate relationship between each first instance model and each second instance model to obtain the building information model.
[0104] In one embodiment of the present invention, the following steps may be included before step S208: When an abnormal region is detected in the first instance model or the second instance model based on the review rules in the rule base, an adjustment strategy for adjusting the abnormal region is determined based on the priority rules in the rule base. The abnormal region is adjusted based on the adjustment strategy to obtain the adjusted first instance model or the adjusted second instance model. Step S208 is then executed based on the adjusted first instance model or the adjusted second instance model.
[0105] The review rules can be used to approve the first and second instance models to determine whether there are any abnormal areas in them. Abnormal areas can be represented as non-compliant areas within either the first or second instance model. The review rules can include engineering specifications, project design requirements, national standards, and other rules specific to each professional field. The adjustment strategies can be strategies for repositioning components within the first or second instance models.
[0106] After obtaining the first instance model, it can be reviewed based on the review rules in the rule base to determine whether the first instance model includes non-compliant components. When non-compliant components are detected in the first instance model, the area where the non-compliant components are located is marked as an abnormal area.
[0107] In practical applications, because the first and second instance models include components from different professional fields, and the 3D entities of each component are built sequentially, after constructing the first and second instance models, there may be situations where the spacing between any two components from different professional fields does not conform to specifications or standards, or even causes interference. Therefore, review rules can be used to review the constructed first instance model to determine whether there are any non-compliant areas between any two or more components in the first instance model.
[0108] After detecting one or more abnormal regions in the first instance model, for each abnormal region, the component type of each component in the abnormal region can be determined, and an adjustment strategy for adjusting the position of the components can be generated based on the component type and priority rules of each component in the abnormal region. That is, the priority of adjusting the position of each component is determined to determine the order of adjusting the components. Then, the position of the components in the abnormal region can be adjusted based on the determined adjustment strategy, so as to obtain the adjusted first instance model.
[0109] Similarly, the above method can be used to detect whether there are abnormal regions in the second instance model, and when an abnormal region is detected, an adjustment strategy can be generated to adjust the position of the components in the second instance model based on the adjustment strategy, so as to obtain the adjusted second instance model.
[0110] As an example, after reviewing and adjusting the first instance model and the second instance model, the first instance model can be combined with the second instance model to obtain a Building Information Model (BIM). After obtaining the BIM, it can also be reviewed according to the review rules to determine whether there are any abnormal areas in the BIM. When abnormal areas are detected, an adjustment strategy is generated to adjust the positions of the components in the BIM based on the adjustment strategy, resulting in an adjusted BIM.
[0111] S209 generates construction drawings for engineering projects based on Building Information Modeling (BIM).
[0112] In this embodiment of the invention, by acquiring preliminary design data of an engineering project (which describes the overall framework of the project), the preliminary design data is parsed to obtain the axis data and contour data of the main components. Based on the positioning rules in the rule base and the axis data, the axis grid framework of the engineering project is generated. Based on the selection rules in the rule base, the template library, and the contour data, a first target template corresponding to the main components is determined. Based on the preliminary design data, the axis grid framework, and the first target template, a first instance model of the structural components is generated. Based on the association rules in the rule base and the component type of the main components, at least one auxiliary component attached to the main components is determined. Based on the second target template corresponding to the auxiliary components in the template library and the selection rules, a second instance model of the auxiliary components is generated. Based on the first instance model and the second instance model, a building information model (BIM) corresponding to the engineering project is constructed. Based on the BIM, construction drawings of the engineering project can be generated, reducing reliance on the experience and participation of professionals, thereby improving the efficiency of generating construction drawings, shortening the generation cycle, and increasing the data precision of the construction drawings compared to the preliminary design data, thus improving the accuracy of the generated construction drawings.
[0113] See Figure 3 , Figure 3 The diagram illustrates a structural schematic of a BIM-based construction drawing generation device according to an embodiment of this application. The device may specifically include the following modules: The acquisition module 301 is used to acquire the preliminary design data of the engineering project; wherein, the preliminary design data is data describing the overall framework of the engineering project; The construction module 302 is used to construct the building information model corresponding to the engineering project based on the preliminary design data. The building information model is constructed based on a preset rule library and a template library. The rule library is a database that includes multiple design rules related to the construction model, and the template library is a database that includes multiple templates related to the construction model. The generation module 303 is used to generate construction drawings for engineering projects based on building information model; the data precision of the construction drawings is higher than that of the preliminary design data.
[0114] In one implementation, the preliminary design data includes the design data of the main components in the engineering project, and the aforementioned construction module 302 is further used for: Based on the preliminary design data, rule base, and template library, generate the first instance model of the main components; Based on the rule base, template base, and first instance model, a second instance model of the auxiliary components is generated, and a building information model corresponding to the project is constructed based on the first instance model and the second instance model; wherein, the auxiliary components are components that are set up in conjunction with the main components.
[0115] In one implementation, the aforementioned building module 302 is further used for: Analyze the preliminary design data to obtain the axis data and contour data of the main components; Generate the grid framework of the engineering project based on the positioning rules in the rule base and the axis data; Based on the selection rules in the rule base, the template library, and the outline data, determine the first target template corresponding to the main component; Based on the preliminary design data, the grid framework, and the first target template, the first instance model of the structural components is generated.
[0116] In one implementation, the aforementioned building module 302 is further used for: Based on the preliminary design data, the grid framework, and the first target template, generate solid models of the structural components; Based on the attribute parameters, selection rules, and template library of pipeline components in the preliminary design data, a pipeline model is generated. Based on the solid model and pipeline model, construct the first instance model of the main component.
[0117] In one implementation, the aforementioned building module 302 is further used for: Based on the association rules in the rule base and the type of the main component, determine at least one subordinate component attached to the main component; Based on the second target template corresponding to the auxiliary component in the template library and the selection rules, a second instance model of the auxiliary component is generated; wherein, the second instance model is attached to the first instance model.
[0118] In one implementation, the device further includes the following modules: The adjustment module is used to determine an adjustment strategy for the abnormal area based on priority rules in the rule base when an abnormal area is detected in the first instance model or the second instance model based on the review rules in the rule base before constructing the building information model corresponding to the project based on the first instance model and the second instance model; adjust the abnormal area based on the adjustment strategy to obtain the adjusted first instance model or the adjusted second instance model, and then perform the step of constructing the building information model corresponding to the project based on the adjusted first instance model or the adjusted second instance model.
[0119] In one implementation, the generation module 303 is further configured to: Perform coordinate transformation on any component in the building information model to obtain the two-dimensional projected coordinates of each component; Based on the drawing representation rules in the rule base, the graphic element templates in the template library, and the two-dimensional projection coordinates, generate the two-dimensional projection graphics of each component; Based on the component type of each component in the building information model, determine the layer to which each component belongs, and generate the two-dimensional projection graphics of the project based on the layer to which each component belongs and each two-dimensional projection graphic. Based on the parameters of each component in the building information model, the two-dimensional projection graphics of the project are labeled to obtain the construction drawings of the project.
[0120] In this embodiment of the invention, by acquiring preliminary design data of an engineering project, which describes the overall framework of the project, a building information model (BIM) is constructed based on the preliminary design data. The BIM is constructed based on a preset rule base and a template base. The rule base is a database containing multiple design rules related to the model construction, and the template base is a database containing multiple templates related to the model construction. Based on the BIM, construction drawings for the engineering project can be generated, reducing reliance on the experience and participation of professionals, thereby improving the efficiency of generating construction drawings, shortening the generation cycle, and increasing the data precision of the construction drawings compared to the preliminary design data, thus improving the accuracy of the generated construction drawings.
[0121] It should be noted that the information interaction and execution process between the above-mentioned devices are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, which will not be repeated here.
[0122] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0123] See Figure 4 , Figure 4 This application provides a structural block diagram of an electronic device according to an embodiment of the present application, as shown below. Figure 4As shown, this embodiment provides an electronic device 41, which includes at least one processor 411, a memory 412, and a computer program 4121 stored in the memory 412 and executable on at least one processor 411. When the processor 411 executes the computer program 4121, it implements the steps in any of the above-described method embodiments.
[0124] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can implement the steps in any of the above method embodiments.
[0125] This application provides a computer program product that, when run on a mobile terminal, enables the mobile terminal to implement the steps described in the various method embodiments.
[0126] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium.
[0127] The above detailed description is a specific description of feasible embodiments of the present invention. These embodiments are not intended to limit the patent scope of the present invention. All equivalent implementations or modifications that do not depart from the present invention should be included in the patent scope of this case.
Claims
1. A BIM-based construction drawing generation method, characterized in that, The method includes: Obtain preliminary design data for the engineering project; wherein, the preliminary design data is data describing the overall framework of the engineering project; Based on the preliminary design data, a building information model corresponding to the project is constructed; wherein, the building information model is constructed based on a preset rule base and a template base, the rule base is a database including multiple design rules related to the construction model, and the template base is a database including multiple templates related to the construction model; Based on the building information model, construction drawings for the project are generated; wherein the data granularity of the construction drawings is higher than that of the preliminary design data.
2. The BIM-based construction drawing generation method as described in claim 1, characterized in that, The preliminary design data includes the design data of the main components of the project. The step of constructing the building information model corresponding to the project based on the preliminary design data includes: Based on the preliminary design data, the rule base, and the template library, a first instance model of the main component is generated. Based on the rule base, the template base, and the first instance model, a second instance model of the auxiliary component is generated, and a building information model corresponding to the project is constructed based on the first instance model and the second instance model; wherein, the auxiliary component is a component that is set up in conjunction with the main component.
3. The BIM-based construction drawing generation method as described in claim 2, characterized in that, The step of generating a first instance model of the main component based on the preliminary design data, the rule base, and the template library includes: The axial data and contour data of the main components are obtained by analyzing the preliminary design data; Based on the positioning rules in the rule base and the axis data, the axis grid framework of the project is generated; Based on the selection rules in the rule base, the template library, and the contour data, a first target template corresponding to the main component is determined; Based on the preliminary design data, the grid frame, and the first target template, a first instance model of the structural component is generated.
4. The BIM-based construction drawing generation method as described in claim 3, characterized in that, The step of generating a first instance model of the structural component based on the preliminary design data, the grid frame, and the first target template includes: Based on the preliminary design data, the grid frame, and the first target template, generate a solid model of the structural components; Based on the attribute parameters of pipeline components in the preliminary design data, the selection rules, and the template library, a pipeline model is generated; Based on the entity model and the pipeline model, a first instance model of the main component is constructed.
5. The BIM-based construction drawing generation method as described in claim 2, characterized in that, The step of generating a second instance model of the auxiliary components based on the rule base, the template library, and the first instance model includes: Based on the association rules in the rule base and the type of the main component, determine at least one subordinate component attached to the main component; Based on the second target template corresponding to the auxiliary component in the template library and the selection rules, a second instance model of the auxiliary component is generated; wherein the second instance model is attached to the first instance model.
6. The BIM-based construction drawing generation method as described in any one of claims 2 to 5, characterized in that, Before constructing the building information model corresponding to the engineering project based on the first instance model and the second instance model, the method further includes: When an abnormal region is detected in the first instance model or the second instance model based on the review rules in the rule base, an adjustment strategy for adjusting the abnormal region is determined based on the priority rules in the rule base; The abnormal area is adjusted based on the adjustment strategy to obtain an adjusted first instance model or an adjusted second instance model, and the step of constructing the building information model corresponding to the project is performed based on the adjusted first instance model or the adjusted second instance model.
7. The BIM-based construction drawing generation method as described in claim 1, characterized in that, The process of generating construction drawings for the project based on the building information model includes: Perform coordinate transformation on any component in the building information model to obtain the two-dimensional projected coordinates of each component; Based on the drawing expression rules in the rule base, the graphic element templates in the template library, and the two-dimensional projection coordinates, generate a two-dimensional projection graphic of each component; Based on the component type of each component in the building information model, determine the layer to which each component belongs, and generate a two-dimensional projection graphic of the project based on the layer to which each component belongs and each two-dimensional projection graphic. Based on the parameters of each component in the building information model, the two-dimensional projection graphics of the project are labeled to obtain the construction drawings of the project.
8. A BIM-based construction drawing generation device, characterized in that, The device includes: The acquisition module is used to acquire preliminary design data for an engineering project; wherein, the preliminary design data is data describing the overall framework of the engineering project. The construction module is used to construct the building information model corresponding to the engineering project based on the preliminary design data; wherein the building information model is constructed based on a preset rule base and a template base, the rule base is a database including multiple design rules related to the construction model, and the template base is a database including multiple templates related to the construction model. The generation module is used to generate construction drawings for the project based on the building information model; wherein the data precision of the construction drawings is higher than that of the preliminary design data.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the BIM-based construction drawing generation method as described in any one of claims 1 to 7.
10. A computer program product, said computer program product storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the BIM-based construction drawing generation method as described in any one of claims 1 to 7.
